@incodetech/core 0.0.0-dev-20260618-d9dafee1 → 0.0.0-dev-20260618-c6ccb3ca

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.
Files changed (35) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/certificate-issuance.d.ts +28 -28
  3. package/dist/consent.d.ts +1 -1
  4. package/dist/{consentManager-w-Pzea9a.d.ts → consentManager-Cu8PF0H0.d.ts} +50 -50
  5. package/dist/cpf-ocr.d.ts +1 -1
  6. package/dist/{cpfOcrManager-VlvIgvq3.d.ts → cpfOcrManager-CNfIFhha.d.ts} +17 -17
  7. package/dist/document-capture.d.ts +219 -219
  8. package/dist/document-upload.d.ts +43 -43
  9. package/dist/ekyb.esm.js +3 -3
  10. package/dist/{ekybStateMachine-aIAMdazc.esm.js → ekybStateMachine-Br1wBDpg.esm.js} +1 -1
  11. package/dist/electronic-signature.d.ts +1 -1
  12. package/dist/extensibility.d.ts +4 -4
  13. package/dist/extensibility.esm.js +3 -3
  14. package/dist/flow.d.ts +2 -2
  15. package/dist/flow.esm.js +2 -2
  16. package/dist/{flowServices-C9uTMUi8.esm.js → flowServices-Bfszkz06.esm.js} +1 -1
  17. package/dist/home.d.ts +10 -10
  18. package/dist/id-ocr.d.ts +55 -55
  19. package/dist/id-verification.d.ts +25 -25
  20. package/dist/id.esm.js +3 -3
  21. package/dist/{idCaptureManager-DuOiBzKA.esm.js → idCaptureManager-Bnvstb8q.esm.js} +1 -1
  22. package/dist/{idCaptureStateMachine-D6nAb9_Q.esm.js → idCaptureStateMachine-D2-YLKEq.esm.js} +1 -1
  23. package/dist/identity-reuse.d.ts +1 -1
  24. package/dist/{identityReuseManager-Dp3giL8s.d.ts → identityReuseManager-DI4OYfZa.d.ts} +31 -31
  25. package/dist/{index-3aS-pBij.d.ts → index-B97U8dGl.d.ts} +168 -168
  26. package/dist/index.esm.js +2 -2
  27. package/dist/mandatory-consent.d.ts +1 -1
  28. package/dist/{mandatoryConsentManager-DIE3Mi0A.d.ts → mandatoryConsentManager-92wvPNCD.d.ts} +50 -50
  29. package/dist/qe-signature.d.ts +1 -1
  30. package/dist/session.esm.js +1 -1
  31. package/dist/{sessionInitializer-CIkApP22.esm.js → sessionInitializer-BCFgAROb.esm.js} +1 -1
  32. package/dist/{setup-zGuTg-AF.esm.js → setup-BSvUCn_x.esm.js} +1 -1
  33. package/dist/wasm.esm.js +2 -2
  34. package/dist/workflow.esm.js +4 -4
  35. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-B2OEDYqf.js";
2
2
  import "./Actor-fIPLXfoi.js";
3
3
  import { t as CameraStream } from "./camera-D0c7ez3w.js";
4
4
  import { n as PermissionStatus, t as PermissionResult } from "./types-F0IXbaCB.js";
5
- import * as xstate63 from "xstate";
5
+ import * as xstate615 from "xstate";
6
6
 
7
7
  //#region src/modules/document-capture/types.d.ts
8
8
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
@@ -86,7 +86,7 @@ type DocumentCaptureInput = {
86
86
  };
87
87
  //#endregion
88
88
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
89
- declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureContext, {
89
+ declare const documentCaptureMachine: xstate615.StateMachine<DocumentCaptureContext, {
90
90
  type: "CAPTURE";
91
91
  } | {
92
92
  type: "FILE_SELECTED";
@@ -121,125 +121,125 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
121
121
  } | {
122
122
  type: "CLOSE";
123
123
  }, {
124
- [x: string]: xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<DocumentUploadResponse, {
124
+ [x: string]: xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>> | xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<DocumentUploadResponse, {
125
125
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
126
126
  processingType: string;
127
127
  onProgress: (progress: number) => void;
128
- }, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<PermissionResult, {
128
+ }, xstate615.EventObject>> | xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<PermissionResult, {
129
129
  permissionResult?: PermissionResult;
130
130
  requestMotionPermission: boolean;
131
- }, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
131
+ }, xstate615.EventObject>> | xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>> | xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
132
132
  processingType: string;
133
- }, xstate63.EventObject>> | undefined;
134
- }, xstate63.Values<{
133
+ }, xstate615.EventObject>> | undefined;
134
+ }, xstate615.Values<{
135
135
  uploadDocument: {
136
136
  src: "uploadDocument";
137
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
137
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
138
138
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
139
139
  processingType: string;
140
140
  onProgress: (progress: number) => void;
141
- }, xstate63.EventObject>;
141
+ }, xstate615.EventObject>;
142
142
  id: string | undefined;
143
143
  };
144
144
  initCamera: {
145
145
  src: "initCamera";
146
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
147
- id: string | undefined;
148
- };
149
- checkPermission: {
150
- src: "checkPermission";
151
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
146
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
152
147
  id: string | undefined;
153
148
  };
