@incodetech/core 0.0.0-dev-20260917-1176b73f → 0.0.0-dev-20260918-2ea5eb33
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/Actor-DpTj5PFb.d.ts +1 -0
- package/dist/{BrowserDiagnosticsCryptoProvider-DayZunZe.esm.js → BrowserDiagnosticsCryptoProvider-Bmz1ZmXo.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-DzOKMZot.esm.js → FaceDetectionProvider-D1kQsdcA.esm.js} +4 -4
- package/dist/HttpRequestError-Bh0pNGSC.esm.js +35 -0
- package/dist/{Manager-CQQ99QOI.d.ts → Manager-C9T5amUN.d.ts} +7 -1
- package/dist/{addressSearch-DyHGgeX8.esm.js → addressSearch-Dnwc7dMx.esm.js} +1 -1
- package/dist/ae-signature.d.ts +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-DNkw66oW.esm.js → antifraudManager-BOC5WnCl.esm.js} +2 -2
- package/dist/{antifraudManager-BY36bS12.d.ts → antifraudManager-DbGCvlJs.d.ts} +2 -2
- package/dist/{antifraudStateMachine-DBeq47D2.esm.js → antifraudStateMachine-D_pA96rq.esm.js} +2 -2
- package/dist/{apiError-CXc-MlxM.esm.js → apiError-CLCzNxSY.esm.js} +2 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CoWGfesb.d.ts → authenticationManager-BzD0aGAV.d.ts} +2 -2
- package/dist/{authenticationManager-CUhtUZXv.esm.js → authenticationManager-Dg08_vlj.esm.js} +4 -4
- package/dist/{authenticationStateMachine-UBe-mGd-.esm.js → authenticationStateMachine-BNtcmydL.esm.js} +5 -5
- package/dist/certificate-issuance.d.ts +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-C3-CI0_s.esm.js → certificateIssuanceManager-BVIPp-jE.esm.js} +2 -2
- package/dist/{certificateIssuanceManager-DCgEidHz.d.ts → certificateIssuanceManager-Dr8A4Lgr.d.ts} +2 -3
- package/dist/{certificateIssuanceStateMachine-CxqS_nD-.esm.js → certificateIssuanceStateMachine-Bn5VbLhG.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-gEjLKk2H.d.ts → consentManager-Cv_0QKLD.d.ts} +10 -11
- package/dist/{consentManager-B6E1XJDw.esm.js → consentManager-D540g9UK.esm.js} +2 -2
- package/dist/{consentStateMachine-DTSfdGiW.esm.js → consentStateMachine-1MkML1iL.esm.js} +2 -2
- package/dist/{createCameraCycleOwnership-UixMBjNr.esm.js → createCameraCycleOwnership-UAS1fFZF.esm.js} +1 -1
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-9XhFVZ5S.esm.js → crossDocumentDataMatchManager-CO1EPIVX.esm.js} +2 -2
- package/dist/{crossDocumentDataMatchManager-Dq8Z3SOg.d.ts → crossDocumentDataMatchManager-yCWCOzcU.d.ts} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-BU7JXclr.d.ts → curpValidationManager-BJZ96KwC.d.ts} +2 -2
- package/dist/{curpValidationManager-DbIMYFcJ.esm.js → curpValidationManager-BzS_Dlcq.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-g5kMfuLj.esm.js → curpValidationStateMachine-Bg_Lsk2V.esm.js} +2 -2
- package/dist/custom-fields.d.ts +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-8-W2KY4n.d.ts → customFieldsManager-CF-cO8ap.d.ts} +2 -2
- package/dist/{customFieldsManager-CzWZTkW-.esm.js → customFieldsManager-oXaVxn1f.esm.js} +2 -2
- package/dist/{customWatchlistManager-DWTED5Ur.esm.js → customWatchlistManager-B9H34yQM.esm.js} +2 -2
- package/dist/{customWatchlistManager-PBWHr_oM.d.ts → customWatchlistManager-DolUswyR.d.ts} +2 -2
- package/dist/{customWatchlistStateMachine-DOQou6TW.esm.js → customWatchlistStateMachine-Bzx8zPD3.esm.js} +2 -2
- package/dist/{deepsightLoader-DvTZ4A7y.esm.js → deepsightLoader-bsu8Cfm6.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DTFlW1Lw.d.ts} +6 -33
- package/dist/{documentCaptureManager-C1X6WFGI.esm.js → documentCaptureManager-IvBHBN0k.esm.js} +6 -3
- package/dist/{documentCaptureStateMachine-vp_xYjO7.esm.js → documentCaptureStateMachine-C8IXUEKw.esm.js} +36 -50
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-D5R_uxLQ.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +2 -2
- package/dist/{dynamicFormsManager-CSZqsWMl.esm.js → dynamicFormsManager-BTAEcg_n.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-D8JnxUoX.esm.js → dynamicFormsStateMachine-BWIlH8Sr.esm.js} +3 -3
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Dzswb_b8.d.ts → ekybManager-BYrK7YlF.d.ts} +2 -2
- package/dist/{ekybManager-D_fBeaDy.esm.js → ekybManager-DFpWzY0Y.esm.js} +2 -2
- package/dist/{ekybStateMachine-DLU4YFTg.esm.js → ekybStateMachine-hWwmksNZ.esm.js} +4 -4
- package/dist/ekyc.d.ts +1 -1
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-BFpHbBoT.d.ts → ekycManager-BeXat860.d.ts} +2 -2
- package/dist/{ekycManager-BlQ-Qj4E.esm.js → ekycManager-DoGZkFZQ.esm.js} +2 -2
- package/dist/{ekycStateMachine-CshSNJhh.esm.js → ekycStateMachine-BjNeL6ce.esm.js} +3 -3
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts} +2 -3
- package/dist/{electronicSignatureManager-CmMHHm_I.esm.js → electronicSignatureManager-zCSDAIma.esm.js} +4 -4
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-bR1N5rV_.esm.js → emailManager-CTNtCZJI.esm.js} +2 -2
- package/dist/{emailManager-CADXW_9X.d.ts → emailManager-Dy6omJVp.d.ts} +2 -2
- package/dist/{emailStateMachine-Bc_6oIYw.esm.js → emailStateMachine-D7czACc4.esm.js} +2 -2
- package/dist/events.d.ts +1 -1
- package/dist/extensibility.d.ts +33 -33
- package/dist/extensibility.esm.js +35 -35
- package/dist/{externalFetch-BKBThAUC.esm.js → externalFetch-CEp51O83.esm.js} +2 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-WzZxipED.d.ts → faceCaptureManagerFactory-Cd48RMoz.d.ts} +3 -4
- package/dist/{faceCaptureManagerFactory-LlVNEpNy.esm.js → faceCaptureManagerFactory-DX5vaV0i.esm.js} +3 -2
- package/dist/{faceCaptureSetup-DWne0J-j.esm.js → faceCaptureSetup-9nLjpAhy.esm.js} +6 -6
- package/dist/{faceMatchManager-BnvrZM2F.d.ts → faceMatchManager-DIgG-UFS.d.ts} +1 -2
- package/dist/{faceMatchManager-Bmv0HzuY.esm.js → faceMatchManager-DuaXgdd4.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-mRIHQ3dA.esm.js → faceMatchStateMachine-B1IrvVGS.esm.js} +2 -2
- package/dist/{feature-management-DzJhIZyO.esm.js → feature-management-DOhDvobT.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.d.ts +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC-klG0h.esm.js → fieldComparisonManager-B6nyeZwm.esm.js} +2 -2
- package/dist/{fieldComparisonManager-CBvEGxFx.d.ts → fieldComparisonManager-DN9b5rtc.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-B1STmT6z.d.ts → fiscalQrManager-D0Iy7EKR.d.ts} +2 -2
- package/dist/{fiscalQrManager-BunLVFbd.esm.js → fiscalQrManager-D55Gdlpk.esm.js} +3 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +3 -4
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-8zf1Xgnl.esm.js → flowCompletionService-C6x-Q1ni.esm.js} +1 -1
- package/dist/{flowServices--yFkifWH.esm.js → flowServices-D96CjPrj.esm.js} +4 -4
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Cz744E5S.d.ts → geolocationManager-Dn24g1fl.d.ts} +2 -3
- package/dist/{geolocationManager-BI5LD4Wp.esm.js → geolocationManager-VPehmvg_.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BDB7Uwnd.esm.js → geolocationStateMachine-BFk8AuA6.esm.js} +3 -3
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-D02vT4yY.d.ts → governmentValidationManager-B82zOut8.d.ts} +3 -3
- package/dist/{governmentValidationManager-CacFOtKO.esm.js → governmentValidationManager-DFDSCXQm.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-CoaZOSTP.esm.js → governmentValidationStateMachine-omXlfK8T.esm.js} +2 -2
- package/dist/home.d.ts +1 -2
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +3 -6
- package/dist/id-selfie-flow.esm.js +12 -18
- package/dist/id-verification.d.ts +1 -1
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureDefaults-C-bNT6MA.esm.js → idCaptureDefaults-xEiwNnJb.esm.js} +1 -1
- package/dist/{idCaptureManager-BgVf45xY.d.ts → idCaptureManager-BwgZAxRm.d.ts} +3 -4
- package/dist/{idCaptureManager-CwtliJCr.esm.js → idCaptureManager-D0BSTW78.esm.js} +5 -4
- package/dist/{idCaptureServices-DOe_XBQy.esm.js → idCaptureServices-Cc9dAje5.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-DHZhaafP.esm.js → idCaptureStateMachine-B_MV5hwQ.esm.js} +12 -12
- package/dist/{idOcrManager-r46XfZGE.esm.js → idOcrManager-B_Au6v1F.esm.js} +2 -2
- package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-DT3kPIB3.d.ts} +2 -3
- package/dist/{idOcrStateMachine-ClDEP-VI.esm.js → idOcrStateMachine-IMYjWyxu.esm.js} +2 -2
- package/dist/{idVerificationManager-BB4Pj_N6.d.ts → idVerificationManager-BJapZfpy.d.ts} +2 -3
- package/dist/{idVerificationManager-DT42c77H.esm.js → idVerificationManager-D50nxSs8.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DbDVIh9t.esm.js → idVerificationStateMachine-lk1KYt0f.esm.js} +2 -2
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-yG3acUrQ.esm.js → identityReuseManager-DH54NShz.esm.js} +2 -2
- package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-x2QG6QAm.d.ts} +6 -7
- package/dist/{identityReuseStateMachine-BhAkuIra.esm.js → identityReuseStateMachine-DuLuS6c6.esm.js} +2 -2
- package/dist/{index-BHdnv8PF.d.ts → index-1E8g-2g7.d.ts} +1 -1
- package/dist/index-DpTj5PFb.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-7dI0D08q.esm.js → mandatoryConsentManager-B7JKR6jj.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-DSU2J7Ug.d.ts → mandatoryConsentManager-BF3b2SF-.d.ts} +6 -7
- package/dist/{mandatoryConsentStateMachine-DC5Mo6M1.esm.js → mandatoryConsentStateMachine-BqPF4Qma.esm.js} +2 -2
- package/dist/personhood.d.ts +2 -3
- package/dist/personhood.esm.js +6 -6
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BBU8Lq0O.d.ts → phoneManager-DNzWb7_d.d.ts} +2 -2
- package/dist/{phoneManager-IjhSv5XS.esm.js → phoneManager-tPB-SJvp.esm.js} +2 -2
- package/dist/{phoneStateMachine-CXdXufKg.esm.js → phoneStateMachine-BpZ2PF2U.esm.js} +2 -2
- package/dist/qe-signature.d.ts +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BD2PvT5B.d.ts → redirectToMobileManager-CVsvpVbQ.d.ts} +2 -2
- package/dist/{redirectToMobileManager-FLEWJtv8.esm.js → redirectToMobileManager-Cr7n1jvL.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-CSWWgUTO.esm.js → redirectToMobileStateMachine-BwDBkdiB.esm.js} +2 -2
- package/dist/{runChildModule-DOV3ARTI.esm.js → runChildModule-DFrHhIOf.esm.js} +3 -3
- package/dist/{sdkVersion-CPkjTL2U.esm.js → sdkVersion-CGtBew6S.esm.js} +1 -1
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-DsEklSXc.d.ts → selfieManager-CDEI-0sG.d.ts} +2 -2
- package/dist/{selfieManager-BozYfK8n.esm.js → selfieManager-xOnYn9Kh.esm.js} +4 -4
- package/dist/{selfieStateMachine-uSVm8cHh.esm.js → selfieStateMachine-Dst1j5n7.esm.js} +5 -5
- package/dist/{session-XuMtebUT.esm.js → session-4iGRWUPa.esm.js} +3 -3
- package/dist/session.d.ts +13 -1
- package/dist/session.esm.js +30 -5
- package/dist/{sessionInitializer-CxslYjCM.esm.js → sessionInitializer-DD-4kCmY.esm.js} +3 -3
- package/dist/{setup-DXjGFP1e.esm.js → setup-BBtOhlKO.esm.js} +4 -4
- package/dist/signature.d.ts +1 -1
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-B72np4ZO.esm.js → signatureManager-BEhnPTe8.esm.js} +2 -2
- package/dist/{signatureManager-DGBSWz2_.d.ts → signatureManager-BpVt_Jv7.d.ts} +2 -2
- package/dist/{signatureStateMachine-ce_XMA3l.esm.js → signatureStateMachine-B5SZlQeG.esm.js} +2 -2
- package/dist/{trueSightService-CXrM6PLI.esm.js → trueSightService-BZAA9LEW.esm.js} +23 -31
- package/dist/trust-graph.d.ts +1 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BfgmV7s7.d.ts → types-BQA7lRDV.d.ts} +1 -1
- package/dist/video-selfie.d.ts +3 -6
- package/dist/video-selfie.esm.js +10 -16
- package/dist/{videoSelfieCameraWarmer-BN3ZYWGA.esm.js → videoSelfieCameraWarmer-DwQUCQez.esm.js} +3 -3
- package/dist/{videoSelfieFlowModuleMachine-BUe2uACW.esm.js → videoSelfieFlowModuleMachine-DQTlyw98.esm.js} +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CsnJnG-C.d.ts → watchlistForBusinessManager-B3GDPZrr.d.ts} +2 -2
- package/dist/{watchlistForBusinessManager-CIMkpEhu.esm.js → watchlistForBusinessManager-CwMC60YS.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-CJ-MvUre.esm.js → watchlistForBusinessStateMachine-Ctw74iP3.esm.js} +2 -2
- package/dist/{watchlistManager-CixcLNDT.esm.js → watchlistManager-Cg8pCUZL.esm.js} +2 -2
- package/dist/{watchlistManager-DLXef90v.d.ts → watchlistManager-DJQOd8Pw.d.ts} +2 -2
- package/dist/{watchlistStateMachine-CBqk2w-h.esm.js → watchlistStateMachine-BLTC8Bur.esm.js} +2 -2
- package/dist/workflow.d.ts +7 -8
- package/dist/workflow.esm.js +36 -36
- package/dist/{xstate-actors.esm-BXeQ-Ucz.esm.js → xstate-actors.esm-Ccyzgxj1.esm.js} +1 -1
- package/dist/{xstate.esm-BuFLFuzz.esm.js → xstate.esm-Bg3FuvIs.esm.js} +15 -8
- package/package.json +3 -3
- package/dist/Actor-iTq7YY48.d.ts +0 -1
- package/dist/StateMachine-EDpYWy0i.d.ts +0 -6
- package/dist/index-B8weJxmL.d.ts +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, d as DoneActorEvent, f as ErrorActorEvent, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./Actor-iTq7YY48.js";
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
5
4
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
6
5
|
import { a as DocumentCaptureErrorCode, c as DocumentType, i as DocumentCaptureContext, l as DocumentUploadResponse, o as DocumentCaptureInput, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, t as CapturedDocument, u as FinalizeDocumentResponse } from "./types-BjSly8cp.js";
|
|
7
6
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
@@ -256,6 +255,9 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
256
255
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
256
|
readonly id: "documentCapture";
|
|
258
257
|
readonly initial: "tutorial";
|
|
258
|
+
readonly on: {
|
|
259
|
+
readonly CLOSE: ".closed";
|
|
260
|
+
};
|
|
259
261
|
readonly context: ({ input }: {
|
|
260
262
|
spawn: {
|
|
261
263
|
<TSrc extends "uploadDocument" | "requestPermission" | "checkPermission" | "initCamera" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
@@ -550,9 +552,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
550
552
|
readonly target: "finished";
|
|
551
553
|
readonly guard: "allowSkip";
|
|
552
554
|
};
|
|
553
|
-
readonly CLOSE: {
|
|
554
|
-
readonly target: "closed";
|
|
555
|
-
};
|
|
556
555
|
};
|
|
557
556
|
};
|
|
558
557
|
readonly permissions: {
|
|
@@ -1461,11 +1460,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1461
1460
|
}>, never, never, never, never>;
|
|
1462
1461
|
};
|
|
1463
1462
|
};
|
|
1464
|
-
readonly on: {
|
|
1465
|
-
readonly CLOSE: {
|
|
1466
|
-
readonly target: "closed";
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
1463
|
};
|
|
1470
1464
|
readonly initCamera: {
|
|
1471
1465
|
readonly invoke: {
|
|
@@ -1481,11 +1475,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1481
1475
|
readonly actions: "setUploadError";
|
|
1482
1476
|
};
|
|
1483
1477
|
};
|
|
1484
|
-
readonly on: {
|
|
1485
|
-
readonly CLOSE: {
|
|
1486
|
-
readonly target: "closed";
|
|
1487
|
-
};
|
|
1488
|
-
};
|
|
1489
1478
|
};
|
|
1490
1479
|
readonly capturing: {
|
|
1491
1480
|
readonly on: {
|
|
@@ -1507,10 +1496,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1507
1496
|
readonly target: "capturing";
|
|
1508
1497
|
readonly actions: "setFileTooLargeError";
|
|
1509
1498
|
}];
|
|
1510
|
-
readonly CLOSE: {
|
|
1511
|
-
readonly target: "closed";
|
|
1512
|
-
readonly actions: "stopStream";
|
|
1513
|
-
};
|
|
1514
1499
|
};
|
|
1515
1500
|
};
|
|
1516
1501
|
readonly preview: {
|
|
@@ -1531,10 +1516,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1531
1516
|
readonly target: "capturing";
|
|
1532
1517
|
readonly actions: "clearCapturedDocument";
|
|
1533
1518
|
}];
|
|
1534
|
-
readonly CLOSE: {
|
|
1535
|
-
readonly target: "closed";
|
|
1536
|
-
readonly actions: "stopStream";
|
|
1537
|
-
};
|
|
1538
1519
|
};
|
|
1539
1520
|
};
|
|
1540
1521
|
readonly uploading: {
|
|
@@ -1714,9 +1695,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1714
1695
|
}, {
|
|
1715
1696
|
readonly target: "finished";
|
|
1716
1697
|
}];
|
|
1717
|
-
readonly CLOSE: {
|
|
1718
|
-
readonly target: "closed";
|
|
1719
|
-
};
|
|
1720
1698
|
};
|
|
1721
1699
|
};
|
|
1722
1700
|
readonly nextPage: {
|
|
@@ -1735,9 +1713,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1735
1713
|
}, {
|
|
1736
1714
|
readonly target: "finished";
|
|
1737
1715
|
}];
|
|
1738
|
-
readonly CLOSE: {
|
|
1739
|
-
readonly target: "closed";
|
|
1740
|
-
};
|
|
1741
1716
|
};
|
|
1742
1717
|
};
|
|
1743
1718
|
readonly finalizing: {
|
|
@@ -1909,9 +1884,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1909
1884
|
readonly target: "finished";
|
|
1910
1885
|
readonly guard: "attemptsExhausted";
|
|
1911
1886
|
};
|
|
1912
|
-
readonly CLOSE: {
|
|
1913
|
-
readonly target: "closed";
|
|
1914
|
-
};
|
|
1915
1887
|
};
|
|
1916
1888
|
};
|
|
1917
1889
|
readonly finished: {
|
|
@@ -1919,6 +1891,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1919
1891
|
};
|
|
1920
1892
|
readonly closed: {
|
|
1921
1893
|
readonly type: "final";
|
|
1894
|
+
readonly entry: "stopStream";
|
|
1922
1895
|
};
|
|
1923
1896
|
};
|
|
1924
1897
|
}>;
|
package/dist/{documentCaptureManager-C1X6WFGI.esm.js → documentCaptureManager-IvBHBN0k.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C8IXUEKw.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -269,10 +269,12 @@ function getDocumentCaptureErrorPayload(snapshot) {
|
|
|
269
269
|
return { errorCode };
|
|
270
270
|
}
|
|
271
271
|
function createDocumentCaptureManager(options) {
|
|
272
|
+
const actor = createDocumentCaptureActor(options);
|
|
272
273
|
return createManager({
|
|
273
|
-
actor
|
|
274
|
+
actor,
|
|
274
275
|
mapState,
|
|
275
276
|
createApi,
|
|
277
|
+
beforeStop: () => actor.send({ type: "CLOSE" }),
|
|
276
278
|
instrumentation: createManagerInstrumentation(eventModuleNames.document, {
|
|
277
279
|
getEventScreenName: getDocumentCaptureScreenName,
|
|
278
280
|
getErrorPayload: getDocumentCaptureErrorPayload
|
|
@@ -289,6 +291,7 @@ function createDocumentCaptureManagerFromActor(actor) {
|
|
|
289
291
|
actor,
|
|
290
292
|
mapState,
|
|
291
293
|
createApi,
|
|
294
|
+
beforeStop: () => actor.send({ type: "CLOSE" }),
|
|
292
295
|
instrumentation: createManagerInstrumentation(eventModuleNames.document, { getErrorPayload: getDocumentCaptureErrorPayload })
|
|
293
296
|
});
|
|
294
297
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
5
5
|
import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
|
|
6
6
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-C8DqhjX7.esm.js";
|
|
7
7
|
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-3_AT5BY5.esm.js";
|
|
@@ -207,6 +207,7 @@ const documentCaptureMachine = setup({
|
|
|
207
207
|
}).createMachine({
|
|
208
208
|
id: "documentCapture",
|
|
209
209
|
initial: "tutorial",
|
|
210
|
+
on: { CLOSE: ".closed" },
|
|
210
211
|
context: ({ input }) => {
|
|
211
212
|
const { processingType = "addressStatement", captureMode, allowSkipDocumentCapture, disableSkipPoa, captureAttempts = 3, sendBase64 = false, maxFileSize = DEFAULT_MAX_FILE_SIZE, onlyPdf = false, title, text, step2Title, step2Text } = input.config;
|
|
212
213
|
return {
|
|
@@ -266,8 +267,7 @@ const documentCaptureMachine = setup({
|
|
|
266
267
|
SKIP: {
|
|
267
268
|
target: "finished",
|
|
268
269
|
guard: "allowSkip"
|
|
269
|
-
}
|
|
270
|
-
CLOSE: { target: "closed" }
|
|
270
|
+
}
|
|
271
271
|
} },
|
|
272
272
|
permissions: {
|
|
273
273
|
initial: "idle",
|
|
@@ -336,25 +336,21 @@ const documentCaptureMachine = setup({
|
|
|
336
336
|
onError: { target: "denied" }
|
|
337
337
|
} },
|
|
338
338
|
denied: { entry: assign({ permissionResult: () => "refresh" }) }
|
|
339
|
-
}
|
|
340
|
-
on: { CLOSE: { target: "closed" } }
|
|
339
|
+
}
|
|
341
340
|
},
|
|
342
|
-
initCamera: {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
actions: "setStream"
|
|
350
|
-
},
|
|
351
|
-
onError: {
|
|
352
|
-
target: "failure",
|
|
353
|
-
actions: "setUploadError"
|
|
354
|
-
}
|
|
341
|
+
initCamera: { invoke: {
|
|
342
|
+
id: "initCamera",
|
|
343
|
+
src: "initCamera",
|
|
344
|
+
input: void 0,
|
|
345
|
+
onDone: {
|
|
346
|
+
target: "capturing",
|
|
347
|
+
actions: "setStream"
|
|
355
348
|
},
|
|
356
|
-
|
|
357
|
-
|
|
349
|
+
onError: {
|
|
350
|
+
target: "failure",
|
|
351
|
+
actions: "setUploadError"
|
|
352
|
+
}
|
|
353
|
+
} },
|
|
358
354
|
capturing: { on: {
|
|
359
355
|
OPEN_HELP: { actions: "openHelp" },
|
|
360
356
|
CLOSE_HELP: { actions: "closeHelp" },
|
|
@@ -377,11 +373,7 @@ const documentCaptureMachine = setup({
|
|
|
377
373
|
target: "capturing",
|
|
378
374
|
actions: "setFileTooLargeError"
|
|
379
375
|
}
|
|
380
|
-
]
|
|
381
|
-
CLOSE: {
|
|
382
|
-
target: "closed",
|
|
383
|
-
actions: "stopStream"
|
|
384
|
-
}
|
|
376
|
+
]
|
|
385
377
|
} },
|
|
386
378
|
preview: { on: {
|
|
387
379
|
ACCEPT: {
|
|
@@ -403,11 +395,7 @@ const documentCaptureMachine = setup({
|
|
|
403
395
|
target: "capturing",
|
|
404
396
|
actions: "clearCapturedDocument"
|
|
405
397
|
}
|
|
406
|
-
]
|
|
407
|
-
CLOSE: {
|
|
408
|
-
target: "closed",
|
|
409
|
-
actions: "stopStream"
|
|
410
|
-
}
|
|
398
|
+
]
|
|
411
399
|
} },
|
|
412
400
|
uploading: {
|
|
413
401
|
invoke: {
|
|
@@ -441,20 +429,17 @@ const documentCaptureMachine = setup({
|
|
|
441
429
|
},
|
|
442
430
|
on: { UPLOAD_PROGRESS: { actions: "setProgress" } }
|
|
443
431
|
},
|
|
444
|
-
success: { on: {
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
],
|
|
456
|
-
CLOSE: { target: "closed" }
|
|
457
|
-
} },
|
|
432
|
+
success: { on: { CONTINUE: [
|
|
433
|
+
{
|
|
434
|
+
target: "nextPage",
|
|
435
|
+
guard: "isNextPageOptional"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
target: "nextPage",
|
|
439
|
+
guard: "isNextPageRequired"
|
|
440
|
+
},
|
|
441
|
+
{ target: "finished" }
|
|
442
|
+
] } },
|
|
458
443
|
nextPage: { on: {
|
|
459
444
|
NEXT_PAGE_CAMERA: {
|
|
460
445
|
target: "permissions",
|
|
@@ -467,8 +452,7 @@ const documentCaptureMachine = setup({
|
|
|
467
452
|
ALL_PAGES_CAPTURED: [{
|
|
468
453
|
target: "finalizing",
|
|
469
454
|
guard: "canFinalizeOptionalPages"
|
|
470
|
-
}, { target: "finished" }]
|
|
471
|
-
CLOSE: { target: "closed" }
|
|
455
|
+
}, { target: "finished" }]
|
|
472
456
|
} },
|
|
473
457
|
finalizing: { invoke: {
|
|
474
458
|
id: "finalizeDocument",
|
|
@@ -493,11 +477,13 @@ const documentCaptureMachine = setup({
|
|
|
493
477
|
CONTINUE: {
|
|
494
478
|
target: "finished",
|
|
495
479
|
guard: "attemptsExhausted"
|
|
496
|
-
}
|
|
497
|
-
CLOSE: { target: "closed" }
|
|
480
|
+
}
|
|
498
481
|
} },
|
|
499
482
|
finished: { type: "final" },
|
|
500
|
-
closed: {
|
|
483
|
+
closed: {
|
|
484
|
+
type: "final",
|
|
485
|
+
entry: "stopStream"
|
|
486
|
+
}
|
|
501
487
|
}
|
|
502
488
|
});
|
|
503
489
|
//#endregion
|
package/dist/dynamic-forms.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as Screen, n as InputType, r as Question, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
2
|
-
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-
|
|
2
|
+
import { c as DynamicFormsValidationErrors, n as DynamicFormsState, o as DynamicFormsResult, r as createDynamicFormsManager, s as dynamicFormsMachine, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
|
|
3
3
|
export { type DynamicFormsConfig, type DynamicFormsManager, type DynamicFormsResult, type DynamicFormsState, type DynamicFormsValidationErrors, type InputType, type Question, type Screen, createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -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-BWIlH8Sr.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-BTAEcg_n.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { i as Screen, t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsFields.d.ts
|
|
6
6
|
/** Map of `questionId` → currently-displayed i18n error key. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BWIlH8Sr.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-D8JnxUoX.esm.js → dynamicFormsStateMachine-BWIlH8Sr.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-
|
|
4
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CLCzNxSY.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsFields.ts
|
|
8
8
|
function getEffectiveType(question) {
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./Manager-C9T5amUN.js";
|
|
2
2
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
3
3
|
import { i as FlowModuleConfig } from "./types-COFO2tJb.js";
|
|
4
4
|
import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
|
|
5
|
-
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-
|
|
5
|
+
import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BYrK7YlF.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-D96CjPrj.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-hWwmksNZ.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-DFpWzY0Y.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { c as AddressSuggestion } from "./types-Bk_6dmDa.js";
|
|
5
5
|
import { i as EkybFormValues, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BfHiko5D.js";
|
|
6
6
|
//#region src/modules/ekyb/ekybStateMachine.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-hWwmksNZ.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
|
-
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices
|
|
4
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
6
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
3
|
+
import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-D96CjPrj.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-Dnwc7dMx.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
8
8
|
function cleanCnpjString(cnpj) {
|
|
9
9
|
return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as EkycValidationError, c as AddressSuggestion, i as EkycModuleConfig, o as EkycValidationErrors, t as EkycConfig } from "./types-Bk_6dmDa.js";
|
|
2
|
-
import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-
|
|
2
|
+
import { n as EkycState, o as ekycMachine, r as createEkycManager, t as EkycManager } from "./ekycManager-BeXat860.js";
|
|
3
3
|
//#region src/modules/ekyc/ekycUtils.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Normalizes any supported eKYC config input into a manager-ready `EkycConfig`.
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-BjNeL6ce.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-DoGZkFZQ.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { c as AddressSuggestion, n as EkycFieldDef, o as EkycValidationErrors, r as EkycFormValues, t as EkycConfig } from "./types-Bk_6dmDa.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycStateMachine.d.ts
|
|
6
6
|
declare const ekycMachine: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-BjNeL6ce.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
3
3
|
import { a as ADDRESS_STATE_SOURCES, c as EMAIL_SOURCES, d as NAME_SOURCES, f as POSTAL_CODE_SOURCES, h as TAX_ID_SOURCES, i as toEkycConfig, l as HOUSE_NO_SOURCES, m as STREET_SOURCES, n as getEKYCFields, o as CITY_SOURCES, p as STATE_CODE_HINTS, r as isFieldOptional, s as COUNTRY_SELECTOR_DISABLED_SOURCES, t as getEKYCCountry, u as MIDDLE_NAME_SOURCES } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
4
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
6
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-Dnwc7dMx.esm.js";
|
|
7
7
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
8
8
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
9
9
|
var metadata_min_json_default = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, f as NAMIRIAL_QES_CONSENT_KEYS, g as QeConsentKey, h as QE_CONSENT_KEYS, i as ConsentKey, m as NamirialQesConsentKey, n as AeConsentKey, p as NAMIRIAL_QES_PROVIDER_CODE, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS, u as ElectronicSignatureProviderTerms, x as getConsentKeys } from "./types-D0gekt4U.js";
|
|
2
|
-
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-
|
|
2
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-DTSLOvKR.js";
|
|
3
3
|
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureActor, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureProviderTerms, type ElectronicSignatureState, type ElectronicSignatureVariant, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, type NamirialQesConsentKey, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -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-zCSDAIma.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 };
|
package/dist/{electronicSignatureManager-Ds-KEVTq.d.ts → electronicSignatureManager-DTSLOvKR.d.ts}
RENAMED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, d as DoneActorEvent, f as ErrorActorEvent, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./Actor-iTq7YY48.js";
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
5
4
|
import { _ as QesTermsResponse, a as ElectronicSignatureConfig, c as ElectronicSignatureFileDataHolder, d as ElectronicSignatureVariant, i as ConsentKey, l as ElectronicSignatureInput, o as ElectronicSignatureContext, r as ConsentChecks, s as ElectronicSignatureDocument, u as ElectronicSignatureProviderTerms, v as SignedDocument, y as UnsignedDocsResponse } from "./types-D0gekt4U.js";
|
|
6
5
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
|
|
7
6
|
declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContext, {
|
|
@@ -2,10 +2,10 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
5
|
-
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-
|
|
7
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
8
|
-
import { t as externalFetch } from "./externalFetch-
|
|
5
|
+
import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-CLCzNxSY.esm.js";
|
|
6
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
7
|
+
import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
8
|
+
import { t as externalFetch } from "./externalFetch-CEp51O83.esm.js";
|
|
9
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
10
10
|
async function fetchUnsignedDocuments(signal) {
|
|
11
11
|
try {
|
package/dist/email.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-
|
|
1
|
+
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-Dy6omJVp.js";
|
|
2
2
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
-
import { t as createEmailManager } from "./emailManager-
|
|
1
|
+
import { t as emailMachine } from "./emailStateMachine-D7czACc4.esm.js";
|
|
2
|
+
import { t as createEmailManager } from "./emailManager-CTNtCZJI.esm.js";
|
|
3
3
|
export { createEmailManager, emailMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
|
|
2
|
-
import { s as createActor, u as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as emailMachine } from "./emailStateMachine-
|
|
2
|
+
import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
3
|
+
import { t as emailMachine } from "./emailStateMachine-D7czACc4.esm.js";
|
|
4
4
|
//#region src/modules/email/emailActor.ts
|
|
5
5
|
function createEmailActor(options) {
|
|
6
6
|
return createActor(emailMachine, { input: { config: options.config } }).start();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./Actor-
|
|
2
|
+
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
|
+
import "./Actor-DpTj5PFb.js";
|
|
4
4
|
import { t as OtpValidationErrors } from "./otp-CEWfTj9v.js";
|
|
5
5
|
//#region src/modules/email/types.d.ts
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
|
|
4
|
-
import { i as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
|
|
6
6
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
package/dist/events.d.ts
CHANGED