@incodetech/core 0.0.0-dev-20261130-e2bd0464 → 0.0.0-dev-20261130-4e71971b
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/{FaceDetectionProvider-DukiGAz7.esm.js → FaceDetectionProvider-BQ5gvzgx.esm.js} +4 -4
- package/dist/{addressSearch-DTZBYud-.esm.js → addressSearch-BURPB5hi.esm.js} +1 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-mCg7V7Uf.esm.js → apiError-B1dt7y3u.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BQwzdD4I.esm.js → authenticationManager-CNVyivYd.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DqbEu8Q3.esm.js → authenticationStateMachine-DhMEQYUo.esm.js} +3 -3
- package/dist/{deepsightCaptureConfig-DeblqGPa.esm.js → deepsightCaptureConfig-BsA2b6hs.esm.js} +2 -2
- package/dist/{deepsightLoader-CUe4KNfO.esm.js → deepsightLoader-BwtQJsiw.esm.js} +4 -4
- package/dist/{desktopCameraElection-DKEN7T6p.esm.js → desktopCameraElection-DeM7kA2y.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DOgJTJ4F.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +4 -4
- package/dist/{documentSignatureStateMachine-DTzkGcdF.esm.js → documentSignatureStateMachine-CmhM8ZHf.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-X3iV4BMp.esm.js → dynamicFormsManager-DNjloSck.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-DWwkQ1m1.esm.js → dynamicFormsStateMachine-PX-1FL2C.esm.js} +1 -1
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DZs71Nsr.esm.js → ekybManager-B2Ab2AuY.esm.js} +1 -1
- package/dist/{ekybManager-Cjk8pQX0.d.ts → ekybManager-DmqOVUfr.d.ts} +1 -1
- package/dist/{ekybStateMachine-DGdAxEgO.esm.js → ekybStateMachine-Da8OTNKI.esm.js} +87 -4
- package/dist/{ekybUtils-Dl0MU-ib.esm.js → ekybUtils-CQl--xHw.esm.js} +31 -13
- package/dist/ekyc-prefill.d.ts +1 -1
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DvbpHOWd.esm.js → ekycManager-DHJEJKzi.esm.js} +1 -1
- package/dist/{ekycPrefillManager-QKqXYPH_.d.ts → ekycPrefillManager-BwmPXfhY.d.ts} +5 -5
- package/dist/{ekycPrefillManager-D0y3qTsy.esm.js → ekycPrefillManager-CVCEXzaw.esm.js} +1 -1
- package/dist/{ekycPrefillStateMachine-CfvqUovV.esm.js → ekycPrefillStateMachine-CCp3NYfS.esm.js} +1 -1
- package/dist/{ekycStateMachine-Bzhg5Wne.esm.js → ekycStateMachine-DkGDTOh7.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-lIu9E9kq.esm.js → electronicSignatureManager-DlCImaTU.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-C7ZYqxfE.esm.js → faceCaptureManagerFactory-BKwxY1fX.esm.js} +2 -2
- package/dist/{faceCaptureSetup-BoJ2gP4a.esm.js → faceCaptureSetup-CuXgtd-I.esm.js} +7 -7
- package/dist/{feature-management-BTG3zZEj.esm.js → feature-management-GVKy-hGj.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DS94fzxQ.esm.js → flowCompletionService-BM1xc4I7.esm.js} +1 -1
- package/dist/{flowServices-3FJRJD7a.esm.js → flowServices-Cdl_cQGL.esm.js} +5 -5
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DPlVRDqn.esm.js → geolocationManager-BDXHqS5E.esm.js} +1 -1
- package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
- package/dist/{geolocationStateMachine-NxF620sx.esm.js → geolocationStateMachine-B1E8vVay.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-DVZXvq3K.esm.js → idCaptureManager-BkbFkZB3.esm.js} +4 -4
- package/dist/{idCaptureServices-RjK_GmyB.esm.js → idCaptureServices-sx130oEn.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-dLF8gCI0.esm.js → idCaptureStateMachine-fV9mWwwR.esm.js} +11 -11
- package/dist/{idOcrManager-C3BHGgSb.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-CSeeteGT.esm.js → kybChecksManager-BeF2InI_.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-C-su0vKJ.esm.js → kybChecksStateMachine-lzp75uOi.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Ck8JxH8y.esm.js → recordingService-DazaMCb3.esm.js} +1 -1
- package/dist/{runChildModule-C4ZRN5X4.esm.js → runChildModule-BwoxjGM-.esm.js} +1 -1
- package/dist/{sdkVersion-C_2URGb6.esm.js → sdkVersion-C2Qr2lvk.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-D4gGxgPg.esm.js → selfieErrorUtils-CLt_Sjzk.esm.js} +1 -1
- package/dist/{selfieManager-DIqLvIoI.esm.js → selfieManager-6ZMSnLBp.esm.js} +3 -3
- package/dist/{selfieStateMachine-BztNn3ub.esm.js → selfieStateMachine-BCI6PUA9.esm.js} +3 -3
- package/dist/{session-BtVJWX7m.esm.js → session-iHxe7vYj.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BSoYLuO1.esm.js → sessionInitializer-BPKrxMJ_.esm.js} +4 -4
- package/dist/{setup-D4a223FN.esm.js → setup-Bjk_XwAN.esm.js} +5 -5
- package/dist/trueSight-hcKtIpEx.esm.js +1 -0
- package/dist/{trueSightService-DXdGFtYC.esm.js → trueSightService-BOipKfn8.esm.js} +1 -1
- package/dist/{types-BwMpWCVG.d.ts → types-gXjHnLSS.d.ts} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-CKKgX1H5.esm.js → videoSelfieCameraWarmer-CGWQ287O.esm.js} +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +19 -19
- package/package.json +3 -3
- package/dist/trueSight-D4wrJCwd.esm.js +0 -1
package/dist/{FaceDetectionProvider-DukiGAz7.esm.js → FaceDetectionProvider-BQ5gvzgx.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as wasmRuntime } from "./warmup-O3rAoe1-.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-Bjk_XwAN.esm.js";
|
|
3
3
|
import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
4
4
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
5
|
-
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import "./trueSight-
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BOipKfn8.esm.js";
|
|
6
|
+
import "./trueSight-hcKtIpEx.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
9
9
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
@@ -234,7 +234,7 @@ function startDetection(params) {
|
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
236
|
async function initializeDeepsightSession(options) {
|
|
237
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
237
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BwtQJsiw.esm.js");
|
|
238
238
|
return loadDeepsightSession({
|
|
239
239
|
ds: options.ds,
|
|
240
240
|
storage: options.storage
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DlCImaTU.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DhMEQYUo.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CNVyivYd.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-BQwzdD4I.esm.js → authenticationManager-CNVyivYd.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Bjk_XwAN.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
4
4
|
import "./events-PUWyizJn.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
7
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BKwxY1fX.esm.js";
|
|
7
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DhMEQYUo.esm.js";
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
10
10
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
3
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CuXgtd-I.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BQ5gvzgx.esm.js";
|
|
5
|
+
import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DeM7kA2y.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
package/dist/{deepsightCaptureConfig-DeblqGPa.esm.js → deepsightCaptureConfig-BsA2b6hs.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-
|
|
2
|
-
import "./trueSight-
|
|
1
|
+
import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BOipKfn8.esm.js";
|
|
2
|
+
import "./trueSight-hcKtIpEx.esm.js";
|
|
3
3
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
4
4
|
//#region src/internal/deepsight/deepsightCaptureConfig.ts
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
2
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
3
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
4
|
-
import "./trueSight-
|
|
5
|
-
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-
|
|
2
|
+
import { u as trueSightLog } from "./trueSightService-BOipKfn8.esm.js";
|
|
3
|
+
import { t as SDK_VERSION } from "./sdkVersion-C2Qr2lvk.esm.js";
|
|
4
|
+
import "./trueSight-hcKtIpEx.esm.js";
|
|
5
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-BPKrxMJ_.esm.js";
|
|
6
6
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
7
7
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
8
8
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
|
package/dist/{desktopCameraElection-DKEN7T6p.esm.js → desktopCameraElection-DeM7kA2y.esm.js}
RENAMED
|
@@ -3,14 +3,14 @@ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain,
|
|
|
3
3
|
import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
|
|
4
4
|
import { i as utilityWasmApi } from "./WasmUtilProvider-unrmGEHD.esm.js";
|
|
5
5
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
6
|
-
import { u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import "./trueSight-
|
|
8
|
-
import { m as getFeatureGate } from "./feature-management-
|
|
6
|
+
import { u as trueSightLog } from "./trueSightService-BOipKfn8.esm.js";
|
|
7
|
+
import "./trueSight-hcKtIpEx.esm.js";
|
|
8
|
+
import { m as getFeatureGate } from "./feature-management-GVKy-hGj.esm.js";
|
|
9
9
|
import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
10
10
|
import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
|
|
11
11
|
import { u as queryCameraPermission } from "./permissionServices-GQyOY1tb.esm.js";
|
|
12
12
|
import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
|
|
13
|
-
import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-
|
|
13
|
+
import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-BsA2b6hs.esm.js";
|
|
14
14
|
import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
|
|
15
15
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
16
16
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
|
2
2
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
3
3
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
5
|
-
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-
|
|
5
|
+
import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-CmhM8ZHf.esm.js";
|
|
6
6
|
//#region src/modules/document-signature/documentSignatureActor.ts
|
|
7
7
|
function createDocumentSignatureActor(options) {
|
|
8
8
|
return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
|
|
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
};
|
|
104
104
|
}>, Values<{
|
|
105
|
-
clearError: {
|
|
106
|
-
type: "clearError";
|
|
107
|
-
params: NonReducibleUnknown;
|
|
108
|
-
};
|
|
109
105
|
decrementAttemptsRemaining: {
|
|
110
106
|
type: "decrementAttemptsRemaining";
|
|
111
107
|
params: NonReducibleUnknown;
|
|
112
108
|
};
|
|
109
|
+
clearError: {
|
|
110
|
+
type: "clearError";
|
|
111
|
+
params: NonReducibleUnknown;
|
|
112
|
+
};
|
|
113
113
|
setStream: {
|
|
114
114
|
type: "setStream";
|
|
115
115
|
params: NonReducibleUnknown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
3
|
import "./events-PUWyizJn.esm.js";
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-B1dt7y3u.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
//#region src/modules/document-signature/documentSignatureServices.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PX-1FL2C.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DNjloSck.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
6
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PX-1FL2C.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
8
8
|
function createDynamicFormsActor(options) {
|
|
9
9
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-DWwkQ1m1.esm.js → dynamicFormsStateMachine-PX-1FL2C.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-B1dt7y3u.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
5
|
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./xstate.cjs-D6Ur0X1F.js";
|
|
2
2
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
3
3
|
import { i as FlowModuleConfig } from "./types-BFoC3IpR.js";
|
|
4
|
-
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-
|
|
5
|
-
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-
|
|
4
|
+
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-gXjHnLSS.js";
|
|
5
|
+
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-DmqOVUfr.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybServices.d.ts
|
|
7
7
|
type EkybFlowConfig = FlowModuleConfig['EKYB'];
|
|
8
8
|
//#endregion
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { _ as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-CQl--xHw.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-Da8OTNKI.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-B2Ab2AuY.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
6
|
+
import { t as ekybMachine } from "./ekybStateMachine-Da8OTNKI.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYB actor.
|
|
@@ -2,7 +2,7 @@ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
|
|
|
2
2
|
import { t as Manager } from "./Manager-DufwKlav.js";
|
|
3
3
|
import "./Actor-DqjOqDfU.js";
|
|
4
4
|
import { t as AddressSuggestion } from "./types-D6Q1D1kx.js";
|
|
5
|
-
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-
|
|
5
|
+
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-gXjHnLSS.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybStateMachine.d.ts
|
|
7
7
|
declare const ekybMachine: any;
|
|
8
8
|
type EkybMachine = typeof ekybMachine;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
2
|
-
import { n as getFlow } from "./flowServices-
|
|
2
|
+
import { n as getFlow } from "./flowServices-Cdl_cQGL.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
5
|
-
import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as
|
|
5
|
+
import { _ as isSupportedCountry, a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as UBO_UNSUPPORTED_COUNTRIES, h as UBO_FIELD_LABELS, i as isFormFieldEntry, l as ALL_COUNTRIES, m as TAX_ID_RULES_BY_COUNTRY, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-CQl--xHw.esm.js";
|
|
6
6
|
import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
7
7
|
import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
|
|
8
8
|
import { n as requiresCnpjValidation } from "./cnpj-D5cxwIe-.esm.js";
|
|
9
|
-
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-
|
|
9
|
+
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-BURPB5hi.esm.js";
|
|
10
10
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
11
11
|
import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
|
|
12
12
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
@@ -1425,6 +1425,89 @@ const EKYB_DEFINITIONS = {
|
|
|
1425
1425
|
context: { country: "country" }
|
|
1426
1426
|
}
|
|
1427
1427
|
},
|
|
1428
|
+
"ekyb/PE": {
|
|
1429
|
+
schemaVersion: 1,
|
|
1430
|
+
vocabulary: "1.0",
|
|
1431
|
+
id: "ekyb/PE",
|
|
1432
|
+
module: "ekyb",
|
|
1433
|
+
country: "PE",
|
|
1434
|
+
availableIn: ["development", "staging"],
|
|
1435
|
+
fields: [
|
|
1436
|
+
{
|
|
1437
|
+
name: "businessName",
|
|
1438
|
+
kind: "text",
|
|
1439
|
+
group: "businessName",
|
|
1440
|
+
required: true,
|
|
1441
|
+
label: { key: "ekyb.businessName" },
|
|
1442
|
+
input: { autofill: "organization" }
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
name: "taxId",
|
|
1446
|
+
kind: "text",
|
|
1447
|
+
group: "taxId",
|
|
1448
|
+
required: true,
|
|
1449
|
+
label: { key: "ekyb.taxId" },
|
|
1450
|
+
rules: [{
|
|
1451
|
+
id: "charTemplate",
|
|
1452
|
+
params: { templates: ["99999999999"] }
|
|
1453
|
+
}]
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
name: "street",
|
|
1457
|
+
kind: "text",
|
|
1458
|
+
group: "address",
|
|
1459
|
+
required: true,
|
|
1460
|
+
widget: "addressSearch",
|
|
1461
|
+
label: { key: "ekyb.street" },
|
|
1462
|
+
input: { autofill: "addressLine1" }
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
name: "houseNo",
|
|
1466
|
+
kind: "text",
|
|
1467
|
+
group: "address",
|
|
1468
|
+
required: true,
|
|
1469
|
+
label: { key: "ekyb.houseNo" }
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: "addressLine2",
|
|
1473
|
+
kind: "text",
|
|
1474
|
+
group: "address",
|
|
1475
|
+
label: { key: "ekyb.addressLine2" },
|
|
1476
|
+
input: { autofill: "addressLine2" }
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: "city",
|
|
1480
|
+
kind: "text",
|
|
1481
|
+
group: "address",
|
|
1482
|
+
required: true,
|
|
1483
|
+
label: { key: "ekyb.city" },
|
|
1484
|
+
input: { autofill: "addressLevel2" }
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: "state",
|
|
1488
|
+
kind: "text",
|
|
1489
|
+
group: "address",
|
|
1490
|
+
required: true,
|
|
1491
|
+
label: { key: "ekyb.state" },
|
|
1492
|
+
input: { autofill: "addressLevel1" }
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
name: "postalCode",
|
|
1496
|
+
kind: "text",
|
|
1497
|
+
group: "address",
|
|
1498
|
+
label: { key: "ekyb.postalCode" },
|
|
1499
|
+
input: {
|
|
1500
|
+
maxLength: 5,
|
|
1501
|
+
autofill: "postalCode"
|
|
1502
|
+
},
|
|
1503
|
+
rules: [{ id: "postalCodeFormat" }]
|
|
1504
|
+
}
|
|
1505
|
+
],
|
|
1506
|
+
submit: {
|
|
1507
|
+
static: { plugins: ["ekyb"] },
|
|
1508
|
+
context: { country: "country" }
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1428
1511
|
"ekyb/US": {
|
|
1429
1512
|
schemaVersion: 1,
|
|
1430
1513
|
vocabulary: "1.0",
|
|
@@ -1726,7 +1809,7 @@ function buildEkybForm(config, verificationFields, country, useDefinitions) {
|
|
|
1726
1809
|
fields: projectEkybFields(form, country),
|
|
1727
1810
|
hasUbos: hasUboCollection(form)
|
|
1728
1811
|
};
|
|
1729
|
-
const hasUbos = config.checkUniqueBeneficialOwner !== false && verificationFields.includes("ubos-user_input") && country
|
|
1812
|
+
const hasUbos = config.checkUniqueBeneficialOwner !== false && verificationFields.includes("ubos-user_input") && !UBO_UNSUPPORTED_COUNTRIES.includes(country);
|
|
1730
1813
|
return {
|
|
1731
1814
|
fields: buildEkybFields(verificationFields, country, hasUbos),
|
|
1732
1815
|
hasUbos
|
|
@@ -23,7 +23,8 @@ const DEV_ONLY_COUNTRIES = [
|
|
|
23
23
|
"CM",
|
|
24
24
|
"CO",
|
|
25
25
|
"KE",
|
|
26
|
-
"NG"
|
|
26
|
+
"NG",
|
|
27
|
+
"PE"
|
|
27
28
|
];
|
|
28
29
|
/**
|
|
29
30
|
* Union of all recognized country codes (prod + dev).
|
|
@@ -71,23 +72,40 @@ const ALL_COUNTRIES_OPTIONAL_FIELDS = ["ubo"];
|
|
|
71
72
|
/**
|
|
72
73
|
* Fields a country doesn't require, beyond the ones no country requires.
|
|
73
74
|
* Colombia: most companies have no postal code on the registry.
|
|
75
|
+
* Peru: SUNAT, the tax registry, has no postal code to check it against.
|
|
74
76
|
*/
|
|
75
|
-
const OPTIONAL_FIELDS_BY_COUNTRY = {
|
|
77
|
+
const OPTIONAL_FIELDS_BY_COUNTRY = {
|
|
78
|
+
CO: ["postalCode"],
|
|
79
|
+
PE: ["postalCode"]
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Countries that collect no beneficial owners, whatever the configuration.
|
|
83
|
+
* Mexico, and Peru: UBO data isn't public there, and its registry (SUNAT)
|
|
84
|
+
* returns none to verify against.
|
|
85
|
+
*/
|
|
86
|
+
const UBO_UNSUPPORTED_COUNTRIES = ["MX", "PE"];
|
|
76
87
|
/**
|
|
77
88
|
* The format rules on a country's tax ID, beyond the CNPJ check on Brazil's.
|
|
78
89
|
* Colombia: the 9-digit NIT, with or without the dots, and with or without
|
|
79
90
|
* the check digit (DV). The backend reduces it to the 9 digits.
|
|
91
|
+
* Peru: the 11-digit RUC, such as 20100047218.
|
|
80
92
|
*/
|
|
81
|
-
const TAX_ID_RULES_BY_COUNTRY = {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
93
|
+
const TAX_ID_RULES_BY_COUNTRY = {
|
|
94
|
+
CO: [{
|
|
95
|
+
type: "charTemplate",
|
|
96
|
+
templates: [
|
|
97
|
+
"999999999",
|
|
98
|
+
"9999999999",
|
|
99
|
+
"999999999-9",
|
|
100
|
+
"999.999.999",
|
|
101
|
+
"999.999.999-9"
|
|
102
|
+
]
|
|
103
|
+
}],
|
|
104
|
+
PE: [{
|
|
105
|
+
type: "charTemplate",
|
|
106
|
+
templates: ["99999999999"]
|
|
107
|
+
}]
|
|
108
|
+
};
|
|
91
109
|
const UBO_FIELD_LABELS = {
|
|
92
110
|
name: "ekyb.uboName",
|
|
93
111
|
surname: "ekyb.uboSurname"
|
|
@@ -169,4 +187,4 @@ function requiresAddressValidation(countryCode) {
|
|
|
169
187
|
return !ADDRESS_FULLY_OPTIONAL_COUNTRIES.includes(countryCode);
|
|
170
188
|
}
|
|
171
189
|
//#endregion
|
|
172
|
-
export { requiresAddressValidation as a, ADDRESS_FIELDS as c, FIELD_NAME_MAPPING as d, FIELD_ORDER as f,
|
|
190
|
+
export { isSupportedCountry as _, requiresAddressValidation as a, ADDRESS_FIELDS as c, FIELD_NAME_MAPPING as d, FIELD_ORDER as f, UBO_UNSUPPORTED_COUNTRIES as g, UBO_FIELD_LABELS as h, isFormFieldEntry as i, ALL_COUNTRIES as l, TAX_ID_RULES_BY_COUNTRY as m, hasAtLeastOneAddressField as n, sortModulesByOrder as o, SUPPORTED_COUNTRIES as p, isFieldOptional as r, toEkybConfig as s, ekybUtils_exports as t, DEV_ONLY_COUNTRIES as u };
|
package/dist/ekyc-prefill.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EkycPrefillFieldDef, f as EkycPrefillValues, i as EkycPrefillErrorKind, l as EkycPrefillModuleConfig, n as EkycPrefillConfigField, o as EkycPrefillFieldError, s as EkycPrefillFieldErrors, t as EkycPrefillConfig, u as EkycPrefillServedField } from "./types-g3NuVCT9.js";
|
|
2
|
-
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
2
|
+
import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-BwmPXfhY.js";
|
|
3
3
|
//#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
|
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-CCp3NYfS.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-CVCEXzaw.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { d as toEkycConfig } from "./ekycUtils-BnTyeA-_.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-DkGDTOh7.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-DHJEJKzi.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-
|
|
6
|
+
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-DkGDTOh7.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -81,6 +81,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
81
81
|
params: NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
}>, Values<{
|
|
84
|
+
isValid: {
|
|
85
|
+
type: "isValid";
|
|
86
|
+
params: unknown;
|
|
87
|
+
};
|
|
84
88
|
phoneRulesFailed: {
|
|
85
89
|
type: "phoneRulesFailed";
|
|
86
90
|
params: unknown;
|
|
@@ -93,10 +97,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
93
97
|
type: "canRender";
|
|
94
98
|
params: unknown;
|
|
95
99
|
};
|
|
96
|
-
isValid: {
|
|
97
|
-
type: "isValid";
|
|
98
|
-
params: unknown;
|
|
99
|
-
};
|
|
100
100
|
isBadRequest: {
|
|
101
101
|
type: "isBadRequest";
|
|
102
102
|
params: unknown;
|
|
@@ -109,7 +109,7 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
|
|
|
109
109
|
type: "isLimitReached";
|
|
110
110
|
params: unknown;
|
|
111
111
|
};
|
|
112
|
-
}>, never, "error" | "idle" | "closed" | "finished" | "
|
|
112
|
+
}>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "misconfigured" | "limitReached" | {
|
|
113
113
|
form: "inputting" | "validating";
|
|
114
114
|
}, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
115
115
|
readonly id: "ekycPrefill";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
3
|
import { l as validateAllValues } from "./formErrors-lSfh7Y8J.esm.js";
|
|
4
|
-
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
4
|
+
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-CCp3NYfS.esm.js";
|
|
5
5
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
6
6
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
7
7
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-CfvqUovV.esm.js → ekycPrefillStateMachine-CCp3NYfS.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-B1dt7y3u.esm.js";
|
|
4
4
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
@@ -7,7 +7,7 @@ import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
|
7
7
|
import { a as hasNameCharacters, c as isEmailFormat, d as resolvePrefill, f as isValidRut, h as isValidEsDni, i as isNotFuture, l as digitCountError, m as isValidFiPersonalIdentityCode, n as hasScriptCharacters, o as isWithinMaxAge, p as isValidInDrivingLicenseNumber, r as isInNumericRange, s as isPoBox, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
|
|
8
8
|
import { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
|
|
9
9
|
import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
|
|
10
|
-
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, n as searchAddress, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-
|
|
10
|
+
import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, n as searchAddress, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-BURPB5hi.esm.js";
|
|
11
11
|
import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
|
|
12
12
|
import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
|
|
13
13
|
import { C as POSTAL_CODE_SOURCES, D as VOCABULARY, E as TAX_ID_SOURCES, S as ONE_OF_REQUIRED_GROUPS, T as STREET_SOURCES, _ as COUNTRY_SELECTOR_DISABLED_SOURCES, a as getEKYCFields, b as MIDDLE_NAME_SOURCES, c as isFieldOptional, d as toEkycConfig, f as withRiskAddonFields, g as COUNTRY_CODE_OMITTED_SOURCES, h as CITY_SOURCES, i as getEKYCDisplayModes, l as mapToEKYCvalue, m as APARTMENT_SOURCES, o as getEkycRiskAddons, p as ADDRESS_STATE_SOURCES, r as getEKYCCountry, s as getRiskAddonFields, t as EKYC_GROUP_KEYS, u as resolveEkycSource, v as EMAIL_SOURCES, w as STATE_CODE_HINTS, x as NAME_SOURCES, y as HOUSE_NO_SOURCES } from "./ekycUtils-BnTyeA-_.esm.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DlCImaTU.esm.js";
|
|
2
2
|
export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
|
|
|
2
2
|
import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
|
|
3
3
|
import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
|
|
4
4
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-B1dt7y3u.esm.js";
|
|
6
6
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
7
7
|
import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
8
8
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -17,10 +17,10 @@ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchMana
|
|
|
17
17
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-tNhzv7vZ.js";
|
|
18
18
|
import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
|
|
19
19
|
import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-lJrveDS4.js";
|
|
20
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
20
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-sJWgqtUy.js";
|
|
21
21
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
|
|
22
|
-
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-
|
|
23
|
-
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-
|
|
22
|
+
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-DmqOVUfr.js";
|
|
23
|
+
import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BwmPXfhY.js";
|
|
24
24
|
import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-mv2rWxc4.js";
|
|
25
25
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
|
|
26
26
|
import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B2j448t4.js";
|
|
@@ -31,10 +31,10 @@ import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerF
|
|
|
31
31
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
|
|
32
32
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
|
|
33
33
|
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Bl5ULEys.js";
|
|
34
|
-
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-
|
|
34
|
+
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
|
|
35
35
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Db99n9Yu.js";
|
|
36
36
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
|
|
37
|
-
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-
|
|
37
|
+
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
|
|
38
38
|
import { a as GovernmentValidationActor, i as createGovernmentValidationManagerFromActor, n as GovernmentValidationState, t as GovernmentValidationManager } from "./governmentValidationManager-De_vU7bm.js";
|
|
39
39
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-B6R8xNZq.js";
|
|
40
40
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-C5b5WtcY.js";
|