@incodetech/core 0.0.0-dev-20260519-71192db0 → 0.0.0-dev-20260520-1e2821d1
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/{BaseWasmProvider-C_DLEI40.esm.js → BaseWasmProvider-BSnZqgon.esm.js} +12 -0
- package/dist/{MotionSensorProvider-4v7xkqAp.esm.js → MotionSensorProvider-D8M9kEPC.esm.js} +1 -1
- package/dist/{WasmUtilProvider-j98OJf-S.esm.js → WasmUtilProvider-DJ3sXTf9.esm.js} +13 -1
- package/dist/ae-signature.d.ts +2 -2
- package/dist/authentication.d.ts +6 -6
- package/dist/authentication.esm.js +9 -9
- package/dist/{authenticationManager-qdIGDKAV.d.ts → authenticationManager-B-a7p8J6.d.ts} +1 -1
- package/dist/{authenticationManager-BvxH8Krj.esm.js → authenticationManager-B8RcEALr.esm.js} +2 -2
- package/dist/{authenticationStateMachine-C-g73ema.esm.js → authenticationStateMachine-CdXoSoh-.esm.js} +2 -2
- package/dist/camera.esm.js +2 -2
- package/dist/consent.d.ts +54 -54
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/curp-validation.d.ts +3 -3
- package/dist/custom-fields.d.ts +1 -1
- package/dist/{deepsightLoader-CIhGf15c.esm.js → deepsightLoader-Cdyaiz3M.esm.js} +4 -4
- package/dist/{deepsightService-O74l4Y__.esm.js → deepsightService-EiouKVUw.esm.js} +2 -0
- package/dist/{deepsightService-Dp4HhD1F.d.ts → deepsightService-hPdFwidT.d.ts} +4 -9
- 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 +9 -4
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-CQ7wpldf.esm.js → ekybStateMachine-BKC7d6qn.esm.js} +1 -1
- package/dist/ekyc.d.ts +9 -11
- package/dist/ekyc.esm.js +12 -7
- package/dist/{ekycStateMachine-BgNy1KDU.esm.js → ekycStateMachine--7H6rFl8.esm.js} +175 -107
- package/dist/electronic-signature.d.ts +2 -3
- package/dist/email.d.ts +2 -2
- package/dist/{emailManager-DCf6niIV.d.ts → emailManager-xt37-xiT.d.ts} +1 -1
- package/dist/extensibility.d.ts +13 -10
- package/dist/extensibility.esm.js +14 -14
- package/dist/{faceCaptureManagerFactory-CCm6r3NW.d.ts → faceCaptureManagerFactory-BFDZEqmQ.d.ts} +3 -3
- package/dist/{faceCaptureSetup-JZYF95rN.esm.js → faceCaptureSetup-qlEaghid.esm.js} +2 -2
- package/dist/flow-events.d.ts +4 -4
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-CjM7mfgS.esm.js → flowCompletionService-CZ62twxw.esm.js} +6 -3
- package/dist/{flowServices-CkrQl6MZ.esm.js → flowServices-gWbrm-Bo.esm.js} +8 -4
- package/dist/geolocation.d.ts +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/home.d.ts +12 -12
- package/dist/id-ocr.d.ts +53 -53
- package/dist/id-verification.d.ts +26 -26
- package/dist/id.d.ts +5 -5
- package/dist/id.esm.js +8 -8
- package/dist/{idCaptureManager-AmGTod1Y.d.ts → idCaptureManager-BjROmHUB.d.ts} +3 -8
- package/dist/{idCaptureManager-CSFWHJJy.esm.js → idCaptureManager-_VTyQaKk.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-f-lyzp88.esm.js → idCaptureStateMachine-Bft1weLZ.esm.js} +6 -28
- package/dist/identity-reuse.d.ts +41 -41
- package/dist/{electronicSignatureManager-Di3UqKhY.d.ts → index-CAj9MLeA.d.ts} +119 -119
- package/dist/{index-yJ9sMLlH.d.ts → index-DcnrWd-a.d.ts} +2 -2
- package/dist/index.esm.js +4 -4
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/{permissionServices-D_i6nzEw.esm.js → permissionServices-BKWsNbOi.esm.js} +1 -1
- package/dist/phone.d.ts +2 -2
- package/dist/{phoneManager-DhflnC-z.d.ts → phoneManager-DKwybjHQ.d.ts} +1 -1
- package/dist/qe-signature.d.ts +2 -3
- package/dist/{recordingService-C8p_rt_R.esm.js → recordingService-vzPxRuKD.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/selfie.d.ts +6 -6
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieManager-C3npU44M.d.ts → selfieManager-D9VlNary.d.ts} +1 -1
- package/dist/{selfieManager-C5ruM4Zi.esm.js → selfieManager-EEbYc-Jw.esm.js} +2 -2
- package/dist/{selfieStateMachine-Cgu9myje.esm.js → selfieStateMachine-BuLLrZ-U.esm.js} +2 -2
- package/dist/{session-DaoRAiVt.esm.js → session-pEIsobbm.esm.js} +73 -21
- package/dist/session.d.ts +33 -4
- package/dist/session.esm.js +3 -3
- package/dist/{setup-DPA9zpAa.esm.js → setup-B2nrQ06A.esm.js} +3 -3
- package/dist/signature.d.ts +1 -1
- package/dist/{types-BGn7vf_y.d.ts → types-tA90dULO.d.ts} +28 -1
- package/dist/{types-C3znyyzD.d.ts → types-z0YcJ3A9.d.ts} +1 -1
- package/dist/wasm.esm.js +4 -4
- package/dist/workflow.d.ts +128 -128
- package/dist/workflow.esm.js +40 -28
- package/package.json +5 -1
- package/dist/displayErrors-BH_AkH9P.d.ts +0 -7
- package/dist/index-BXp6lJmF.d.ts +0 -1
- /package/dist/{Actor-DhAnkIwf.d.ts → Actor-BIU0OEvS.d.ts} +0 -0
- /package/dist/{flowCompletionService-C4A-qYuH.d.ts → flowCompletionService-D1-bLzxr.d.ts} +0 -0
- /package/dist/{types-lZBg2X-g.d.ts → types-DkpwYjYw.d.ts} +0 -0
|
@@ -758,6 +758,18 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
758
758
|
this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized");
|
|
759
759
|
await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.poc(output), true);
|
|
760
760
|
}
|
|
761
|
+
async rsp() {
|
|
762
|
+
this.checkWasmInitialization("Unable to rsp, cpp API hasn't been initialized");
|
|
763
|
+
await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.rsp(), true);
|
|
764
|
+
}
|
|
765
|
+
ssl() {
|
|
766
|
+
this.checkWasmInitialization("Unable to ssl, cpp API hasn't been initialized");
|
|
767
|
+
this.utilityApi.ssl();
|
|
768
|
+
}
|
|
769
|
+
stl() {
|
|
770
|
+
this.checkWasmInitialization("Unable to stl, cpp API hasn't been initialized");
|
|
771
|
+
this.utilityApi.stl();
|
|
772
|
+
}
|
|
761
773
|
ckvcks(data) {
|
|
762
774
|
this.checkWasmInitialization("Unable to ckvcks, cpp API hasn't been initialized");
|
|
763
775
|
this.utilityApi.ckvcks(data);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
1
|
+
import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-BSnZqgon.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.ts
|
|
4
4
|
var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
@@ -100,6 +100,18 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
|
100
100
|
this.ensureInitialized();
|
|
101
101
|
await mlWasmJSApi_default.poc(output);
|
|
102
102
|
}
|
|
103
|
+
async rsp() {
|
|
104
|
+
this.ensureInitialized();
|
|
105
|
+
await mlWasmJSApi_default.rsp();
|
|
106
|
+
}
|
|
107
|
+
ssl() {
|
|
108
|
+
this.ensureInitialized();
|
|
109
|
+
mlWasmJSApi_default.ssl();
|
|
110
|
+
}
|
|
111
|
+
stl() {
|
|
112
|
+
this.ensureInitialized();
|
|
113
|
+
mlWasmJSApi_default.stl();
|
|
114
|
+
}
|
|
103
115
|
ckvcks(data) {
|
|
104
116
|
this.ensureInitialized();
|
|
105
117
|
mlWasmJSApi_default.ckvcks(data);
|
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 "./Actor-BIU0OEvS.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-CAj9MLeA.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./warmup-NOr3xE7Y.js";
|
|
2
2
|
import "./Manager-B9HFXDz5.js";
|
|
3
|
-
import "./Actor-
|
|
3
|
+
import "./Actor-BIU0OEvS.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-BFDZEqmQ.js";
|
|
6
6
|
import "./camera-6QfEti0q.js";
|
|
7
7
|
import "./types-CSDi2j_3.js";
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./deepsightService-
|
|
8
|
+
import "./types-tA90dULO.js";
|
|
9
|
+
import "./types-z0YcJ3A9.js";
|
|
10
|
+
import "./deepsightService-hPdFwidT.js";
|
|
11
11
|
import "./types-BsEaBA9V.js";
|
|
12
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-B-a7p8J6.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import "./WasmUtilProvider-
|
|
1
|
+
import "./BaseWasmProvider-BSnZqgon.esm.js";
|
|
2
|
+
import "./WasmUtilProvider-DJ3sXTf9.esm.js";
|
|
3
3
|
import "./api-CESGtpbH.esm.js";
|
|
4
4
|
import "./events-D6-e4vok.esm.js";
|
|
5
5
|
import "./endpoints-CnN3SyDa.esm.js";
|
|
@@ -7,19 +7,19 @@ 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-qlEaghid.esm.js";
|
|
11
11
|
import "./ITimerCapability-C67ZRskg.esm.js";
|
|
12
12
|
import "./camera-PA2Ljri3.esm.js";
|
|
13
|
-
import "./deepsightService-
|
|
14
|
-
import "./recordingService-
|
|
13
|
+
import "./deepsightService-EiouKVUw.esm.js";
|
|
14
|
+
import "./recordingService-vzPxRuKD.esm.js";
|
|
15
15
|
import "./platform-CfrjKhmi.esm.js";
|
|
16
16
|
import "./backCameraStream-DMdMeGk2.esm.js";
|
|
17
17
|
import "./getBrowser-BSXUTWXw.esm.js";
|
|
18
18
|
import "./stats-CIfiPzb1.esm.js";
|
|
19
19
|
import "./getDeviceClass-BSntT9_j.esm.js";
|
|
20
|
-
import "./MotionSensorProvider-
|
|
21
|
-
import "./permissionServices-
|
|
22
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
23
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
20
|
+
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
21
|
+
import "./permissionServices-BKWsNbOi.esm.js";
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CdXoSoh-.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B8RcEALr.esm.js";
|
|
24
24
|
|
|
25
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -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-BFDZEqmQ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-BvxH8Krj.esm.js → authenticationManager-B8RcEALr.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DJ3sXTf9.esm.js";
|
|
2
2
|
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-CdXoSoh-.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-qlEaghid.esm.js";
|
|
5
|
+
import { m as FACE_ERROR_CODES } from "./recordingService-vzPxRuKD.esm.js";
|
|
6
6
|
import { t as getDeviceClass } from "./getDeviceClass-BSntT9_j.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./camera-PA2Ljri3.esm.js";
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
2
|
+
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
3
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-BKWsNbOi.esm.js";
|
|
4
4
|
|
|
5
5
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
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-BIU0OEvS.js";
|
|
3
|
+
import * as xstate0 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: xstate0.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate0.EventObject>> | undefined;
|
|
57
|
+
}, xstate0.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate0.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate0.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate0.Values<{
|
|
74
|
+
setConsentData: {
|
|
75
|
+
type: "setConsentData";
|
|
76
|
+
params: xstate0.NonReducibleUnknown;
|
|
77
|
+
};
|
|
78
|
+
toggleCheckbox: {
|
|
79
|
+
type: "toggleCheckbox";
|
|
80
|
+
params: xstate0.NonReducibleUnknown;
|
|
81
|
+
};
|
|
74
82
|
setError: {
|
|
75
83
|
type: "setError";
|
|
76
|
-
params:
|
|
84
|
+
params: xstate0.NonReducibleUnknown;
|
|
77
85
|
};
|
|
78
86
|
clearError: {
|
|
79
87
|
type: "clearError";
|
|
80
|
-
params:
|
|
88
|
+
params: xstate0.NonReducibleUnknown;
|
|
81
89
|
};
|
|
82
90
|
resetContext: {
|
|
83
91
|
type: "resetContext";
|
|
84
|
-
params:
|
|
85
|
-
};
|
|
86
|
-
setConsentData: {
|
|
87
|
-
type: "setConsentData";
|
|
88
|
-
params: xstate899.NonReducibleUnknown;
|
|
89
|
-
};
|
|
90
|
-
toggleCheckbox: {
|
|
91
|
-
type: "toggleCheckbox";
|
|
92
|
-
params: xstate899.NonReducibleUnknown;
|
|
92
|
+
params: xstate0.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, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate0.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate0.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate0.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate0.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate0.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate0.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate0.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate0.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate899.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate0.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 xstate840 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: xstate840.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate840.ActorRefFromLogic<xstate840.PromiseActorLogic<CpfOcrDataResponse, void, xstate840.EventObject>> | xstate840.ActorRefFromLogic<xstate840.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate840.EventObject>> | undefined;
|
|
63
|
+
}, xstate840.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate840.PromiseActorLogic<CpfOcrDataResponse, void, xstate840.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate840.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate840.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate840.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate840.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate840.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate840.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate840.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, xstate840.NonReducibleUnknown, xstate840.EventObject, xstate840.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate840.ActorRef<xstate840.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate840.AnyActorRef>, xstate840.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate874.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate840.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B9HFXDz5.js";
|
|
2
|
-
import "./Actor-
|
|
2
|
+
import "./Actor-BIU0OEvS.js";
|
|
3
3
|
import "./camera-6QfEti0q.js";
|
|
4
4
|
import "./types-CSDi2j_3.js";
|
|
5
|
-
import "./types-
|
|
6
|
-
import { i as FlowModuleConfig } from "./types-
|
|
5
|
+
import "./types-tA90dULO.js";
|
|
6
|
+
import { i as FlowModuleConfig } from "./types-z0YcJ3A9.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/curp-validation/types.d.ts
|
|
9
9
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
package/dist/custom-fields.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import "./BaseWasmProvider-BSnZqgon.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DJ3sXTf9.esm.js";
|
|
3
3
|
import "./api-CESGtpbH.esm.js";
|
|
4
4
|
import { r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-D7jx52AL.esm.js";
|
|
5
5
|
import "./browserSimulation-gxD8cSpM.esm.js";
|
|
6
6
|
import "./camera-PA2Ljri3.esm.js";
|
|
7
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
7
|
+
import { t as createDeepsightService } from "./deepsightService-EiouKVUw.esm.js";
|
|
8
8
|
import "./getBrowser-BSXUTWXw.esm.js";
|
|
9
9
|
import "./stats-CIfiPzb1.esm.js";
|
|
10
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
10
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
13
13
|
var VisibilityProvider = class {
|
|
@@ -178,6 +178,9 @@ type IWasmUtilCapability = {
|
|
|
178
178
|
isVirtualCamera(label: string | null): boolean;
|
|
179
179
|
prc(): Promise<void>;
|
|
180
180
|
poc(output: VirtualCameraCheckOutput): Promise<void>;
|
|
181
|
+
rsp(): Promise<void>;
|
|
182
|
+
ssl(): void;
|
|
183
|
+
stl(): void;
|
|
181
184
|
ckvcks(data: ArrayBuffer): void;
|
|
182
185
|
getVersions(): Promise<unknown>;
|
|
183
186
|
/**
|
|
@@ -338,14 +341,6 @@ declare class StreamCanvasCapture {
|
|
|
338
341
|
//#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
|
|
339
342
|
type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
|
|
340
343
|
type MotionPermissionState = 'granted' | 'denied' | 'not-required';
|
|
341
|
-
type IMotionSensorCapability = {
|
|
342
|
-
requestPermission(): Promise<MotionPermissionState>;
|
|
343
|
-
start(): Promise<void>;
|
|
344
|
-
stop(): void;
|
|
345
|
-
check(): MotionStatus;
|
|
346
|
-
readonly isRunning: boolean;
|
|
347
|
-
readonly hasPermission: boolean;
|
|
348
|
-
};
|
|
349
344
|
//#endregion
|
|
350
345
|
//#region src/internal/deepsight/metadataService.d.ts
|
|
351
346
|
type MetadataService = {
|
|
@@ -409,4 +404,4 @@ type DeepsightPrcCheckParams = {
|
|
|
409
404
|
constraints: MediaStreamConstraints;
|
|
410
405
|
};
|
|
411
406
|
//#endregion
|
|
412
|
-
export {
|
|
407
|
+
export { VirtualCameraCheckOutput as a, MLProviderConfig as c, RecordingConnection as d, IWasmUtilCapability as i, IStorageCapability as l, StreamCanvasCapture as n, WasmUtilConfig as o, IncodeCanvas as r, IMLProviderCapability as s, DeepsightService as t, IRecordingCapability as u };
|