@incodetech/core 0.0.0-dev-20260325-9772cd2 → 0.0.0-dev-20260325-72e1e24
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/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +3 -3
- package/dist/{authenticationManager-CRC59Vms.esm.js → authenticationManager-CoeHnXPS.esm.js} +1 -1
- package/dist/{authenticationManager-DbKSx46Q.d.ts → authenticationManager-TaI12wf3.d.ts} +1 -1
- package/dist/{backCameraStream-DtcVhHEz.esm.js → backCameraStream-jiRgi6k7.esm.js} +103 -17
- package/dist/consent.d.ts +50 -50
- package/dist/document-capture.d.ts +52 -52
- package/dist/document-capture.esm.js +1 -1
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-MPKxiFCQ.d.ts → faceCaptureManagerFactory-CGpkO_S3.d.ts} +5 -0
- package/dist/{faceCaptureSetup-4itNYIdX.esm.js → faceCaptureSetup-CP7WXoGS.esm.js} +27 -8
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Bl-CBtgX.esm.js → idCaptureManager-BxlkQJq-.esm.js} +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +53 -53
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +3 -3
- package/dist/{selfieManager-qS-A0pXo.d.ts → selfieManager-B4Nnp7ws.d.ts} +1 -1
- package/dist/{selfieManager-UcQu7POO.esm.js → selfieManager-DZTwDE-b.esm.js} +1 -1
- package/package.json +1 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./index-BTaLQSj9.js";
|
|
2
2
|
import "./deepsightService-DxA--87N.js";
|
|
3
|
-
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-CGpkO_S3.js";
|
|
4
4
|
import "./warmup-CzfSiaMj.js";
|
|
5
5
|
import "./types-oveF7RrS.js";
|
|
6
6
|
import "./types-mQLzH6uw.js";
|
|
7
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
7
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-TaI12wf3.js";
|
|
8
8
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import "./backCameraStream-
|
|
2
|
+
import "./backCameraStream-jiRgi6k7.esm.js";
|
|
3
3
|
import "./src-DCc0dMkT.esm.js";
|
|
4
4
|
import "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
@@ -7,7 +7,7 @@ import "./api-G4JA8CXK.esm.js";
|
|
|
7
7
|
import "./endpoints-CCuj1KZH.esm.js";
|
|
8
8
|
import "./deepsightService-lTQvj-Wf.esm.js";
|
|
9
9
|
import "./stats-D0m3TvIg.esm.js";
|
|
10
|
-
import "./faceCaptureSetup-
|
|
11
|
-
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import "./faceCaptureSetup-CP7WXoGS.esm.js";
|
|
11
|
+
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CoeHnXPS.esm.js";
|
|
12
12
|
|
|
13
13
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CRC59Vms.esm.js → authenticationManager-CoeHnXPS.esm.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { o as WasmUtilProvider, v as BrowserStorageProvider } from "./src-DCc0dM
|
|
|
3
3
|
import { u as getDeviceClass } from "./recordingsRepository-COovU1i4.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
|
-
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-CP7WXoGS.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Manager } from "./index-BTaLQSj9.js";
|
|
2
|
-
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CGpkO_S3.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -95,8 +95,7 @@ function getAndroidVideoConstraints(level) {
|
|
|
95
95
|
switch (level) {
|
|
96
96
|
case 0: return {
|
|
97
97
|
...base,
|
|
98
|
-
height: { ideal: 720 }
|
|
99
|
-
aspectRatio: { ideal: 19.5 / 9 }
|
|
98
|
+
height: { ideal: 720 }
|
|
100
99
|
};
|
|
101
100
|
case 1: return {
|
|
102
101
|
...base,
|
|
@@ -125,36 +124,49 @@ function getAndroidVideoConstraints(level) {
|
|
|
125
124
|
}
|
|
126
125
|
};
|
|
127
126
|
case 3: return {
|
|
127
|
+
...base,
|
|
128
|
+
width: {
|
|
129
|
+
min: 800,
|
|
130
|
+
ideal: 1400,
|
|
131
|
+
max: 1920
|
|
132
|
+
},
|
|
133
|
+
height: {
|
|
134
|
+
min: 600,
|
|
135
|
+
ideal: 900,
|
|
136
|
+
max: 1080
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
case 4: return {
|
|
128
140
|
...base,
|
|
129
141
|
width: {
|
|
130
142
|
min: 640,
|
|
131
|
-
ideal:
|
|
132
|
-
max:
|
|
143
|
+
ideal: 800,
|
|
144
|
+
max: 1400
|
|
133
145
|
},
|
|
134
146
|
height: {
|
|
135
147
|
min: 480,
|
|
136
148
|
ideal: 480,
|
|
137
|
-
max:
|
|
149
|
+
max: 900
|
|
138
150
|
}
|
|
139
151
|
};
|
|
140
|
-
case
|
|
152
|
+
case 5: return {
|
|
141
153
|
...base,
|
|
142
154
|
width: {
|
|
143
155
|
min: 640,
|
|
144
|
-
ideal:
|
|
145
|
-
max:
|
|
156
|
+
ideal: 640,
|
|
157
|
+
max: 800
|
|
146
158
|
},
|
|
147
159
|
height: {
|
|
148
160
|
min: 480,
|
|
149
161
|
ideal: 480,
|
|
150
|
-
max:
|
|
162
|
+
max: 600
|
|
151
163
|
}
|
|
152
164
|
};
|
|
153
165
|
default: return {};
|
|
154
166
|
}
|
|
155
167
|
}
|
|
156
168
|
async function getAndroidBackCameraStream(fallbackLevel = 0) {
|
|
157
|
-
if (fallbackLevel >
|
|
169
|
+
if (fallbackLevel > 5) throw new Error("Failed to get camera after all fallback attempts");
|
|
158
170
|
try {
|
|
159
171
|
const initialStream = await requestCameraAccess({ video: getAndroidVideoConstraints(fallbackLevel) });
|
|
160
172
|
const track = initialStream.getVideoTracks()[0];
|
|
@@ -177,7 +189,7 @@ async function getAndroidBackCameraStream(fallbackLevel = 0) {
|
|
|
177
189
|
} });
|
|
178
190
|
} catch (error) {
|
|
179
191
|
const errorName = error instanceof Error ? error.name : "UnknownError";
|
|
180
|
-
const nextLevel = Math.min(fallbackLevel + 1,
|
|
192
|
+
const nextLevel = Math.min(fallbackLevel + 1, 5);
|
|
181
193
|
if (errorName === "NotReadableError") {
|
|
182
194
|
await sleep(300);
|
|
183
195
|
return getAndroidBackCameraStream(nextLevel);
|
|
@@ -210,20 +222,94 @@ async function getIOSCameraStream() {
|
|
|
210
222
|
await applyIOSFocusHack(stream);
|
|
211
223
|
return stream;
|
|
212
224
|
}
|
|
213
|
-
function
|
|
225
|
+
function getDesktopVideoConstraints(level) {
|
|
226
|
+
switch (level) {
|
|
227
|
+
case 0: return {
|
|
228
|
+
width: {
|
|
229
|
+
min: 3200,
|
|
230
|
+
ideal: 3840,
|
|
231
|
+
max: 4096
|
|
232
|
+
},
|
|
233
|
+
height: {
|
|
234
|
+
min: 1800,
|
|
235
|
+
ideal: 2160,
|
|
236
|
+
max: 2400
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
case 1: return {
|
|
240
|
+
width: {
|
|
241
|
+
min: 1400,
|
|
242
|
+
ideal: 1920,
|
|
243
|
+
max: 2160
|
|
244
|
+
},
|
|
245
|
+
height: {
|
|
246
|
+
min: 900,
|
|
247
|
+
ideal: 1080,
|
|
248
|
+
max: 1440
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
case 2: return {
|
|
252
|
+
width: {
|
|
253
|
+
min: 800,
|
|
254
|
+
ideal: 1400,
|
|
255
|
+
max: 1920
|
|
256
|
+
},
|
|
257
|
+
height: {
|
|
258
|
+
min: 600,
|
|
259
|
+
ideal: 900,
|
|
260
|
+
max: 1080
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
case 3: return {
|
|
264
|
+
width: {
|
|
265
|
+
min: 640,
|
|
266
|
+
ideal: 800,
|
|
267
|
+
max: 1400
|
|
268
|
+
},
|
|
269
|
+
height: {
|
|
270
|
+
min: 480,
|
|
271
|
+
ideal: 480,
|
|
272
|
+
max: 900
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
case 4: return {
|
|
276
|
+
width: {
|
|
277
|
+
min: 640,
|
|
278
|
+
ideal: 640,
|
|
279
|
+
max: 800
|
|
280
|
+
},
|
|
281
|
+
height: {
|
|
282
|
+
min: 480,
|
|
283
|
+
ideal: 480,
|
|
284
|
+
max: 600
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
case 5:
|
|
288
|
+
default: return {};
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
function getDesktopConstraints(options, level = 0) {
|
|
214
292
|
const { deviceId } = options;
|
|
293
|
+
const resolution = getDesktopVideoConstraints(level);
|
|
215
294
|
return {
|
|
216
295
|
audio: isSafari(),
|
|
217
296
|
video: {
|
|
218
297
|
facingMode: "user",
|
|
219
298
|
deviceId: deviceId ? { exact: deviceId } : void 0,
|
|
220
|
-
|
|
221
|
-
width: { ideal: 1920 }
|
|
299
|
+
...resolution
|
|
222
300
|
}
|
|
223
301
|
};
|
|
224
302
|
}
|
|
225
|
-
async function getDesktopCameraStream(options) {
|
|
226
|
-
|
|
303
|
+
async function getDesktopCameraStream(options, fallbackLevel = 0) {
|
|
304
|
+
if (fallbackLevel > 5) throw new Error("Failed to get desktop camera after all fallback attempts");
|
|
305
|
+
const constraints = getDesktopConstraints(options, fallbackLevel);
|
|
306
|
+
try {
|
|
307
|
+
return await requestCameraAccess(constraints);
|
|
308
|
+
} catch (error) {
|
|
309
|
+
const nextLevel = fallbackLevel + 1;
|
|
310
|
+
if (nextLevel > 5) throw error;
|
|
311
|
+
return getDesktopCameraStream(options, nextLevel);
|
|
312
|
+
}
|
|
227
313
|
}
|
|
228
314
|
async function getBackCameraStream(deviceId) {
|
|
229
315
|
if (isIOS()) return getIOSCameraStream();
|
|
@@ -232,4 +318,4 @@ async function getBackCameraStream(deviceId) {
|
|
|
232
318
|
}
|
|
233
319
|
|
|
234
320
|
//#endregion
|
|
235
|
-
export { getBackCameraStream as t };
|
|
321
|
+
export { getDesktopCameraStream as n, getBackCameraStream as t };
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Manager } from "./index-BTaLQSj9.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate204 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/consent/types.d.ts
|
|
5
5
|
type ConsentConfig = {
|
|
@@ -35,7 +35,7 @@ type ConsentContext = {
|
|
|
35
35
|
type ConsentInput = {
|
|
36
36
|
config: ConsentConfig;
|
|
37
37
|
};
|
|
38
|
-
declare const consentMachine:
|
|
38
|
+
declare const consentMachine: xstate204.StateMachine<ConsentContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -47,53 +47,53 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
47
47
|
} | {
|
|
48
48
|
type: "RESET";
|
|
49
49
|
}, {
|
|
50
|
-
[x: string]:
|
|
50
|
+
[x: string]: xstate204.ActorRefFromLogic<xstate204.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
51
51
|
consentId: string;
|
|
52
|
-
},
|
|
52
|
+
}, xstate204.EventObject>> | xstate204.ActorRefFromLogic<xstate204.PromiseActorLogic<void, {
|
|
53
53
|
languageConsentId: string;
|
|
54
54
|
checkboxes: ConsentCheckbox[];
|
|
55
|
-
},
|
|
56
|
-
},
|
|
55
|
+
}, xstate204.EventObject>> | undefined;
|
|
56
|
+
}, xstate204.Values<{
|
|
57
57
|
fetchConsent: {
|
|
58
58
|
src: "fetchConsent";
|
|
59
|
-
logic:
|
|
59
|
+
logic: xstate204.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
60
60
|
consentId: string;
|
|
61
|
-
},
|
|
61
|
+
}, xstate204.EventObject>;
|
|
62
62
|
id: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
submitConsent: {
|
|
65
65
|
src: "submitConsent";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate204.PromiseActorLogic<void, {
|
|
67
67
|
languageConsentId: string;
|
|
68
68
|
checkboxes: ConsentCheckbox[];
|
|
69
|
-
},
|
|
69
|
+
}, xstate204.EventObject>;
|
|
70
70
|
id: string | undefined;
|
|
71
71
|
};
|
|
72
|
-
}>,
|
|
72
|
+
}>, xstate204.Values<{
|
|
73
73
|
setError: {
|
|
74
74
|
type: "setError";
|
|
75
|
-
params:
|
|
75
|
+
params: xstate204.NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
clearError: {
|
|
78
78
|
type: "clearError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate204.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
resetContext: {
|
|
82
|
+
type: "resetContext";
|
|
83
|
+
params: xstate204.NonReducibleUnknown;
|
|
80
84
|
};
|
|
81
85
|
setConsentData: {
|
|
82
86
|
type: "setConsentData";
|
|
83
|
-
params:
|
|
87
|
+
params: xstate204.NonReducibleUnknown;
|
|
84
88
|
};
|
|
85
89
|
toggleCheckbox: {
|
|
86
90
|
type: "toggleCheckbox";
|
|
87
|
-
params:
|
|
88
|
-
};
|
|
89
|
-
resetContext: {
|
|
90
|
-
type: "resetContext";
|
|
91
|
-
params: xstate63.NonReducibleUnknown;
|
|
91
|
+
params: xstate204.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "canSubmit";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "
|
|
96
|
+
}, never, "error" | "idle" | "loading" | "display" | "submitting" | "finished", string, ConsentInput, xstate204.NonReducibleUnknown, xstate204.EventObject, xstate204.MetaObject, {
|
|
97
97
|
readonly id: "consent";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: ({
|
|
@@ -102,70 +102,70 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
102
102
|
spawn: {
|
|
103
103
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
104
104
|
src: "fetchConsent";
|
|
105
|
-
logic:
|
|
105
|
+
logic: xstate204.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
106
106
|
consentId: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate204.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
} extends infer T ? T extends {
|
|
110
110
|
src: "fetchConsent";
|
|
111
|
-
logic:
|
|
111
|
+
logic: xstate204.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
112
112
|
consentId: string;
|
|
113
|
-
},
|
|
113
|
+
}, xstate204.EventObject>;
|
|
114
114
|
id: string | undefined;
|
|
115
115
|
} ? T extends {
|
|
116
116
|
src: TSrc;
|
|
117
|
-
} ?
|
|
117
|
+
} ? xstate204.ConditionalRequired<[options?: ({
|
|
118
118
|
id?: T["id"] | undefined;
|
|
119
119
|
systemId?: string;
|
|
120
|
-
input?:
|
|
120
|
+
input?: xstate204.InputFrom<T["logic"]> | undefined;
|
|
121
121
|
syncSnapshot?: boolean;
|
|
122
|
-
} & { [K in
|
|
122
|
+
} & { [K in xstate204.RequiredActorOptions<T>]: unknown }) | undefined], xstate204.IsNotNever<xstate204.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
123
123
|
src: "submitConsent";
|
|
124
|
-
logic:
|
|
124
|
+
logic: xstate204.PromiseActorLogic<void, {
|
|
125
125
|
languageConsentId: string;
|
|
126
126
|
checkboxes: ConsentCheckbox[];
|
|
127
|
-
},
|
|
127
|
+
}, xstate204.EventObject>;
|
|
128
128
|
id: string | undefined;
|
|
129
129
|
} extends infer T_1 ? T_1 extends {
|
|
130
130
|
src: "submitConsent";
|
|
131
|
-
logic:
|
|
131
|
+
logic: xstate204.PromiseActorLogic<void, {
|
|
132
132
|
languageConsentId: string;
|
|
133
133
|
checkboxes: ConsentCheckbox[];
|
|
134
|
-
},
|
|
134
|
+
}, xstate204.EventObject>;
|
|
135
135
|
id: string | undefined;
|
|
136
136
|
} ? T_1 extends {
|
|
137
137
|
src: TSrc;
|
|
138
|
-
} ?
|
|
138
|
+
} ? xstate204.ConditionalRequired<[options?: ({
|
|
139
139
|
id?: T_1["id"] | undefined;
|
|
140
140
|
systemId?: string;
|
|
141
|
-
input?:
|
|
141
|
+
input?: xstate204.InputFrom<T_1["logic"]> | undefined;
|
|
142
142
|
syncSnapshot?: boolean;
|
|
143
|
-
} & { [K_1 in
|
|
143
|
+
} & { [K_1 in xstate204.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate204.IsNotNever<xstate204.RequiredActorOptions<T_1>>> : never : never : never)): xstate204.ActorRefFromLogic<xstate204.GetConcreteByKey<xstate204.Values<{
|
|
144
144
|
fetchConsent: {
|
|
145
145
|
src: "fetchConsent";
|
|
146
|
-
logic:
|
|
146
|
+
logic: xstate204.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
147
147
|
consentId: string;
|
|
148
|
-
},
|
|
148
|
+
}, xstate204.EventObject>;
|
|
149
149
|
id: string | undefined;
|
|
150
150
|
};
|
|
151
151
|
submitConsent: {
|
|
152
152
|
src: "submitConsent";
|
|
153
|
-
logic:
|
|
153
|
+
logic: xstate204.PromiseActorLogic<void, {
|
|
154
154
|
languageConsentId: string;
|
|
155
155
|
checkboxes: ConsentCheckbox[];
|
|
156
|
-
},
|
|
156
|
+
}, xstate204.EventObject>;
|
|
157
157
|
id: string | undefined;
|
|
158
158
|
};
|
|
159
159
|
}>, "src", TSrc>["logic"]>;
|
|
160
|
-
<TLogic extends
|
|
160
|
+
<TLogic extends xstate204.AnyActorLogic>(src: TLogic, ...[options]: xstate204.ConditionalRequired<[options?: ({
|
|
161
161
|
id?: never;
|
|
162
162
|
systemId?: string;
|
|
163
|
-
input?:
|
|
163
|
+
input?: xstate204.InputFrom<TLogic> | undefined;
|
|
164
164
|
syncSnapshot?: boolean;
|
|
165
|
-
} & { [K in
|
|
165
|
+
} & { [K in xstate204.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate204.IsNotNever<xstate204.RequiredLogicInput<TLogic>>>): xstate204.ActorRefFromLogic<TLogic>;
|
|
166
166
|
};
|
|
167
167
|
input: ConsentInput;
|
|
168
|
-
self:
|
|
168
|
+
self: xstate204.ActorRef<xstate204.MachineSnapshot<ConsentContext, {
|
|
169
169
|
type: "LOAD";
|
|
170
170
|
} | {
|
|
171
171
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -176,7 +176,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
176
176
|
type: "RETRY";
|
|
177
177
|
} | {
|
|
178
178
|
type: "RESET";
|
|
179
|
-
}, Record<string,
|
|
179
|
+
}, Record<string, xstate204.AnyActorRef | undefined>, xstate204.StateValue, string, unknown, any, any>, {
|
|
180
180
|
type: "LOAD";
|
|
181
181
|
} | {
|
|
182
182
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -187,7 +187,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate204.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: ConsentConfig;
|
|
193
193
|
title: string;
|
|
@@ -225,7 +225,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
225
225
|
} | {
|
|
226
226
|
type: "RESET";
|
|
227
227
|
};
|
|
228
|
-
self:
|
|
228
|
+
self: xstate204.ActorRef<xstate204.MachineSnapshot<ConsentContext, {
|
|
229
229
|
type: "LOAD";
|
|
230
230
|
} | {
|
|
231
231
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -236,7 +236,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate204.AnyActorRef>, xstate204.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -247,7 +247,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
247
247
|
type: "RETRY";
|
|
248
248
|
} | {
|
|
249
249
|
type: "RESET";
|
|
250
|
-
},
|
|
250
|
+
}, xstate204.AnyEventObject>;
|
|
251
251
|
}) => {
|
|
252
252
|
consentId: string;
|
|
253
253
|
};
|
|
@@ -296,7 +296,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
296
296
|
} | {
|
|
297
297
|
type: "RESET";
|
|
298
298
|
};
|
|
299
|
-
self:
|
|
299
|
+
self: xstate204.ActorRef<xstate204.MachineSnapshot<ConsentContext, {
|
|
300
300
|
type: "LOAD";
|
|
301
301
|
} | {
|
|
302
302
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -307,7 +307,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
307
307
|
type: "RETRY";
|
|
308
308
|
} | {
|
|
309
309
|
type: "RESET";
|
|
310
|
-
}, Record<string,
|
|
310
|
+
}, Record<string, xstate204.AnyActorRef>, xstate204.StateValue, string, unknown, any, any>, {
|
|
311
311
|
type: "LOAD";
|
|
312
312
|
} | {
|
|
313
313
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -318,7 +318,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
318
318
|
type: "RETRY";
|
|
319
319
|
} | {
|
|
320
320
|
type: "RESET";
|
|
321
|
-
},
|
|
321
|
+
}, xstate204.AnyEventObject>;
|
|
322
322
|
}) => {
|
|
323
323
|
languageConsentId: string;
|
|
324
324
|
checkboxes: ConsentCheckbox[];
|