154
149
  requestPermission: {
155
150
  src: "requestPermission";
156
- logic: xstate63.PromiseActorLogic<PermissionResult, {
151
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
157
152
  permissionResult?: PermissionResult;
158
153
  requestMotionPermission: boolean;
159
- }, xstate63.EventObject>;
154
+ }, xstate615.EventObject>;
155
+ id: string | undefined;
156
+ };
157
+ checkPermission: {
158
+ src: "checkPermission";
159
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
160
160
  id: string | undefined;
161
161
  };
162
162
  finalizeDocumentRequest: {
163
163
  src: "finalizeDocumentRequest";
164
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
164
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
165
165
  processingType: string;
166
- }, xstate63.EventObject>;
166
+ }, xstate615.EventObject>;
167
167
  id: string | undefined;
168
168
  };
169
- }>, xstate63.Values<{
169
+ }>, xstate615.Values<{
170
170
  setStream: {
171
171
  type: "setStream";
172
- params: xstate63.NonReducibleUnknown;
172
+ params: xstate615.NonReducibleUnknown;
173
173
  };
174
174
  setProgress: {
175
175
  type: "setProgress";
176
- params: xstate63.NonReducibleUnknown;
176
+ params: xstate615.NonReducibleUnknown;
177
177
  };
178
178
  clearError: {
179
179
  type: "clearError";
180
- params: xstate63.NonReducibleUnknown;
180
+ params: xstate615.NonReducibleUnknown;
181
181
  };
182
182
  stopStream: {
183
183
  type: "stopStream";
184
- params: xstate63.NonReducibleUnknown;
184
+ params: xstate615.NonReducibleUnknown;
185
185
  };
186
186
  setCapturedDocument: {
187
187
  type: "setCapturedDocument";
188
- params: xstate63.NonReducibleUnknown;
188
+ params: xstate615.NonReducibleUnknown;
189
189
  };
190
190
  setFileTooLargeError: {
191
191
  type: "setFileTooLargeError";
192
- params: xstate63.NonReducibleUnknown;
192
+ params: xstate615.NonReducibleUnknown;
193
193
  };
194
194
  setUploadError: {
195
195
  type: "setUploadError";
196
- params: xstate63.NonReducibleUnknown;
196
+ params: xstate615.NonReducibleUnknown;
197
197
  };
198
198
  setFinalizeError: {
199
199
  type: "setFinalizeError";
200
- params: xstate63.NonReducibleUnknown;
200
+ params: xstate615.NonReducibleUnknown;
201
201
  };
202
202
  decrementAttemptsRemaining: {
203
203
  type: "decrementAttemptsRemaining";
204
- params: xstate63.NonReducibleUnknown;
204
+ params: xstate615.NonReducibleUnknown;
205
205
  };
206
206
  setCaptureMethodFile: {
207
207
  type: "setCaptureMethodFile";
208
- params: xstate63.NonReducibleUnknown;
208
+ params: xstate615.NonReducibleUnknown;
209
209
  };
210
210
  setCaptureMethodCamera: {
211
211
  type: "setCaptureMethodCamera";
212
- params: xstate63.NonReducibleUnknown;
212
+ params: xstate615.NonReducibleUnknown;
213
213
  };
214
214
  setCaptureMethodGallery: {
215
215
  type: "setCaptureMethodGallery";
216
- params: xstate63.NonReducibleUnknown;
216
+ params: xstate615.NonReducibleUnknown;
217
217
  };
218
218
  clearCapturedDocument: {
219
219
  type: "clearCapturedDocument";
220
- params: xstate63.NonReducibleUnknown;
220
+ params: xstate615.NonReducibleUnknown;
221
221
  };
222
222
  resetPageNumber: {
223
223
  type: "resetPageNumber";
224
- params: xstate63.NonReducibleUnknown;
224
+ params: xstate615.NonReducibleUnknown;
225
225
  };
226
226
  clearCapturedDocumentGalleryRetake: {
227
227
  type: "clearCapturedDocumentGalleryRetake";
228
- params: xstate63.NonReducibleUnknown;
228
+ params: xstate615.NonReducibleUnknown;
229
229
  };
230
230
  setNextPageType: {
231
231
  type: "setNextPageType";
232
- params: xstate63.NonReducibleUnknown;
232
+ params: xstate615.NonReducibleUnknown;
233
233
  };
234
234
  clearForNextPage: {
235
235
  type: "clearForNextPage";
236
- params: xstate63.NonReducibleUnknown;
236
+ params: xstate615.NonReducibleUnknown;
237
237
  };
238
238
  resetProgress: {
239
239
  type: "resetProgress";
240
- params: xstate63.NonReducibleUnknown;
240
+ params: xstate615.NonReducibleUnknown;
241
241
  };
242
- }>, xstate63.Values<{
242
+ }>, xstate615.Values<{
243
243
  allowSkip: {
244
244
  type: "allowSkip";
245
245
  params: unknown;
@@ -302,151 +302,151 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
302
302
  };
303
303
  }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "tutorial" | "preview" | "failure" | "nextPage" | "finalizing" | {
304
304
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
305
- }, string, DocumentCaptureInput, xstate63.NonReducibleUnknown, xstate63.EventObject, xstate63.MetaObject, {
305
+ }, string, DocumentCaptureInput, xstate615.NonReducibleUnknown, xstate615.EventObject, xstate615.MetaObject, {
306
306
  readonly id: "documentCapture";
307
307
  readonly initial: "tutorial";
308
308
  readonly context: ({
309
309
  input
310
310
  }: {
311
311
  spawn: {
312
- <TSrc extends "uploadDocument" | "initCamera" | "checkPermission" | "requestPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
312
+ <TSrc extends "uploadDocument" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
313
313
  src: "uploadDocument";
314
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
314
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
315
315
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
316
316
  processingType: string;
317
317
  onProgress: (progress: number) => void;
318
- }, xstate63.EventObject>;
318
+ }, xstate615.EventObject>;
319
319
  id: string | undefined;
320
320
  } extends infer T ? T extends {
321
321
  src: "uploadDocument";
322
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
322
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
323
323
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
324
324
  processingType: string;
325
325
  onProgress: (progress: number) => void;
326
- }, xstate63.EventObject>;
326
+ }, xstate615.EventObject>;
327
327
  id: string | undefined;
