@incodetech/core 0.0.0-dev-20260513-0ec71c0 → 0.0.0-dev-20260513-2604577
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OpenViduRecordingProvider-DnYd4TKr.esm.js → OpenViduRecordingProvider-XfM1uSa4.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/antifraud.d.ts +1 -1
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +4 -4
- package/dist/{authenticationManager-DcGiJ5zB.esm.js → authenticationManager-C0Qlk_6G.esm.js} +1 -1
- package/dist/{authenticationManager-BnltMEfq.d.ts → authenticationManager-mhLsvyG0.d.ts} +2 -2
- package/dist/{authenticationStateMachine-BkxEuiOe.esm.js → authenticationStateMachine-DAHa2d6S.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/consent.d.ts +54 -54
- package/dist/cpf-ocr.d.ts +21 -21
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/curp-validation.d.ts +5 -5
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/{deepsightService-Kuw9roIJ.d.ts → deepsightService-BQfJ83Gk.d.ts} +2 -2
- package/dist/document-capture.d.ts +74 -74
- package/dist/document-upload.d.ts +50 -50
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-Cw4N-GB5.esm.js → ekybStateMachine-BC0xWoP3.esm.js} +1 -1
- package/dist/ekyc.d.ts +3 -3
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/{emailManager-DsYl45qf.d.ts → emailManager-C_VJoO47.d.ts} +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +9 -9
- package/dist/face-match.d.ts +1 -1
- package/dist/{faceCaptureManagerFactory-DmHbKbyC.d.ts → faceCaptureManagerFactory-D5-Kdoih.d.ts} +100 -10
- package/dist/{faceCaptureSetup-DuyxqX2C.esm.js → faceCaptureSetup-C4VtF2Dg.esm.js} +5 -3
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +11 -11
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-BoXJgwso.esm.js → flowServices-Be2i48K0.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/government-validation.d.ts +2 -2
- package/dist/home.d.ts +14 -14
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +1 -1
- package/dist/id.d.ts +24 -11
- package/dist/id.esm.js +147 -8
- package/dist/{idCaptureManager-Bg2va24b.d.ts → idCaptureManager-CQbP3Vb1.d.ts} +110 -24
- package/dist/{idCaptureManager-WnnPecUR.esm.js → idCaptureManager-CUsCtsMQ.esm.js} +37 -24
- package/dist/{idCaptureStateMachine-DiUfiVtU.esm.js → idCaptureStateMachine-8-s_IfhH.esm.js} +979 -976
- package/dist/identity-reuse.d.ts +49 -49
- package/dist/{index-UH-vOq3x.d.ts → index-Bxdjg1dF.d.ts} +2 -2
- package/dist/{index-CRvEjMgP.d.ts → index-_1gxfCGC.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/invokeOnCaptureCallback-CTpU99xK.esm.js +30 -0
- package/dist/mandatory-consent.d.ts +58 -58
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/openviduLazy-A9JIk7ay.esm.js +3 -0
- package/dist/{openviduLazy-yJ7zb0TW.esm.js → openviduLazy-BKDU59Dn.esm.js} +1 -1
- package/dist/phone.d.ts +3 -3
- package/dist/{phoneManager-CeAs-QB1.d.ts → phoneManager-CZNfqYND.d.ts} +2 -2
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-D7oQbN6c.esm.js → recordingService-CcinuqJy.esm.js} +20 -4
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +26 -12
- package/dist/selfie.esm.js +131 -10
- package/dist/{selfieManager-CQtRqcjI.d.ts → selfieManager-CB3kWeYl.d.ts} +2 -2
- package/dist/{selfieManager-BvY_JjgO.esm.js → selfieManager-Ce8aDURG.esm.js} +1 -1
- package/dist/{selfieStateMachine-Bq5AS2Ym.esm.js → selfieStateMachine-Bpf6VdS3.esm.js} +2 -2
- package/dist/{session-CCVzeyXu.esm.js → session-CRPARxtd.esm.js} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +1 -1
- package/dist/{setup-CsJ6FYyF.d.ts → setup-BpztibCq.d.ts} +1 -1
- package/dist/{setup-DVRsRzJX.esm.js → setup-CnvjGXIo.esm.js} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/{types-DJSt3Ovt.d.ts → types-CaPS0kkL.d.ts} +1 -1
- package/dist/{types-DkXZpS0R.d.ts → types-WWDfuDx2.d.ts} +1 -1
- package/dist/{types-WKAQ7Ai4.d.ts → types-jkgm6nc3.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/workflow.d.ts +92 -92
- package/dist/workflow.esm.js +13 -13
- package/package.json +1 -1
- package/dist/openviduLazy-DYsQwkcJ.esm.js +0 -3
- /package/dist/{Actor-YjWTo26u.d.ts → Actor-D6Fn6QOn.d.ts} +0 -0
- /package/dist/{Manager-D9pehGyp.d.ts → Manager-Bzq4EsqA.d.ts} +0 -0
- /package/dist/{StateMachine-CJG7thvx.d.ts → StateMachine-PZ9FjtmD.d.ts} +0 -0
- /package/dist/{camera-B6UAKpM1.d.ts → camera-Do5MWf8b.d.ts} +0 -0
- /package/dist/{deepsightLoader-DVjWQrsv.esm.js → deepsightLoader-LzyFGh4s.esm.js} +0 -0
- /package/dist/{displayErrors-DO0TIjQ-.d.ts → displayErrors-uL5IVdm2.d.ts} +0 -0
- /package/dist/{flowCompletionService-C376JZwA.d.ts → flowCompletionService-D_FGcFor.d.ts} +0 -0
- /package/dist/{idOcrStateMachine-Dw4i2Yyo.esm.js → idOcrStateMachine-C4Bek848.esm.js} +0 -0
- /package/dist/{lib-KUTgonKm.esm.js → lib-UaOMGCNy.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-D0CiwKkK.esm.js → mandatoryConsentStateMachine-D697Ibn5.esm.js} +0 -0
- /package/dist/{qe-signature-CaxK1LMD.esm.js → qe-signature-CgoZ5y9_.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-7bW5wC2f.esm.js → redirectToMobileStateMachine-Sd-NXLKO.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CB7XiLfo.esm.js → signatureStateMachine-jU2B3NTg.esm.js} +0 -0
- /package/dist/{types-CarMMtoz.d.ts → types-DVvS5DbD.d.ts} +0 -0
- /package/dist/{warmup-C6O7yhfX.d.ts → warmup-Crf8G0S3.d.ts} +0 -0
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import "./Actor-D6Fn6QOn.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-_1gxfCGC.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/antifraud.d.ts
CHANGED
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import {
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./deepsightService-
|
|
10
|
-
import "./types-
|
|
11
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import "./warmup-Crf8G0S3.js";
|
|
2
|
+
import "./Manager-Bzq4EsqA.js";
|
|
3
|
+
import "./Actor-D6Fn6QOn.js";
|
|
4
|
+
import "./StateMachine-PZ9FjtmD.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-D5-Kdoih.js";
|
|
6
|
+
import "./camera-Do5MWf8b.js";
|
|
7
|
+
import "./types-CaPS0kkL.js";
|
|
8
|
+
import "./types-WWDfuDx2.js";
|
|
9
|
+
import "./deepsightService-BQfJ83Gk.js";
|
|
10
|
+
import "./types-DVvS5DbD.js";
|
|
11
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-mhLsvyG0.js";
|
|
12
12
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -7,11 +7,11 @@ import "./browserSimulation-CAH-V_iE.esm.js";
|
|
|
7
7
|
import "./xstate.esm-7GmmAwg6.esm.js";
|
|
8
8
|
import "./faceCaptureManagerFactory-fu-9hWf5.esm.js";
|
|
9
9
|
import "./BrowserStorageProvider-CoUfuy0u.esm.js";
|
|
10
|
-
import "./faceCaptureSetup-
|
|
10
|
+
import "./faceCaptureSetup-C4VtF2Dg.esm.js";
|
|
11
11
|
import "./ITimerCapability-3xSd36bT.esm.js";
|
|
12
12
|
import "./camera-Bm3wb89Z.esm.js";
|
|
13
13
|
import "./deepsightService-Dv6kvzph.esm.js";
|
|
14
|
-
import "./recordingService-
|
|
14
|
+
import "./recordingService-CcinuqJy.esm.js";
|
|
15
15
|
import "./platform-CDh4uv5Y.esm.js";
|
|
16
16
|
import "./backCameraStream-BKC7QXRJ.esm.js";
|
|
17
17
|
import "./getBrowser-Bl0PlyDu.esm.js";
|
|
@@ -19,7 +19,7 @@ import "./stats-qUsejORa.esm.js";
|
|
|
19
19
|
import "./getDeviceClass-C1ZS2XJL.esm.js";
|
|
20
20
|
import "./MotionSensorProvider-Dt_lF3Z8.esm.js";
|
|
21
21
|
import "./permissionServices-Cdxqlwqz.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-DAHa2d6S.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-C0Qlk_6G.esm.js";
|
|
24
24
|
|
|
25
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DcGiJ5zB.esm.js → authenticationManager-C0Qlk_6G.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { n as eventModuleNames } from "./events-Bt1azl2B.esm.js";
|
|
|
3
3
|
import { o as createActor } from "./xstate.esm-7GmmAwg6.esm.js";
|
|
4
4
|
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-fu-9hWf5.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CoUfuy0u.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DAHa2d6S.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import {
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-D5-Kdoih.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign } from "./xstate.esm-7GmmAwg6.esm.js";
|
|
4
|
-
import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
5
|
-
import { m as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
+
import { a as prepareOnDeviceFaceUpload, i as postOnDeviceFaceResults, n as defaultPrepareFaceUpload, r as isOnDeviceMode, t as faceCaptureMachine } from "./faceCaptureSetup-C4VtF2Dg.esm.js";
|
|
5
|
+
import { m as FACE_ERROR_CODES } from "./recordingService-CcinuqJy.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-C1ZS2XJL.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
package/dist/camera.d.ts
CHANGED
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import "./Actor-D6Fn6QOn.js";
|
|
3
|
+
import * as xstate170 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: xstate170.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate170.ActorRefFromLogic<xstate170.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate170.EventObject>> | xstate170.ActorRefFromLogic<xstate170.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate170.EventObject>> | undefined;
|
|
57
|
+
}, xstate170.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate170.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate170.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate170.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate170.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
74
|
-
clearError: {
|
|
75
|
-
type: "clearError";
|
|
76
|
-
params: xstate831.NonReducibleUnknown;
|
|
77
|
-
};
|
|
73
|
+
}>, xstate170.Values<{
|
|
78
74
|
setError: {
|
|
79
75
|
type: "setError";
|
|
80
|
-
params:
|
|
76
|
+
params: xstate170.NonReducibleUnknown;
|
|
81
77
|
};
|
|
82
|
-
|
|
83
|
-
type: "
|
|
84
|
-
params:
|
|
78
|
+
clearError: {
|
|
79
|
+
type: "clearError";
|
|
80
|
+
params: xstate170.NonReducibleUnknown;
|
|
85
81
|
};
|
|
86
82
|
setConsentData: {
|
|
87
83
|
type: "setConsentData";
|
|
88
|
-
params:
|
|
84
|
+
params: xstate170.NonReducibleUnknown;
|
|
89
85
|
};
|
|
90
86
|
toggleCheckbox: {
|
|
91
87
|
type: "toggleCheckbox";
|
|
92
|
-
params:
|
|
88
|
+
params: xstate170.NonReducibleUnknown;
|
|
89
|
+
};
|
|
90
|
+
resetContext: {
|
|
91
|
+
type: "resetContext";
|
|
92
|
+
params: xstate170.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, xstate170.NonReducibleUnknown, xstate170.EventObject, xstate170.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate170.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate170.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate170.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate170.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate170.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate170.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate170.RequiredActorOptions<T>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate170.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate170.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate170.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate170.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate170.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate170.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate170.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredActorOptions<T_1>>> : never : never : never)): xstate170.ActorRefFromLogic<xstate170.GetConcreteByKey<xstate170.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate170.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate170.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate170.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate170.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate170.AnyActorLogic>(src: TLogic, ...[options]: xstate170.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate170.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate170.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredLogicInput<TLogic>>>): xstate170.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate170.AnyActorRef | undefined>, xstate170.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate170.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate170.AnyActorRef>, xstate170.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate170.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate170.AnyActorRef>, xstate170.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate831.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate170.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import * as xstate1080 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: xstate1080.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate480.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate1080.ActorRefFromLogic<xstate1080.PromiseActorLogic<CpfOcrDataResponse, void, xstate1080.EventObject>> | xstate1080.ActorRefFromLogic<xstate1080.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate1080.EventObject>> | undefined;
|
|
63
|
+
}, xstate1080.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate1080.PromiseActorLogic<CpfOcrDataResponse, void, xstate1080.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate1080.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate1080.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
clearError: {
|
|
78
|
-
type: "clearError";
|
|
79
|
-
params: xstate480.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate1080.Values<{
|
|
81
77
|
setError: {
|
|
82
78
|
type: "setError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate1080.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
clearError: {
|
|
82
|
+
type: "clearError";
|
|
83
|
+
params: xstate1080.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate1080.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate1080.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, xstate1080.NonReducibleUnknown, xstate1080.EventObject, xstate1080.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate480.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate1080.ActorRef<xstate1080.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate480.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate1080.AnyActorRef>, xstate1080.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate480.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate1080.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import "./Actor-D6Fn6QOn.js";
|
|
3
|
+
import "./camera-Do5MWf8b.js";
|
|
4
|
+
import "./types-CaPS0kkL.js";
|
|
5
|
+
import { i as FlowModuleConfig } from "./types-WWDfuDx2.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/curp-validation/types.d.ts
|
|
8
8
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-Bzq4EsqA.js";
|
|
2
|
+
import "./Actor-D6Fn6QOn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/custom-fields/types.d.ts
|
|
5
5
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as CameraStream } from "./camera-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-Crf8G0S3.js";
|
|
2
|
+
import { t as CameraStream } from "./camera-Do5MWf8b.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IRecordingCapability.d.ts
|
|
5
5
|
type RecordingPublisher = {
|