@incodetech/core 0.0.0-dev-20260320-e46eb90 → 0.0.0-dev-20260320-9f7f27a
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/consent.d.ts +42 -42
- package/dist/document-capture.d.ts +35 -35
- package/package.json +1 -1
package/dist/consent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DKHVvCA1.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate122 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: xstate122.StateMachine<ConsentContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -47,29 +47,29 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
47
47
|
} | {
|
|
48
48
|
type: "RESET";
|
|
49
49
|
}, {
|
|
50
|
-
[x: string]:
|
|
50
|
+
[x: string]: xstate122.ActorRefFromLogic<xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
51
51
|
consentId: string;
|
|
52
|
-
},
|
|
52
|
+
}, xstate122.EventObject>> | xstate122.ActorRefFromLogic<xstate122.PromiseActorLogic<void, {
|
|
53
53
|
languageConsentId: string;
|
|
54
54
|
checkboxes: ConsentCheckbox[];
|
|
55
|
-
},
|
|
56
|
-
},
|
|
55
|
+
}, xstate122.EventObject>> | undefined;
|
|
56
|
+
}, xstate122.Values<{
|
|
57
57
|
fetchConsent: {
|
|
58
58
|
src: "fetchConsent";
|
|
59
|
-
logic:
|
|
59
|
+
logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
60
60
|
consentId: string;
|
|
61
|
-
},
|
|
61
|
+
}, xstate122.EventObject>;
|
|
62
62
|
id: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
submitConsent: {
|
|
65
65
|
src: "submitConsent";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate122.PromiseActorLogic<void, {
|
|
67
67
|
languageConsentId: string;
|
|
68
68
|
checkboxes: ConsentCheckbox[];
|
|
69
|
-
},
|
|
69
|
+
}, xstate122.EventObject>;
|
|
70
70
|
id: string | undefined;
|
|
71
71
|
};
|
|
72
|
-
}>,
|
|
72
|
+
}>, xstate122.Values<{
|
|
73
73
|
setError: {
|
|
74
74
|
type: "setError";
|
|
75
75
|
params: unknown;
|
|
@@ -97,7 +97,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
100
|
-
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput,
|
|
100
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate122.NonReducibleUnknown, xstate122.EventObject, xstate122.MetaObject, {
|
|
101
101
|
readonly id: "consent";
|
|
102
102
|
readonly initial: "idle";
|
|
103
103
|
readonly context: ({
|
|
@@ -106,70 +106,70 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
106
106
|
spawn: {
|
|
107
107
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
110
110
|
consentId: string;
|
|
111
|
-
},
|
|
111
|
+
}, xstate122.EventObject>;
|
|
112
112
|
id: string | undefined;
|
|
113
113
|
} extends infer T ? T extends {
|
|
114
114
|
src: "fetchConsent";
|
|
115
|
-
logic:
|
|
115
|
+
logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
116
116
|
consentId: string;
|
|
117
|
-
},
|
|
117
|
+
}, xstate122.EventObject>;
|
|
118
118
|
id: string | undefined;
|
|
119
119
|
} ? T extends {
|
|
120
120
|
src: TSrc;
|
|
121
|
-
} ?
|
|
121
|
+
} ? xstate122.ConditionalRequired<[options?: ({
|
|
122
122
|
id?: T["id"] | undefined;
|
|
123
123
|
systemId?: string;
|
|
124
|
-
input?:
|
|
124
|
+
input?: xstate122.InputFrom<T["logic"]> | undefined;
|
|
125
125
|
syncSnapshot?: boolean;
|
|
126
|
-
} & { [K in
|
|
126
|
+
} & { [K in xstate122.RequiredActorOptions<T>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
127
127
|
src: "submitConsent";
|
|
128
|
-
logic:
|
|
128
|
+
logic: xstate122.PromiseActorLogic<void, {
|
|
129
129
|
languageConsentId: string;
|
|
130
130
|
checkboxes: ConsentCheckbox[];
|
|
131
|
-
},
|
|
131
|
+
}, xstate122.EventObject>;
|
|
132
132
|
id: string | undefined;
|
|
133
133
|
} extends infer T_1 ? T_1 extends {
|
|
134
134
|
src: "submitConsent";
|
|
135
|
-
logic:
|
|
135
|
+
logic: xstate122.PromiseActorLogic<void, {
|
|
136
136
|
languageConsentId: string;
|
|
137
137
|
checkboxes: ConsentCheckbox[];
|
|
138
|
-
},
|
|
138
|
+
}, xstate122.EventObject>;
|
|
139
139
|
id: string | undefined;
|
|
140
140
|
} ? T_1 extends {
|
|
141
141
|
src: TSrc;
|
|
142
|
-
} ?
|
|
142
|
+
} ? xstate122.ConditionalRequired<[options?: ({
|
|
143
143
|
id?: T_1["id"] | undefined;
|
|
144
144
|
systemId?: string;
|
|
145
|
-
input?:
|
|
145
|
+
input?: xstate122.InputFrom<T_1["logic"]> | undefined;
|
|
146
146
|
syncSnapshot?: boolean;
|
|
147
|
-
} & { [K_1 in
|
|
147
|
+
} & { [K_1 in xstate122.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredActorOptions<T_1>>> : never : never : never)): xstate122.ActorRefFromLogic<xstate122.GetConcreteByKey<xstate122.Values<{
|
|
148
148
|
fetchConsent: {
|
|
149
149
|
src: "fetchConsent";
|
|
150
|
-
logic:
|
|
150
|
+
logic: xstate122.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
151
151
|
consentId: string;
|
|
152
|
-
},
|
|
152
|
+
}, xstate122.EventObject>;
|
|
153
153
|
id: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
submitConsent: {
|
|
156
156
|
src: "submitConsent";
|
|
157
|
-
logic:
|
|
157
|
+
logic: xstate122.PromiseActorLogic<void, {
|
|
158
158
|
languageConsentId: string;
|
|
159
159
|
checkboxes: ConsentCheckbox[];
|
|
160
|
-
},
|
|
160
|
+
}, xstate122.EventObject>;
|
|
161
161
|
id: string | undefined;
|
|
162
162
|
};
|
|
163
163
|
}>, "src", TSrc>["logic"]>;
|
|
164
|
-
<TLogic extends
|
|
164
|
+
<TLogic extends xstate122.AnyActorLogic>(src: TLogic, ...[options]: xstate122.ConditionalRequired<[options?: ({
|
|
165
165
|
id?: never;
|
|
166
166
|
systemId?: string;
|
|
167
|
-
input?:
|
|
167
|
+
input?: xstate122.InputFrom<TLogic> | undefined;
|
|
168
168
|
syncSnapshot?: boolean;
|
|
169
|
-
} & { [K in
|
|
169
|
+
} & { [K in xstate122.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate122.IsNotNever<xstate122.RequiredLogicInput<TLogic>>>): xstate122.ActorRefFromLogic<TLogic>;
|
|
170
170
|
};
|
|
171
171
|
input: ConsentInput;
|
|
172
|
-
self:
|
|
172
|
+
self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
|
|
173
173
|
type: "LOAD";
|
|
174
174
|
} | {
|
|
175
175
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -180,7 +180,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
180
180
|
type: "RETRY";
|
|
181
181
|
} | {
|
|
182
182
|
type: "RESET";
|
|
183
|
-
}, Record<string,
|
|
183
|
+
}, Record<string, xstate122.AnyActorRef | undefined>, xstate122.StateValue, string, unknown, any, any>, {
|
|
184
184
|
type: "LOAD";
|
|
185
185
|
} | {
|
|
186
186
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -191,7 +191,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
191
191
|
type: "RETRY";
|
|
192
192
|
} | {
|
|
193
193
|
type: "RESET";
|
|
194
|
-
},
|
|
194
|
+
}, xstate122.AnyEventObject>;
|
|
195
195
|
}) => {
|
|
196
196
|
config: ConsentConfig;
|
|
197
197
|
title: string;
|
|
@@ -229,7 +229,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
229
229
|
} | {
|
|
230
230
|
type: "RESET";
|
|
231
231
|
};
|
|
232
|
-
self:
|
|
232
|
+
self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
|
|
233
233
|
type: "LOAD";
|
|
234
234
|
} | {
|
|
235
235
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -240,7 +240,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
240
240
|
type: "RETRY";
|
|
241
241
|
} | {
|
|
242
242
|
type: "RESET";
|
|
243
|
-
}, Record<string,
|
|
243
|
+
}, Record<string, xstate122.AnyActorRef>, xstate122.StateValue, string, unknown, any, any>, {
|
|
244
244
|
type: "LOAD";
|
|
245
245
|
} | {
|
|
246
246
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -251,7 +251,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
251
251
|
type: "RETRY";
|
|
252
252
|
} | {
|
|
253
253
|
type: "RESET";
|
|
254
|
-
},
|
|
254
|
+
}, xstate122.AnyEventObject>;
|
|
255
255
|
}) => {
|
|
256
256
|
consentId: string;
|
|
257
257
|
};
|
|
@@ -300,7 +300,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
300
300
|
} | {
|
|
301
301
|
type: "RESET";
|
|
302
302
|
};
|
|
303
|
-
self:
|
|
303
|
+
self: xstate122.ActorRef<xstate122.MachineSnapshot<ConsentContext, {
|
|
304
304
|
type: "LOAD";
|
|
305
305
|
} | {
|
|
306
306
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -311,7 +311,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
311
311
|
type: "RETRY";
|
|
312
312
|
} | {
|
|
313
313
|
type: "RESET";
|
|
314
|
-
}, Record<string,
|
|
314
|
+
}, Record<string, xstate122.AnyActorRef>, xstate122.StateValue, string, unknown, any, any>, {
|
|
315
315
|
type: "LOAD";
|
|
316
316
|
} | {
|
|
317
317
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -322,7 +322,7 @@ declare const consentMachine: xstate63.StateMachine<ConsentContext, {
|
|
|
322
322
|
type: "RETRY";
|
|
323
323
|
} | {
|
|
324
324
|
type: "RESET";
|
|
325
|
-
},
|
|
325
|
+
}, xstate122.AnyEventObject>;
|
|
326
326
|
}) => {
|
|
327
327
|
languageConsentId: string;
|
|
328
328
|
checkboxes: ConsentCheckbox[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DKHVvCA1.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-pEBK1r31.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate63 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/document-capture/types.d.ts
|
|
6
6
|
type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
|
|
@@ -72,7 +72,7 @@ type DocumentCaptureInput = {
|
|
|
72
72
|
};
|
|
73
73
|
//#endregion
|
|
74
74
|
//#region src/modules/document-capture/documentCaptureStateMachine.d.ts
|
|
75
|
-
declare const documentCaptureMachine:
|
|
75
|
+
declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureContext, {
|
|
76
76
|
type: "CAPTURE";
|
|
77
77
|
} | {
|
|
78
78
|
type: "FILE_SELECTED";
|
|
@@ -95,27 +95,27 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
95
95
|
} | {
|
|
96
96
|
type: "CLOSE";
|
|
97
97
|
}, {
|
|
98
|
-
[x: string]:
|
|
98
|
+
[x: string]: xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<DocumentUploadResponse, {
|
|
99
99
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
100
100
|
processingType: string;
|
|
101
101
|
onProgress: (progress: number) => void;
|
|
102
|
-
},
|
|
103
|
-
},
|
|
102
|
+
}, xstate63.EventObject>> | undefined;
|
|
103
|
+
}, xstate63.Values<{
|
|
104
104
|
initCamera: {
|
|
105
105
|
src: "initCamera";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
|
|
107
107
|
id: string | undefined;
|
|
108
108
|
};
|
|
109
109
|
uploadDocument: {
|
|
110
110
|
src: "uploadDocument";
|
|
111
|
-
logic:
|
|
111
|
+
logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
|
|
112
112
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
113
113
|
processingType: string;
|
|
114
114
|
onProgress: (progress: number) => void;
|
|
115
|
-
},
|
|
115
|
+
}, xstate63.EventObject>;
|
|
116
116
|
id: string | undefined;
|
|
117
117
|
};
|
|
118
|
-
}>,
|
|
118
|
+
}>, xstate63.Values<{
|
|
119
119
|
setStream: {
|
|
120
120
|
type: "setStream";
|
|
121
121
|
params: unknown;
|
|
@@ -196,7 +196,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
196
196
|
type: "trackFailure";
|
|
197
197
|
params: unknown;
|
|
198
198
|
};
|
|
199
|
-
}>,
|
|
199
|
+
}>, xstate63.Values<{
|
|
200
200
|
allowSkip: {
|
|
201
201
|
type: "allowSkip";
|
|
202
202
|
params: unknown;
|
|
@@ -233,7 +233,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
233
233
|
type: "isPendingNextPage";
|
|
234
234
|
params: unknown;
|
|
235
235
|
};
|
|
236
|
-
}>, never, "initCamera" | "capturing" | "closed" | "uploading" | "finished" | "tutorial" | "preview" | "failure" | "success", string, DocumentCaptureInput,
|
|
236
|
+
}>, never, "initCamera" | "capturing" | "closed" | "uploading" | "finished" | "tutorial" | "preview" | "failure" | "success", string, DocumentCaptureInput, xstate63.NonReducibleUnknown, xstate63.EventObject, xstate63.MetaObject, {
|
|
237
237
|
readonly id: "documentCapture";
|
|
238
238
|
readonly initial: "tutorial";
|
|
239
239
|
readonly context: ({
|
|
@@ -242,67 +242,67 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
242
242
|
spawn: {
|
|
243
243
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
244
244
|
src: "initCamera";
|
|
245
|
-
logic:
|
|
245
|
+
logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
|
|
246
246
|
id: string | undefined;
|
|
247
247
|
} extends infer T ? T extends {
|
|
248
248
|
src: "initCamera";
|
|
249
|
-
logic:
|
|
249
|
+
logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
|
|
250
250
|
id: string | undefined;
|
|
251
251
|
} ? T extends {
|
|
252
252
|
src: TSrc;
|
|
253
|
-
} ?
|
|
253
|
+
} ? xstate63.ConditionalRequired<[options?: ({
|
|
254
254
|
id?: T["id"] | undefined;
|
|
255
255
|
systemId?: string;
|
|
256
|
-
input?:
|
|
256
|
+
input?: xstate63.InputFrom<T["logic"]> | undefined;
|
|
257
257
|
syncSnapshot?: boolean;
|
|
258
|
-
} & { [K in
|
|
258
|
+
} & { [K in xstate63.RequiredActorOptions<T>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
259
259
|
src: "uploadDocument";
|
|
260
|
-
logic:
|
|
260
|
+
logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
|
|
261
261
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
262
262
|
processingType: string;
|
|
263
263
|
onProgress: (progress: number) => void;
|
|
264
|
-
},
|
|
264
|
+
}, xstate63.EventObject>;
|
|
265
265
|
id: string | undefined;
|
|
266
266
|
} extends infer T_1 ? T_1 extends {
|
|
267
267
|
src: "uploadDocument";
|
|
268
|
-
logic:
|
|
268
|
+
logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
|
|
269
269
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
270
270
|
processingType: string;
|
|
271
271
|
onProgress: (progress: number) => void;
|
|
272
|
-
},
|
|
272
|
+
}, xstate63.EventObject>;
|
|
273
273
|
id: string | undefined;
|
|
274
274
|
} ? T_1 extends {
|
|
275
275
|
src: TSrc;
|
|
276
|
-
} ?
|
|
276
|
+
} ? xstate63.ConditionalRequired<[options?: ({
|
|
277
277
|
id?: T_1["id"] | undefined;
|
|
278
278
|
systemId?: string;
|
|
279
|
-
input?:
|
|
279
|
+
input?: xstate63.InputFrom<T_1["logic"]> | undefined;
|
|
280
280
|
syncSnapshot?: boolean;
|
|
281
|
-
} & { [K_1 in
|
|
281
|
+
} & { [K_1 in xstate63.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_1>>> : never : never : never)): xstate63.ActorRefFromLogic<xstate63.GetConcreteByKey<xstate63.Values<{
|
|
282
282
|
initCamera: {
|
|
283
283
|
src: "initCamera";
|
|
284
|
-
logic:
|
|
284
|
+
logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
|
|
285
285
|
id: string | undefined;
|
|
286
286
|
};
|
|
287
287
|
uploadDocument: {
|
|
288
288
|
src: "uploadDocument";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
|
|
290
290
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
291
291
|
processingType: string;
|
|
292
292
|
onProgress: (progress: number) => void;
|
|
293
|
-
},
|
|
293
|
+
}, xstate63.EventObject>;
|
|
294
294
|
id: string | undefined;
|
|
295
295
|
};
|
|
296
296
|
}>, "src", TSrc>["logic"]>;
|
|
297
|
-
<TLogic extends
|
|
297
|
+
<TLogic extends xstate63.AnyActorLogic>(src: TLogic, ...[options]: xstate63.ConditionalRequired<[options?: ({
|
|
298
298
|
id?: never;
|
|
299
299
|
systemId?: string;
|
|
300
|
-
input?:
|
|
300
|
+
input?: xstate63.InputFrom<TLogic> | undefined;
|
|
301
301
|
syncSnapshot?: boolean;
|
|
302
|
-
} & { [K in
|
|
302
|
+
} & { [K in xstate63.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredLogicInput<TLogic>>>): xstate63.ActorRefFromLogic<TLogic>;
|
|
303
303
|
};
|
|
304
304
|
input: DocumentCaptureInput;
|
|
305
|
-
self:
|
|
305
|
+
self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
|
|
306
306
|
type: "CAPTURE";
|
|
307
307
|
} | {
|
|
308
308
|
type: "FILE_SELECTED";
|
|
@@ -324,7 +324,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
324
324
|
type: "SKIP";
|
|
325
325
|
} | {
|
|
326
326
|
type: "CLOSE";
|
|
327
|
-
}, Record<string,
|
|
327
|
+
}, Record<string, xstate63.AnyActorRef | undefined>, xstate63.StateValue, string, unknown, any, any>, {
|
|
328
328
|
type: "CAPTURE";
|
|
329
329
|
} | {
|
|
330
330
|
type: "FILE_SELECTED";
|
|
@@ -346,7 +346,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
346
346
|
type: "SKIP";
|
|
347
347
|
} | {
|
|
348
348
|
type: "CLOSE";
|
|
349
|
-
},
|
|
349
|
+
}, xstate63.AnyEventObject>;
|
|
350
350
|
}) => {
|
|
351
351
|
config: {
|
|
352
352
|
processingType: DocumentType;
|
|
@@ -487,7 +487,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
487
487
|
} | {
|
|
488
488
|
type: "CLOSE";
|
|
489
489
|
};
|
|
490
|
-
self:
|
|
490
|
+
self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
|
|
491
491
|
type: "CAPTURE";
|
|
492
492
|
} | {
|
|
493
493
|
type: "FILE_SELECTED";
|
|
@@ -509,7 +509,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
509
509
|
type: "SKIP";
|
|
510
510
|
} | {
|
|
511
511
|
type: "CLOSE";
|
|
512
|
-
}, Record<string,
|
|
512
|
+
}, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
|
|
513
513
|
type: "CAPTURE";
|
|
514
514
|
} | {
|
|
515
515
|
type: "FILE_SELECTED";
|
|
@@ -531,7 +531,7 @@ declare const documentCaptureMachine: xstate126.StateMachine<DocumentCaptureCont
|
|
|
531
531
|
type: "SKIP";
|
|
532
532
|
} | {
|
|
533
533
|
type: "CLOSE";
|
|
534
|
-
},
|
|
534
|
+
}, xstate63.AnyEventObject>;
|
|
535
535
|
}) => {
|
|
536
536
|
capturedDocument: CapturedDocument;
|
|
537
537
|
processingType: DocumentType;
|