328
328
  } ? T extends {
329
329
  src: TSrc;
330
- } ? xstate63.ConditionalRequired<[options?: ({
330
+ } ? xstate615.ConditionalRequired<[options?: ({
331
331
  id?: T["id"] | undefined;
332
332
  systemId?: string;
333
- input?: xstate63.InputFrom<T["logic"]> | undefined;
333
+ input?: xstate615.InputFrom<T["logic"]> | undefined;
334
334
  syncSnapshot?: boolean;
335
- } & { [K in xstate63.RequiredActorOptions<T>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T>>> : never : never : never) | ({
335
+ } & { [K in xstate615.RequiredActorOptions<T>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T>>> : never : never : never) | ({
336
336
  src: "initCamera";
337
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
337
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
338
338
  id: string | undefined;
339
339
  } extends infer T_1 ? T_1 extends {
340
340
  src: "initCamera";
341
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
341
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
342
342
  id: string | undefined;
343
343
  } ? T_1 extends {
344
344
  src: TSrc;
345
- } ? xstate63.ConditionalRequired<[options?: ({
345
+ } ? xstate615.ConditionalRequired<[options?: ({
346
346
  id?: T_1["id"] | undefined;
347
347
  systemId?: string;
348
- input?: xstate63.InputFrom<T_1["logic"]> | undefined;
348
+ input?: xstate615.InputFrom<T_1["logic"]> | undefined;
349
349
  syncSnapshot?: boolean;
350
- } & { [K_1 in xstate63.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_1>>> : never : never : never) | ({
351
- src: "checkPermission";
352
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
350
+ } & { [K_1 in xstate615.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T_1>>> : never : never : never) | ({
351
+ src: "requestPermission";
352
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
353
+ permissionResult?: PermissionResult;
354
+ requestMotionPermission: boolean;
355
+ }, xstate615.EventObject>;
353
356
  id: string | undefined;
354
357
  } extends infer T_2 ? T_2 extends {
355
- src: "checkPermission";
356
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
358
+ src: "requestPermission";
359
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
360
+ permissionResult?: PermissionResult;
361
+ requestMotionPermission: boolean;
362
+ }, xstate615.EventObject>;
357
363
  id: string | undefined;
358
364
  } ? T_2 extends {
359
365
  src: TSrc;
360
- } ? xstate63.ConditionalRequired<[options?: ({
366
+ } ? xstate615.ConditionalRequired<[options?: ({
361
367
  id?: T_2["id"] | undefined;
362
368
  systemId?: string;
363
- input?: xstate63.InputFrom<T_2["logic"]> | undefined;
369
+ input?: xstate615.InputFrom<T_2["logic"]> | undefined;
364
370
  syncSnapshot?: boolean;
365
- } & { [K_2 in xstate63.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_2>>> : never : never : never) | ({
366
- src: "requestPermission";
367
- logic: xstate63.PromiseActorLogic<PermissionResult, {
368
- permissionResult?: PermissionResult;
369
- requestMotionPermission: boolean;
370
- }, xstate63.EventObject>;
371
+ } & { [K_2 in xstate615.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T_2>>> : never : never : never) | ({
372
+ src: "checkPermission";
373
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
371
374
  id: string | undefined;
372
375
  } extends infer T_3 ? T_3 extends {
373
- src: "requestPermission";
374
- logic: xstate63.PromiseActorLogic<PermissionResult, {
375
- permissionResult?: PermissionResult;
376
- requestMotionPermission: boolean;
377
- }, xstate63.EventObject>;
376
+ src: "checkPermission";
377
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
378
378
  id: string | undefined;
379
379
  } ? T_3 extends {
380
380
  src: TSrc;
381
- } ? xstate63.ConditionalRequired<[options?: ({
381
+ } ? xstate615.ConditionalRequired<[options?: ({
382
382
  id?: T_3["id"] | undefined;
383
383
  systemId?: string;
384
- input?: xstate63.InputFrom<T_3["logic"]> | undefined;
384
+ input?: xstate615.InputFrom<T_3["logic"]> | undefined;
385
385
  syncSnapshot?: boolean;
386
- } & { [K_3 in xstate63.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_3>>> : never : never : never) | ({
386
+ } & { [K_3 in xstate615.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T_3>>> : never : never : never) | ({
387
387
  src: "finalizeDocumentRequest";
388
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
388
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
389
389
  processingType: string;
390
- }, xstate63.EventObject>;
390
+ }, xstate615.EventObject>;
391
391
  id: string | undefined;
392
392
  } extends infer T_4 ? T_4 extends {
393
393
  src: "finalizeDocumentRequest";
394
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
394
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
395
395
  processingType: string;
396
- }, xstate63.EventObject>;
396
+ }, xstate615.EventObject>;
397
397
  id: string | undefined;
398
398
  } ? T_4 extends {
399
399
  src: TSrc;
400
- } ? xstate63.ConditionalRequired<[options?: ({
400
+ } ? xstate615.ConditionalRequired<[options?: ({
401
401
  id?: T_4["id"] | undefined;
402
402
  systemId?: string;
403
- input?: xstate63.InputFrom<T_4["logic"]> | undefined;
403
+ input?: xstate615.InputFrom<T_4["logic"]> | undefined;
404
404
  syncSnapshot?: boolean;
405
- } & { [K_4 in xstate63.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_4>>> : never : never : never)): xstate63.ActorRefFromLogic<xstate63.GetConcreteByKey<xstate63.Values<{
405
+ } & { [K_4 in xstate615.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T_4>>> : never : never : never)): xstate615.ActorRefFromLogic<xstate615.GetConcreteByKey<xstate615.Values<{
406
406
  uploadDocument: {
407
407
  src: "uploadDocument";
408
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
408
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
409
409
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
410
410
  processingType: string;
411
411
  onProgress: (progress: number) => void;
412
- }, xstate63.EventObject>;
412
+ }, xstate615.EventObject>;
413
413
  id: string | undefined;
414
414
  };
415
415
  initCamera: {
416
416
  src: "initCamera";
417
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
418
- id: string | undefined;
419
- };
420
- checkPermission: {
421
- src: "checkPermission";
422
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
417
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
423
418
  id: string | undefined;
424
419
  };
425
420
  requestPermission: {
426
421
  src: "requestPermission";
427
- logic: xstate63.PromiseActorLogic<PermissionResult, {
422
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
428
423
  permissionResult?: PermissionResult;
429
424
  requestMotionPermission: boolean;
430
- }, xstate63.EventObject>;
425
+ }, xstate615.EventObject>;
426
+ id: string | undefined;
427
+ };
428
+ checkPermission: {
429
+ src: "checkPermission";
430
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
431
431
  id: string | undefined;
432
432
  };
433
433
  finalizeDocumentRequest: {
434
434
  src: "finalizeDocumentRequest";
435
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
435
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
436
436
  processingType: string;
437
- }, xstate63.EventObject>;
437
+ }, xstate615.EventObject>;
438
438
  id: string | undefined;
439
439
  };
440
440
  }>, "src", TSrc>["logic"]>;
441
- <TLogic extends xstate63.AnyActorLogic>(src: TLogic, ...[options]: xstate63.ConditionalRequired<[options?: ({
441
+ <TLogic extends xstate615.AnyActorLogic>(src: TLogic, ...[options]: xstate615.ConditionalRequired<[options?: ({
442
442
  id?: never;
443
443
  systemId?: string;
444
- input?: xstate63.InputFrom<TLogic> | undefined;
444
+ input?: xstate615.InputFrom<TLogic> | undefined;
445
445
  syncSnapshot?: boolean;
446
- } & { [K in xstate63.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredLogicInput<TLogic>>>): xstate63.ActorRefFromLogic<TLogic>;
446
+ } & { [K in xstate615.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredLogicInput<TLogic>>>): xstate615.ActorRefFromLogic<TLogic>;
447
447
  };
448
448
  input: DocumentCaptureInput;
449
- self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
449
+ self: xstate615.ActorRef<xstate615.MachineSnapshot<DocumentCaptureContext, {
450
450
  type: "CAPTURE";
451
451
  } | {
452
452
  type: "FILE_SELECTED";
@@ -480,7 +480,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
480
480
  type: "BACK";
481
481
  } | {
482
482
  type: "CLOSE";
483
- }, Record<string, xstate63.AnyActorRef | undefined>, xstate63.StateValue, string, unknown, any, any>, {
483
+ }, Record<string, xstate615.AnyActorRef | undefined>, xstate615.StateValue, string, unknown, any, any>, {
484
484
  type: "CAPTURE";
485
485
  } | {
486
486
  type: "FILE_SELECTED";
@@ -514,7 +514,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
514
514
  type: "BACK";
515
515
  } | {
516
516
  type: "CLOSE";
517
- }, xstate63.AnyEventObject>;
517
+ }, xstate615.AnyEventObject>;
518
518
  }) => {
519
519
  config: {
520
520
  processingType: DocumentType;
@@ -574,7 +574,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
574
574
  readonly onDone: readonly [{
575
575
  readonly target: "#documentCapture.initCamera";
576
576
  readonly guard: "isCameraPermissionGranted";
577
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
577
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
578
578
  type: "CAPTURE";
579
579
  } | {
580
580
  type: "FILE_SELECTED";
@@ -608,46 +608,46 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
608
608
  type: "BACK";
609
609
  } | {
610
610
  type: "CLOSE";
611
- }, undefined, xstate63.Values<{
611
+ }, undefined, xstate615.Values<{
612
612
  uploadDocument: {
613
613
  src: "uploadDocument";
614
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
614
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
615
615
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
616
616
  processingType: string;
617
617
  onProgress: (progress: number) => void;
618
- }, xstate63.EventObject>;
618
+ }, xstate615.EventObject>;
619
619
  id: string | undefined;
620
620
  };
621
621
  initCamera: {
622
622
  src: "initCamera";
623
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
624
- id: string | undefined;
625
- };
626
- checkPermission: {
627
- src: "checkPermission";
628
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
623
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
629
624
  id: string | undefined;
630
625
  };
631
626
  requestPermission: {
632
627
  src: "requestPermission";
633
- logic: xstate63.PromiseActorLogic<PermissionResult, {
628
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
634
629
  permissionResult?: PermissionResult;
635
630
  requestMotionPermission: boolean;
636
- }, xstate63.EventObject>;
631
+ }, xstate615.EventObject>;
632
+ id: string | undefined;
633
+ };
634
+ checkPermission: {
635
+ src: "checkPermission";
636
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
637
637
  id: string | undefined;
638
638
  };
639
639
  finalizeDocumentRequest: {
640
640
  src: "finalizeDocumentRequest";
641
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
641
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
642
642
  processingType: string;
643
- }, xstate63.EventObject>;
643
+ }, xstate615.EventObject>;
644
644
  id: string | undefined;
645
645
  };
646
646
  }>, never, never, never, never>;
647
647
  }, {
648
648
  readonly target: "denied";
649
649
  readonly guard: "isCameraPermissionDenied";
650
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
650
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
651
651
  type: "CAPTURE";
652
652
  } | {
653
653
  type: "FILE_SELECTED";
@@ -681,45 +681,45 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
681
681
  type: "BACK";
682
682
  } | {
683
683
  type: "CLOSE";
684
- }, undefined, xstate63.Values<{
684
+ }, undefined, xstate615.Values<{
685
685
  uploadDocument: {
686
686
  src: "uploadDocument";
687
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
687
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
688
688
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
689
689
  processingType: string;
690
690
  onProgress: (progress: number) => void;
691
- }, xstate63.EventObject>;
691
+ }, xstate615.EventObject>;
692
692
  id: string | undefined;
693
693
  };
694
694
  initCamera: {
695
695
  src: "initCamera";
696
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
697
- id: string | undefined;
698
- };
699
- checkPermission: {
700
- src: "checkPermission";
701
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
696
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
702
697
  id: string | undefined;
703
698
  };
704
699
  requestPermission: {
705
700
  src: "requestPermission";
706
- logic: xstate63.PromiseActorLogic<PermissionResult, {
701
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
707
702
  permissionResult?: PermissionResult;
708
703
  requestMotionPermission: boolean;
709
- }, xstate63.EventObject>;
704
+ }, xstate615.EventObject>;
705
+ id: string | undefined;
706
+ };
707
+ checkPermission: {
708
+ src: "checkPermission";
709
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
710
710
  id: string | undefined;
711
711
  };
712
712
  finalizeDocumentRequest: {
713
713
  src: "finalizeDocumentRequest";
714
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
714
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
715
715
  processingType: string;
716
- }, xstate63.EventObject>;
716
+ }, xstate615.EventObject>;
717
717
  id: string | undefined;
718
718
  };
719
719
  }>, never, never, never, never>;
720
720
  }, {
721
721
  readonly target: "waitingForUser";
722
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
722
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
723
723
  type: "CAPTURE";
724
724
  } | {
725
725
  type: "FILE_SELECTED";
@@ -753,46 +753,46 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
753
753
  type: "BACK";
754
754
  } | {
755
755
  type: "CLOSE";
756
- }, undefined, xstate63.Values<{
756
+ }, undefined, xstate615.Values<{
757
757
  uploadDocument: {
758
758
  src: "uploadDocument";
759
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
759
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
760
760
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
761
761
  processingType: string;
762
762
  onProgress: (progress: number) => void;
763
- }, xstate63.EventObject>;
763
+ }, xstate615.EventObject>;
764
764
  id: string | undefined;
765
765
  };
766
766
  initCamera: {
767
767
  src: "initCamera";
768
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
769
- id: string | undefined;
770
- };
771
- checkPermission: {
772
- src: "checkPermission";
773
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
768
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
774
769
  id: string | undefined;
775
770
  };
776
771
  requestPermission: {
777
772
  src: "requestPermission";
778
- logic: xstate63.PromiseActorLogic<PermissionResult, {
773
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
779
774
  permissionResult?: PermissionResult;
780
775
  requestMotionPermission: boolean;
781
- }, xstate63.EventObject>;
776
+ }, xstate615.EventObject>;
777
+ id: string | undefined;
778
+ };
779
+ checkPermission: {
780
+ src: "checkPermission";
781
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
782
782
  id: string | undefined;
783
783
  };
784
784
  finalizeDocumentRequest: {
785
785
  src: "finalizeDocumentRequest";
786
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
786
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
787
787
  processingType: string;
788
- }, xstate63.EventObject>;
788
+ }, xstate615.EventObject>;
789
789
  id: string | undefined;
790
790
  };
791
791
  }>, never, never, never, never>;
792
792
  }];
793
793
  readonly onError: {
794
794
  readonly target: "waitingForUser";
795
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.ErrorActorEvent<unknown, string>, {
795
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.ErrorActorEvent<unknown, string>, {
796
796
  type: "CAPTURE";
797
797
  } | {
798
798
  type: "FILE_SELECTED";
@@ -826,39 +826,39 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
826
826
  type: "BACK";
827
827
  } | {
828
828
  type: "CLOSE";
829
- }, undefined, xstate63.Values<{
829
+ }, undefined, xstate615.Values<{
830
830
  uploadDocument: {
831
831
  src: "uploadDocument";
832
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
832
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
833
833
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
834
834
  processingType: string;
835
835
  onProgress: (progress: number) => void;
836
- }, xstate63.EventObject>;
836
+ }, xstate615.EventObject>;
837
837
  id: string | undefined;
838
838
  };
839
839
  initCamera: {
840
840
  src: "initCamera";
841
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
842
- id: string | undefined;
843
- };
844
- checkPermission: {
845
- src: "checkPermission";
846
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
841
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
847
842
  id: string | undefined;
848
843
  };
849
844
  requestPermission: {
850
845
  src: "requestPermission";
851
- logic: xstate63.PromiseActorLogic<PermissionResult, {
846
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
852
847
  permissionResult?: PermissionResult;
853
848
  requestMotionPermission: boolean;
854
- }, xstate63.EventObject>;
849
+ }, xstate615.EventObject>;
850
+ id: string | undefined;
851
+ };
852
+ checkPermission: {
853
+ src: "checkPermission";
854
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
855
855
  id: string | undefined;
856
856
  };
857
857
  finalizeDocumentRequest: {
858
858
  src: "finalizeDocumentRequest";
859
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
859
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
860
860
  processingType: string;
861
- }, xstate63.EventObject>;
861
+ }, xstate615.EventObject>;
862
862
  id: string | undefined;
863
863
  };
864
864
  }>, never, never, never, never>;
@@ -924,7 +924,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
924
924
  } | {
925
925
  type: "CLOSE";
926
926
  };
927
- self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
927
+ self: xstate615.ActorRef<xstate615.MachineSnapshot<DocumentCaptureContext, {
928
928
  type: "CAPTURE";
929
929
  } | {
930
930
  type: "FILE_SELECTED";
@@ -958,7 +958,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
958
958
  type: "BACK";
959
959
  } | {
960
960
  type: "CLOSE";
961
- }, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
961
+ }, Record<string, xstate615.AnyActorRef>, xstate615.StateValue, string, unknown, any, any>, {
962
962
  type: "CAPTURE";
963
963
  } | {
964
964
  type: "FILE_SELECTED";
@@ -992,7 +992,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
992
992
  type: "BACK";
993
993
  } | {
994
994
  type: "CLOSE";
995
- }, xstate63.AnyEventObject>;
995
+ }, xstate615.AnyEventObject>;
996
996
  }) => {
997
997
  permissionResult: PermissionResult | undefined;
998
998
  requestMotionPermission: false;
@@ -1000,7 +1000,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1000
1000
  readonly onDone: readonly [{
1001
1001
  readonly target: "#documentCapture.initCamera";
1002
1002
  readonly guard: "isCameraPermissionGranted";
1003
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
1003
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
1004
1004
  type: "CAPTURE";
1005
1005
  } | {
1006
1006
  type: "FILE_SELECTED";
@@ -1034,46 +1034,46 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1034
1034
  type: "BACK";
1035
1035
  } | {
1036
1036
  type: "CLOSE";
1037
- }, undefined, xstate63.Values<{
1037
+ }, undefined, xstate615.Values<{
1038
1038
  uploadDocument: {
1039
1039
  src: "uploadDocument";
1040
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
1040
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
1041
1041
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1042
1042
  processingType: string;
1043
1043
  onProgress: (progress: number) => void;
1044
- }, xstate63.EventObject>;
1044
+ }, xstate615.EventObject>;
1045
1045
  id: string | undefined;
1046
1046
  };
1047
1047
  initCamera: {
1048
1048
  src: "initCamera";
1049
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
1050
- id: string | undefined;
1051
- };
1052
- checkPermission: {
1053
- src: "checkPermission";
1054
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
1049
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
1055
1050
  id: string | undefined;
1056
1051
  };
1057
1052
  requestPermission: {
1058
1053
  src: "requestPermission";
1059
- logic: xstate63.PromiseActorLogic<PermissionResult, {
1054
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
1060
1055
  permissionResult?: PermissionResult;
1061
1056
  requestMotionPermission: boolean;
1062
- }, xstate63.EventObject>;
1057
+ }, xstate615.EventObject>;
1058
+ id: string | undefined;
1059
+ };
1060
+ checkPermission: {
1061
+ src: "checkPermission";
1062
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
1063
1063
  id: string | undefined;
1064
1064
  };
1065
1065
  finalizeDocumentRequest: {
1066
1066
  src: "finalizeDocumentRequest";
1067
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
1067
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
1068
1068
  processingType: string;
1069
- }, xstate63.EventObject>;
1069
+ }, xstate615.EventObject>;
1070
1070
  id: string | undefined;
1071
1071
  };
1072
1072
  }>, never, never, never, never>;
1073
1073
  }, {
1074
1074
  readonly target: "denied";
1075
1075
  readonly guard: "isCameraPermissionDenied";
1076
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
1076
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
1077
1077
  type: "CAPTURE";
1078
1078
  } | {
1079
1079
  type: "FILE_SELECTED";
@@ -1107,45 +1107,45 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1107
1107
  type: "BACK";
1108
1108
  } | {
1109
1109
  type: "CLOSE";
1110
- }, undefined, xstate63.Values<{
1110
+ }, undefined, xstate615.Values<{
1111
1111
  uploadDocument: {
1112
1112
  src: "uploadDocument";
1113
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
1113
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
1114
1114
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1115
1115
  processingType: string;
1116
1116
  onProgress: (progress: number) => void;
1117
- }, xstate63.EventObject>;
1117
+ }, xstate615.EventObject>;
1118
1118
  id: string | undefined;
1119
1119
  };
