@incodetech/core 0.0.0-dev-20260702-cc2ced08 → 0.0.0-dev-20260702-75032d4d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{3dAvatarProvider-3yqmC0fd.esm.js → 3dAvatarProvider-CVwSAzDw.esm.js} +1 -1
- package/dist/{Face2DProvider-C-fAuV-p.esm.js → Face2DProvider-BuWoUgFl.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-B4SVWfK7.d.ts → FaceDetectionProvider-5ODfa48C.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-Dpg64Qr2.d.ts → IWasmUtilCapability-D7S5rkSH.d.ts} +2 -2
- package/dist/{Manager-BUc6OqO5.d.ts → Manager-goNPc_h_.d.ts} +1 -4
- package/dist/{OpenViduRecordingProvider-DmA__QfK.esm.js → OpenViduRecordingProvider-CK6A5kiU.esm.js} +1 -1
- package/dist/StateMachine-D5WO6lHS.d.ts +2 -0
- package/dist/{StreamCanvasCapture-BqaiJxNa.d.ts → StreamCanvasCapture-DHaWferF.d.ts} +2 -2
- package/dist/ae-signature.d.ts +4 -3
- package/dist/antifraud.d.ts +4 -3
- package/dist/{antifraudManager-DcraYd6r.d.ts → antifraudManager-DCiNI6np.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -18
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-BwUutUMI.d.ts → authenticationManager-B2DqMiXJ.d.ts} +3 -3
- package/dist/{authenticationManager-BVM5Czih.esm.js → authenticationManager-C3fe4lGI.esm.js} +2 -2
- package/dist/{authenticationStateMachine-BUb8hzFa.esm.js → authenticationStateMachine-CYois9xB.esm.js} +2 -2
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +31 -30
- package/dist/consent.d.ts +4 -3
- package/dist/{consentManager-BvDJp7BI.d.ts → consentManager-D8ocqmks.d.ts} +52 -52
- package/dist/cpf-ocr.d.ts +4 -3
- package/dist/{cpfOcrManager-CLrn17Kf.d.ts → cpfOcrManager-DLLe64mr.d.ts} +22 -22
- package/dist/{createFaceAvatar-CiNyvRNO.esm.js → createFaceAvatar-97WdPBmX.esm.js} +3 -3
- package/dist/{createFaceAvatar-tloe__L_.d.ts → createFaceAvatar-CpdYp9Iy.d.ts} +1 -1
- package/dist/cross-document-data-match.d.ts +2 -1
- package/dist/curp-validation.d.ts +10 -9
- package/dist/{curpValidationManager-Bd_J27C3.d.ts → curpValidationManager-CoqODZx5.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -2
- package/dist/custom-watchlist.d.ts +2 -1
- package/dist/document-capture.d.ts +236 -235
- package/dist/document-upload.d.ts +51 -50
- package/dist/dynamic-forms.d.ts +3 -3
- package/dist/ekyb.d.ts +9 -8
- package/dist/ekyb.esm.js +4 -4
- package/dist/{ekybStateMachine-BzMz39iQ.esm.js → ekybStateMachine-DURK25z4.esm.js} +1 -1
- package/dist/ekyc.d.ts +4 -3
- package/dist/electronic-signature.d.ts +4 -3
- package/dist/email.d.ts +5 -4
- package/dist/{emailManager-DB7-HTVr.d.ts → emailManager-D1dWWxLM.d.ts} +3 -3
- package/dist/extensibility.d.ts +34 -32
- package/dist/extensibility.esm.js +18 -16
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-BbFl762r.esm.js → faceCaptureManagerFactory-D65wC0Oy.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-CyZP_Q9V.d.ts → faceCaptureManagerFactory-gdShHivE.d.ts} +13 -12
- package/dist/{faceCaptureSetup-CIkrBLYz.esm.js → faceCaptureSetup-DRgLc1RU.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -3
- package/dist/{fieldComparisonManager-CjIY3Y1d.d.ts → fieldComparisonManager-CSYVU-Vk.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -4
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -13
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-DsAOXwDS.esm.js → flowServices-Gxwh37Ai.esm.js} +1 -1
- package/dist/geolocation.d.ts +3 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.d.ts +4 -3
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.d.ts +18 -17
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -625
- package/dist/id-ocr.esm.js +5 -82
- package/dist/id-verification.d.ts +28 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -15
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-TBCF4TGa.esm.js → idCaptureManager-D6huHpRw.esm.js} +1 -1
- package/dist/{idCaptureManager-fvEYwU_l.d.ts → idCaptureManager-L0JyIaWM.d.ts} +12 -11
- package/dist/{idCaptureStateMachine-K6LgInsG.esm.js → idCaptureStateMachine--0-8e21I.esm.js} +5 -5
- package/dist/idOcrManager-D_RlFzxU.esm.js +92 -0
- package/dist/idOcrManager-DePAiG4n.d.ts +641 -0
- package/dist/identity-reuse.d.ts +4 -3
- package/dist/{identityReuseManager-DHveeduR.d.ts → identityReuseManager-CQSXBPUb.d.ts} +36 -36
- package/dist/{index-CpQYJA2K.d.ts → index-0PqCAPxK.d.ts} +2 -2
- package/dist/{index-BR5R9zI_.d.ts → index-4AmcrRyW.d.ts} +169 -169
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -9
- package/dist/{mandatoryConsentManager-BMFzCwXR.d.ts → mandatoryConsentManager-CfdEUGC_.d.ts} +55 -55
- package/dist/{onDeviceFaceResults-DlErdHcT.esm.js → onDeviceFaceResults-IJDRqtYI.esm.js} +2 -2
- package/dist/openviduLazy-jPgABwrt.esm.js +3 -0
- package/dist/{openviduLazy-BXDnVFe2.esm.js → openviduLazy-wEojM41w.esm.js} +1 -1
- package/dist/personhood.d.ts +16 -15
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.d.ts +5 -4
- package/dist/{phoneManager-DWBrSRZq.d.ts → phoneManager-DitebgbQ.d.ts} +3 -3
- package/dist/qe-signature.d.ts +4 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-D8zRQbVb.esm.js → recordingService-4pOlb2SG.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +4 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-DIc_xDDn.esm.js → redirectToMobileManager-Be0DwbuH.esm.js} +1 -1
- package/dist/{redirectToMobileManager-slUK-Ttt.d.ts → redirectToMobileManager-kf5afsMm.d.ts} +2 -2
- package/dist/selfie.d.ts +19 -18
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-CARwc0rJ.d.ts → selfieManager-B0nFzgeP.d.ts} +3 -3
- package/dist/{selfieManager-CjFFQTKK.esm.js → selfieManager-By-EP_q4.esm.js} +2 -2
- package/dist/{selfieStateMachine-2UJDOv3d.esm.js → selfieStateMachine-Dn3Vh_z_.esm.js} +2 -2
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-C0YhqeiX.esm.js → sessionInitializer-Dk-kFR33.esm.js} +2 -2
- package/dist/{setup-3W6rhIxJ.esm.js → setup-DU66XiuI.esm.js} +2 -2
- package/dist/{setup-B0dyRJVg.d.ts → setup-Da51UnII.d.ts} +2 -2
- package/dist/signature.d.ts +3 -2
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-D6YWLiyE.esm.js → tri-QAWxUCoY.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-Q8X11Udu.esm.js → tri.esm-B47NPJjh.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -3
- package/dist/{types-B4nBoeCd.d.ts → types-B1DBrARx.d.ts} +3 -3
- package/dist/{types-BoOrY6Kj.d.ts → types-BUgeB2X6.d.ts} +2 -2
- package/dist/{types-DHIl-AtE.d.ts → types-CU_aiZL_.d.ts} +1 -1
- package/dist/{types-Bl8JJxqM.d.ts → types-DV3wkhQ4.d.ts} +1 -1
- package/dist/video-selfie.d.ts +18 -15
- package/dist/video-selfie.esm.js +62 -24
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +116 -115
- package/dist/workflow.esm.js +23 -23
- package/package.json +1 -1
- package/dist/openviduLazy-lAZzee_g.esm.js +0 -3
- /package/dist/{Actor-Du_LU0S4.d.ts → Actor-BwgmOPkb.d.ts} +0 -0
- /package/dist/{IVisibilityObserverCapability-D8EjWdOj.d.ts → IVisibilityObserverCapability-BZ1rE7ly.d.ts} +0 -0
- /package/dist/{PrivacyLensProvider-D3KyqFh7.esm.js → PrivacyLensProvider-CZnkF34Z.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-D0saHs_w.esm.js → browser-DlFgHpoC-BieMg30k.esm.js} +0 -0
- /package/dist/{camera-DtXTDZWt.d.ts → camera-CKU96nwJ.d.ts} +0 -0
- /package/dist/{canvas-Dcq7XIdx.d.ts → canvas-90BqS0NF.d.ts} +0 -0
- /package/dist/{deepsightLoader-C2P7w1dA.esm.js → deepsightLoader-BrK1yV0-.esm.js} +0 -0
- /package/dist/{deepsightService-DMGqYUMO.d.ts → deepsightService-BgdEmIRg.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-CDx5ZRhv.esm.js → faceMatchStateMachine-BLL5aQX6.esm.js} +0 -0
- /package/dist/{flowCompletionService-BqDrPtNh.esm.js → flowCompletionService-C4ciNLxe.esm.js} +0 -0
- /package/dist/{flowCompletionService-CY9Cb5V1.d.ts → flowCompletionService-SXnPwz9I.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BYfOOOG0.esm.js → geolocationStateMachine-Vs5GfQ8l.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-yCQaD7zl.esm.js → governmentValidationStateMachine-EKSIq4v9.esm.js} +0 -0
- /package/dist/{http-C6s60xSe.esm.js → http-CBbBcnBa.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-6vUdYjRV.esm.js → idOcrStateMachine-DLz_gexF.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-cT7LtSYe.esm.js → idVerificationStateMachine-BOz1v4AY.esm.js} +0 -0
- /package/dist/{index-CCG6MnCO.d.ts → index-BAyZ8_iI.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-DrpXOwkG.esm.js → invokeOnCaptureCallback-uZ42DiUz.esm.js} +0 -0
- /package/dist/{lib-TRTXfron.esm.js → lib-Bjd6nOLG.esm.js} +0 -0
- /package/dist/{mediapipeShared-yKDdOf_V.esm.js → mediapipeShared-Bcmkzs3x.esm.js} +0 -0
- /package/dist/{otp-DyNGp0Po.d.ts → otp-CETbFjXH.d.ts} +0 -0
- /package/dist/{qe-signature-D5gwX-fY.esm.js → qe-signature-mU2bJh-u.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-H-iEztA6.esm.js → redirectToMobileStateMachine-DaZBdvQA.esm.js} +0 -0
- /package/dist/{runChildModule-Wr_2wB1m.esm.js → runChildModule-D-rDy5jB.esm.js} +0 -0
- /package/dist/{signatureStateMachine-c-HlL0-y.esm.js → signatureStateMachine-DWob8P45.esm.js} +0 -0
- /package/dist/{types-CYK29a4w.d.ts → types-BcF-fii5.d.ts} +0 -0
- /package/dist/{types-BXkFotpx.d.ts → types-BgjMAEXl.d.ts} +0 -0
- /package/dist/{warmup-DzJ0I4Kv.d.ts → warmup-CZ80odyW.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-DNaxGviI.esm.js → watchlistForBusinessStateMachine-Do3drRT5.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-DPLVxv_x.esm.js → watchlistStateMachine-D6A4O5rK.esm.js} +0 -0
|
@@ -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-goNPc_h_.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
3
|
+
import * as xstate1152 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: xstate1152.StateMachine<ConsentContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -49,55 +49,55 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
49
49
|
} | {
|
|
50
50
|
type: "RESET";
|
|
51
51
|
}, {
|
|
52
|
-
[x: string]:
|
|
52
|
+
[x: string]: xstate1152.ActorRefFromLogic<xstate1152.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
53
53
|
consentId: string;
|
|
54
54
|
language?: string;
|
|
55
|
-
},
|
|
55
|
+
}, xstate1152.EventObject>> | xstate1152.ActorRefFromLogic<xstate1152.PromiseActorLogic<void, {
|
|
56
56
|
languageConsentId: string;
|
|
57
57
|
checkboxes: ConsentCheckbox[];
|
|
58
|
-
},
|
|
59
|
-
},
|
|
58
|
+
}, xstate1152.EventObject>> | undefined;
|
|
59
|
+
}, xstate1152.Values<{
|
|
60
60
|
fetchConsent: {
|
|
61
61
|
src: "fetchConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate1152.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
language?: string;
|
|
65
|
-
},
|
|
65
|
+
}, xstate1152.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
submitConsent: {
|
|
69
69
|
src: "submitConsent";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate1152.PromiseActorLogic<void, {
|
|
71
71
|
languageConsentId: string;
|
|
72
72
|
checkboxes: ConsentCheckbox[];
|
|
73
|
-
},
|
|
73
|
+
}, xstate1152.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
setError: {
|
|
78
|
-
type: "setError";
|
|
79
|
-
params: xstate1558.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate1152.Values<{
|
|
81
77
|
clearError: {
|
|
82
78
|
type: "clearError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate1152.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
setError: {
|
|
82
|
+
type: "setError";
|
|
83
|
+
params: xstate1152.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
resetContext: {
|
|
86
86
|
type: "resetContext";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate1152.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setConsentData: {
|
|
90
90
|
type: "setConsentData";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate1152.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
toggleCheckbox: {
|
|
94
94
|
type: "toggleCheckbox";
|
|
95
|
-
params:
|
|
95
|
+
params: xstate1152.NonReducibleUnknown;
|
|
96
96
|
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate1152.NonReducibleUnknown, xstate1152.EventObject, xstate1152.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,73 +106,73 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1152.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
111
|
language?: string;
|
|
112
|
-
},
|
|
112
|
+
}, xstate1152.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
} extends infer T ? T extends {
|
|
115
115
|
src: "fetchConsent";
|
|
116
|
-
logic:
|
|
116
|
+
logic: xstate1152.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
117
117
|
consentId: string;
|
|
118
118
|
language?: string;
|
|
119
|
-
},
|
|
119
|
+
}, xstate1152.EventObject>;
|
|
120
120
|
id: string | undefined;
|
|
121
121
|
} ? T extends {
|
|
122
122
|
src: TSrc;
|
|
123
|
-
} ?
|
|
123
|
+
} ? xstate1152.ConditionalRequired<[options?: ({
|
|
124
124
|
id?: T["id"] | undefined;
|
|
125
125
|
systemId?: string;
|
|
126
|
-
input?:
|
|
126
|
+
input?: xstate1152.InputFrom<T["logic"]> | undefined;
|
|
127
127
|
syncSnapshot?: boolean;
|
|
128
|
-
} & { [K in
|
|
128
|
+
} & { [K in xstate1152.RequiredActorOptions<T>]: unknown }) | undefined], xstate1152.IsNotNever<xstate1152.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
129
129
|
src: "submitConsent";
|
|
130
|
-
logic:
|
|
130
|
+
logic: xstate1152.PromiseActorLogic<void, {
|
|
131
131
|
languageConsentId: string;
|
|
132
132
|
checkboxes: ConsentCheckbox[];
|
|
133
|
-
},
|
|
133
|
+
}, xstate1152.EventObject>;
|
|
134
134
|
id: string | undefined;
|
|
135
135
|
} extends infer T_1 ? T_1 extends {
|
|
136
136
|
src: "submitConsent";
|
|
137
|
-
logic:
|
|
137
|
+
logic: xstate1152.PromiseActorLogic<void, {
|
|
138
138
|
languageConsentId: string;
|
|
139
139
|
checkboxes: ConsentCheckbox[];
|
|
140
|
-
},
|
|
140
|
+
}, xstate1152.EventObject>;
|
|
141
141
|
id: string | undefined;
|
|
142
142
|
} ? T_1 extends {
|
|
143
143
|
src: TSrc;
|
|
144
|
-
} ?
|
|
144
|
+
} ? xstate1152.ConditionalRequired<[options?: ({
|
|
145
145
|
id?: T_1["id"] | undefined;
|
|
146
146
|
systemId?: string;
|
|
147
|
-
input?:
|
|
147
|
+
input?: xstate1152.InputFrom<T_1["logic"]> | undefined;
|
|
148
148
|
syncSnapshot?: boolean;
|
|
149
|
-
} & { [K_1 in
|
|
149
|
+
} & { [K_1 in xstate1152.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1152.IsNotNever<xstate1152.RequiredActorOptions<T_1>>> : never : never : never)): xstate1152.ActorRefFromLogic<xstate1152.GetConcreteByKey<xstate1152.Values<{
|
|
150
150
|
fetchConsent: {
|
|
151
151
|
src: "fetchConsent";
|
|
152
|
-
logic:
|
|
152
|
+
logic: xstate1152.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
153
153
|
consentId: string;
|
|
154
154
|
language?: string;
|
|
155
|
-
},
|
|
155
|
+
}, xstate1152.EventObject>;
|
|
156
156
|
id: string | undefined;
|
|
157
157
|
};
|
|
158
158
|
submitConsent: {
|
|
159
159
|
src: "submitConsent";
|
|
160
|
-
logic:
|
|
160
|
+
logic: xstate1152.PromiseActorLogic<void, {
|
|
161
161
|
languageConsentId: string;
|
|
162
162
|
checkboxes: ConsentCheckbox[];
|
|
163
|
-
},
|
|
163
|
+
}, xstate1152.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>, "src", TSrc>["logic"]>;
|
|
167
|
-
<TLogic extends
|
|
167
|
+
<TLogic extends xstate1152.AnyActorLogic>(src: TLogic, ...[options]: xstate1152.ConditionalRequired<[options?: ({
|
|
168
168
|
id?: never;
|
|
169
169
|
systemId?: string;
|
|
170
|
-
input?:
|
|
170
|
+
input?: xstate1152.InputFrom<TLogic> | undefined;
|
|
171
171
|
syncSnapshot?: boolean;
|
|
172
|
-
} & { [K in
|
|
172
|
+
} & { [K in xstate1152.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1152.IsNotNever<xstate1152.RequiredLogicInput<TLogic>>>): xstate1152.ActorRefFromLogic<TLogic>;
|
|
173
173
|
};
|
|
174
174
|
input: ConsentInput;
|
|
175
|
-
self:
|
|
175
|
+
self: xstate1152.ActorRef<xstate1152.MachineSnapshot<ConsentContext, {
|
|
176
176
|
type: "LOAD";
|
|
177
177
|
} | {
|
|
178
178
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -183,7 +183,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
183
183
|
type: "RETRY";
|
|
184
184
|
} | {
|
|
185
185
|
type: "RESET";
|
|
186
|
-
}, Record<string,
|
|
186
|
+
}, Record<string, xstate1152.AnyActorRef | undefined>, xstate1152.StateValue, string, unknown, any, any>, {
|
|
187
187
|
type: "LOAD";
|
|
188
188
|
} | {
|
|
189
189
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -194,7 +194,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
194
194
|
type: "RETRY";
|
|
195
195
|
} | {
|
|
196
196
|
type: "RESET";
|
|
197
|
-
},
|
|
197
|
+
}, xstate1152.AnyEventObject>;
|
|
198
198
|
}) => {
|
|
199
199
|
config: ConsentConfig;
|
|
200
200
|
title: string;
|
|
@@ -232,7 +232,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
232
232
|
} | {
|
|
233
233
|
type: "RESET";
|
|
234
234
|
};
|
|
235
|
-
self:
|
|
235
|
+
self: xstate1152.ActorRef<xstate1152.MachineSnapshot<ConsentContext, {
|
|
236
236
|
type: "LOAD";
|
|
237
237
|
} | {
|
|
238
238
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -243,7 +243,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
243
243
|
type: "RETRY";
|
|
244
244
|
} | {
|
|
245
245
|
type: "RESET";
|
|
246
|
-
}, Record<string,
|
|
246
|
+
}, Record<string, xstate1152.AnyActorRef>, xstate1152.StateValue, string, unknown, any, any>, {
|
|
247
247
|
type: "LOAD";
|
|
248
248
|
} | {
|
|
249
249
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -254,7 +254,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
254
254
|
type: "RETRY";
|
|
255
255
|
} | {
|
|
256
256
|
type: "RESET";
|
|
257
|
-
},
|
|
257
|
+
}, xstate1152.AnyEventObject>;
|
|
258
258
|
}) => {
|
|
259
259
|
consentId: string;
|
|
260
260
|
language: string | undefined;
|
|
@@ -304,7 +304,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
304
304
|
} | {
|
|
305
305
|
type: "RESET";
|
|
306
306
|
};
|
|
307
|
-
self:
|
|
307
|
+
self: xstate1152.ActorRef<xstate1152.MachineSnapshot<ConsentContext, {
|
|
308
308
|
type: "LOAD";
|
|
309
309
|
} | {
|
|
310
310
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -315,7 +315,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
315
315
|
type: "RETRY";
|
|
316
316
|
} | {
|
|
317
317
|
type: "RESET";
|
|
318
|
-
}, Record<string,
|
|
318
|
+
}, Record<string, xstate1152.AnyActorRef>, xstate1152.StateValue, string, unknown, any, any>, {
|
|
319
319
|
type: "LOAD";
|
|
320
320
|
} | {
|
|
321
321
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -326,7 +326,7 @@ declare const consentMachine: xstate1558.StateMachine<ConsentContext, {
|
|
|
326
326
|
type: "RETRY";
|
|
327
327
|
} | {
|
|
328
328
|
type: "RESET";
|
|
329
|
-
},
|
|
329
|
+
}, xstate1152.AnyEventObject>;
|
|
330
330
|
}) => {
|
|
331
331
|
languageConsentId: string;
|
|
332
332
|
checkboxes: ConsentCheckbox[];
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, o as cpfOcrMachine, r as createCpfOcrManager, t as CpfOcrManager } from "./cpfOcrManager-DLLe64mr.js";
|
|
4
5
|
|
|
5
6
|
//#region src/modules/cpf-ocr/cpfOcrUtils.d.ts
|
|
6
7
|
declare function formatCPF(value: string): string;
|
|
@@ -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-goNPc_h_.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
3
|
+
import * as xstate1127 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: xstate1127.StateMachine<CpfOcrContext, {
|
|
21
21
|
type: "LOAD";
|
|
22
22
|
} | {
|
|
23
23
|
type: "SET_CPF";
|
|
@@ -27,43 +27,43 @@ declare const cpfOcrMachine: xstate703.StateMachine<CpfOcrContext, {
|
|
|
27
27
|
} | {
|
|
28
28
|
type: "RETRY";
|
|
29
29
|
}, {
|
|
30
|
-
[x: string]:
|
|
30
|
+
[x: string]: xstate1127.ActorRefFromLogic<xstate1127.PromiseActorLogic<CpfOcrDataResponse, void, xstate1127.EventObject>> | xstate1127.ActorRefFromLogic<xstate1127.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
31
31
|
cpf: string;
|
|
32
|
-
},
|
|
33
|
-
},
|
|
32
|
+
}, xstate1127.EventObject>> | undefined;
|
|
33
|
+
}, xstate1127.Values<{
|
|
34
34
|
fetchCpfOcrData: {
|
|
35
35
|
src: "fetchCpfOcrData";
|
|
36
|
-
logic:
|
|
36
|
+
logic: xstate1127.PromiseActorLogic<CpfOcrDataResponse, void, xstate1127.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
submitCpfOcr: {
|
|
40
40
|
src: "submitCpfOcr";
|
|
41
|
-
logic:
|
|
41
|
+
logic: xstate1127.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
42
42
|
cpf: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate1127.EventObject>;
|
|
44
44
|
id: string | undefined;
|
|
45
45
|
};
|
|
46
|
-
}>,
|
|
47
|
-
setError: {
|
|
48
|
-
type: "setError";
|
|
49
|
-
params: xstate703.NonReducibleUnknown;
|
|
50
|
-
};
|
|
46
|
+
}>, xstate1127.Values<{
|
|
51
47
|
clearError: {
|
|
52
48
|
type: "clearError";
|
|
53
|
-
params:
|
|
49
|
+
params: xstate1127.NonReducibleUnknown;
|
|
50
|
+
};
|
|
51
|
+
setError: {
|
|
52
|
+
type: "setError";
|
|
53
|
+
params: xstate1127.NonReducibleUnknown;
|
|
54
54
|
};
|
|
55
55
|
setPrefill: {
|
|
56
56
|
type: "setPrefill";
|
|
57
|
-
params:
|
|
57
|
+
params: xstate1127.NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
59
|
setCpf: {
|
|
60
60
|
type: "setCpf";
|
|
61
|
-
params:
|
|
61
|
+
params: xstate1127.NonReducibleUnknown;
|
|
62
62
|
};
|
|
63
63
|
}>, {
|
|
64
64
|
type: "isValid";
|
|
65
65
|
params: unknown;
|
|
66
|
-
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput,
|
|
66
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate1127.NonReducibleUnknown, xstate1127.EventObject, xstate1127.MetaObject, {
|
|
67
67
|
readonly id: "cpfOcr";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: {
|
|
@@ -118,7 +118,7 @@ declare const cpfOcrMachine: xstate703.StateMachine<CpfOcrContext, {
|
|
|
118
118
|
} | {
|
|
119
119
|
type: "RETRY";
|
|
120
120
|
};
|
|
121
|
-
self:
|
|
121
|
+
self: xstate1127.ActorRef<xstate1127.MachineSnapshot<CpfOcrContext, {
|
|
122
122
|
type: "LOAD";
|
|
123
123
|
} | {
|
|
124
124
|
type: "SET_CPF";
|
|
@@ -127,7 +127,7 @@ declare const cpfOcrMachine: xstate703.StateMachine<CpfOcrContext, {
|
|
|
127
127
|
type: "SUBMIT";
|
|
128
128
|
} | {
|
|
129
129
|
type: "RETRY";
|
|
130
|
-
}, Record<string,
|
|
130
|
+
}, Record<string, xstate1127.AnyActorRef>, xstate1127.StateValue, string, unknown, any, any>, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "SET_CPF";
|
|
@@ -136,7 +136,7 @@ declare const cpfOcrMachine: xstate703.StateMachine<CpfOcrContext, {
|
|
|
136
136
|
type: "SUBMIT";
|
|
137
137
|
} | {
|
|
138
138
|
type: "RETRY";
|
|
139
|
-
},
|
|
139
|
+
}, xstate1127.AnyEventObject>;
|
|
140
140
|
}) => {
|
|
141
141
|
cpf: string;
|
|
142
142
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/** Lazy-load the provider for an avatar id (each lands in its own chunk). */
|
|
3
3
|
async function loadProvider(variant) {
|
|
4
4
|
switch (variant) {
|
|
5
|
-
case "avatar-3d": return (await import("./3dAvatarProvider-
|
|
6
|
-
case "avatar-2d": return (await import("./Face2DProvider-
|
|
7
|
-
case "privacy-lens": return (await import("./PrivacyLensProvider-
|
|
5
|
+
case "avatar-3d": return (await import("./3dAvatarProvider-CVwSAzDw.esm.js")).createProvider();
|
|
6
|
+
case "avatar-2d": return (await import("./Face2DProvider-BuWoUgFl.esm.js")).createProvider();
|
|
7
|
+
case "privacy-lens": return (await import("./PrivacyLensProvider-CZnkF34Z.esm.js")).createProvider();
|
|
8
8
|
default: {
|
|
9
9
|
const exhaustive = variant;
|
|
10
10
|
throw new Error(`Unknown avatar variant: ${String(exhaustive)}`);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
2
3
|
|
|
3
4
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchManager.d.ts
|
|
4
5
|
type CrossDocumentDataMatchIdleState = {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
4
|
+
import "./camera-CKU96nwJ.js";
|
|
5
|
+
import "./types-DV3wkhQ4.js";
|
|
6
|
+
import "./types-BgjMAEXl.js";
|
|
7
|
+
import "./canvas-90BqS0NF.js";
|
|
8
|
+
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
9
|
+
import "./types-BUgeB2X6.js";
|
|
10
|
+
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-CoqODZx5.js";
|
|
10
11
|
|
|
11
12
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
12
13
|
type MexicanState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
3
|
+
import { i as FlowModuleConfig } from "./types-BUgeB2X6.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
+
import "./Actor-BwgmOPkb.js";
|
|
3
4
|
|
|
4
5
|
//#region src/modules/custom-fields/types.d.ts
|
|
5
6
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./StateMachine-D5WO6lHS.js";
|
|
2
|
+
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
2
3
|
|
|
3
4
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
|
|
4
5
|
type CustomWatchlistResult = 'success' | 'skipped';
|