@incodetech/core 0.0.0-dev-20260518-3e2a44e2 → 0.0.0-dev-20260518-2d0ef651
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-CMu6XVdc.esm.js → OpenViduRecordingProvider-VOPVZlAg.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-C83GNIhl.d.ts → authenticationManager-BfnQDaRP.d.ts} +2 -2
- package/dist/{authenticationManager-5M-fKzXx.esm.js → authenticationManager-DMZLpFAc.esm.js} +1 -1
- package/dist/{authenticationStateMachine-BMZqatiF.esm.js → authenticationStateMachine-CkX7xUXI.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/consent.d.ts +52 -52
- package/dist/cpf-ocr.d.ts +18 -18
- 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/custom-watchlist.esm.js +3 -39
- package/dist/customWatchlistStateMachine-C8Kwsa4Z.esm.js +41 -0
- package/dist/{deepsightService-CEVxzehb.d.ts → deepsightService-DPLEfa92.d.ts} +2 -2
- package/dist/document-capture.d.ts +74 -74
- package/dist/document-capture.esm.js +1 -1
- package/dist/document-upload.d.ts +50 -50
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +4 -4
- package/dist/{ekybStateMachine-BYHoDF3i.esm.js → ekybStateMachine-AJRmn0Iw.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycStateMachine-oeO0Iekd.esm.js → ekycStateMachine-DlWfov8R.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-wAV0LE-H.esm.js → emailManager-DSGhvDFD.esm.js} +1 -1
- package/dist/{emailManager-DIfnS5g1.d.ts → emailManager-xt37-xiT.d.ts} +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +13 -13
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-yqtpxjnN.d.ts → faceCaptureManagerFactory-BM68qGaT.d.ts} +8 -8
- package/dist/{faceCaptureSetup-B3faSpYA.esm.js → faceCaptureSetup-ClABBzp1.esm.js} +1 -1
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +11 -11
- package/dist/flow.esm.js +4 -4
- package/dist/{flowServices-BwTlu6Kc.esm.js → flowServices-BIhFyPJe.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +1 -1
- 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-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-Fyd0eam-.d.ts → idCaptureManager-ebBTfNi0.d.ts} +7 -7
- package/dist/{idCaptureManager-DjT2Jeqb.esm.js → idCaptureManager-nOyXOb20.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-D2qOM55y.esm.js → idCaptureStateMachine-Dracn7mt.esm.js} +4 -4
- package/dist/identity-reuse.d.ts +42 -42
- package/dist/{index-BcRG8rtJ.d.ts → index-BGUoiDNw.d.ts} +2 -2
- package/dist/{index-CuR5NxvD.d.ts → index-CXnOXqCd.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +55 -55
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/openviduLazy-BF6k6HES.esm.js +3 -0
- package/dist/{openviduLazy-Cok70ZSg.esm.js → openviduLazy-BpjP5qzP.esm.js} +1 -1
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-B6M30hKE.d.ts → phoneManager-DKwybjHQ.d.ts} +2 -2
- package/dist/{phoneManager-DAJbGhlY.esm.js → phoneManager-OEibtxkz.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Ig2UgbLv.esm.js → recordingService-C8p_rt_R.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-D0lSgd-J.d.ts → selfieManager-BU_qtl7G.d.ts} +2 -2
- package/dist/{selfieManager-Duisl7qN.esm.js → selfieManager-DOEfclbg.esm.js} +1 -1
- package/dist/{selfieStateMachine-D76whWEf.esm.js → selfieStateMachine-s7HwywEt.esm.js} +2 -2
- package/dist/{session-iVp1Sc3p.esm.js → session-BNIUemlQ.esm.js} +1 -1
- package/dist/session.d.ts +4 -4
- package/dist/session.esm.js +2 -2
- package/dist/{setup-C5AITV8m.d.ts → setup-CpAA5S7A.d.ts} +1 -1
- package/dist/{setup-gQX5D1GY.esm.js → setup-DEuVpB1E.esm.js} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/trust-graph.d.ts +1 -1
- package/dist/{types-CFV9G_7j.d.ts → types-CSDi2j_3.d.ts} +1 -1
- package/dist/{types-BP1m8VRw.d.ts → types-DZvOY_B1.d.ts} +1 -1
- package/dist/{types-B06Ypu2F.d.ts → types-DkpwYjYw.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-for-business.esm.js +4 -72
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +3 -39
- package/dist/watchlistForBusinessStateMachine-CcP2y7Is.esm.js +74 -0
- package/dist/watchlistStateMachine-CvaQBrPb.esm.js +41 -0
- package/dist/workflow.d.ts +131 -131
- package/dist/workflow.esm.js +32 -25
- package/package.json +1 -1
- package/dist/openviduLazy-Cm0XFh_v.esm.js +0 -3
- /package/dist/{Actor-CI32dTbG.d.ts → Actor-BIU0OEvS.d.ts} +0 -0
- /package/dist/{Manager-C8PrhBOx.d.ts → Manager-B9HFXDz5.d.ts} +0 -0
- /package/dist/{StateMachine-BCQrZJhf.d.ts → StateMachine-BUhmcPQ3.d.ts} +0 -0
- /package/dist/{addressSearch-BpTbTWCa.esm.js → addressSearch-C0cnIN09.esm.js} +0 -0
- /package/dist/{camera-DBSxa6ML.d.ts → camera-6QfEti0q.d.ts} +0 -0
- /package/dist/{deepsightLoader-Cm4JIT_z.esm.js → deepsightLoader-CIhGf15c.esm.js} +0 -0
- /package/dist/{displayErrors-DqJ_IbsG.d.ts → displayErrors-CiAteUnc.d.ts} +0 -0
- /package/dist/{documentCaptureStateMachine-BqzTDy9k.esm.js → documentCaptureStateMachine-B_EXa0JV.esm.js} +0 -0
- /package/dist/{emailStateMachine-DOf4j58N.esm.js → emailStateMachine-C-PnV8U2.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-DNFrxTFS.esm.js → faceMatchStateMachine-BKRJK-rn.esm.js} +0 -0
- /package/dist/{flowCompletionService-P54yzGvA.esm.js → flowCompletionService-CjM7mfgS.esm.js} +0 -0
- /package/dist/{flowCompletionService-DhkT4SRY.d.ts → flowCompletionService-D1-bLzxr.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-asasuHY2.esm.js → geolocationStateMachine-DmIYlpdo.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-BDDYrJTo.esm.js → governmentValidationStateMachine-XvOxfRtH.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-YbjjC_Gg.esm.js → idOcrStateMachine-CgOapd0S.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-xbw9HP1Z.esm.js → idVerificationStateMachine-BfnsFUNz.esm.js} +0 -0
- /package/dist/{invokeOnCaptureCallback-rc6kBHo5.esm.js → invokeOnCaptureCallback-BE5-7t5A.esm.js} +0 -0
- /package/dist/{lib-BB0B_qQX.esm.js → lib-B8KyJQ8X.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-Cnco1jvn.esm.js → mandatoryConsentStateMachine-KWAkefyP.esm.js} +0 -0
- /package/dist/{phoneStateMachine-CuPARRaT.esm.js → phoneStateMachine-BrGKd1rQ.esm.js} +0 -0
- /package/dist/{qe-signature-DFo_Cc-I.esm.js → qe-signature-M3fXf3cK.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-BOEqe46A.esm.js → redirectToMobileStateMachine-Cyza2d_B.esm.js} +0 -0
- /package/dist/{runChildModule-CqqwqAkW.esm.js → runChildModule-B_pYbMX7.esm.js} +0 -0
- /package/dist/{signatureStateMachine-B5-QVUve.esm.js → signatureStateMachine-C2bFHzhT.esm.js} +0 -0
- /package/dist/{types-CAD4va6a.d.ts → types-DvX3vIRm.d.ts} +0 -0
- /package/dist/{warmup-CEcppFiS.d.ts → warmup-NOr3xE7Y.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-B9HFXDz5.js";
|
|
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-CXnOXqCd.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 { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
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-NOr3xE7Y.js";
|
|
2
|
+
import "./Manager-B9HFXDz5.js";
|
|
3
|
+
import "./Actor-BIU0OEvS.js";
|
|
4
|
+
import "./StateMachine-BUhmcPQ3.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-BM68qGaT.js";
|
|
6
|
+
import "./camera-6QfEti0q.js";
|
|
7
|
+
import "./types-CSDi2j_3.js";
|
|
8
|
+
import "./types-DZvOY_B1.js";
|
|
9
|
+
import "./deepsightService-DPLEfa92.js";
|
|
10
|
+
import "./types-DvX3vIRm.js";
|
|
11
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BfnQDaRP.js";
|
|
12
12
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -7,11 +7,11 @@ 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-ClABBzp1.esm.js";
|
|
11
11
|
import "./ITimerCapability-C67ZRskg.esm.js";
|
|
12
12
|
import "./camera-PA2Ljri3.esm.js";
|
|
13
13
|
import "./deepsightService-O74l4Y__.esm.js";
|
|
14
|
-
import "./recordingService-
|
|
14
|
+
import "./recordingService-C8p_rt_R.esm.js";
|
|
15
15
|
import "./platform-CfrjKhmi.esm.js";
|
|
16
16
|
import "./backCameraStream-DMdMeGk2.esm.js";
|
|
17
17
|
import "./getBrowser-BSXUTWXw.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-CkX7xUXI.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DMZLpFAc.esm.js";
|
|
24
24
|
|
|
25
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
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-BM68qGaT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-5M-fKzXx.esm.js → authenticationManager-DMZLpFAc.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-CkX7xUXI.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-ClABBzp1.esm.js";
|
|
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
|
|
|
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-B9HFXDz5.js";
|
|
2
|
+
import "./Actor-BIU0OEvS.js";
|
|
3
|
+
import * as xstate246 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: xstate246.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate246.ActorRefFromLogic<xstate246.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate246.EventObject>> | xstate246.ActorRefFromLogic<xstate246.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate246.EventObject>> | undefined;
|
|
57
|
+
}, xstate246.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate246.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate246.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate246.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate246.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate246.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate246.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate246.NonReducibleUnknown;
|
|
81
|
+
};
|
|
82
|
+
resetContext: {
|
|
83
|
+
type: "resetContext";
|
|
84
|
+
params: xstate246.NonReducibleUnknown;
|
|
81
85
|
};
|
|
82
86
|
setConsentData: {
|
|
83
87
|
type: "setConsentData";
|
|
84
|
-
params:
|
|
88
|
+
params: xstate246.NonReducibleUnknown;
|
|
85
89
|
};
|
|
86
90
|
toggleCheckbox: {
|
|
87
91
|
type: "toggleCheckbox";
|
|
88
|
-
params:
|
|
89
|
-
};
|
|
90
|
-
resetContext: {
|
|
91
|
-
type: "resetContext";
|
|
92
|
-
params: xstate88.NonReducibleUnknown;
|
|
92
|
+
params: xstate246.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate246.NonReducibleUnknown, xstate246.EventObject, xstate246.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate246.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate246.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate246.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate246.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate246.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate246.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate246.RequiredActorOptions<T>]: unknown }) | undefined], xstate246.IsNotNever<xstate246.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate246.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate246.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate246.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate246.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate246.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate246.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate246.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate246.IsNotNever<xstate246.RequiredActorOptions<T_1>>> : never : never : never)): xstate246.ActorRefFromLogic<xstate246.GetConcreteByKey<xstate246.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate246.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate246.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate246.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate246.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate246.AnyActorLogic>(src: TLogic, ...[options]: xstate246.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate246.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate246.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate246.IsNotNever<xstate246.RequiredLogicInput<TLogic>>>): xstate246.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate246.ActorRef<xstate246.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate246.AnyActorRef | undefined>, xstate246.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate246.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate246.ActorRef<xstate246.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate246.AnyActorRef>, xstate246.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate246.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate246.ActorRef<xstate246.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate246.AnyActorRef>, xstate246.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate88.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate246.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-B9HFXDz5.js";
|
|
2
|
+
import * as xstate221 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: xstate221.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate63.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate221.ActorRefFromLogic<xstate221.PromiseActorLogic<CpfOcrDataResponse, void, xstate221.EventObject>> | xstate221.ActorRefFromLogic<xstate221.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate221.EventObject>> | undefined;
|
|
63
|
+
}, xstate221.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate221.PromiseActorLogic<CpfOcrDataResponse, void, xstate221.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate221.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate221.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate221.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate221.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate221.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate221.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate221.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "inputting", string, CpfOcrInput, xstate221.NonReducibleUnknown, xstate221.EventObject, xstate221.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate63.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate221.ActorRef<xstate221.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate63.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate221.AnyActorRef>, xstate221.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate63.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate221.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-B9HFXDz5.js";
|
|
2
|
+
import "./Actor-BIU0OEvS.js";
|
|
3
|
+
import "./camera-6QfEti0q.js";
|
|
4
|
+
import "./types-CSDi2j_3.js";
|
|
5
|
+
import { i as FlowModuleConfig } from "./types-DZvOY_B1.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-B9HFXDz5.js";
|
|
2
|
+
import "./Actor-BIU0OEvS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/custom-fields/types.d.ts
|
|
5
5
|
type CustomFieldType = 'INTEGER' | 'DOUBLE' | 'BOOLEAN' | 'STRING' | 'DATE';
|
|
@@ -1,46 +1,10 @@
|
|
|
1
1
|
import "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import "./endpoints-CnN3SyDa.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
|
|
5
|
+
import "./watchlistServices-DMbUhkBX.esm.js";
|
|
6
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-C8Kwsa4Z.esm.js";
|
|
6
7
|
|
|
7
|
-
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
8
|
-
const customWatchlistMachine = setup({
|
|
9
|
-
types: {
|
|
10
|
-
context: {},
|
|
11
|
-
events: {}
|
|
12
|
-
},
|
|
13
|
-
actors: { processWatchlist: fromPromise(async ({ signal }) => {
|
|
14
|
-
await processWatchlist(signal);
|
|
15
|
-
}) },
|
|
16
|
-
actions: {
|
|
17
|
-
markSuccess: assign({ result: "success" }),
|
|
18
|
-
markSkipped: assign({ result: "skipped" })
|
|
19
|
-
}
|
|
20
|
-
}).createMachine({
|
|
21
|
-
id: "customWatchlist",
|
|
22
|
-
initial: "idle",
|
|
23
|
-
context: { result: null },
|
|
24
|
-
states: {
|
|
25
|
-
idle: { on: { LOAD: { target: "processing" } } },
|
|
26
|
-
processing: { invoke: {
|
|
27
|
-
id: "processWatchlist",
|
|
28
|
-
src: "processWatchlist",
|
|
29
|
-
onDone: { target: "success" },
|
|
30
|
-
onError: {
|
|
31
|
-
target: "finished",
|
|
32
|
-
actions: "markSkipped"
|
|
33
|
-
}
|
|
34
|
-
} },
|
|
35
|
-
success: { after: { 3e3: {
|
|
36
|
-
target: "finished",
|
|
37
|
-
actions: "markSuccess"
|
|
38
|
-
} } },
|
|
39
|
-
finished: { type: "final" }
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
8
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
45
9
|
function createCustomWatchlistActor() {
|
|
46
10
|
return createActor(customWatchlistMachine).start();
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
|
|
2
|
+
import { t as processWatchlist } from "./watchlistServices-DMbUhkBX.esm.js";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
5
|
+
const customWatchlistMachine = setup({
|
|
6
|
+
types: {
|
|
7
|
+
context: {},
|
|
8
|
+
events: {}
|
|
9
|
+
},
|
|
10
|
+
actors: { processWatchlist: fromPromise(async ({ signal }) => {
|
|
11
|
+
await processWatchlist(signal);
|
|
12
|
+
}) },
|
|
13
|
+
actions: {
|
|
14
|
+
markSuccess: assign({ result: "success" }),
|
|
15
|
+
markSkipped: assign({ result: "skipped" })
|
|
16
|
+
}
|
|
17
|
+
}).createMachine({
|
|
18
|
+
id: "customWatchlist",
|
|
19
|
+
initial: "idle",
|
|
20
|
+
context: { result: null },
|
|
21
|
+
states: {
|
|
22
|
+
idle: { on: { LOAD: { target: "processing" } } },
|
|
23
|
+
processing: { invoke: {
|
|
24
|
+
id: "processWatchlist",
|
|
25
|
+
src: "processWatchlist",
|
|
26
|
+
onDone: { target: "success" },
|
|
27
|
+
onError: {
|
|
28
|
+
target: "finished",
|
|
29
|
+
actions: "markSkipped"
|
|
30
|
+
}
|
|
31
|
+
} },
|
|
32
|
+
success: { after: { 3e3: {
|
|
33
|
+
target: "finished",
|
|
34
|
+
actions: "markSuccess"
|
|
35
|
+
} } },
|
|
36
|
+
finished: { type: "final" }
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
export { customWatchlistMachine as t };
|
|
@@ -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-NOr3xE7Y.js";
|
|
2
|
+
import { t as CameraStream } from "./camera-6QfEti0q.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IRecordingCapability.d.ts
|
|
5
5
|
type RecordingPublisher = {
|