1120
1120
  initCamera: {
1121
1121
  src: "initCamera";
1122
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
1123
- id: string | undefined;
1124
- };
1125
- checkPermission: {
1126
- src: "checkPermission";
1127
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
1122
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
1128
1123
  id: string | undefined;
1129
1124
  };
1130
1125
  requestPermission: {
1131
1126
  src: "requestPermission";
1132
- logic: xstate63.PromiseActorLogic<PermissionResult, {
1127
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
1133
1128
  permissionResult?: PermissionResult;
1134
1129
  requestMotionPermission: boolean;
1135
- }, xstate63.EventObject>;
1130
+ }, xstate615.EventObject>;
1131
+ id: string | undefined;
1132
+ };
1133
+ checkPermission: {
1134
+ src: "checkPermission";
1135
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
1136
1136
  id: string | undefined;
1137
1137
  };
1138
1138
  finalizeDocumentRequest: {
1139
1139
  src: "finalizeDocumentRequest";
1140
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
1140
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
1141
1141
  processingType: string;
1142
- }, xstate63.EventObject>;
1142
+ }, xstate615.EventObject>;
1143
1143
  id: string | undefined;
1144
1144
  };
1145
1145
  }>, never, never, never, never>;
1146
1146
  }, {
1147
1147
  readonly target: "waitingForUser";
1148
- readonly actions: xstate63.ActionFunction<DocumentCaptureContext, xstate63.DoneActorEvent<PermissionResult, string>, {
1148
+ readonly actions: xstate615.ActionFunction<DocumentCaptureContext, xstate615.DoneActorEvent<PermissionResult, string>, {
1149
1149
  type: "CAPTURE";
1150
1150
  } | {
1151
1151
  type: "FILE_SELECTED";
@@ -1179,39 +1179,39 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1179
1179
  type: "BACK";
1180
1180
  } | {
1181
1181
  type: "CLOSE";
1182
- }, undefined, xstate63.Values<{
1182
+ }, undefined, xstate615.Values<{
1183
1183
  uploadDocument: {
1184
1184
  src: "uploadDocument";
1185
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
1185
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
1186
1186
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1187
1187
  processingType: string;
1188
1188
  onProgress: (progress: number) => void;
1189
- }, xstate63.EventObject>;
1189
+ }, xstate615.EventObject>;
1190
1190
  id: string | undefined;
1191
1191
  };
1192
1192
  initCamera: {
1193
1193
  src: "initCamera";
1194
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
1195
- id: string | undefined;
1196
- };
1197
- checkPermission: {
1198
- src: "checkPermission";
1199
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
1194
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
1200
1195
  id: string | undefined;
1201
1196
  };
1202
1197
  requestPermission: {
1203
1198
  src: "requestPermission";
1204
- logic: xstate63.PromiseActorLogic<PermissionResult, {
1199
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
1205
1200
  permissionResult?: PermissionResult;
1206
1201
  requestMotionPermission: boolean;
1207
- }, xstate63.EventObject>;
1202
+ }, xstate615.EventObject>;
1203
+ id: string | undefined;
1204
+ };
1205
+ checkPermission: {
1206
+ src: "checkPermission";
1207
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
1208
1208
  id: string | undefined;
1209
1209
  };
