@incodetech/core 0.0.0-dev-20260420-8f6ba50 → 0.0.0-dev-20260420-91c84fb
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/ae-signature.d.ts +1 -1
- package/dist/authentication.esm.js +12 -12
- package/dist/{authenticationManager-D1CGAxwM.esm.js → authenticationManager-CSUs5i1x.esm.js} +1 -1
- package/dist/{authenticationStateMachine-yeeQh71H.esm.js → authenticationStateMachine-CILXOYXS.esm.js} +3 -3
- package/dist/{backCameraStream-BgZ58W73.esm.js → backCameraStream-BXfdKlzB.esm.js} +1 -1
- package/dist/camera.d.ts +7 -0
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +50 -50
- package/dist/{deepsightLoader-BJ5lXzeg.esm.js → deepsightLoader-BiqNFbbE.esm.js} +5 -5
- package/dist/{deepsightService-C8LxpD33.esm.js → deepsightService-Yfw6LCyd.esm.js} +3 -3
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +70 -70
- package/dist/document-capture.esm.js +3 -3
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureStateMachine-vuDvKpBa.esm.js → documentCaptureStateMachine-CCevSMgK.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.esm.js +16 -16
- package/dist/{faceCaptureSetup-Dmvit1y7.esm.js → faceCaptureSetup-QU9jwWFa.esm.js} +6 -3
- package/dist/{getDeviceClass-DEQ0Ko8p.esm.js → getDeviceClass-BiqKa0Vc.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id.esm.js +11 -11
- package/dist/{idCaptureManager-DhQXfuJt.esm.js → idCaptureManager-B3y62Sgk.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BdfhVQwC.esm.js → idCaptureStateMachine-BFSvu5or.esm.js} +16 -10
- package/dist/identity-reuse.d.ts +47 -47
- package/dist/{index-KnSX6CGk.d.ts → index-D_Tlr6G0.d.ts} +119 -119
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/permissionServices-Dso6GWap.esm.js +117 -0
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-B6vw5h4n.esm.js → recordingService-C4pR3IWN.esm.js} +6 -6
- package/dist/selfie.esm.js +12 -12
- package/dist/{selfieManager-BSGrpyaa.esm.js → selfieManager-BzQvkdCk.esm.js} +1 -1
- package/dist/{selfieStateMachine-C5LVaSTG.esm.js → selfieStateMachine-CYcGwdw6.esm.js} +2 -2
- package/dist/stats.esm.js +1 -1
- package/dist/workflow.d.ts +82 -82
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
- package/dist/permissionServices-DyQ32wFf.esm.js +0 -50
- /package/dist/{MotionSensorProvider-8vkQ9IG9.esm.js → MotionSensorProvider-CH2gIQDD.esm.js} +0 -0
- /package/dist/{camera-tcz9eaMX.esm.js → camera-KXMnriZv.esm.js} +0 -0
- /package/dist/{getBrowser-a8Hu_roJ.esm.js → getBrowser-4G-fNoOH.esm.js} +0 -0
- /package/dist/{stats-CEGFkSDj.esm.js → stats-DdObETry.esm.js} +0 -0
|
@@ -8,27 +8,27 @@ import "./browserSimulation-UTYyQOiB.esm.js";
|
|
|
8
8
|
import { a as createActor, i as fromPromise } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
9
9
|
import "./faceCaptureManagerFactory-B9xq08-G.esm.js";
|
|
10
10
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DOp7HlOV.esm.js";
|
|
11
|
-
import "./recordingService-
|
|
12
|
-
import "./deepsightService-
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
11
|
+
import "./recordingService-C4pR3IWN.esm.js";
|
|
12
|
+
import "./deepsightService-Yfw6LCyd.esm.js";
|
|
13
|
+
import "./permissionServices-Dso6GWap.esm.js";
|
|
14
|
+
import "./camera-KXMnriZv.esm.js";
|
|
15
|
+
import "./getBrowser-4G-fNoOH.esm.js";
|
|
16
|
+
import "./stats-DdObETry.esm.js";
|
|
17
|
+
import "./MotionSensorProvider-CH2gIQDD.esm.js";
|
|
18
18
|
import "./platform-BcNZipjK.esm.js";
|
|
19
19
|
import "./ITimerCapability-6rqYcRcc.esm.js";
|
|
20
|
-
import "./backCameraStream-
|
|
21
|
-
import "./getDeviceClass-
|
|
22
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
23
|
-
import "./authenticationStateMachine-
|
|
24
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
20
|
+
import "./backCameraStream-BXfdKlzB.esm.js";
|
|
21
|
+
import "./getDeviceClass-BiqKa0Vc.esm.js";
|
|
22
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-QU9jwWFa.esm.js";
|
|
23
|
+
import "./authenticationStateMachine-CILXOYXS.esm.js";
|
|
24
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CSUs5i1x.esm.js";
|
|
25
25
|
import "./BrowserTimerProvider-DDCqhG2g.esm.js";
|
|
26
26
|
import "./emailStateMachine-CSyUXPrM.esm.js";
|
|
27
27
|
import { n as createEmailManagerFromActor } from "./emailManager-DZ1bKeHd.esm.js";
|
|
28
|
-
import "./selfieStateMachine-
|
|
29
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
30
|
-
import "./idCaptureStateMachine-
|
|
31
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
28
|
+
import "./selfieStateMachine-CYcGwdw6.esm.js";
|
|
29
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BzQvkdCk.esm.js";
|
|
30
|
+
import "./idCaptureStateMachine-BFSvu5or.esm.js";
|
|
31
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-B3y62Sgk.esm.js";
|
|
32
32
|
import "./phoneStateMachine-BjhtmUGF.esm.js";
|
|
33
33
|
import { n as createPhoneManagerFromActor } from "./phoneManager-BFinSDdo.esm.js";
|
|
34
34
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as getToken } from "./api-BhYI_G8R.esm.js";
|
|
2
2
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
3
|
-
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
3
|
+
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-C4pR3IWN.esm.js";
|
|
4
|
+
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-Dso6GWap.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
|
7
7
|
const getAttemptsFromConfig = (config) => {
|
|
@@ -190,7 +190,10 @@ const _faceCaptureMachine = setup({
|
|
|
190
190
|
context.recordingService?.cleanup();
|
|
191
191
|
},
|
|
192
192
|
setPermissionResultFromEvent: assign({ permissionResult: ({ event }) => event.output }),
|
|
193
|
-
setPermissionDenied: assign({ permissionResult: () =>
|
|
193
|
+
setPermissionDenied: assign({ permissionResult: () => {
|
|
194
|
+
clearCameraPermissionCache();
|
|
195
|
+
return "denied";
|
|
196
|
+
} }),
|
|
194
197
|
setPermissionRefresh: assign({ permissionResult: () => "refresh" }),
|
|
195
198
|
setDeepsightServiceFromEvent: assign({ deepsightService: ({ event }) => event.output }),
|
|
196
199
|
setErrorFromEvent: assign({ error: ({ event }) => String(event.error) }),
|
package/dist/home.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-C1r-74H0.js";
|
|
|
2
2
|
import "./camera-C1Lz6NFz.js";
|
|
3
3
|
import "./types-DGwsRYfm.js";
|
|
4
4
|
import { t as EmptyConfig } from "./types-x6tue2ld.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate1140 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/home/types.d.ts
|
|
8
8
|
type HomeConfig = EmptyConfig;
|
|
@@ -34,41 +34,41 @@ type HomeContext = {
|
|
|
34
34
|
type HomeInput = {
|
|
35
35
|
config: EmptyConfig;
|
|
36
36
|
};
|
|
37
|
-
declare const homeMachine:
|
|
37
|
+
declare const homeMachine: xstate1140.StateMachine<HomeContext, {
|
|
38
38
|
type: "LOAD";
|
|
39
39
|
} | {
|
|
40
40
|
type: "COMPLETE";
|
|
41
41
|
} | {
|
|
42
42
|
type: "RESET";
|
|
43
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
43
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate1140.NonReducibleUnknown, xstate1140.EventObject, xstate1140.MetaObject, {
|
|
44
44
|
readonly id: "home";
|
|
45
45
|
readonly initial: "idle";
|
|
46
46
|
readonly context: ({
|
|
47
47
|
input
|
|
48
48
|
}: {
|
|
49
49
|
spawn: {
|
|
50
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
51
|
-
<TLogic extends
|
|
50
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate1140.ActorRefFromLogic<never>;
|
|
51
|
+
<TLogic extends xstate1140.AnyActorLogic>(src: TLogic, ...[options]: xstate1140.ConditionalRequired<[options?: ({
|
|
52
52
|
id?: never;
|
|
53
53
|
systemId?: string;
|
|
54
|
-
input?:
|
|
54
|
+
input?: xstate1140.InputFrom<TLogic> | undefined;
|
|
55
55
|
syncSnapshot?: boolean;
|
|
56
|
-
} & { [K in
|
|
56
|
+
} & { [K in xstate1140.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1140.IsNotNever<xstate1140.RequiredLogicInput<TLogic>>>): xstate1140.ActorRefFromLogic<TLogic>;
|
|
57
57
|
};
|
|
58
58
|
input: HomeInput;
|
|
59
|
-
self:
|
|
59
|
+
self: xstate1140.ActorRef<xstate1140.MachineSnapshot<HomeContext, {
|
|
60
60
|
type: "LOAD";
|
|
61
61
|
} | {
|
|
62
62
|
type: "COMPLETE";
|
|
63
63
|
} | {
|
|
64
64
|
type: "RESET";
|
|
65
|
-
}, Record<string,
|
|
65
|
+
}, Record<string, xstate1140.AnyActorRef | undefined>, xstate1140.StateValue, string, unknown, any, any>, {
|
|
66
66
|
type: "LOAD";
|
|
67
67
|
} | {
|
|
68
68
|
type: "COMPLETE";
|
|
69
69
|
} | {
|
|
70
70
|
type: "RESET";
|
|
71
|
-
},
|
|
71
|
+
}, xstate1140.AnyEventObject>;
|
|
72
72
|
}) => {
|
|
73
73
|
config: EmptyConfig;
|
|
74
74
|
};
|
package/dist/id.esm.js
CHANGED
|
@@ -6,19 +6,19 @@ import "./BrowserEnvironmentProvider-D7IR7V-D.esm.js";
|
|
|
6
6
|
import "./browserSimulation-UTYyQOiB.esm.js";
|
|
7
7
|
import "./xstate.esm-BlgyVBVv.esm.js";
|
|
8
8
|
import "./BrowserStorageProvider-DOp7HlOV.esm.js";
|
|
9
|
-
import "./recordingService-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
9
|
+
import "./recordingService-C4pR3IWN.esm.js";
|
|
10
|
+
import "./deepsightService-Yfw6LCyd.esm.js";
|
|
11
|
+
import "./permissionServices-Dso6GWap.esm.js";
|
|
12
|
+
import "./camera-KXMnriZv.esm.js";
|
|
13
|
+
import "./getBrowser-4G-fNoOH.esm.js";
|
|
14
|
+
import "./stats-DdObETry.esm.js";
|
|
15
|
+
import "./MotionSensorProvider-CH2gIQDD.esm.js";
|
|
16
16
|
import "./platform-BcNZipjK.esm.js";
|
|
17
17
|
import "./ITimerCapability-6rqYcRcc.esm.js";
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./getDeviceClass-
|
|
18
|
+
import "./backCameraStream-BXfdKlzB.esm.js";
|
|
19
|
+
import "./getDeviceClass-BiqKa0Vc.esm.js";
|
|
20
20
|
import "./BrowserTimerProvider-DDCqhG2g.esm.js";
|
|
21
|
-
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-
|
|
22
|
-
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
21
|
+
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-BFSvu5or.esm.js";
|
|
22
|
+
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-B3y62Sgk.esm.js";
|
|
23
23
|
|
|
24
24
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CLo0CBD5.esm.js";
|
|
2
2
|
import { a as createActor, o as createManager } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
3
3
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DOp7HlOV.esm.js";
|
|
4
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
4
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-BFSvu5or.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id/idCaptureActor.ts
|
|
7
7
|
function createIdCaptureActor(options) {
|
package/dist/{idCaptureStateMachine-BdfhVQwC.esm.js → idCaptureStateMachine-BFSvu5or.esm.js}
RENAMED
|
@@ -3,14 +3,14 @@ import { r as getToken, t as api } from "./api-BhYI_G8R.esm.js";
|
|
|
3
3
|
import { _ as endpoints, v as revokeObjectURL } from "./events-CLo0CBD5.esm.js";
|
|
4
4
|
import { t as getDisableIpify } from "./session-Ccqv3mbs.esm.js";
|
|
5
5
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BlgyVBVv.esm.js";
|
|
6
|
-
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-
|
|
7
|
-
import { n as IncodeCanvas } from "./deepsightService-
|
|
8
|
-
import { r as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-C4pR3IWN.esm.js";
|
|
7
|
+
import { n as IncodeCanvas } from "./deepsightService-Yfw6LCyd.esm.js";
|
|
8
|
+
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-Dso6GWap.esm.js";
|
|
9
|
+
import { r as getWindowDimensions } from "./getBrowser-4G-fNoOH.esm.js";
|
|
10
|
+
import { t as addDeviceStats } from "./stats-DdObETry.esm.js";
|
|
11
11
|
import { n as isDesktop } from "./platform-BcNZipjK.esm.js";
|
|
12
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
13
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
12
|
+
import { t as getBackCameraStream } from "./backCameraStream-BXfdKlzB.esm.js";
|
|
13
|
+
import { t as getDeviceClass } from "./getDeviceClass-BiqKa0Vc.esm.js";
|
|
14
14
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DDCqhG2g.esm.js";
|
|
15
15
|
|
|
16
16
|
//#region src/modules/id/idCaptureHelpers.ts
|
|
@@ -799,7 +799,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
799
799
|
});
|
|
800
800
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
801
801
|
if (!input.dependencies) return;
|
|
802
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
802
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BiqNFbbE.esm.js");
|
|
803
803
|
return loadDeepsightSession({
|
|
804
804
|
ds: input.ds,
|
|
805
805
|
storage: input.dependencies.storage,
|
|
@@ -1468,7 +1468,10 @@ const _idCaptureMachine = setup({
|
|
|
1468
1468
|
onError: [{
|
|
1469
1469
|
target: "#idCapture.tutorial.ready",
|
|
1470
1470
|
guard: "isPermissionDeniedError",
|
|
1471
|
-
actions: assign({ permissionResult: () =>
|
|
1471
|
+
actions: assign({ permissionResult: () => {
|
|
1472
|
+
clearCameraPermissionCache();
|
|
1473
|
+
return "denied";
|
|
1474
|
+
} })
|
|
1472
1475
|
}, {
|
|
1473
1476
|
target: "#idCapture.tutorial.ready",
|
|
1474
1477
|
actions: assign({ error: ({ event }) => String(event.error) })
|
|
@@ -1625,7 +1628,10 @@ const _idCaptureMachine = setup({
|
|
|
1625
1628
|
onError: [{
|
|
1626
1629
|
target: "#idCapture.permissions",
|
|
1627
1630
|
guard: "isPermissionDeniedError",
|
|
1628
|
-
actions: assign({ permissionResult: () =>
|
|
1631
|
+
actions: assign({ permissionResult: () => {
|
|
1632
|
+
clearCameraPermissionCache();
|
|
1633
|
+
return "denied";
|
|
1634
|
+
} })
|
|
1629
1635
|
}, {
|
|
1630
1636
|
target: "#idCapture.error",
|
|
1631
1637
|
actions: assign({ error: ({ event }) => String(event.error) })
|
package/dist/identity-reuse.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C1r-74H0.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-Cqaw-2DF.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate0 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/identity-reuse/types.d.ts
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ type IdentityReuseContext = {
|
|
|
32
32
|
type IdentityReuseInput = {
|
|
33
33
|
config: IdentityReuseConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const identityReuseMachine:
|
|
35
|
+
declare const identityReuseMachine: xstate0.StateMachine<IdentityReuseContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "START_SELECTION";
|
|
@@ -48,49 +48,49 @@ declare const identityReuseMachine: xstate457.StateMachine<IdentityReuseContext,
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RETRY";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
52
|
-
},
|
|
51
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>> | undefined;
|
|
52
|
+
}, xstate0.Values<{
|
|
53
53
|
fetchCandidates: {
|
|
54
54
|
src: "fetchCandidates";
|
|
55
|
-
logic:
|
|
55
|
+
logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
|
|
56
56
|
id: string | undefined;
|
|
57
57
|
};
|
|
58
58
|
submitContinue: {
|
|
59
59
|
src: "submitContinue";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
61
61
|
id: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
submitSkip: {
|
|
64
64
|
src: "submitSkip";
|
|
65
|
-
logic:
|
|
65
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>,
|
|
69
|
-
setError: {
|
|
70
|
-
type: "setError";
|
|
71
|
-
params: xstate457.NonReducibleUnknown;
|
|
72
|
-
};
|
|
73
|
-
clearError: {
|
|
74
|
-
type: "clearError";
|
|
75
|
-
params: xstate457.NonReducibleUnknown;
|
|
76
|
-
};
|
|
68
|
+
}>, xstate0.Values<{
|
|
77
69
|
setCandidates: {
|
|
78
70
|
type: "setCandidates";
|
|
79
|
-
params:
|
|
71
|
+
params: xstate0.NonReducibleUnknown;
|
|
80
72
|
};
|
|
81
73
|
setSelectedCandidate: {
|
|
82
74
|
type: "setSelectedCandidate";
|
|
83
|
-
params:
|
|
75
|
+
params: xstate0.NonReducibleUnknown;
|
|
84
76
|
};
|
|
85
77
|
autoSelectSingleCandidate: {
|
|
86
78
|
type: "autoSelectSingleCandidate";
|
|
87
|
-
params:
|
|
79
|
+
params: xstate0.NonReducibleUnknown;
|
|
88
80
|
};
|
|
89
81
|
clearSelection: {
|
|
90
82
|
type: "clearSelection";
|
|
91
|
-
params:
|
|
83
|
+
params: xstate0.NonReducibleUnknown;
|
|
84
|
+
};
|
|
85
|
+
setError: {
|
|
86
|
+
type: "setError";
|
|
87
|
+
params: xstate0.NonReducibleUnknown;
|
|
88
|
+
};
|
|
89
|
+
clearError: {
|
|
90
|
+
type: "clearError";
|
|
91
|
+
params: xstate0.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
|
-
}>,
|
|
93
|
+
}>, xstate0.Values<{
|
|
94
94
|
hasMultipleCandidates: {
|
|
95
95
|
type: "hasMultipleCandidates";
|
|
96
96
|
params: unknown;
|
|
@@ -103,9 +103,9 @@ declare const identityReuseMachine: xstate457.StateMachine<IdentityReuseContext,
|
|
|
103
103
|
type: "hasChosenCandidate";
|
|
104
104
|
params: unknown;
|
|
105
105
|
};
|
|
106
|
-
}>, never, "error" | "idle" | "finished" | "
|
|
106
|
+
}>, never, "error" | "idle" | "finished" | "submitContinue" | "submitSkip" | "loading" | "oneCandidateFound" | "noCandidatesFound" | {
|
|
107
107
|
multiCandidatesFound: "noCandidateSelected" | "choosingCandidate" | "candidateSelected";
|
|
108
|
-
}, string, IdentityReuseInput,
|
|
108
|
+
}, string, IdentityReuseInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
109
109
|
readonly id: "identityReuse";
|
|
110
110
|
readonly initial: "idle";
|
|
111
111
|
readonly context: ({
|
|
@@ -114,75 +114,75 @@ declare const identityReuseMachine: xstate457.StateMachine<IdentityReuseContext,
|
|
|
114
114
|
spawn: {
|
|
115
115
|
<TSrc extends "fetchCandidates" | "submitContinue" | "submitSkip">(logic: TSrc, ...[options]: ({
|
|
116
116
|
src: "fetchCandidates";
|
|
117
|
-
logic:
|
|
117
|
+
logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
|
|
118
118
|
id: string | undefined;
|
|
119
119
|
} extends infer T ? T extends {
|
|
120
120
|
src: "fetchCandidates";
|
|
121
|
-
logic:
|
|
121
|
+
logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
|
|
122
122
|
id: string | undefined;
|
|
123
123
|
} ? T extends {
|
|
124
124
|
src: TSrc;
|
|
125
|
-
} ?
|
|
125
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
126
126
|
id?: T["id"] | undefined;
|
|
127
127
|
systemId?: string;
|
|
128
|
-
input?:
|
|
128
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
129
129
|
syncSnapshot?: boolean;
|
|
130
|
-
} & { [K in
|
|
130
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
131
131
|
src: "submitContinue";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} extends infer T_1 ? T_1 extends {
|
|
135
135
|
src: "submitContinue";
|
|
136
|
-
logic:
|
|
136
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
137
137
|
id: string | undefined;
|
|
138
138
|
} ? T_1 extends {
|
|
139
139
|
src: TSrc;
|
|
140
|
-
} ?
|
|
140
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
141
141
|
id?: T_1["id"] | undefined;
|
|
142
142
|
systemId?: string;
|
|
143
|
-
input?:
|
|
143
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
144
144
|
syncSnapshot?: boolean;
|
|
145
|
-
} & { [K_1 in
|
|
145
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
146
146
|
src: "submitSkip";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
148
148
|
id: string | undefined;
|
|
149
149
|
} extends infer T_2 ? T_2 extends {
|
|
150
150
|
src: "submitSkip";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
152
152
|
id: string | undefined;
|
|
153
153
|
} ? T_2 extends {
|
|
154
154
|
src: TSrc;
|
|
155
|
-
} ?
|
|
155
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
156
156
|
id?: T_2["id"] | undefined;
|
|
157
157
|
systemId?: string;
|
|
158
|
-
input?:
|
|
158
|
+
input?: xstate0.InputFrom<T_2["logic"]> | undefined;
|
|
159
159
|
syncSnapshot?: boolean;
|
|
160
|
-
} & { [K_2 in
|
|
160
|
+
} & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
161
161
|
fetchCandidates: {
|
|
162
162
|
src: "fetchCandidates";
|
|
163
|
-
logic:
|
|
163
|
+
logic: xstate0.PromiseActorLogic<FetchCandidatesResponse, void, xstate0.EventObject>;
|
|
164
164
|
id: string | undefined;
|
|
165
165
|
};
|
|
166
166
|
submitContinue: {
|
|
167
167
|
src: "submitContinue";
|
|
168
|
-
logic:
|
|
168
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
169
169
|
id: string | undefined;
|
|
170
170
|
};
|
|
171
171
|
submitSkip: {
|
|
172
172
|
src: "submitSkip";
|
|
173
|
-
logic:
|
|
173
|
+
logic: xstate0.PromiseActorLogic<SubmitResponse, void, xstate0.EventObject>;
|
|
174
174
|
id: string | undefined;
|
|
175
175
|
};
|
|
176
176
|
}>, "src", TSrc>["logic"]>;
|
|
177
|
-
<TLogic extends
|
|
177
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
178
178
|
id?: never;
|
|
179
179
|
systemId?: string;
|
|
180
|
-
input?:
|
|
180
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
181
181
|
syncSnapshot?: boolean;
|
|
182
|
-
} & { [K in
|
|
182
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
183
183
|
};
|
|
184
184
|
input: IdentityReuseInput;
|
|
185
|
-
self:
|
|
185
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<IdentityReuseContext, {
|
|
186
186
|
type: "LOAD";
|
|
187
187
|
} | {
|
|
188
188
|
type: "START_SELECTION";
|
|
@@ -197,7 +197,7 @@ declare const identityReuseMachine: xstate457.StateMachine<IdentityReuseContext,
|
|
|
197
197
|
type: "SKIP";
|
|
198
198
|
} | {
|
|
199
199
|
type: "RETRY";
|
|
200
|
-
}, Record<string,
|
|
200
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
201
201
|
type: "LOAD";
|
|
202
202
|
} | {
|
|
203
203
|
type: "START_SELECTION";
|
|
@@ -212,7 +212,7 @@ declare const identityReuseMachine: xstate457.StateMachine<IdentityReuseContext,
|
|
|
212
212
|
type: "SKIP";
|
|
213
213
|
} | {
|
|
214
214
|
type: "RETRY";
|
|
215
|
-
},
|
|
215
|
+
}, xstate0.AnyEventObject>;
|
|
216
216
|
}) => {
|
|
217
217
|
config: IdentityReuseConfig;
|
|
218
218
|
currentOrganizationName: undefined;
|