@incodetech/core 0.0.0-dev-20260423-427a341 → 0.0.0-dev-20260423-672ea74
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-3SvbmWdi.esm.js → OpenViduRecordingProvider-7PqRexCU.esm.js} +1 -1
- package/dist/{WasmUtilProvider-DmbBSMl1.esm.js → WasmUtilProvider-3sS7TzsG.esm.js} +1 -1
- package/dist/{addressSearch-BvpzLWr4.esm.js → addressSearch-CMO_-Isa.esm.js} +4 -4
- package/dist/{ae-signature-21vUGDha.esm.js → ae-signature-C07fpdHw.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +5 -5
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-CIa-IPvP.esm.js → antifraudStateMachine-BOUj16Hj.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-Bv9qL5fe.d.ts → authenticationManager-CGn-1c-V.d.ts} +2 -2
- package/dist/{authenticationManager-WLXkr-r0.esm.js → authenticationManager-URLydvU9.esm.js} +6 -6
- package/dist/{authenticationStateMachine-BifJqMei.esm.js → authenticationStateMachine-D8N6ERZa.esm.js} +6 -6
- package/dist/{backCameraStream-DSwtYHuO.esm.js → backCameraStream-CrljCJ-Q.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-DqiR30gw.esm.js → consentStateMachine-Fa4KYzzn.esm.js} +3 -3
- package/dist/cpf-DEcHUluo.esm.js +38 -0
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-Bp-V13CB.esm.js → curpValidationStateMachine-oXdccErv.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +4 -4
- package/dist/{deepsightLoader-BTrehKGp.esm.js → deepsightLoader-QMFaZ2jE.esm.js} +10 -10
- package/dist/{deepsightService-BknZgccc.d.ts → deepsightService-BAbwxVdZ.d.ts} +2 -2
- package/dist/{deepsightService-B0Z-9gmQ.esm.js → deepsightService-BFLmC3ua.esm.js} +5 -5
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +70 -70
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +44 -44
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-CtMhD27q.esm.js → documentCaptureStateMachine-B8bi2Kh4.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-Bn-pLTcp.esm.js → ekybStateMachine-DruS8yRg.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +7 -6
- package/dist/{ekycStateMachine-Nmn0Alq9.esm.js → ekycStateMachine-U3ivS4-5.esm.js} +5 -38
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +4 -4
- package/dist/{electronicSignatureManager-DAkg8MF6.esm.js → electronicSignatureManager-CWJyes3f.esm.js} +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-q2qVoNbM.d.ts → emailManager-CCrXrAU3.d.ts} +2 -2
- package/dist/{emailManager-o6B6AYuE.esm.js → emailManager-y8HVFngo.esm.js} +3 -3
- package/dist/{emailStateMachine-B5M_HlVm.esm.js → emailStateMachine-bLpj4LRr.esm.js} +4 -4
- package/dist/{events-Deg_qfet.esm.js → events-BYuumPiB.esm.js} +6 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-Bq_skXK4.esm.js → faceCaptureManagerFactory-0bTuXnNo.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-DAQqd0EL.d.ts → faceCaptureManagerFactory-B9SCeUbN.d.ts} +8 -8
- package/dist/{faceCaptureSetup-C9RqcwR9.esm.js → faceCaptureSetup-BLsm9VU9.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-DCh79GWp.esm.js → faceMatchStateMachine-CB5JYxiV.esm.js} +3 -3
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-BnZC_DV0.esm.js → flowCompletionService-B0ua9_Oo.esm.js} +2 -2
- package/dist/{flowServices-s0CiH0WO.esm.js → flowServices-ngHx2Tal.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-CxQCX2NJ.esm.js → geolocationStateMachine-Cc2eFVZU.esm.js} +4 -4
- package/dist/{getDeviceClass-DStKSj3Q.esm.js → getDeviceClass-B_Y-Y-zj.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-L7nwlJPw.esm.js → governmentValidationStateMachine-wvZ5ysEM.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +627 -0
- package/dist/id-ocr.esm.js +459 -0
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-C2L4R8rT.d.ts → idCaptureManager-B_dajBGr.d.ts} +7 -7
- package/dist/{idCaptureManager-Cuq1R8jW.esm.js → idCaptureManager-DvJEDPBW.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-B1eBofuq.esm.js → idCaptureStateMachine-CgddydGJ.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +49 -49
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{index-DMN6Upfk.d.ts → index-BbYUSiBn.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-DP0jsq7O.esm.js → lib-Db1XxJuS.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +52 -52
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-Bjqy6QyQ.esm.js → mandatoryConsentStateMachine-0bZm4vNr.esm.js} +3 -3
- package/dist/openviduLazy-ClEZ-Z5M.esm.js +3 -0
- package/dist/{openviduLazy-CYviBULf.esm.js → openviduLazy-sruV5sxi.esm.js} +2 -2
- package/dist/{permissionServices-BJJE4sgW.esm.js → permissionServices-BdE8_Evq.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-C4QrFxRg.esm.js → phoneManager-CfoEpjeM.esm.js} +3 -3
- package/dist/{phoneManager-DBwE-qB0.d.ts → phoneManager-Da8QkPv7.d.ts} +2 -2
- package/dist/{phoneStateMachine-CMbJx57_.esm.js → phoneStateMachine-u-A2hOxu.esm.js} +4 -4
- package/dist/{qe-signature-D7Ou3WtG.esm.js → qe-signature-DhBKlGUH.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +5 -5
- package/dist/{recordingService-CtcIvA3E.esm.js → recordingService-CpbeUNqo.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-CtWjarUj.esm.js → redirectToMobileStateMachine-BMXJRSAC.esm.js} +4 -4
- package/dist/{runChildModule-DM84wxzE.esm.js → runChildModule-DHxT1RV0.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-CoyIn3Zl.esm.js → selfieManager-CkmC58-2.esm.js} +6 -6
- package/dist/{selfieManager-Cfp4MKMu.d.ts → selfieManager-dLehZvQm.d.ts} +2 -2
- package/dist/{selfieStateMachine-CsI9YnHz.esm.js → selfieStateMachine-BusOHMBN.esm.js} +3 -3
- package/dist/{session-CrOl1xma.esm.js → session-CEsW15cJ.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-BFXhW7cP.esm.js → setup-BvlIJVhZ.esm.js} +5 -5
- package/dist/{setup-VJbRmBIU.d.ts → setup-v-TAsAN2.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-yaoE2OEY.esm.js → signatureStateMachine-D6E5ZdHV.esm.js} +3 -3
- package/dist/{stats-BEwRvZG4.esm.js → stats-DE05K1o9.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-CgZVig-j.d.ts → types-BelKmTqU.d.ts} +5 -1
- package/dist/{types-BINKuP3l.d.ts → types-BxjVn8Ry.d.ts} +1 -1
- package/dist/{types-BmHAVvm0.d.ts → types-DZ7Qw6Yc.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +4 -4
- package/dist/{watchlistServices-D2I0AZb-.esm.js → watchlistServices-BW1w845W.esm.js} +2 -2
- package/dist/workflow.d.ts +116 -116
- package/dist/workflow.esm.js +45 -44
- package/package.json +5 -1
- package/dist/openviduLazy-7pgMhjPB.esm.js +0 -3
- /package/dist/{Actor-B-9T-DlO.d.ts → Actor-gwS4PQSi.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-Cf3MNlAN.esm.js → BaseWasmProvider-DsxKeFBt.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-Drw72wvG.esm.js → BrowserStorageProvider-D99-O_Kf.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-Dav3_fFy.esm.js → BrowserTimerProvider-Dl6dq0R8.esm.js} +0 -0
- /package/dist/{ITimerCapability-BriAkEyj.esm.js → ITimerCapability-DUFfKzTs.esm.js} +0 -0
- /package/dist/{IpifyProvider-j8lI27Fq.esm.js → IpifyProvider-BRMpdf22.esm.js} +0 -0
- /package/dist/{Manager-BCd4NBhe.d.ts → Manager-BmmucBrC.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-DYYBm_bL.esm.js → MotionSensorProvider-Qfs1LN2o.esm.js} +0 -0
- /package/dist/{StateMachine-BNiyEj7J.d.ts → StateMachine-B1c7OspS.d.ts} +0 -0
- /package/dist/{api-CzVamIBG.esm.js → api-Bv7xXuMw.esm.js} +0 -0
- /package/dist/{browserSimulation-C4a2KVIY.esm.js → browserSimulation-CB1iKoSy.esm.js} +0 -0
- /package/dist/{camera-DaD3X_7m.esm.js → camera-BEKg9OFz.esm.js} +0 -0
- /package/dist/{camera-BZfRhPh2.d.ts → camera-CXfeCsaz.d.ts} +0 -0
- /package/dist/{chunk-DZf7laLq.esm.js → chunk-BPmmK_1R.esm.js} +0 -0
- /package/dist/{displayErrors-YTUUYe7G.d.ts → displayErrors-DT-jBLuo.d.ts} +0 -0
- /package/dist/{flowCompletionService-MFzwlktR.d.ts → flowCompletionService-BxOJeebo.d.ts} +0 -0
- /package/dist/{getBrowser-DxB_n8-W.esm.js → getBrowser-COVIk8a4.esm.js} +0 -0
- /package/dist/{platform-CTBj7PrA.esm.js → platform-bAk6j4kV.esm.js} +0 -0
- /package/dist/{types-CZwSG43_.d.ts → types-nURQ3pMv.d.ts} +0 -0
- /package/dist/{warmup-BR9x_9iz.d.ts → warmup-SnxLgQsT.d.ts} +0 -0
- /package/dist/{xstate.esm-BXNheqIe.esm.js → xstate.esm-DGcAhoQP.esm.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-
|
|
5
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BmmucBrC.js";
|
|
2
|
+
import "./Actor-gwS4PQSi.js";
|
|
3
|
+
import "./camera-CXfeCsaz.js";
|
|
4
|
+
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-BxjVn8Ry.js";
|
|
5
|
+
import * as xstate721 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
8
|
-
declare const documentUploadMachine:
|
|
8
|
+
declare const documentUploadMachine: xstate721.StateMachine<DocumentUploadContext, {
|
|
9
9
|
type: "START";
|
|
10
10
|
} | {
|
|
11
11
|
type: "CAPTURE";
|
|
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
18
18
|
} | {
|
|
19
19
|
type: "CLOSE";
|
|
20
20
|
}, {
|
|
21
|
-
[x: string]:
|
|
21
|
+
[x: string]: xstate721.ActorRefFromLogic<xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>> | xstate721.ActorRefFromLogic<xstate721.PromiseActorLogic<void, {
|
|
22
22
|
imageBase64: string;
|
|
23
23
|
documentType: string;
|
|
24
24
|
onProgress: (progress: number) => void;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
25
|
+
}, xstate721.EventObject>> | undefined;
|
|
26
|
+
}, xstate721.Values<{
|
|
27
27
|
uploadDocument: {
|
|
28
28
|
src: "uploadDocument";
|
|
29
|
-
logic:
|
|
29
|
+
logic: xstate721.PromiseActorLogic<void, {
|
|
30
30
|
imageBase64: string;
|
|
31
31
|
documentType: string;
|
|
32
32
|
onProgress: (progress: number) => void;
|
|
33
|
-
},
|
|
33
|
+
}, xstate721.EventObject>;
|
|
34
34
|
id: string | undefined;
|
|
35
35
|
};
|
|
36
36
|
initCamera: {
|
|
37
37
|
src: "initCamera";
|
|
38
|
-
logic:
|
|
38
|
+
logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, xstate721.Values<{
|
|
42
42
|
setError: {
|
|
43
43
|
type: "setError";
|
|
44
|
-
params:
|
|
44
|
+
params: xstate721.NonReducibleUnknown;
|
|
45
45
|
};
|
|
46
46
|
clearError: {
|
|
47
47
|
type: "clearError";
|
|
48
|
-
params:
|
|
48
|
+
params: xstate721.NonReducibleUnknown;
|
|
49
49
|
};
|
|
50
50
|
setStream: {
|
|
51
51
|
type: "setStream";
|
|
52
|
-
params:
|
|
52
|
+
params: xstate721.NonReducibleUnknown;
|
|
53
53
|
};
|
|
54
54
|
setProgress: {
|
|
55
55
|
type: "setProgress";
|
|
56
|
-
params:
|
|
56
|
+
params: xstate721.NonReducibleUnknown;
|
|
57
57
|
};
|
|
58
58
|
stopStream: {
|
|
59
59
|
type: "stopStream";
|
|
60
|
-
params:
|
|
60
|
+
params: xstate721.NonReducibleUnknown;
|
|
61
61
|
};
|
|
62
62
|
setImageAndClearError: {
|
|
63
63
|
type: "setImageAndClearError";
|
|
64
|
-
params:
|
|
64
|
+
params: xstate721.NonReducibleUnknown;
|
|
65
65
|
};
|
|
66
|
-
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput,
|
|
66
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate721.NonReducibleUnknown, xstate721.EventObject, xstate721.MetaObject, {
|
|
67
67
|
readonly id: "documentUpload";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: ({
|
|
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
72
72
|
spawn: {
|
|
73
73
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
74
74
|
src: "uploadDocument";
|
|
75
|
-
logic:
|
|
75
|
+
logic: xstate721.PromiseActorLogic<void, {
|
|
76
76
|
imageBase64: string;
|
|
77
77
|
documentType: string;
|
|
78
78
|
onProgress: (progress: number) => void;
|
|
79
|
-
},
|
|
79
|
+
}, xstate721.EventObject>;
|
|
80
80
|
id: string | undefined;
|
|
81
81
|
} extends infer T ? T extends {
|
|
82
82
|
src: "uploadDocument";
|
|
83
|
-
logic:
|
|
83
|
+
logic: xstate721.PromiseActorLogic<void, {
|
|
84
84
|
imageBase64: string;
|
|
85
85
|
documentType: string;
|
|
86
86
|
onProgress: (progress: number) => void;
|
|
87
|
-
},
|
|
87
|
+
}, xstate721.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
} ? T extends {
|
|
90
90
|
src: TSrc;
|
|
91
|
-
} ?
|
|
91
|
+
} ? xstate721.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: T["id"] | undefined;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate721.InputFrom<T["logic"]> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate721.RequiredActorOptions<T>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
97
97
|
src: "initCamera";
|
|
98
|
-
logic:
|
|
98
|
+
logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
|
|
99
99
|
id: string | undefined;
|
|
100
100
|
} extends infer T_1 ? T_1 extends {
|
|
101
101
|
src: "initCamera";
|
|
102
|
-
logic:
|
|
102
|
+
logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
|
|
103
103
|
id: string | undefined;
|
|
104
104
|
} ? T_1 extends {
|
|
105
105
|
src: TSrc;
|
|
106
|
-
} ?
|
|
106
|
+
} ? xstate721.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: T_1["id"] | undefined;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate721.InputFrom<T_1["logic"]> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K_1 in
|
|
111
|
+
} & { [K_1 in xstate721.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredActorOptions<T_1>>> : never : never : never)): xstate721.ActorRefFromLogic<xstate721.GetConcreteByKey<xstate721.Values<{
|
|
112
112
|
uploadDocument: {
|
|
113
113
|
src: "uploadDocument";
|
|
114
|
-
logic:
|
|
114
|
+
logic: xstate721.PromiseActorLogic<void, {
|
|
115
115
|
imageBase64: string;
|
|
116
116
|
documentType: string;
|
|
117
117
|
onProgress: (progress: number) => void;
|
|
118
|
-
},
|
|
118
|
+
}, xstate721.EventObject>;
|
|
119
119
|
id: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
initCamera: {
|
|
122
122
|
src: "initCamera";
|
|
123
|
-
logic:
|
|
123
|
+
logic: xstate721.PromiseActorLogic<MediaStream, void, xstate721.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
};
|
|
126
126
|
}>, "src", TSrc>["logic"]>;
|
|
127
|
-
<TLogic extends
|
|
127
|
+
<TLogic extends xstate721.AnyActorLogic>(src: TLogic, ...[options]: xstate721.ConditionalRequired<[options?: ({
|
|
128
128
|
id?: never;
|
|
129
129
|
systemId?: string;
|
|
130
|
-
input?:
|
|
130
|
+
input?: xstate721.InputFrom<TLogic> | undefined;
|
|
131
131
|
syncSnapshot?: boolean;
|
|
132
|
-
} & { [K in
|
|
132
|
+
} & { [K in xstate721.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate721.IsNotNever<xstate721.RequiredLogicInput<TLogic>>>): xstate721.ActorRefFromLogic<TLogic>;
|
|
133
133
|
};
|
|
134
134
|
input: DocumentUploadInput;
|
|
135
|
-
self:
|
|
135
|
+
self: xstate721.ActorRef<xstate721.MachineSnapshot<DocumentUploadContext, {
|
|
136
136
|
type: "START";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CAPTURE";
|
|
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
144
144
|
type: "RETRY";
|
|
145
145
|
} | {
|
|
146
146
|
type: "CLOSE";
|
|
147
|
-
}, Record<string,
|
|
147
|
+
}, Record<string, xstate721.AnyActorRef | undefined>, xstate721.StateValue, string, unknown, any, any>, {
|
|
148
148
|
type: "START";
|
|
149
149
|
} | {
|
|
150
150
|
type: "CAPTURE";
|
|
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
156
156
|
type: "RETRY";
|
|
157
157
|
} | {
|
|
158
158
|
type: "CLOSE";
|
|
159
|
-
},
|
|
159
|
+
}, xstate721.AnyEventObject>;
|
|
160
160
|
}) => {
|
|
161
161
|
config: DocumentUploadConfig;
|
|
162
162
|
stream: undefined;
|
|
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "CLOSE";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate721.ActorRef<xstate721.MachineSnapshot<DocumentUploadContext, {
|
|
230
230
|
type: "START";
|
|
231
231
|
} | {
|
|
232
232
|
type: "CAPTURE";
|
|
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
238
238
|
type: "RETRY";
|
|
239
239
|
} | {
|
|
240
240
|
type: "CLOSE";
|
|
241
|
-
}, Record<string,
|
|
241
|
+
}, Record<string, xstate721.AnyActorRef>, xstate721.StateValue, string, unknown, any, any>, {
|
|
242
242
|
type: "START";
|
|
243
243
|
} | {
|
|
244
244
|
type: "CAPTURE";
|
|
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate580.StateMachine<DocumentUploadContex
|
|
|
250
250
|
type: "RETRY";
|
|
251
251
|
} | {
|
|
252
252
|
type: "CLOSE";
|
|
253
|
-
},
|
|
253
|
+
}, xstate721.AnyEventObject>;
|
|
254
254
|
}) => {
|
|
255
255
|
imageBase64: string;
|
|
256
256
|
documentType: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, 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 { i as stopCameraStream } from "./camera-
|
|
5
|
-
import "./platform-
|
|
6
|
-
import "./ITimerCapability-
|
|
7
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { i as stopCameraStream } from "./camera-BEKg9OFz.esm.js";
|
|
5
|
+
import "./platform-bAk6j4kV.esm.js";
|
|
6
|
+
import "./ITimerCapability-DUFfKzTs.esm.js";
|
|
7
|
+
import { t as getBackCameraStream } from "./backCameraStream-CrljCJ-Q.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
10
10
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { i as stopCameraStream } from "./camera-
|
|
5
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { i as stopCameraStream } from "./camera-BEKg9OFz.esm.js";
|
|
5
|
+
import { t as getBackCameraStream } from "./backCameraStream-CrljCJ-Q.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-capture/types.ts
|
|
8
8
|
const PROCESSING_TYPE_MAP = {
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-BmmucBrC.js";
|
|
2
|
+
import "./Actor-gwS4PQSi.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-DT-jBLuo.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyb/types.d.ts
|
|
6
6
|
type UboEntry = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./session-
|
|
4
|
-
import "./IpifyProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
7
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
8
|
-
import "./addressSearch-
|
|
9
|
-
import "./flowServices-
|
|
10
|
-
import "./BrowserTimerProvider-
|
|
1
|
+
import "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import "./session-CEsW15cJ.esm.js";
|
|
4
|
+
import "./IpifyProvider-BRMpdf22.esm.js";
|
|
5
|
+
import "./browserSimulation-CB1iKoSy.esm.js";
|
|
6
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
7
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-DruS8yRg.esm.js";
|
|
8
|
+
import "./addressSearch-CMO_-Isa.esm.js";
|
|
9
|
+
import "./flowServices-ngHx2Tal.esm.js";
|
|
10
|
+
import "./BrowserTimerProvider-Dl6dq0R8.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/ekyb/ekybActor.ts
|
|
13
13
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CMO_-Isa.esm.js";
|
|
5
|
+
import { t as getFlow } from "./flowServices-ngHx2Tal.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-BmmucBrC.js";
|
|
2
|
+
import "./Actor-gwS4PQSi.js";
|
|
3
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-DT-jBLuo.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ekyc/types.d.ts
|
|
6
6
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./addressSearch-
|
|
5
|
-
import "./BrowserTimerProvider-
|
|
6
|
-
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-
|
|
1
|
+
import "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import "./addressSearch-CMO_-Isa.esm.js";
|
|
5
|
+
import "./BrowserTimerProvider-Dl6dq0R8.esm.js";
|
|
6
|
+
import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-U3ivS4-5.esm.js";
|
|
7
|
+
import "./cpf-DEcHUluo.esm.js";
|
|
7
8
|
|
|
8
9
|
//#region src/modules/ekyc/ekycActor.ts
|
|
9
10
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CMO_-Isa.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-DEcHUluo.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/ekyc/ekycConsts.ts
|
|
7
8
|
const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
|
|
@@ -29,18 +30,6 @@ const DRIVERS_LICENSE_FIELDS = [
|
|
|
29
30
|
"dlExpireAt"
|
|
30
31
|
];
|
|
31
32
|
const REQUIRED_ERROR_KEYS = new Set(["verification.errors.required"]);
|
|
32
|
-
const INVALID_CPF_PATTERNS = [
|
|
33
|
-
"00000000000",
|
|
34
|
-
"11111111111",
|
|
35
|
-
"22222222222",
|
|
36
|
-
"33333333333",
|
|
37
|
-
"44444444444",
|
|
38
|
-
"55555555555",
|
|
39
|
-
"66666666666",
|
|
40
|
-
"77777777777",
|
|
41
|
-
"88888888888",
|
|
42
|
-
"99999999999"
|
|
43
|
-
];
|
|
44
33
|
const DOB_OPTIONAL_SOURCES = ["US_TELCO_1", "UK_VOTER_REGISTER"];
|
|
45
34
|
const ADDRESS_OPTIONAL_SOURCES = ["US_TELCO_1", "UK_VOTER_REGISTER"];
|
|
46
35
|
const LAST4SSN_OPTIONAL_SOURCES = ["US_TELCO_1"];
|
|
@@ -9999,28 +9988,6 @@ var PhoneValidationProvider = class {
|
|
|
9999
9988
|
//#endregion
|
|
10000
9989
|
//#region src/modules/ekyc/ekycValidators.ts
|
|
10001
9990
|
const phoneValidator = new PhoneValidationProvider();
|
|
10002
|
-
/**
|
|
10003
|
-
* Validates a Brazilian CPF number (11-digit checksum).
|
|
10004
|
-
* Accepts formatted (000.000.000-00) or unformatted input.
|
|
10005
|
-
*/
|
|
10006
|
-
function validateCPF(cpfString) {
|
|
10007
|
-
let cpf = cpfString;
|
|
10008
|
-
if (cpf.length === 14) cpf = cpf.replace(/\./g, "").replace(/-/g, "");
|
|
10009
|
-
if (cpf.length !== 11) return false;
|
|
10010
|
-
if (!/^\d+$/.test(cpf)) return false;
|
|
10011
|
-
if (INVALID_CPF_PATTERNS.includes(cpf)) return false;
|
|
10012
|
-
let sum = 0;
|
|
10013
|
-
for (let i = 0; i < 9; i++) sum += Number.parseInt(cpf.charAt(i), 10) * (10 - i);
|
|
10014
|
-
let firstDigit = 11 - sum % 11;
|
|
10015
|
-
if (firstDigit >= 10) firstDigit = 0;
|
|
10016
|
-
if (cpf.charAt(9) !== firstDigit.toString()) return false;
|
|
10017
|
-
sum = 0;
|
|
10018
|
-
for (let i = 0; i < 10; i++) sum += Number.parseInt(cpf.charAt(i), 10) * (11 - i);
|
|
10019
|
-
let secondDigit = 11 - sum % 11;
|
|
10020
|
-
if (secondDigit >= 10) secondDigit = 0;
|
|
10021
|
-
if (cpf.charAt(10) !== secondDigit.toString()) return false;
|
|
10022
|
-
return true;
|
|
10023
|
-
}
|
|
10024
9991
|
/** Progressively formats an SSN as XXX-XX-XXXX */
|
|
10025
9992
|
function formatSSN(value) {
|
|
10026
9993
|
const ssn = value?.replace(/\D/g, "") ?? "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import "./Manager-BmmucBrC.js";
|
|
2
|
+
import "./Actor-gwS4PQSi.js";
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-BbYUSiBn.js";
|
|
4
4
|
export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./xstate.esm-
|
|
4
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import "./events-BYuumPiB.esm.js";
|
|
3
|
+
import "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-CWJyes3f.esm.js";
|
|
5
5
|
|
|
6
6
|
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, 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-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints, n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region ../infra/src/http/externalFetch.ts
|
|
6
6
|
async function externalFetch(config) {
|
package/dist/email.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-
|
|
1
|
+
import "./Manager-BmmucBrC.js";
|
|
2
|
+
import "./Actor-gwS4PQSi.js";
|
|
3
|
+
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-CCrXrAU3.js";
|
|
4
4
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./xstate.esm-
|
|
4
|
-
import "./BrowserTimerProvider-
|
|
5
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
6
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import "./events-BYuumPiB.esm.js";
|
|
3
|
+
import "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import "./BrowserTimerProvider-Dl6dq0R8.esm.js";
|
|
5
|
+
import { t as emailMachine } from "./emailStateMachine-bLpj4LRr.esm.js";
|
|
6
|
+
import { t as createEmailManager } from "./emailManager-y8HVFngo.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createEmailManager, emailMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BmmucBrC.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-gwS4PQSi.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/email/types.d.ts
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BYuumPiB.esm.js";
|
|
2
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-bLpj4LRr.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/email/emailActor.ts
|
|
6
6
|
function createEmailActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
1
|
+
import { t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-BYuumPiB.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DGcAhoQP.esm.js";
|
|
4
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-Dl6dq0R8.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/email/emailServices.ts
|
|
7
7
|
async function fetchEmail(signal) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isApiConfigured, r as getToken, t as api } from "./api-
|
|
1
|
+
import { i as isApiConfigured, r as getToken, t as api } from "./api-Bv7xXuMw.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
|
4
4
|
function getTimestamp() {
|
|
@@ -48,6 +48,9 @@ const endpoints = {
|
|
|
48
48
|
addCustomFields: "/omni/add/custom-fields",
|
|
49
49
|
deviceRiskClientId: "/omni/device-risk-client-id",
|
|
50
50
|
ocrData: "/omni/get/ocr-data",
|
|
51
|
+
ocrDataSecondId: "/omni/get/ocr-data-second-id",
|
|
52
|
+
updateEditableOcrData: "/omni/update/editable-ocr-data",
|
|
53
|
+
updateEditableOcrDataSecondId: "/omni/update/editable-ocr-data-second-id",
|
|
51
54
|
addCurp: "/omni/add/curp",
|
|
52
55
|
addCurpV2: "/omni/add/curp/v2",
|
|
53
56
|
addGeolocation: "/omni/add/geolocation",
|
|
@@ -330,6 +333,7 @@ const eventModuleNames = {
|
|
|
330
333
|
front: "ID",
|
|
331
334
|
back: "ID",
|
|
332
335
|
id: "ID",
|
|
336
|
+
idOcr: "ID_OCR",
|
|
333
337
|
document: "DOCUMENT_CAPTURE",
|
|
334
338
|
creditCard: "CREDIT_CARD_FRONT",
|
|
335
339
|
creditCardBack: "CREDIT_CARD_BACK",
|
|
@@ -490,4 +494,4 @@ const cameraScreenNamesMapper = {
|
|
|
490
494
|
};
|
|
491
495
|
|
|
492
496
|
//#endregion
|
|
493
|
-
export { endpoints as _, videoSelfieEvents as a, elementClicked as c, screenClosed as d, screenEvent as f, subscribeEvent as g, flushEventQueue as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u,
|
|
497
|
+
export { endpoints as _, videoSelfieEvents as a, elementClicked as c, screenClosed as d, screenEvent as f, subscribeEvent as g, flushEventQueue as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, getTimestamp as v, revokeObjectURL as y };
|
package/dist/events.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare const eventModuleNames: {
|
|
|
20
20
|
readonly front: "ID";
|
|
21
21
|
readonly back: "ID";
|
|
22
22
|
readonly id: "ID";
|
|
23
|
+
readonly idOcr: "ID_OCR";
|
|
23
24
|
readonly document: "DOCUMENT_CAPTURE";
|
|
24
25
|
readonly creditCard: "CREDIT_CARD_FRONT";
|
|
25
26
|
readonly creditCardBack: "CREDIT_CARD_BACK";
|
package/dist/events.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-
|
|
1
|
+
import "./api-Bv7xXuMw.esm.js";
|
|
2
|
+
import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-BYuumPiB.esm.js";
|
|
3
3
|
|
|
4
4
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, flushEventQueue, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import { n as createActor } from "./Actor-
|
|
4
|
-
import { r as fromPromise } from "./StateMachine-
|
|
5
|
-
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-
|
|
10
|
-
import "./types-
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
13
|
-
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-
|
|
14
|
-
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-
|
|
15
|
-
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./warmup-SnxLgQsT.js";
|
|
2
|
+
import "./Manager-BmmucBrC.js";
|
|
3
|
+
import { n as createActor } from "./Actor-gwS4PQSi.js";
|
|
4
|
+
import { r as fromPromise } from "./StateMachine-B1c7OspS.js";
|
|
5
|
+
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-B9SCeUbN.js";
|
|
6
|
+
import "./camera-CXfeCsaz.js";
|
|
7
|
+
import "./types-BxjVn8Ry.js";
|
|
8
|
+
import "./types-BelKmTqU.js";
|
|
9
|
+
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-BAbwxVdZ.js";
|
|
10
|
+
import "./types-nURQ3pMv.js";
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-dLehZvQm.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CGn-1c-V.js";
|
|
13
|
+
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CCrXrAU3.js";
|
|
14
|
+
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-B_dajBGr.js";
|
|
15
|
+
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-Da8QkPv7.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
18
18
|
type AuthenticationUploadResponse = {
|