1210
1210
  finalizeDocumentRequest: {
1211
1211
  src: "finalizeDocumentRequest";
1212
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
1212
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
1213
1213
  processingType: string;
1214
- }, xstate63.EventObject>;
1214
+ }, xstate615.EventObject>;
1215
1215
  id: string | undefined;
1216
1216
  };
1217
1217
  }>, never, never, never, never>;
@@ -1222,7 +1222,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1222
1222
  };
1223
1223
  };
1224
1224
  readonly denied: {
1225
- readonly entry: xstate63.ActionFunction<DocumentCaptureContext, {
1225
+ readonly entry: xstate615.ActionFunction<DocumentCaptureContext, {
1226
1226
  type: "CAPTURE";
1227
1227
  } | {
1228
1228
  type: "FILE_SELECTED";
@@ -1290,39 +1290,39 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1290
1290
  type: "BACK";
1291
1291
  } | {
1292
1292
  type: "CLOSE";
1293
- }, undefined, xstate63.Values<{
1293
+ }, undefined, xstate615.Values<{
1294
1294
  uploadDocument: {
1295
1295
  src: "uploadDocument";
1296
- logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
1296
+ logic: xstate615.PromiseActorLogic<DocumentUploadResponse, {
1297
1297
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1298
1298
  processingType: string;
1299
1299
  onProgress: (progress: number) => void;
1300
- }, xstate63.EventObject>;
1300
+ }, xstate615.EventObject>;
1301
1301
  id: string | undefined;
1302
1302
  };
1303
1303
  initCamera: {
1304
1304
  src: "initCamera";
1305
- logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
1306
- id: string | undefined;
1307
- };
1308
- checkPermission: {
1309
- src: "checkPermission";
1310
- logic: xstate63.PromiseActorLogic<PermissionResult, void, xstate63.EventObject>;
1305
+ logic: xstate615.PromiseActorLogic<MediaStream, void, xstate615.EventObject>;
1311
1306
  id: string | undefined;
1312
1307
  };
1313
1308
  requestPermission: {
1314
1309
  src: "requestPermission";
1315
- logic: xstate63.PromiseActorLogic<PermissionResult, {
1310
+ logic: xstate615.PromiseActorLogic<PermissionResult, {
1316
1311
  permissionResult?: PermissionResult;
1317
1312
  requestMotionPermission: boolean;
1318
- }, xstate63.EventObject>;
1313
+ }, xstate615.EventObject>;
1314
+ id: string | undefined;
1315
+ };
1316
+ checkPermission: {
1317
+ src: "checkPermission";
1318
+ logic: xstate615.PromiseActorLogic<PermissionResult, void, xstate615.EventObject>;
1319
1319
  id: string | undefined;
1320
1320
  };
1321
1321
  finalizeDocumentRequest: {
1322
1322
  src: "finalizeDocumentRequest";
1323
- logic: xstate63.PromiseActorLogic<FinalizeDocumentResponse, {
1323
+ logic: xstate615.PromiseActorLogic<FinalizeDocumentResponse, {
1324
1324
  processingType: string;
1325
- }, xstate63.EventObject>;
1325
+ }, xstate615.EventObject>;
1326
1326
  id: string | undefined;
1327
1327
  };
1328
1328
  }>, never, never, never, never>;
@@ -1442,7 +1442,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1442
1442
  } | {
1443
1443
  type: "CLOSE";
1444
1444
  };
