@incodetech/core 0.0.0-dev-20260402-43cf9b8 → 0.0.0-dev-20260402-7cf9db4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./Actor-phIcsUhv.js";
2
2
  import { t as Manager } from "./Manager-BndLda4_.js";
3
- import * as xstate67 from "xstate";
3
+ import * as xstate0 from "xstate";
4
4
 
5
5
  //#region src/modules/consent/types.d.ts
6
6
  type ConsentConfig = {
@@ -36,7 +36,7 @@ type ConsentContext = {
36
36
  type ConsentInput = {
37
37
  config: ConsentConfig;
38
38
  };
39
- declare const consentMachine: xstate67.StateMachine<ConsentContext, {
39
+ declare const consentMachine: xstate0.StateMachine<ConsentContext, {
40
40
  type: "LOAD";
41
41
  } | {
42
42
  type: "TOGGLE_CHECKBOX";
@@ -48,53 +48,53 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
48
48
  } | {
49
49
  type: "RESET";
50
50
  }, {
51
- [x: string]: xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<FetchCombinedConsentResponse, {
51
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
52
52
  consentId: string;
53
- }, xstate67.EventObject>> | xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<void, {
53
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
54
54
  languageConsentId: string;
55
55
  checkboxes: ConsentCheckbox[];
56
- }, xstate67.EventObject>> | undefined;
57
- }, xstate67.Values<{
56
+ }, xstate0.EventObject>> | undefined;
57
+ }, xstate0.Values<{
58
58
  fetchConsent: {
59
59
  src: "fetchConsent";
60
- logic: xstate67.PromiseActorLogic<FetchCombinedConsentResponse, {
60
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
61
61
  consentId: string;
62
- }, xstate67.EventObject>;
62
+ }, xstate0.EventObject>;
63
63
  id: string | undefined;
64
64
  };
65
65
  submitConsent: {
66
66
  src: "submitConsent";
67
- logic: xstate67.PromiseActorLogic<void, {
67
+ logic: xstate0.PromiseActorLogic<void, {
68
68
  languageConsentId: string;
69
69
  checkboxes: ConsentCheckbox[];
70
- }, xstate67.EventObject>;
70
+ }, xstate0.EventObject>;
71
71
  id: string | undefined;
72
72
  };
73
- }>, xstate67.Values<{
73
+ }>, xstate0.Values<{
74
+ setConsentData: {
75
+ type: "setConsentData";
76
+ params: xstate0.NonReducibleUnknown;
77
+ };
78
+ toggleCheckbox: {
79
+ type: "toggleCheckbox";
80
+ params: xstate0.NonReducibleUnknown;
81
+ };
74
82
  setError: {
75
83
  type: "setError";
76
- params: xstate67.NonReducibleUnknown;
84
+ params: xstate0.NonReducibleUnknown;
77
85
  };
78
86
  clearError: {
79
87
  type: "clearError";
80
- params: xstate67.NonReducibleUnknown;
88
+ params: xstate0.NonReducibleUnknown;
81
89
  };
82
90
  resetContext: {
83
91
  type: "resetContext";
84
- params: xstate67.NonReducibleUnknown;
85
- };
86
- setConsentData: {
87
- type: "setConsentData";
88
- params: xstate67.NonReducibleUnknown;
89
- };
90
- toggleCheckbox: {
91
- type: "toggleCheckbox";
92
- params: xstate67.NonReducibleUnknown;
92
+ params: xstate0.NonReducibleUnknown;
93
93
  };
94
94
  }>, {
95
95
  type: "canSubmit";
96
96
  params: unknown;
97
- }, never, "error" | "idle" | "loading" | "display" | "submitting" | "finished", string, ConsentInput, xstate67.NonReducibleUnknown, xstate67.EventObject, xstate67.MetaObject, {
97
+ }, never, "error" | "idle" | "loading" | "display" | "submitting" | "finished", string, ConsentInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
98
98
  readonly id: "consent";
99
99
  readonly initial: "idle";
100
100
  readonly context: ({
@@ -103,70 +103,70 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
103
103
  spawn: {
104
104
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
105
105
  src: "fetchConsent";
106
- logic: xstate67.PromiseActorLogic<FetchCombinedConsentResponse, {
106
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
107
107
  consentId: string;
108
- }, xstate67.EventObject>;
108
+ }, xstate0.EventObject>;
109
109
  id: string | undefined;
110
110
  } extends infer T ? T extends {
111
111
  src: "fetchConsent";
112
- logic: xstate67.PromiseActorLogic<FetchCombinedConsentResponse, {
112
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
113
113
  consentId: string;
114
- }, xstate67.EventObject>;
114
+ }, xstate0.EventObject>;
115
115
  id: string | undefined;
116
116
  } ? T extends {
117
117
  src: TSrc;
118
- } ? xstate67.ConditionalRequired<[options?: ({
118
+ } ? xstate0.ConditionalRequired<[options?: ({
119
119
  id?: T["id"] | undefined;
120
120
  systemId?: string;
121
- input?: xstate67.InputFrom<T["logic"]> | undefined;
121
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
122
122
  syncSnapshot?: boolean;
123
- } & { [K in xstate67.RequiredActorOptions<T>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T>>> : never : never : never) | ({
123
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
124
124
  src: "submitConsent";
125
- logic: xstate67.PromiseActorLogic<void, {
125
+ logic: xstate0.PromiseActorLogic<void, {
126
126
  languageConsentId: string;
127
127
  checkboxes: ConsentCheckbox[];
128
- }, xstate67.EventObject>;
128
+ }, xstate0.EventObject>;
129
129
  id: string | undefined;
130
130
  } extends infer T_1 ? T_1 extends {
131
131
  src: "submitConsent";
132
- logic: xstate67.PromiseActorLogic<void, {
132
+ logic: xstate0.PromiseActorLogic<void, {
133
133
  languageConsentId: string;
134
134
  checkboxes: ConsentCheckbox[];
135
- }, xstate67.EventObject>;
135
+ }, xstate0.EventObject>;
136
136
  id: string | undefined;
137
137
  } ? T_1 extends {
138
138
  src: TSrc;
139
- } ? xstate67.ConditionalRequired<[options?: ({
139
+ } ? xstate0.ConditionalRequired<[options?: ({
140
140
  id?: T_1["id"] | undefined;
141
141
  systemId?: string;
142
- input?: xstate67.InputFrom<T_1["logic"]> | undefined;
142
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
143
143
  syncSnapshot?: boolean;
144
- } & { [K_1 in xstate67.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T_1>>> : never : never : never)): xstate67.ActorRefFromLogic<xstate67.GetConcreteByKey<xstate67.Values<{
144
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
145
145
  fetchConsent: {
146
146
  src: "fetchConsent";
147
- logic: xstate67.PromiseActorLogic<FetchCombinedConsentResponse, {
147
+ logic: xstate0.PromiseActorLogic<FetchCombinedConsentResponse, {
148
148
  consentId: string;
149
- }, xstate67.EventObject>;
149
+ }, xstate0.EventObject>;
150
150
  id: string | undefined;
151
151
  };
152
152
  submitConsent: {
153
153
  src: "submitConsent";
154
- logic: xstate67.PromiseActorLogic<void, {
154
+ logic: xstate0.PromiseActorLogic<void, {
155
155
  languageConsentId: string;
156
156
  checkboxes: ConsentCheckbox[];
157
- }, xstate67.EventObject>;
157
+ }, xstate0.EventObject>;
158
158
  id: string | undefined;
159
159
  };
160
160
  }>, "src", TSrc>["logic"]>;
161
- <TLogic extends xstate67.AnyActorLogic>(src: TLogic, ...[options]: xstate67.ConditionalRequired<[options?: ({
161
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
162
162
  id?: never;
163
163
  systemId?: string;
164
- input?: xstate67.InputFrom<TLogic> | undefined;
164
+ input?: xstate0.InputFrom<TLogic> | undefined;
165
165
  syncSnapshot?: boolean;
166
- } & { [K in xstate67.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredLogicInput<TLogic>>>): xstate67.ActorRefFromLogic<TLogic>;
166
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
167
167
  };
168
168
  input: ConsentInput;
169
- self: xstate67.ActorRef<xstate67.MachineSnapshot<ConsentContext, {
169
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
170
170
  type: "LOAD";
171
171
  } | {
172
172
  type: "TOGGLE_CHECKBOX";
@@ -177,7 +177,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
177
177
  type: "RETRY";
178
178
  } | {
179
179
  type: "RESET";
180
- }, Record<string, xstate67.AnyActorRef | undefined>, xstate67.StateValue, string, unknown, any, any>, {
180
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
181
181
  type: "LOAD";
182
182
  } | {
183
183
  type: "TOGGLE_CHECKBOX";
@@ -188,7 +188,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
188
188
  type: "RETRY";
189
189
  } | {
190
190
  type: "RESET";
191
- }, xstate67.AnyEventObject>;
191
+ }, xstate0.AnyEventObject>;
192
192
  }) => {
193
193
  config: ConsentConfig;
194
194
  title: string;
@@ -226,7 +226,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
226
226
  } | {
227
227
  type: "RESET";
228
228
  };
229
- self: xstate67.ActorRef<xstate67.MachineSnapshot<ConsentContext, {
229
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
230
230
  type: "LOAD";
231
231
  } | {
232
232
  type: "TOGGLE_CHECKBOX";
@@ -237,7 +237,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
237
237
  type: "RETRY";
238
238
  } | {
239
239
  type: "RESET";
240
- }, Record<string, xstate67.AnyActorRef>, xstate67.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
241
241
  type: "LOAD";
242
242
  } | {
243
243
  type: "TOGGLE_CHECKBOX";
@@ -248,7 +248,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate67.AnyEventObject>;
251
+ }, xstate0.AnyEventObject>;
252
252
  }) => {
253
253
  consentId: string;
254
254
  };
@@ -297,7 +297,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
297
297
  } | {
298
298
  type: "RESET";
299
299
  };
300
- self: xstate67.ActorRef<xstate67.MachineSnapshot<ConsentContext, {
300
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<ConsentContext, {
301
301
  type: "LOAD";
302
302
  } | {
303
303
  type: "TOGGLE_CHECKBOX";
@@ -308,7 +308,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
308
308
  type: "RETRY";
309
309
  } | {
310
310
  type: "RESET";
311
- }, Record<string, xstate67.AnyActorRef>, xstate67.StateValue, string, unknown, any, any>, {
311
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
312
312
  type: "LOAD";
313
313
  } | {
314
314
  type: "TOGGLE_CHECKBOX";
@@ -319,7 +319,7 @@ declare const consentMachine: xstate67.StateMachine<ConsentContext, {
319
319
  type: "RETRY";
320
320
  } | {
321
321
  type: "RESET";
322
- }, xstate67.AnyEventObject>;
322
+ }, xstate0.AnyEventObject>;
323
323
  }) => {
324
324
  languageConsentId: string;
325
325
  checkboxes: ConsentCheckbox[];
@@ -1,7 +1,7 @@
1
1
  import "./Actor-phIcsUhv.js";
2
2
  import { t as CameraStream } from "./camera-Dv2WEhGe.js";
3
3
  import { t as Manager } from "./Manager-BndLda4_.js";
4
- import * as xstate199 from "xstate";
4
+ import * as xstate67 from "xstate";
5
5
 
6
6
  //#region src/modules/document-capture/types.d.ts
7
7
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
@@ -73,7 +73,7 @@ type DocumentCaptureInput = {
73
73
  };
74
74
  //#endregion
75
75
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
76
- declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureContext, {
76
+ declare const documentCaptureMachine: xstate67.StateMachine<DocumentCaptureContext, {
77
77
  type: "CAPTURE";
78
78
  } | {
79
79
  type: "FILE_SELECTED";
@@ -96,84 +96,84 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
96
96
  } | {
97
97
  type: "CLOSE";
98
98
  }, {
99
- [x: string]: xstate199.ActorRefFromLogic<xstate199.PromiseActorLogic<MediaStream, void, xstate199.EventObject>> | xstate199.ActorRefFromLogic<xstate199.PromiseActorLogic<DocumentUploadResponse, {
99
+ [x: string]: xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<MediaStream, void, xstate67.EventObject>> | xstate67.ActorRefFromLogic<xstate67.PromiseActorLogic<DocumentUploadResponse, {
100
100
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
101
101
  processingType: string;
102
102
  onProgress: (progress: number) => void;
103
- }, xstate199.EventObject>> | undefined;
104
- }, xstate199.Values<{
103
+ }, xstate67.EventObject>> | undefined;
104
+ }, xstate67.Values<{
105
105
  initCamera: {
106
106
  src: "initCamera";
107
- logic: xstate199.PromiseActorLogic<MediaStream, void, xstate199.EventObject>;
107
+ logic: xstate67.PromiseActorLogic<MediaStream, void, xstate67.EventObject>;
108
108
  id: string | undefined;
109
109
  };
110
110
  uploadDocument: {
111
111
  src: "uploadDocument";
112
- logic: xstate199.PromiseActorLogic<DocumentUploadResponse, {
112
+ logic: xstate67.PromiseActorLogic<DocumentUploadResponse, {
113
113
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
114
114
  processingType: string;
115
115
  onProgress: (progress: number) => void;
116
- }, xstate199.EventObject>;
116
+ }, xstate67.EventObject>;
117
117
  id: string | undefined;
118
118
  };
119
- }>, xstate199.Values<{
119
+ }>, xstate67.Values<{
120
120
  clearError: {
121
121
  type: "clearError";
122
- params: xstate199.NonReducibleUnknown;
122
+ params: xstate67.NonReducibleUnknown;
123
123
  };
124
124
  setStream: {
125
125
  type: "setStream";
126
- params: xstate199.NonReducibleUnknown;
127
- };
128
- setProgress: {
129
- type: "setProgress";
130
- params: xstate199.NonReducibleUnknown;
131
- };
132
- stopStream: {
133
- type: "stopStream";
134
- params: xstate199.NonReducibleUnknown;
126
+ params: xstate67.NonReducibleUnknown;
135
127
  };
136
128
  setCapturedDocument: {
137
129
  type: "setCapturedDocument";
138
- params: xstate199.NonReducibleUnknown;
130
+ params: xstate67.NonReducibleUnknown;
139
131
  };
140
132
  setFileTooLargeError: {
141
133
  type: "setFileTooLargeError";
142
- params: xstate199.NonReducibleUnknown;
134
+ params: xstate67.NonReducibleUnknown;
135
+ };
136
+ setProgress: {
137
+ type: "setProgress";
138
+ params: xstate67.NonReducibleUnknown;
143
139
  };
144
140
  setUploadError: {
145
141
  type: "setUploadError";
146
- params: xstate199.NonReducibleUnknown;
142
+ params: xstate67.NonReducibleUnknown;
147
143
  };
148
144
  decrementAttemptsRemaining: {
149
145
  type: "decrementAttemptsRemaining";
150
- params: xstate199.NonReducibleUnknown;
146
+ params: xstate67.NonReducibleUnknown;
151
147
  };
152
148
  setCaptureMethodFile: {
153
149
  type: "setCaptureMethodFile";
154
- params: xstate199.NonReducibleUnknown;
150
+ params: xstate67.NonReducibleUnknown;
155
151
  };
156
152
  setCaptureMethodCamera: {
157
153
  type: "setCaptureMethodCamera";
158
- params: xstate199.NonReducibleUnknown;
154
+ params: xstate67.NonReducibleUnknown;
159
155
  };
160
156
  clearCapturedDocument: {
161
157
  type: "clearCapturedDocument";
162
- params: xstate199.NonReducibleUnknown;
158
+ params: xstate67.NonReducibleUnknown;
163
159
  };
164
160
  setPendingNextPage: {
165
161
  type: "setPendingNextPage";
166
- params: xstate199.NonReducibleUnknown;
162
+ params: xstate67.NonReducibleUnknown;
167
163
  };
168
164
  clearForNextPage: {
169
165
  type: "clearForNextPage";
170
- params: xstate199.NonReducibleUnknown;
166
+ params: xstate67.NonReducibleUnknown;
171
167
  };
172
168
  resetProgress: {
173
169
  type: "resetProgress";
174
- params: xstate199.NonReducibleUnknown;
170
+ params: xstate67.NonReducibleUnknown;
171
+ };
172
+ stopStream: {
173
+ type: "stopStream";
174
+ params: xstate67.NonReducibleUnknown;
175
175
  };
176
- }>, xstate199.Values<{
176
+ }>, xstate67.Values<{
177
177
  allowSkip: {
178
178
  type: "allowSkip";
179
179
  params: unknown;
@@ -210,7 +210,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
210
210
  type: "isPendingNextPage";
211
211
  params: unknown;
212
212
  };
213
- }>, never, "closed" | "finished" | "initCamera" | "capturing" | "uploading" | "tutorial" | "preview" | "failure" | "success", string, DocumentCaptureInput, xstate199.NonReducibleUnknown, xstate199.EventObject, xstate199.MetaObject, {
213
+ }>, never, "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "closed" | "failure" | "uploading" | "success", string, DocumentCaptureInput, xstate67.NonReducibleUnknown, xstate67.EventObject, xstate67.MetaObject, {
214
214
  readonly id: "documentCapture";
215
215
  readonly initial: "tutorial";
216
216
  readonly context: ({
@@ -219,67 +219,67 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
219
219
  spawn: {
220
220
  <TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
221
221
  src: "initCamera";
222
- logic: xstate199.PromiseActorLogic<MediaStream, void, xstate199.EventObject>;
222
+ logic: xstate67.PromiseActorLogic<MediaStream, void, xstate67.EventObject>;
223
223
  id: string | undefined;
224
224
  } extends infer T ? T extends {
225
225
  src: "initCamera";
226
- logic: xstate199.PromiseActorLogic<MediaStream, void, xstate199.EventObject>;
226
+ logic: xstate67.PromiseActorLogic<MediaStream, void, xstate67.EventObject>;
227
227
  id: string | undefined;
228
228
  } ? T extends {
229
229
  src: TSrc;
230
- } ? xstate199.ConditionalRequired<[options?: ({
230
+ } ? xstate67.ConditionalRequired<[options?: ({
231
231
  id?: T["id"] | undefined;
232
232
  systemId?: string;
233
- input?: xstate199.InputFrom<T["logic"]> | undefined;
233
+ input?: xstate67.InputFrom<T["logic"]> | undefined;
234
234
  syncSnapshot?: boolean;
235
- } & { [K in xstate199.RequiredActorOptions<T>]: unknown }) | undefined], xstate199.IsNotNever<xstate199.RequiredActorOptions<T>>> : never : never : never) | ({
235
+ } & { [K in xstate67.RequiredActorOptions<T>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T>>> : never : never : never) | ({
236
236
  src: "uploadDocument";
237
- logic: xstate199.PromiseActorLogic<DocumentUploadResponse, {
237
+ logic: xstate67.PromiseActorLogic<DocumentUploadResponse, {
238
238
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
239
239
  processingType: string;
240
240
  onProgress: (progress: number) => void;
241
- }, xstate199.EventObject>;
241
+ }, xstate67.EventObject>;
242
242
  id: string | undefined;
243
243
  } extends infer T_1 ? T_1 extends {
244
244
  src: "uploadDocument";
245
- logic: xstate199.PromiseActorLogic<DocumentUploadResponse, {
245
+ logic: xstate67.PromiseActorLogic<DocumentUploadResponse, {
246
246
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
247
247
  processingType: string;
248
248
  onProgress: (progress: number) => void;
249
- }, xstate199.EventObject>;
249
+ }, xstate67.EventObject>;
250
250
  id: string | undefined;
251
251
  } ? T_1 extends {
252
252
  src: TSrc;
253
- } ? xstate199.ConditionalRequired<[options?: ({
253
+ } ? xstate67.ConditionalRequired<[options?: ({
254
254
  id?: T_1["id"] | undefined;
255
255
  systemId?: string;
256
- input?: xstate199.InputFrom<T_1["logic"]> | undefined;
256
+ input?: xstate67.InputFrom<T_1["logic"]> | undefined;
257
257
  syncSnapshot?: boolean;
258
- } & { [K_1 in xstate199.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate199.IsNotNever<xstate199.RequiredActorOptions<T_1>>> : never : never : never)): xstate199.ActorRefFromLogic<xstate199.GetConcreteByKey<xstate199.Values<{
258
+ } & { [K_1 in xstate67.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredActorOptions<T_1>>> : never : never : never)): xstate67.ActorRefFromLogic<xstate67.GetConcreteByKey<xstate67.Values<{
259
259
  initCamera: {
260
260
  src: "initCamera";
261
- logic: xstate199.PromiseActorLogic<MediaStream, void, xstate199.EventObject>;
261
+ logic: xstate67.PromiseActorLogic<MediaStream, void, xstate67.EventObject>;
262
262
  id: string | undefined;
263
263
  };
264
264
  uploadDocument: {
265
265
  src: "uploadDocument";
266
- logic: xstate199.PromiseActorLogic<DocumentUploadResponse, {
266
+ logic: xstate67.PromiseActorLogic<DocumentUploadResponse, {
267
267
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
268
268
  processingType: string;
269
269
  onProgress: (progress: number) => void;
270
- }, xstate199.EventObject>;
270
+ }, xstate67.EventObject>;
271
271
  id: string | undefined;
272
272
  };
273
273
  }>, "src", TSrc>["logic"]>;
274
- <TLogic extends xstate199.AnyActorLogic>(src: TLogic, ...[options]: xstate199.ConditionalRequired<[options?: ({
274
+ <TLogic extends xstate67.AnyActorLogic>(src: TLogic, ...[options]: xstate67.ConditionalRequired<[options?: ({
275
275
  id?: never;
276
276
  systemId?: string;
277
- input?: xstate199.InputFrom<TLogic> | undefined;
277
+ input?: xstate67.InputFrom<TLogic> | undefined;
278
278
  syncSnapshot?: boolean;
279
- } & { [K in xstate199.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate199.IsNotNever<xstate199.RequiredLogicInput<TLogic>>>): xstate199.ActorRefFromLogic<TLogic>;
279
+ } & { [K in xstate67.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate67.IsNotNever<xstate67.RequiredLogicInput<TLogic>>>): xstate67.ActorRefFromLogic<TLogic>;
280
280
  };
281
281
  input: DocumentCaptureInput;
282
- self: xstate199.ActorRef<xstate199.MachineSnapshot<DocumentCaptureContext, {
282
+ self: xstate67.ActorRef<xstate67.MachineSnapshot<DocumentCaptureContext, {
283
283
  type: "CAPTURE";
284
284
  } | {
285
285
  type: "FILE_SELECTED";
@@ -301,7 +301,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
301
301
  type: "SKIP";
302
302
  } | {
303
303
  type: "CLOSE";
304
- }, Record<string, xstate199.AnyActorRef | undefined>, xstate199.StateValue, string, unknown, any, any>, {
304
+ }, Record<string, xstate67.AnyActorRef | undefined>, xstate67.StateValue, string, unknown, any, any>, {
305
305
  type: "CAPTURE";
306
306
  } | {
307
307
  type: "FILE_SELECTED";
@@ -323,7 +323,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
323
323
  type: "SKIP";
324
324
  } | {
325
325
  type: "CLOSE";
326
- }, xstate199.AnyEventObject>;
326
+ }, xstate67.AnyEventObject>;
327
327
  }) => {
328
328
  config: {
329
329
  processingType: DocumentType;
@@ -460,7 +460,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
460
460
  } | {
461
461
  type: "CLOSE";
462
462
  };
463
- self: xstate199.ActorRef<xstate199.MachineSnapshot<DocumentCaptureContext, {
463
+ self: xstate67.ActorRef<xstate67.MachineSnapshot<DocumentCaptureContext, {
464
464
  type: "CAPTURE";
465
465
  } | {
466
466
  type: "FILE_SELECTED";
@@ -482,7 +482,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
482
482
  type: "SKIP";
483
483
  } | {
484
484
  type: "CLOSE";
485
- }, Record<string, xstate199.AnyActorRef>, xstate199.StateValue, string, unknown, any, any>, {
485
+ }, Record<string, xstate67.AnyActorRef>, xstate67.StateValue, string, unknown, any, any>, {
486
486
  type: "CAPTURE";
487
487
  } | {
488
488
  type: "FILE_SELECTED";
@@ -504,7 +504,7 @@ declare const documentCaptureMachine: xstate199.StateMachine<DocumentCaptureCont
504
504
  type: "SKIP";
505
505
  } | {
506
506
  type: "CLOSE";
507
- }, xstate199.AnyEventObject>;
507
+ }, xstate67.AnyEventObject>;
508
508
  }) => {
509
509
  capturedDocument: CapturedDocument;
510
510
  processingType: DocumentType;