@incodetech/core 0.0.0-dev-20260528-e63e949b → 0.0.0-dev-20260529-392f1ccc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OpenViduRecordingProvider-DIxtwgBG.esm.js → OpenViduRecordingProvider-dfIfvJdz.esm.js} +1 -1
- package/dist/StateMachine-Nl-Jtl1w.d.ts +2 -0
- package/dist/ae-signature.d.ts +3 -3
- package/dist/antifraud.d.ts +5 -46
- package/dist/antifraud.esm.js +4 -41
- package/dist/antifraudManager-C-_he11c.d.ts +63 -0
- package/dist/antifraudManager-DaUfoGLZ.esm.js +55 -0
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +14 -14
- package/dist/{authenticationManager-BCsIiOKP.d.ts → authenticationManager-BCa2KJ3W.d.ts} +2 -2
- package/dist/{authenticationManager-D-GBF4AL.esm.js → authenticationManager-BjpnO88T.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DQ5lhFHa.esm.js → authenticationStateMachine-CB_FVKRQ.esm.js} +3 -3
- package/dist/{backCameraStream-BX6CRqIA.esm.js → backCameraStream-sqXIvxpl.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +54 -54
- package/dist/consent.esm.js +1 -1
- package/dist/cpf-ocr.d.ts +21 -21
- package/dist/cpf-ocr.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/curp-validation.d.ts +6 -6
- package/dist/curp-validation.esm.js +1 -1
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-BoDdkLc0.esm.js → deepsightLoader-D2ZhUfMt.esm.js} +4 -4
- package/dist/{deepsightService-DY9BYuEQ.esm.js → deepsightService-BxIcYEvD.esm.js} +2 -2
- package/dist/{deepsightService-C0keQ-h6.d.ts → deepsightService-X2FAWn_3.d.ts} +2 -2
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +80 -80
- package/dist/document-capture.esm.js +4 -4
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureStateMachine-BexpI_wB.esm.js → documentCaptureStateMachine-dyL-UmQE.esm.js} +2 -2
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +1 -1
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-C5ltktXS.esm.js → ekybStateMachine-DCO9z-Xu.esm.js} +2 -2
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-DNCCUEb5.esm.js → ekycStateMachine-p7gsAtZl.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-B-E4rOjR.d.ts → emailManager-BAWgEfYH.d.ts} +3 -3
- package/dist/{emailManager-BMzZmJwd.esm.js → emailManager-IHCJvZiz.esm.js} +1 -1
- package/dist/extensibility.d.ts +19 -17
- package/dist/extensibility.esm.js +30 -26
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-QYq_vNnX.d.ts → faceCaptureManagerFactory-BNTr8hCe.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-qY6w1odA.esm.js → faceCaptureManagerFactory-qc68qvPB.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DVdxJdeK.esm.js → faceCaptureSetup-CCmBB4Yj.esm.js} +2 -2
- package/dist/field-comparison.d.ts +2 -2
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +5 -5
- package/dist/{flowServices-COymzUKZ.esm.js → flowServices-C4Wv-MqY.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +1 -1
- package/dist/{getDeviceClass-CQITWgsp.esm.js → getDeviceClass-cJ-TvND7.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.d.ts +15 -15
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +11 -11
- package/dist/id.esm.js +15 -15
- package/dist/{idCaptureManager-nxl5oVU4.esm.js → idCaptureManager-BppI7ytL.esm.js} +3 -3
- package/dist/{idCaptureManager-DWS1KkOC.d.ts → idCaptureManager-wjb9Go10.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-DgFRxPVY.esm.js → idCaptureStateMachine-BCcXLFG4.esm.js} +9 -9
- package/dist/{idOcrStateMachine-CkQ20i5m.esm.js → idOcrStateMachine-CKlLOgNU.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +3 -427
- package/dist/identity-reuse.esm.js +4 -93
- package/dist/identityReuseManager-B5q1zo2F.d.ts +428 -0
- package/dist/identityReuseManager-cG0dhENk.esm.js +95 -0
- package/dist/{index-DJ3x-352.d.ts → index-Br8xpKVm.d.ts} +127 -127
- package/dist/{index-EwOt-Z6h.d.ts → index-Dc_XoGha.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +58 -58
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{openviduLazy-DGTRNmgt.esm.js → openviduLazy-CgN_e8V6.esm.js} +1 -1
- package/dist/openviduLazy-_lSYT11z.esm.js +3 -0
- package/dist/{permissionServices-W8BBXqr9.esm.js → permissionServices-CYSReeaA.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BaD4_vew.esm.js → phoneManager-CJLJidX1.esm.js} +1 -1
- package/dist/{phoneManager-DOqnuxiZ.d.ts → phoneManager-loG1R4et.d.ts} +3 -3
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-BHgwOJ_m.esm.js → recordingService-5juvEHjh.esm.js} +10 -10
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +15 -15
- package/dist/{selfieManager-xtGHqMAC.esm.js → selfieManager-DHxLF4ja.esm.js} +3 -3
- package/dist/{selfieManager-xGj-77Nm.d.ts → selfieManager-DWDfY17n.d.ts} +2 -2
- package/dist/{selfieStateMachine-8EcLSe0G.esm.js → selfieStateMachine-DoXEHqqT.esm.js} +2 -2
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +3 -3
- package/dist/{sessionInitializer-M0Y3g4Eo.esm.js → sessionInitializer-DJlxi8yz.esm.js} +1 -1
- package/dist/{setup-DvAreQVf.esm.js → setup-ClxLhQZQ.esm.js} +1 -1
- package/dist/{setup-BxbaIs-k.d.ts → setup-D8yN1pvy.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/trust-graph.d.ts +1 -1
- package/dist/{types-CU1g8keq.d.ts → types-B-YHRn8Q.d.ts} +1 -1
- package/dist/{types-Csl38fHI.d.ts → types-D4ZTL8-s.d.ts} +1 -1
- package/dist/{types-DFW7rqck.d.ts → types-f4D2sn3g.d.ts} +2 -2
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +96 -96
- package/dist/workflow.esm.js +40 -40
- package/package.json +3 -3
- package/dist/StateMachine-DhTgreIF.d.ts +0 -2
- package/dist/openviduLazy-LuOtGg6Y.esm.js +0 -3
- /package/dist/{Actor-C8MYPMPo.d.ts → Actor-LDyqfWZV.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-Dgem4aW-.esm.js → BrowserStorageProvider-BrJver0U.esm.js} +0 -0
- /package/dist/{ITimerCapability-Bs6czuIv.esm.js → ITimerCapability-gIlcIrAX.esm.js} +0 -0
- /package/dist/{Manager-1C7epU1z.d.ts → Manager-Li1pXOFC.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BBuuAwD1.esm.js → MotionSensorProvider-DAFArfKO.esm.js} +0 -0
- /package/dist/{addressSearch-CibChdCl.esm.js → addressSearch-BmANIaSq.esm.js} +0 -0
- /package/dist/{camera-CNP8dDBl.d.ts → camera-BgyHeDdc.d.ts} +0 -0
- /package/dist/{camera-CIJDNUuJ.esm.js → camera-P7dse339.esm.js} +0 -0
- /package/dist/{consentStateMachine-O92z9rto.esm.js → consentStateMachine-DKLONjEH.esm.js} +0 -0
- /package/dist/{cpf-Br2axAnk.esm.js → cpf-Wwu9VLfA.esm.js} +0 -0
- /package/dist/{curpValidationStateMachine-BuUxLtXm.esm.js → curpValidationStateMachine-DRa9npZV.esm.js} +0 -0
- /package/dist/{customWatchlistStateMachine-B6lfBuUE.esm.js → customWatchlistStateMachine-I3gP0TDW.esm.js} +0 -0
- /package/dist/{dateUtils-BMYnARx4.esm.js → dateUtils-iJujdoEB.esm.js} +0 -0
- /package/dist/{emailStateMachine-Bd8iLNfU.esm.js → emailStateMachine-BE-VaJp3.esm.js} +0 -0
- /package/dist/{faceMatchStateMachine-Z_QDTsIx.esm.js → faceMatchStateMachine-Bd4mRtgq.esm.js} +0 -0
- /package/dist/{flowCompletionService-B3C-J9a1.d.ts → flowCompletionService-7NEI1i7g.d.ts} +0 -0
- /package/dist/{flowCompletionService-CWFG9510.esm.js → flowCompletionService-Cshgj0gV.esm.js} +0 -0
- /package/dist/{geolocationStateMachine-q4Lqg2Uf.esm.js → geolocationStateMachine-DW_g556o.esm.js} +0 -0
- /package/dist/{getDeviceClass-DE2GMvvh.esm.js → getDeviceClass-C5yT6K2e.esm.js} +0 -0
- /package/dist/{governmentValidationStateMachine-Dk_cmeHf.esm.js → governmentValidationStateMachine-Bhfg7-kH.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-CbthaJN7.esm.js → idVerificationStateMachine-BicmjAoY.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-DUCOpe0t.esm.js → identityReuseStateMachine-BmBxUiRQ.esm.js} +0 -0
- /package/dist/{invokeOnCaptureCallback-D_EWxqSU.esm.js → invokeOnCaptureCallback-CH7T3THr.esm.js} +0 -0
- /package/dist/{lib-DtY8aw1R.esm.js → lib-WqARpotm.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-9QVdu5y9.esm.js → mandatoryConsentStateMachine-Bu2GwgIo.esm.js} +0 -0
- /package/dist/{phoneStateMachine-BntOEKN1.esm.js → phoneStateMachine-B3a-RKHn.esm.js} +0 -0
- /package/dist/{qe-signature-BFRMDOsL.esm.js → qe-signature-CYSZszZ7.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-CWCq02ea.esm.js → redirectToMobileStateMachine-C5-FB896.esm.js} +0 -0
- /package/dist/{runChildModule-DXnCvv9l.esm.js → runChildModule-D3uaw05g.esm.js} +0 -0
- /package/dist/{session-U3dA33EZ.esm.js → session-CKUCSZHC.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CCXjDQVG.esm.js → signatureStateMachine-D7aDVITq.esm.js} +0 -0
- /package/dist/{types-CalxunYf.d.ts → types-B9hcs5GV.d.ts} +0 -0
- /package/dist/{types-BR5zXpWs.d.ts → types-CA1a_172.d.ts} +0 -0
- /package/dist/{warmup-_dDHpp72.d.ts → warmup-BXBDbhKe.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-DnFUKl_E.esm.js → watchlistForBusinessStateMachine-DgH3Zlv2.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-B1KRHF9x.esm.js → watchlistStateMachine-DfipYi32.esm.js} +0 -0
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./flowCompletionService-
|
|
6
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import "./camera-BgyHeDdc.js";
|
|
2
|
+
import "./types-D4ZTL8-s.js";
|
|
3
|
+
import "./types-CA1a_172.js";
|
|
4
|
+
import "./types-f4D2sn3g.js";
|
|
5
|
+
import "./flowCompletionService-7NEI1i7g.js";
|
|
6
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-Dc_XoGha.js";
|
|
7
7
|
export { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
8
|
-
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-
|
|
9
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
10
|
-
import { n as ModuleRegistry } from "./types-
|
|
11
|
-
import * as
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-BXBDbhKe.js";
|
|
2
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
3
|
+
import { t as AnyStateMachine } from "./StateMachine-Nl-Jtl1w.js";
|
|
4
|
+
import "./camera-BgyHeDdc.js";
|
|
5
|
+
import "./types-D4ZTL8-s.js";
|
|
6
|
+
import "./types-CA1a_172.js";
|
|
7
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-f4D2sn3g.js";
|
|
8
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-7NEI1i7g.js";
|
|
9
|
+
import { o as FlowEventSubscribable } from "./index-Dc_XoGha.js";
|
|
10
|
+
import { n as ModuleRegistry } from "./types-B-YHRn8Q.js";
|
|
11
|
+
import * as xstate930 from "xstate";
|
|
12
12
|
|
|
13
13
|
//#region src/modules/flow/flowUtils.d.ts
|
|
14
14
|
type NormalizeFlowModulesOptions = {
|
|
@@ -60,7 +60,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
60
60
|
declare const getFlow: GetFlow;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
63
|
-
declare const noOpFlowModuleMachine:
|
|
63
|
+
declare const noOpFlowModuleMachine: xstate930.StateMachine<xstate930.MachineContext, xstate930.AnyEventObject, {}, never, never, never, never, "finished", string, xstate930.NonReducibleUnknown, xstate930.NonReducibleUnknown, xstate930.EventObject, xstate930.MetaObject, {
|
|
64
64
|
readonly id: "noOpFlowModule";
|
|
65
65
|
readonly initial: "finished";
|
|
66
66
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -4,15 +4,15 @@ import "./endpoints-BPHddOTi.esm.js";
|
|
|
4
4
|
import "./stats-AwLva7-C.esm.js";
|
|
5
5
|
import "./IpifyProvider-BQKB2PR-.esm.js";
|
|
6
6
|
import "./browserSimulation-DCzZRn_y.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-DJlxi8yz.esm.js";
|
|
8
8
|
import "./platform-D871crJL.esm.js";
|
|
9
9
|
import "./getBrowser-CMJJeBF8.esm.js";
|
|
10
10
|
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-CWoFJOio.esm.js";
|
|
11
11
|
import "./apiError-76Dulrw9.esm.js";
|
|
12
|
-
import "./session-
|
|
13
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
14
|
-
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
15
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
12
|
+
import "./session-CKUCSZHC.esm.js";
|
|
13
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-C4Wv-MqY.esm.js";
|
|
14
|
+
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-D3uaw05g.esm.js";
|
|
15
|
+
import { t as getFinishStatus } from "./flowCompletionService-Cshgj0gV.esm.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
18
18
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-YxPMtty2.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BPHddOTi.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-DJlxi8yz.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-76Dulrw9.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/flow/flowUtils.ts
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
2
|
+
import "./Actor-LDyqfWZV.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation } from "./even
|
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import "./platform-D871crJL.esm.js";
|
|
5
5
|
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
6
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
6
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DW_g556o.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
9
9
|
var BrowserGeolocationProvider = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
2
|
+
import "./Actor-LDyqfWZV.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/government-validation/types.d.ts
|
|
5
5
|
type GovernmentValidationConfig = {
|
|
@@ -3,7 +3,7 @@ import "./api-YxPMtty2.esm.js";
|
|
|
3
3
|
import { o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
4
4
|
import "./endpoints-BPHddOTi.esm.js";
|
|
5
5
|
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
6
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
6
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-Bhfg7-kH.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
9
9
|
function createGovernmentValidationActor(options) {
|
package/dist/home.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./types-
|
|
5
|
-
import { t as EmptyConfig } from "./types-
|
|
6
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
2
|
+
import "./camera-BgyHeDdc.js";
|
|
3
|
+
import "./types-D4ZTL8-s.js";
|
|
4
|
+
import "./types-CA1a_172.js";
|
|
5
|
+
import { t as EmptyConfig } from "./types-f4D2sn3g.js";
|
|
6
|
+
import * as xstate1290 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/home/types.d.ts
|
|
9
9
|
type HomeConfig = EmptyConfig;
|
|
@@ -35,41 +35,41 @@ type HomeContext = {
|
|
|
35
35
|
type HomeInput = {
|
|
36
36
|
config: EmptyConfig;
|
|
37
37
|
};
|
|
38
|
-
declare const homeMachine:
|
|
38
|
+
declare const homeMachine: xstate1290.StateMachine<HomeContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "COMPLETE";
|
|
42
42
|
} | {
|
|
43
43
|
type: "RESET";
|
|
44
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
44
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate1290.NonReducibleUnknown, xstate1290.EventObject, xstate1290.MetaObject, {
|
|
45
45
|
readonly id: "home";
|
|
46
46
|
readonly initial: "idle";
|
|
47
47
|
readonly context: ({
|
|
48
48
|
input
|
|
49
49
|
}: {
|
|
50
50
|
spawn: {
|
|
51
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
52
|
-
<TLogic extends
|
|
51
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate1290.ActorRefFromLogic<never>;
|
|
52
|
+
<TLogic extends xstate1290.AnyActorLogic>(src: TLogic, ...[options]: xstate1290.ConditionalRequired<[options?: ({
|
|
53
53
|
id?: never;
|
|
54
54
|
systemId?: string;
|
|
55
|
-
input?:
|
|
55
|
+
input?: xstate1290.InputFrom<TLogic> | undefined;
|
|
56
56
|
syncSnapshot?: boolean;
|
|
57
|
-
} & { [K in
|
|
57
|
+
} & { [K in xstate1290.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1290.IsNotNever<xstate1290.RequiredLogicInput<TLogic>>>): xstate1290.ActorRefFromLogic<TLogic>;
|
|
58
58
|
};
|
|
59
59
|
input: HomeInput;
|
|
60
|
-
self:
|
|
60
|
+
self: xstate1290.ActorRef<xstate1290.MachineSnapshot<HomeContext, {
|
|
61
61
|
type: "LOAD";
|
|
62
62
|
} | {
|
|
63
63
|
type: "COMPLETE";
|
|
64
64
|
} | {
|
|
65
65
|
type: "RESET";
|
|
66
|
-
}, Record<string,
|
|
66
|
+
}, Record<string, xstate1290.AnyActorRef | undefined>, xstate1290.StateValue, string, unknown, any, any>, {
|
|
67
67
|
type: "LOAD";
|
|
68
68
|
} | {
|
|
69
69
|
type: "COMPLETE";
|
|
70
70
|
} | {
|
|
71
71
|
type: "RESET";
|
|
72
|
-
},
|
|
72
|
+
}, xstate1290.AnyEventObject>;
|
|
73
73
|
}) => {
|
|
74
74
|
config: EmptyConfig;
|
|
75
75
|
};
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
2
|
+
import "./Actor-LDyqfWZV.js";
|
|
3
|
+
import * as xstate254 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate254.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate254.ActorRefFromLogic<xstate254.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate254.EventObject>> | xstate254.ActorRefFromLogic<xstate254.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate254.EventObject>> | undefined;
|
|
200
|
+
}, xstate254.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate254.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate254.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate254.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate254.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate254.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate254.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate254.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate254.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate254.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate254.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate254.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate254.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate254.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate254.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate254.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate254.NonReducibleUnknown, xstate254.EventObject, xstate254.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate254.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate254.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate254.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate254.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate254.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate254.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate254.RequiredActorOptions<T>]: unknown }) | undefined], xstate254.IsNotNever<xstate254.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate254.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate254.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate254.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate254.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate254.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate254.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate254.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate254.IsNotNever<xstate254.RequiredActorOptions<T_1>>> : never : never : never)): xstate254.ActorRefFromLogic<xstate254.GetConcreteByKey<xstate254.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate254.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate254.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate254.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate254.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate254.AnyActorLogic>(src: TLogic, ...[options]: xstate254.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate254.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate254.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate254.IsNotNever<xstate254.RequiredLogicInput<TLogic>>>): xstate254.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate254.ActorRef<xstate254.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate254.AnyActorRef | undefined>, xstate254.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate254.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate254.ActorRef<xstate254.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate254.AnyActorRef>, xstate254.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate254.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate254.ActorRef<xstate254.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate254.AnyActorRef>, xstate254.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate1234.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate254.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import "./cpf-
|
|
6
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
5
|
+
import "./cpf-Wwu9VLfA.esm.js";
|
|
6
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-CKlLOgNU.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
9
9
|
function createIdOcrActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-Li1pXOFC.js";
|
|
2
|
+
import "./Actor-LDyqfWZV.js";
|
|
3
|
+
import * as xstate215 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-verification/types.d.ts
|
|
6
6
|
type IdVerificationConfig = {
|
|
@@ -32,26 +32,26 @@ type IdVerificationContext = {
|
|
|
32
32
|
type IdVerificationInput = {
|
|
33
33
|
config: IdVerificationConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const idVerificationMachine:
|
|
35
|
+
declare const idVerificationMachine: xstate215.StateMachine<IdVerificationContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "CONTINUE";
|
|
39
39
|
}, {
|
|
40
|
-
[x: string]:
|
|
40
|
+
[x: string]: xstate215.ActorRefFromLogic<xstate215.PromiseActorLogic<ProcessIdResponse, {
|
|
41
41
|
isSecondId: boolean;
|
|
42
42
|
queueName: string;
|
|
43
|
-
},
|
|
43
|
+
}, xstate215.EventObject>> | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
src: "processId";
|
|
46
|
-
logic:
|
|
46
|
+
logic: xstate215.PromiseActorLogic<ProcessIdResponse, {
|
|
47
47
|
isSecondId: boolean;
|
|
48
48
|
queueName: string;
|
|
49
|
-
},
|
|
49
|
+
}, xstate215.EventObject>;
|
|
50
50
|
id: string | undefined;
|
|
51
51
|
}, never, {
|
|
52
52
|
type: "isDocumentExpired";
|
|
53
53
|
params: unknown;
|
|
54
|
-
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput,
|
|
54
|
+
}, never, "idle" | "processing" | "finished" | "expired", string, IdVerificationInput, xstate215.NonReducibleUnknown, xstate215.EventObject, xstate215.MetaObject, {
|
|
55
55
|
readonly id: "idVerification";
|
|
56
56
|
readonly initial: "idle";
|
|
57
57
|
readonly context: ({
|
|
@@ -60,50 +60,50 @@ declare const idVerificationMachine: xstate592.StateMachine<IdVerificationContex
|
|
|
60
60
|
spawn: {
|
|
61
61
|
<TSrc extends "processId">(logic: TSrc, ...[options]: {
|
|
62
62
|
src: "processId";
|
|
63
|
-
logic:
|
|
63
|
+
logic: xstate215.PromiseActorLogic<ProcessIdResponse, {
|
|
64
64
|
isSecondId: boolean;
|
|
65
65
|
queueName: string;
|
|
66
|
-
},
|
|
66
|
+
}, xstate215.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
} extends infer T ? T extends {
|
|
69
69
|
src: "processId";
|
|
70
|
-
logic:
|
|
70
|
+
logic: xstate215.PromiseActorLogic<ProcessIdResponse, {
|
|
71
71
|
isSecondId: boolean;
|
|
72
72
|
queueName: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate215.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} ? T extends {
|
|
76
76
|
src: TSrc;
|
|
77
|
-
} ?
|
|
77
|
+
} ? xstate215.ConditionalRequired<[options?: ({
|
|
78
78
|
id?: T["id"] | undefined;
|
|
79
79
|
systemId?: string;
|
|
80
|
-
input?:
|
|
80
|
+
input?: xstate215.InputFrom<T["logic"]> | undefined;
|
|
81
81
|
syncSnapshot?: boolean;
|
|
82
|
-
} & { [K in
|
|
82
|
+
} & { [K in xstate215.RequiredActorOptions<T>]: unknown }) | undefined], xstate215.IsNotNever<xstate215.RequiredActorOptions<T>>> : never : never : never): xstate215.ActorRefFromLogic<xstate215.GetConcreteByKey<{
|
|
83
83
|
src: "processId";
|
|
84
|
-
logic:
|
|
84
|
+
logic: xstate215.PromiseActorLogic<ProcessIdResponse, {
|
|
85
85
|
isSecondId: boolean;
|
|
86
86
|
queueName: string;
|
|
87
|
-
},
|
|
87
|
+
}, xstate215.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
}, "src", TSrc>["logic"]>;
|
|
90
|
-
<TLogic extends
|
|
90
|
+
<TLogic extends xstate215.AnyActorLogic>(src: TLogic, ...[options]: xstate215.ConditionalRequired<[options?: ({
|
|
91
91
|
id?: never;
|
|
92
92
|
systemId?: string;
|
|
93
|
-
input?:
|
|
93
|
+
input?: xstate215.InputFrom<TLogic> | undefined;
|
|
94
94
|
syncSnapshot?: boolean;
|
|
95
|
-
} & { [K in
|
|
95
|
+
} & { [K in xstate215.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate215.IsNotNever<xstate215.RequiredLogicInput<TLogic>>>): xstate215.ActorRefFromLogic<TLogic>;
|
|
96
96
|
};
|
|
97
97
|
input: IdVerificationInput;
|
|
98
|
-
self:
|
|
98
|
+
self: xstate215.ActorRef<xstate215.MachineSnapshot<IdVerificationContext, {
|
|
99
99
|
type: "LOAD";
|
|
100
100
|
} | {
|
|
101
101
|
type: "CONTINUE";
|
|
102
|
-
}, Record<string,
|
|
102
|
+
}, Record<string, xstate215.AnyActorRef | undefined>, xstate215.StateValue, string, unknown, any, any>, {
|
|
103
103
|
type: "LOAD";
|
|
104
104
|
} | {
|
|
105
105
|
type: "CONTINUE";
|
|
106
|
-
},
|
|
106
|
+
}, xstate215.AnyEventObject>;
|
|
107
107
|
}) => {
|
|
108
108
|
config: IdVerificationConfig;
|
|
109
109
|
isSecondId: boolean;
|
|
@@ -127,15 +127,15 @@ declare const idVerificationMachine: xstate592.StateMachine<IdVerificationContex
|
|
|
127
127
|
} | {
|
|
128
128
|
type: "CONTINUE";
|
|
129
129
|
};
|
|
130
|
-
self:
|
|
130
|
+
self: xstate215.ActorRef<xstate215.MachineSnapshot<IdVerificationContext, {
|
|
131
131
|
type: "LOAD";
|
|
132
132
|
} | {
|
|
133
133
|
type: "CONTINUE";
|
|
134
|
-
}, Record<string,
|
|
134
|
+
}, Record<string, xstate215.AnyActorRef>, xstate215.StateValue, string, unknown, any, any>, {
|
|
135
135
|
type: "LOAD";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CONTINUE";
|
|
138
|
-
},
|
|
138
|
+
}, xstate215.AnyEventObject>;
|
|
139
139
|
}) => {
|
|
140
140
|
isSecondId: boolean;
|
|
141
141
|
queueName: string;
|
|
@@ -2,7 +2,7 @@ import "./api-YxPMtty2.esm.js";
|
|
|
2
2
|
import { o as createManagerInstrumentation } from "./events-Bsw1l0pH.esm.js";
|
|
3
3
|
import "./endpoints-BPHddOTi.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-CWoFJOio.esm.js";
|
|
5
|
-
import { t as idVerificationMachine } from "./idVerificationStateMachine-
|
|
5
|
+
import { t as idVerificationMachine } from "./idVerificationStateMachine-BicmjAoY.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
8
8
|
function createIdVerificationActor(options) {
|