1445
- self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
1445
+ self: xstate615.ActorRef<xstate615.MachineSnapshot<DocumentCaptureContext, {
1446
1446
  type: "CAPTURE";
1447
1447
  } | {
1448
1448
  type: "FILE_SELECTED";
@@ -1476,7 +1476,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1476
1476
  type: "BACK";
1477
1477
  } | {
1478
1478
  type: "CLOSE";
1479
- }, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
1479
+ }, Record<string, xstate615.AnyActorRef>, xstate615.StateValue, string, unknown, any, any>, {
1480
1480
  type: "CAPTURE";
1481
1481
  } | {
1482
1482
  type: "FILE_SELECTED";
@@ -1510,7 +1510,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1510
1510
  type: "BACK";
1511
1511
  } | {
1512
1512
  type: "CLOSE";
1513
- }, xstate63.AnyEventObject>;
1513
+ }, xstate615.AnyEventObject>;
1514
1514
  }) => {
1515
1515
  capturedDocument: CapturedDocument;
1516
1516
  processingType: DocumentType;
@@ -1611,7 +1611,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1611
1611
  } | {
1612
1612
  type: "CLOSE";
1613
1613
  };
1614
- self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
1614
+ self: xstate615.ActorRef<xstate615.MachineSnapshot<DocumentCaptureContext, {
1615
1615
  type: "CAPTURE";
1616
1616
  } | {
1617
1617
  type: "FILE_SELECTED";
@@ -1645,7 +1645,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1645
1645
  type: "BACK";
1646
1646
  } | {
1647
1647
  type: "CLOSE";
1648
- }, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
1648
+ }, Record<string, xstate615.AnyActorRef>, xstate615.StateValue, string, unknown, any, any>, {
1649
1649
  type: "CAPTURE";
1650
1650
  } | {
1651
1651
  type: "FILE_SELECTED";
@@ -1679,7 +1679,7 @@ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureConte
1679
1679
  type: "BACK";
1680
1680
  } | {
1681
1681
  type: "CLOSE";
1682
- }, xstate63.AnyEventObject>;
1682
+ }, xstate615.AnyEventObject>;
1683
1683
  }) => {
1684
1684
  processingType: DocumentType;
1685
1685
  };