@incodetech/core 0.0.0-dev-20260505-e06a25f → 0.0.0-dev-20260505-4dd3003
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-BTKqWpeB.esm.js → BaseWasmProvider-CkIHbYdx.esm.js} +112 -60
- package/dist/{WasmUtilProvider-DqCiPXV6.esm.js → WasmUtilProvider-DsAa3yqJ.esm.js} +1 -1
- package/dist/{addressSearch-CGORc_Ur.esm.js → addressSearch-B-gRk55b.esm.js} +2 -2
- package/dist/{ae-signature-BHcbLPOX.esm.js → ae-signature-CD2xVkh6.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +4 -4
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudStateMachine-DAo-TkJ8.esm.js → antifraudStateMachine-BpA9DsDL.esm.js} +2 -2
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +9 -9
- package/dist/{authenticationManager-DzBrRrX7.esm.js → authenticationManager-BlExOsgX.esm.js} +7 -7
- package/dist/{authenticationManager-DBgL1B8m.d.ts → authenticationManager-D53H93OW.d.ts} +1 -1
- package/dist/{authenticationStateMachine-Dg19Awyc.esm.js → authenticationStateMachine-B2KkS-0r.esm.js} +4 -4
- package/dist/consent.d.ts +50 -50
- package/dist/consent.esm.js +3 -3
- package/dist/{consentStateMachine-BVxTa1A4.esm.js → consentStateMachine-DSGt1SyM.esm.js} +2 -2
- package/dist/cpf-ocr.d.ts +20 -20
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationStateMachine-Cm2EjX_L.esm.js → curpValidationStateMachine-B_cFIz9T.esm.js} +2 -2
- package/dist/custom-fields.esm.js +2 -2
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{deepsightLoader-BnMFKE9b.esm.js → deepsightLoader-nn8-Chjr.esm.js} +2 -2
- package/dist/document-capture.d.ts +77 -77
- package/dist/document-capture.esm.js +3 -3
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureStateMachine-Jwp09yGJ.esm.js → documentCaptureStateMachine-DWZUY2Aw.esm.js} +2 -2
- package/dist/ekyb.esm.js +6 -6
- package/dist/{ekybStateMachine-6pezQvlL.esm.js → ekybStateMachine-BLfzFOAD.esm.js} +4 -4
- package/dist/ekyc.esm.js +4 -4
- package/dist/{ekycStateMachine-CWWeCUx5.esm.js → ekycStateMachine-02EweGtj.esm.js} +3 -3
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +3 -3
- package/dist/{electronicSignatureManager-C0UgrX1L.esm.js → electronicSignatureManager-BbRP-Oph.esm.js} +2 -2
- package/dist/email.esm.js +4 -4
- package/dist/{emailManager-_gunG-AE.esm.js → emailManager-C2W-MJQ8.esm.js} +3 -3
- package/dist/{emailStateMachine-DWrTdkZY.esm.js → emailStateMachine-Df_AcoGW.esm.js} +2 -2
- package/dist/{events-237AXtL7.esm.js → events-s0VL5FYh.esm.js} +9 -2
- package/dist/events.d.ts +3 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +18 -18
- package/dist/face-match.esm.js +3 -3
- package/dist/{faceCaptureManagerFactory-CgwUMlyj.d.ts → faceCaptureManagerFactory-Cf6AcIJI.d.ts} +1 -1
- package/dist/faceCaptureManagerFactory-Dix0LYX3.esm.js +288 -0
- package/dist/{faceCaptureSetup-Cclz77d6.esm.js → faceCaptureSetup-GGxPo8Cc.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-Cd70G-3Q.esm.js → faceMatchStateMachine-Cjc-2700.esm.js} +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +8 -10
- package/dist/{flowCompletionService-DKHUsKiX.esm.js → flowCompletionService-DhTdMWSB.esm.js} +1 -1
- package/dist/{flowServices-Bh4UKZez.esm.js → flowServices-QTK0C4Ek.esm.js} +2 -2
- package/dist/geolocation.esm.js +3 -3
- package/dist/{geolocationStateMachine-CFsc46Hs.esm.js → geolocationStateMachine-BUp3qs8o.esm.js} +2 -2
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-BGGZE44p.esm.js → governmentValidationStateMachine-DBAuZdbq.esm.js} +2 -2
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-D8nzFJJv.esm.js → idCaptureManager-BtqsBcWw.esm.js} +107 -48
- package/dist/{idCaptureStateMachine-B-KOFEK9.esm.js → idCaptureStateMachine-CvdoaLtU.esm.js} +6 -6
- package/dist/identity-reuse.d.ts +43 -43
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{index-BaZskbWt.d.ts → index-B7qp9qsj.d.ts} +119 -119
- package/dist/index.esm.js +5 -5
- package/dist/mandatory-consent.d.ts +52 -52
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentStateMachine-nVfQa5zS.esm.js → mandatoryConsentStateMachine-BJF3K6w1.esm.js} +2 -2
- package/dist/phone.esm.js +4 -4
- package/dist/{phoneManager-L4XCPUwQ.esm.js → phoneManager-DskgpnGL.esm.js} +3 -3
- package/dist/{phoneStateMachine-Dl0c8Bs4.esm.js → phoneStateMachine-CswpoAaH.esm.js} +2 -2
- package/dist/{qe-signature-D-CUO7mB.esm.js → qe-signature-Dy3nLSvu.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +4 -4
- package/dist/{recordingService-Cen0Qmop.esm.js → recordingService-Nn-BBO6j.esm.js} +4 -4
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileStateMachine-DFBsB5IY.esm.js → redirectToMobileStateMachine-DmY7A9iM.esm.js} +2 -2
- package/dist/{runChildModule-BiTJSa1K.esm.js → runChildModule-DP-gEBHS.esm.js} +2 -2
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieManager-DGAsMXpK.esm.js → selfieManager-BI4smYEE.esm.js} +7 -7
- package/dist/{selfieManager-BtyIr64h.d.ts → selfieManager-xZ0EHWY3.d.ts} +1 -1
- package/dist/{selfieStateMachine-C_VXHzeA.esm.js → selfieStateMachine-B-stjSD5.esm.js} +3 -3
- package/dist/{session-DcLfiFln.esm.js → session-oIjERqhS.esm.js} +2 -2
- package/dist/session.esm.js +3 -3
- package/dist/{setup-CGmPXQZb.esm.js → setup-BIkp7Hbm.esm.js} +4 -4
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-C0dnpux6.esm.js → signatureStateMachine-CW8TVU_C.esm.js} +2 -2
- package/dist/wasm.esm.js +5 -5
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistServices-xsf8fmMG.esm.js → watchlistServices-DuWR27Y8.esm.js} +1 -1
- package/dist/workflow.d.ts +114 -114
- package/dist/workflow.esm.js +30 -30
- package/dist/{xstate.esm-CSiDcEjt.esm.js → xstate.esm-cL1KdW6d.esm.js} +16 -16
- package/package.json +1 -1
- package/dist/faceCaptureManagerFactory-DM_o6znS.esm.js +0 -187
package/dist/consent.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DSGt1SyM.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/consent/consentActor.ts
|
|
7
7
|
function createConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { v as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
2
|
+
import { v as endpoints } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, signal) {
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate478 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: xstate478.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate1153.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate478.ActorRefFromLogic<xstate478.PromiseActorLogic<CpfOcrDataResponse, void, xstate478.EventObject>> | xstate478.ActorRefFromLogic<xstate478.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate478.EventObject>> | undefined;
|
|
63
|
+
}, xstate478.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate478.PromiseActorLogic<CpfOcrDataResponse, void, xstate478.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate478.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate478.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
77
|
-
setError: {
|
|
78
|
-
type: "setError";
|
|
79
|
-
params: xstate1153.NonReducibleUnknown;
|
|
80
|
-
};
|
|
76
|
+
}>, xstate478.Values<{
|
|
81
77
|
clearError: {
|
|
82
78
|
type: "clearError";
|
|
83
|
-
params:
|
|
79
|
+
params: xstate478.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
setError: {
|
|
82
|
+
type: "setError";
|
|
83
|
+
params: xstate478.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate478.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate478.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, xstate478.NonReducibleUnknown, xstate478.EventObject, xstate478.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate1153.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate478.ActorRef<xstate478.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate1153.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate478.AnyActorRef>, xstate478.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate1153.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate478.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
package/dist/cpf-ocr.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
import { t as validateCPF } from "./cpf-B42J7pld.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/cpf-ocr/cpfOcrServices.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
import { t as sleep } from "./ITimerCapability-r7XXQS6a.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
|
+
import { n as mexicanStates, t as curpValidationMachine } from "./curpValidationStateMachine-B_cFIz9T.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
7
7
|
function createCurpValidationActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { v as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
2
|
+
import { v as endpoints } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, v as endpoints } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/dateUtils.ts
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as processWatchlist } from "./watchlistServices-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
|
+
import { t as processWatchlist } from "./watchlistServices-DuWR27Y8.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/custom-watchlist/customWatchlistStateMachine.ts
|
|
7
7
|
const customWatchlistMachine = setup({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import "./BaseWasmProvider-CkIHbYdx.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DsAa3yqJ.esm.js";
|
|
3
3
|
import "./api-3IquGyW5.esm.js";
|
|
4
4
|
import { r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-CVIOst3c.esm.js";
|
|
5
5
|
import "./browserSimulation-DMJIC-23.esm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
2
|
import "./Actor-CazhiaK7.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-CS1twtEg.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as xstate0 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/document-capture/types.d.ts
|
|
7
7
|
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
@@ -84,7 +84,7 @@ type DocumentCaptureInput = {
|
|
|
84
84
|
};
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
87
|
-
declare const documentCaptureMachine:
|
|
87
|
+
declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContext, {
|
|
88
88
|
type: "CAPTURE";
|
|
89
89
|
} | {
|
|
90
90
|
type: "FILE_SELECTED";
|
|
@@ -113,109 +113,109 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
113
113
|
} | {
|
|
114
114
|
type: "CLOSE";
|
|
115
115
|
}, {
|
|
116
|
-
[x: string]:
|
|
116
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
117
117
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
118
118
|
processingType: string;
|
|
119
119
|
onProgress: (progress: number) => void;
|
|
120
|
-
},
|
|
120
|
+
}, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
121
121
|
processingType: string;
|
|
122
|
-
},
|
|
123
|
-
},
|
|
122
|
+
}, xstate0.EventObject>> | undefined;
|
|
123
|
+
}, xstate0.Values<{
|
|
124
124
|
uploadDocument: {
|
|
125
125
|
src: "uploadDocument";
|
|
126
|
-
logic:
|
|
126
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
127
127
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
128
128
|
processingType: string;
|
|
129
129
|
onProgress: (progress: number) => void;
|
|
130
|
-
},
|
|
130
|
+
}, xstate0.EventObject>;
|
|
131
131
|
id: string | undefined;
|
|
132
132
|
};
|
|
133
133
|
initCamera: {
|
|
134
134
|
src: "initCamera";
|
|
135
|
-
logic:
|
|
135
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
};
|
|
138
138
|
finalizeDocumentRequest: {
|
|
139
139
|
src: "finalizeDocumentRequest";
|
|
140
|
-
logic:
|
|
140
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
141
141
|
processingType: string;
|
|
142
|
-
},
|
|
142
|
+
}, xstate0.EventObject>;
|
|
143
143
|
id: string | undefined;
|
|
144
144
|
};
|
|
145
|
-
}>,
|
|
145
|
+
}>, xstate0.Values<{
|
|
146
146
|
setStream: {
|
|
147
147
|
type: "setStream";
|
|
148
|
-
params:
|
|
149
|
-
};
|
|
150
|
-
setProgress: {
|
|
151
|
-
type: "setProgress";
|
|
152
|
-
params: xstate389.NonReducibleUnknown;
|
|
153
|
-
};
|
|
154
|
-
clearError: {
|
|
155
|
-
type: "clearError";
|
|
156
|
-
params: xstate389.NonReducibleUnknown;
|
|
157
|
-
};
|
|
158
|
-
stopStream: {
|
|
159
|
-
type: "stopStream";
|
|
160
|
-
params: xstate389.NonReducibleUnknown;
|
|
148
|
+
params: xstate0.NonReducibleUnknown;
|
|
161
149
|
};
|
|
162
150
|
setCapturedDocument: {
|
|
163
151
|
type: "setCapturedDocument";
|
|
164
|
-
params:
|
|
152
|
+
params: xstate0.NonReducibleUnknown;
|
|
165
153
|
};
|
|
166
154
|
setFileTooLargeError: {
|
|
167
155
|
type: "setFileTooLargeError";
|
|
168
|
-
params:
|
|
156
|
+
params: xstate0.NonReducibleUnknown;
|
|
157
|
+
};
|
|
158
|
+
setProgress: {
|
|
159
|
+
type: "setProgress";
|
|
160
|
+
params: xstate0.NonReducibleUnknown;
|
|
169
161
|
};
|
|
170
162
|
setUploadError: {
|
|
171
163
|
type: "setUploadError";
|
|
172
|
-
params:
|
|
164
|
+
params: xstate0.NonReducibleUnknown;
|
|
173
165
|
};
|
|
174
166
|
setFinalizeError: {
|
|
175
167
|
type: "setFinalizeError";
|
|
176
|
-
params:
|
|
168
|
+
params: xstate0.NonReducibleUnknown;
|
|
177
169
|
};
|
|
178
170
|
decrementAttemptsRemaining: {
|
|
179
171
|
type: "decrementAttemptsRemaining";
|
|
180
|
-
params:
|
|
172
|
+
params: xstate0.NonReducibleUnknown;
|
|
181
173
|
};
|
|
182
174
|
setCaptureMethodFile: {
|
|
183
175
|
type: "setCaptureMethodFile";
|
|
184
|
-
params:
|
|
176
|
+
params: xstate0.NonReducibleUnknown;
|
|
185
177
|
};
|
|
186
178
|
setCaptureMethodCamera: {
|
|
187
179
|
type: "setCaptureMethodCamera";
|
|
188
|
-
params:
|
|
180
|
+
params: xstate0.NonReducibleUnknown;
|
|
189
181
|
};
|
|
190
182
|
setCaptureMethodGallery: {
|
|
191
183
|
type: "setCaptureMethodGallery";
|
|
192
|
-
params:
|
|
184
|
+
params: xstate0.NonReducibleUnknown;
|
|
193
185
|
};
|
|
194
186
|
clearCapturedDocument: {
|
|
195
187
|
type: "clearCapturedDocument";
|
|
196
|
-
params:
|
|
188
|
+
params: xstate0.NonReducibleUnknown;
|
|
197
189
|
};
|
|
198
190
|
resetPageNumber: {
|
|
199
191
|
type: "resetPageNumber";
|
|
200
|
-
params:
|
|
192
|
+
params: xstate0.NonReducibleUnknown;
|
|
201
193
|
};
|
|
202
194
|
clearCapturedDocumentGalleryRetake: {
|
|
203
195
|
type: "clearCapturedDocumentGalleryRetake";
|
|
204
|
-
params:
|
|
196
|
+
params: xstate0.NonReducibleUnknown;
|
|
205
197
|
};
|
|
206
198
|
setNextPageType: {
|
|
207
199
|
type: "setNextPageType";
|
|
208
|
-
params:
|
|
200
|
+
params: xstate0.NonReducibleUnknown;
|
|
209
201
|
};
|
|
210
202
|
clearForNextPage: {
|
|
211
203
|
type: "clearForNextPage";
|
|
212
|
-
params:
|
|
204
|
+
params: xstate0.NonReducibleUnknown;
|
|
205
|
+
};
|
|
206
|
+
clearError: {
|
|
207
|
+
type: "clearError";
|
|
208
|
+
params: xstate0.NonReducibleUnknown;
|
|
213
209
|
};
|
|
214
210
|
resetProgress: {
|
|
215
211
|
type: "resetProgress";
|
|
216
|
-
params:
|
|
212
|
+
params: xstate0.NonReducibleUnknown;
|
|
213
|
+
};
|
|
214
|
+
stopStream: {
|
|
215
|
+
type: "stopStream";
|
|
216
|
+
params: xstate0.NonReducibleUnknown;
|
|
217
217
|
};
|
|
218
|
-
}>,
|
|
218
|
+
}>, xstate0.Values<{
|
|
219
219
|
allowSkip: {
|
|
220
220
|
type: "allowSkip";
|
|
221
221
|
params: unknown;
|
|
@@ -268,7 +268,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
268
268
|
type: "fileSizeOkForNonGallery";
|
|
269
269
|
params: unknown;
|
|
270
270
|
};
|
|
271
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "
|
|
271
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
272
272
|
readonly id: "documentCapture";
|
|
273
273
|
readonly initial: "tutorial";
|
|
274
274
|
readonly context: ({
|
|
@@ -277,93 +277,93 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
277
277
|
spawn: {
|
|
278
278
|
<TSrc extends "uploadDocument" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
279
279
|
src: "uploadDocument";
|
|
280
|
-
logic:
|
|
280
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
281
281
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
282
282
|
processingType: string;
|
|
283
283
|
onProgress: (progress: number) => void;
|
|
284
|
-
},
|
|
284
|
+
}, xstate0.EventObject>;
|
|
285
285
|
id: string | undefined;
|
|
286
286
|
} extends infer T ? T extends {
|
|
287
287
|
src: "uploadDocument";
|
|
288
|
-
logic:
|
|
288
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
289
289
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
290
290
|
processingType: string;
|
|
291
291
|
onProgress: (progress: number) => void;
|
|
292
|
-
},
|
|
292
|
+
}, xstate0.EventObject>;
|
|
293
293
|
id: string | undefined;
|
|
294
294
|
} ? T extends {
|
|
295
295
|
src: TSrc;
|
|
296
|
-
} ?
|
|
296
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
297
297
|
id?: T["id"] | undefined;
|
|
298
298
|
systemId?: string;
|
|
299
|
-
input?:
|
|
299
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
300
300
|
syncSnapshot?: boolean;
|
|
301
|
-
} & { [K in
|
|
301
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
302
302
|
src: "initCamera";
|
|
303
|
-
logic:
|
|
303
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
304
304
|
id: string | undefined;
|
|
305
305
|
} extends infer T_1 ? T_1 extends {
|
|
306
306
|
src: "initCamera";
|
|
307
|
-
logic:
|
|
307
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
308
308
|
id: string | undefined;
|
|
309
309
|
} ? T_1 extends {
|
|
310
310
|
src: TSrc;
|
|
311
|
-
} ?
|
|
311
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
312
312
|
id?: T_1["id"] | undefined;
|
|
313
313
|
systemId?: string;
|
|
314
|
-
input?:
|
|
314
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
315
315
|
syncSnapshot?: boolean;
|
|
316
|
-
} & { [K_1 in
|
|
316
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
317
317
|
src: "finalizeDocumentRequest";
|
|
318
|
-
logic:
|
|
318
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
319
319
|
processingType: string;
|
|
320
|
-
},
|
|
320
|
+
}, xstate0.EventObject>;
|
|
321
321
|
id: string | undefined;
|
|
322
322
|
} extends infer T_2 ? T_2 extends {
|
|
323
323
|
src: "finalizeDocumentRequest";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
325
325
|
processingType: string;
|
|
326
|
-
},
|
|
326
|
+
}, xstate0.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
} ? T_2 extends {
|
|
329
329
|
src: TSrc;
|
|
330
|
-
} ?
|
|
330
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
331
331
|
id?: T_2["id"] | undefined;
|
|
332
332
|
systemId?: string;
|
|
333
|
-
input?:
|
|
333
|
+
input?: xstate0.InputFrom<T_2["logic"]> | undefined;
|
|
334
334
|
syncSnapshot?: boolean;
|
|
335
|
-
} & { [K_2 in
|
|
335
|
+
} & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
336
336
|
uploadDocument: {
|
|
337
337
|
src: "uploadDocument";
|
|
338
|
-
logic:
|
|
338
|
+
logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
|
|
339
339
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
340
340
|
processingType: string;
|
|
341
341
|
onProgress: (progress: number) => void;
|
|
342
|
-
},
|
|
342
|
+
}, xstate0.EventObject>;
|
|
343
343
|
id: string | undefined;
|
|
344
344
|
};
|
|
345
345
|
initCamera: {
|
|
346
346
|
src: "initCamera";
|
|
347
|
-
logic:
|
|
347
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
348
348
|
id: string | undefined;
|
|
349
349
|
};
|
|
350
350
|
finalizeDocumentRequest: {
|
|
351
351
|
src: "finalizeDocumentRequest";
|
|
352
|
-
logic:
|
|
352
|
+
logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
|
|
353
353
|
processingType: string;
|
|
354
|
-
},
|
|
354
|
+
}, xstate0.EventObject>;
|
|
355
355
|
id: string | undefined;
|
|
356
356
|
};
|
|
357
357
|
}>, "src", TSrc>["logic"]>;
|
|
358
|
-
<TLogic extends
|
|
358
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
359
359
|
id?: never;
|
|
360
360
|
systemId?: string;
|
|
361
|
-
input?:
|
|
361
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
362
362
|
syncSnapshot?: boolean;
|
|
363
|
-
} & { [K in
|
|
363
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
364
364
|
};
|
|
365
365
|
input: DocumentCaptureInput;
|
|
366
|
-
self:
|
|
366
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
367
367
|
type: "CAPTURE";
|
|
368
368
|
} | {
|
|
369
369
|
type: "FILE_SELECTED";
|
|
@@ -391,7 +391,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
391
391
|
type: "SKIP";
|
|
392
392
|
} | {
|
|
393
393
|
type: "CLOSE";
|
|
394
|
-
}, Record<string,
|
|
394
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
395
395
|
type: "CAPTURE";
|
|
396
396
|
} | {
|
|
397
397
|
type: "FILE_SELECTED";
|
|
@@ -419,7 +419,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
419
419
|
type: "SKIP";
|
|
420
420
|
} | {
|
|
421
421
|
type: "CLOSE";
|
|
422
|
-
},
|
|
422
|
+
}, xstate0.AnyEventObject>;
|
|
423
423
|
}) => {
|
|
424
424
|
config: {
|
|
425
425
|
processingType: DocumentType;
|
|
@@ -570,7 +570,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
570
570
|
} | {
|
|
571
571
|
type: "CLOSE";
|
|
572
572
|
};
|
|
573
|
-
self:
|
|
573
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
574
574
|
type: "CAPTURE";
|
|
575
575
|
} | {
|
|
576
576
|
type: "FILE_SELECTED";
|
|
@@ -598,7 +598,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
598
598
|
type: "SKIP";
|
|
599
599
|
} | {
|
|
600
600
|
type: "CLOSE";
|
|
601
|
-
}, Record<string,
|
|
601
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
602
602
|
type: "CAPTURE";
|
|
603
603
|
} | {
|
|
604
604
|
type: "FILE_SELECTED";
|
|
@@ -626,7 +626,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
626
626
|
type: "SKIP";
|
|
627
627
|
} | {
|
|
628
628
|
type: "CLOSE";
|
|
629
|
-
},
|
|
629
|
+
}, xstate0.AnyEventObject>;
|
|
630
630
|
}) => {
|
|
631
631
|
capturedDocument: CapturedDocument;
|
|
632
632
|
processingType: DocumentType;
|
|
@@ -721,7 +721,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
721
721
|
} | {
|
|
722
722
|
type: "CLOSE";
|
|
723
723
|
};
|
|
724
|
-
self:
|
|
724
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
|
|
725
725
|
type: "CAPTURE";
|
|
726
726
|
} | {
|
|
727
727
|
type: "FILE_SELECTED";
|
|
@@ -749,7 +749,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
749
749
|
type: "SKIP";
|
|
750
750
|
} | {
|
|
751
751
|
type: "CLOSE";
|
|
752
|
-
}, Record<string,
|
|
752
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
753
753
|
type: "CAPTURE";
|
|
754
754
|
} | {
|
|
755
755
|
type: "FILE_SELECTED";
|
|
@@ -777,7 +777,7 @@ declare const documentCaptureMachine: xstate389.StateMachine<DocumentCaptureCont
|
|
|
777
777
|
type: "SKIP";
|
|
778
778
|
} | {
|
|
779
779
|
type: "CLOSE";
|
|
780
|
-
},
|
|
780
|
+
}, xstate0.AnyEventObject>;
|
|
781
781
|
}) => {
|
|
782
782
|
processingType: DocumentType;
|
|
783
783
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./api-3IquGyW5.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-s0VL5FYh.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-cL1KdW6d.esm.js";
|
|
4
4
|
import "./camera-CSPAwp2o.esm.js";
|
|
5
5
|
import "./platform-BtdVAeAg.esm.js";
|
|
6
6
|
import "./ITimerCapability-r7XXQS6a.esm.js";
|
|
7
7
|
import "./backCameraStream-BIzYKDy2.esm.js";
|
|
8
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
8
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DWZUY2Aw.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
11
11
|
function createDocumentCaptureActor(options) {
|