@incodetech/core 0.0.0-dev-20260713-506b2caa → 0.0.0-dev-20260713-956e5dc0

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 (55) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/authentication.esm.js +6 -6
  3. package/dist/{authenticationManager-BxjPAQjy.esm.js → authenticationManager-CTeiJ-qS.esm.js} +2 -2
  4. package/dist/{authenticationStateMachine-1dW-EM34.esm.js → authenticationStateMachine-DW3vF7LW.esm.js} +2 -2
  5. package/dist/certificate-issuance.d.ts +28 -28
  6. package/dist/consent.d.ts +1 -1
  7. package/dist/{consentManager-BBLuAEtO.d.ts → consentManager-Cg55dDe5.d.ts} +47 -47
  8. package/dist/cpf-ocr.d.ts +1 -1
  9. package/dist/{cpfOcrManager-DiuFeIlv.d.ts → cpfOcrManager-DeT_9IWp.d.ts} +17 -17
  10. package/dist/{deepsightLoader-Br33KOpX.esm.js → deepsightLoader-D_HBYAZz.esm.js} +1 -1
  11. package/dist/document-capture.d.ts +1 -1
  12. package/dist/{documentCaptureManager-Cg45h7_W.d.ts → documentCaptureManager-DN7nF3LQ.d.ts} +246 -246
  13. package/dist/ekyb.esm.js +3 -3
  14. package/dist/{ekybStateMachine-BiPcOX5p.esm.js → ekybStateMachine-hNgS6R4f.esm.js} +1 -1
  15. package/dist/electronic-signature.d.ts +1 -1
  16. package/dist/extensibility.d.ts +8 -8
  17. package/dist/extensibility.esm.js +11 -11
  18. package/dist/face-match.d.ts +1 -1
  19. package/dist/{faceCaptureManagerFactory-7LOCpq26.esm.js → faceCaptureManagerFactory-DYjyND-F.esm.js} +1 -1
  20. package/dist/{faceCaptureSetup-CcPBTCx_.esm.js → faceCaptureSetup-rodV6HGu.esm.js} +2 -2
  21. package/dist/{faceMatchManager-CQiSAocW.d.ts → faceMatchManager-C4NI3YT8.d.ts} +2 -2
  22. package/dist/flow.d.ts +2 -2
  23. package/dist/flow.esm.js +2 -2
  24. package/dist/{flowServices-xoG2v-Zg.esm.js → flowServices-Bw149GN1.esm.js} +1 -1
  25. package/dist/home.d.ts +10 -10
  26. package/dist/id-ocr.d.ts +1 -1
  27. package/dist/id-verification.d.ts +1 -1
  28. package/dist/id.esm.js +5 -5
  29. package/dist/{idCaptureManager-CvcIYCbR.esm.js → idCaptureManager-Df2IGcDl.esm.js} +1 -1
  30. package/dist/{idCaptureStateMachine-DWRtZU8U.esm.js → idCaptureStateMachine-xA7T7kby.esm.js} +4 -4
  31. package/dist/{idOcrManager-BztGAfB0.d.ts → idOcrManager-BF63p3Cz.d.ts} +52 -52
  32. package/dist/{idVerificationManager-DDy-difD.d.ts → idVerificationManager-1c2zBli4.d.ts} +25 -25
  33. package/dist/identity-reuse.d.ts +1 -1
  34. package/dist/{identityReuseManager-CU0zYV7u.d.ts → identityReuseManager-CFu9ajWi.d.ts} +31 -31
  35. package/dist/{index-U-zHjUn0.d.ts → index-CDRR735R.d.ts} +150 -150
  36. package/dist/index.esm.js +2 -2
  37. package/dist/mandatory-consent.d.ts +1 -1
  38. package/dist/{mandatoryConsentManager-DzZATI2M.d.ts → mandatoryConsentManager-4az8SP7F.d.ts} +50 -50
  39. package/dist/{onDeviceFaceResults-DOX32waz.esm.js → onDeviceFaceResults-Bxs28uHM.esm.js} +1 -1
  40. package/dist/personhood.esm.js +2 -2
  41. package/dist/qe-signature.d.ts +1 -1
  42. package/dist/{recordingService-COOmW1Y3.esm.js → recordingService-BxxL3Qyn.esm.js} +1 -1
  43. package/dist/selfie.esm.js +6 -6
  44. package/dist/{selfieManager-CSc7GgWc.esm.js → selfieManager-D4J5Jbmq.esm.js} +2 -2
  45. package/dist/{selfieStateMachine-BpCqqPy0.esm.js → selfieStateMachine-BNQMP_go.esm.js} +2 -2
  46. package/dist/session.esm.js +1 -1
  47. package/dist/{sessionInitializer-Co7APszQ.esm.js → sessionInitializer-D2dY_yVj.esm.js} +1 -1
  48. package/dist/{setup-C-KKsxNp.esm.js → setup-B6hvJnD_.esm.js} +1 -1
  49. package/dist/trust-graph.d.ts +2 -2
  50. package/dist/video-selfie.d.ts +2 -2
  51. package/dist/video-selfie.esm.js +3 -3
  52. package/dist/wasm.esm.js +2 -2
  53. package/dist/workflow.d.ts +156 -156
  54. package/dist/workflow.esm.js +9 -9
  55. package/package.json +3 -3
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-Nf1FHI2l.js";
2
2
  import { t as ActorRefFrom } from "./Actor-CVuNUOJR.js";
3
3
  import { t as CameraStream } from "./camera-BKIKKx_i.js";
4
4
  import { n as PermissionStatus, t as PermissionResult } from "./types-4Zm5rOiY.js";
5
- import * as xstate890 from "xstate";
5
+ import * as xstate64 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';
@@ -107,7 +107,7 @@ type DocumentCaptureInput = {
107
107
  };
108
108
  //#endregion
109
109
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
110
- declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureContext, {
110
+ declare const documentCaptureMachine: xstate64.StateMachine<DocumentCaptureContext, {
111
111
  type: "CAPTURE";
112
112
  } | {
113
113
  type: "FILE_SELECTED";
@@ -154,145 +154,145 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
154
154
  } | {
155
155
  type: "CLOSE";
156
156
  }, {
157
- [x: string]: xstate890.ActorRefFromLogic<xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>> | xstate890.ActorRefFromLogic<xstate890.PromiseActorLogic<DocumentUploadResponse, {
157
+ [x: string]: xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>> | xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<DocumentUploadResponse, {
158
158
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
159
159
  processingType: string;
160
160
  onProgress: (progress: number) => void;
161
- }, xstate890.EventObject>> | xstate890.ActorRefFromLogic<xstate890.PromiseActorLogic<PermissionResult, {
161
+ }, xstate64.EventObject>> | xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>> | xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<PermissionResult, {
162
162
  permissionResult?: PermissionResult;
163
163
  requestMotionPermission: boolean;
164
- }, xstate890.EventObject>> | xstate890.ActorRefFromLogic<xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>> | xstate890.ActorRefFromLogic<xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
164
+ }, xstate64.EventObject>> | xstate64.ActorRefFromLogic<xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
165
165
  processingType: string;
166
- }, xstate890.EventObject>> | undefined;
167
- }, xstate890.Values<{
166
+ }, xstate64.EventObject>> | undefined;
167
+ }, xstate64.Values<{
168
168
  uploadDocument: {
169
169
  src: "uploadDocument";
170
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
170
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
171
171
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
172
172
  processingType: string;
173
173
  onProgress: (progress: number) => void;
174
- }, xstate890.EventObject>;
175
- id: string | undefined;
176
- };
177
- requestPermission: {
178
- src: "requestPermission";
179
- logic: xstate890.PromiseActorLogic<PermissionResult, {
180
- permissionResult?: PermissionResult;
181
- requestMotionPermission: boolean;
182
- }, xstate890.EventObject>;
174
+ }, xstate64.EventObject>;
183
175
  id: string | undefined;
184
176
  };
185
177
  initCamera: {
186
178
  src: "initCamera";
187
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
179
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
188
180
  id: string | undefined;
189
181
  };
190
182
  checkPermission: {
191
183
  src: "checkPermission";
192
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
184
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
185
+ id: string | undefined;
186
+ };
187
+ requestPermission: {
188
+ src: "requestPermission";
189
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
190
+ permissionResult?: PermissionResult;
191
+ requestMotionPermission: boolean;
192
+ }, xstate64.EventObject>;
193
193
  id: string | undefined;
194
194
  };
195
195
  finalizeDocumentRequest: {
196
196
  src: "finalizeDocumentRequest";
197
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
197
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
198
198
  processingType: string;
199
- }, xstate890.EventObject>;
199
+ }, xstate64.EventObject>;
200
200
  id: string | undefined;
201
201
  };
202
- }>, xstate890.Values<{
202
+ }>, xstate64.Values<{
203
203
  setStream: {
204
204
  type: "setStream";
205
- params: xstate890.NonReducibleUnknown;
205
+ params: xstate64.NonReducibleUnknown;
206
206
  };
207
207
  setProgress: {
208
208
  type: "setProgress";
209
- params: xstate890.NonReducibleUnknown;
209
+ params: xstate64.NonReducibleUnknown;
210
210
  };
211
211
  clearError: {
212
212
  type: "clearError";
213
- params: xstate890.NonReducibleUnknown;
213
+ params: xstate64.NonReducibleUnknown;
214
214
  };
215
215
  stopStream: {
216
216
  type: "stopStream";
217
- params: xstate890.NonReducibleUnknown;
217
+ params: xstate64.NonReducibleUnknown;
218
218
  };
219
219
  setCapturedDocument: {
220
220
  type: "setCapturedDocument";
221
- params: xstate890.NonReducibleUnknown;
221
+ params: xstate64.NonReducibleUnknown;
222
222
  };
223
223
  setFileTooLargeError: {
224
224
  type: "setFileTooLargeError";
225
- params: xstate890.NonReducibleUnknown;
225
+ params: xstate64.NonReducibleUnknown;
226
226
  };
227
227
  setUploadError: {
228
228
  type: "setUploadError";
229
- params: xstate890.NonReducibleUnknown;
229
+ params: xstate64.NonReducibleUnknown;
230
230
  };
231
231
  setFinalizeError: {
232
232
  type: "setFinalizeError";
233
- params: xstate890.NonReducibleUnknown;
233
+ params: xstate64.NonReducibleUnknown;
234
234
  };
235
235
  decrementAttemptsRemaining: {
236
236
  type: "decrementAttemptsRemaining";
237
- params: xstate890.NonReducibleUnknown;
237
+ params: xstate64.NonReducibleUnknown;
238
238
  };
239
239
  setCaptureMethodFile: {
240
240
  type: "setCaptureMethodFile";
241
- params: xstate890.NonReducibleUnknown;
241
+ params: xstate64.NonReducibleUnknown;
242
242
  };
243
243
  setCaptureMethodCamera: {
244
244
  type: "setCaptureMethodCamera";
245
- params: xstate890.NonReducibleUnknown;
245
+ params: xstate64.NonReducibleUnknown;
246
246
  };
247
247
  setCaptureMethodGallery: {
248
248
  type: "setCaptureMethodGallery";
249
- params: xstate890.NonReducibleUnknown;
249
+ params: xstate64.NonReducibleUnknown;
250
250
  };
251
251
  clearCaptureMethod: {
252
252
  type: "clearCaptureMethod";
253
- params: xstate890.NonReducibleUnknown;
253
+ params: xstate64.NonReducibleUnknown;
254
254
  };
255
255
  openMethodSelection: {
256
256
  type: "openMethodSelection";
257
- params: xstate890.NonReducibleUnknown;
257
+ params: xstate64.NonReducibleUnknown;
258
258
  };
259
259
  closeMethodSelection: {
260
260
  type: "closeMethodSelection";
261
- params: xstate890.NonReducibleUnknown;
261
+ params: xstate64.NonReducibleUnknown;
262
262
  };
263
263
  openHelp: {
264
264
  type: "openHelp";
265
- params: xstate890.NonReducibleUnknown;
265
+ params: xstate64.NonReducibleUnknown;
266
266
  };
267
267
  closeHelp: {
268
268
  type: "closeHelp";
269
- params: xstate890.NonReducibleUnknown;
269
+ params: xstate64.NonReducibleUnknown;
270
270
  };
271
271
  clearCapturedDocument: {
272
272
  type: "clearCapturedDocument";
273
- params: xstate890.NonReducibleUnknown;
273
+ params: xstate64.NonReducibleUnknown;
274
274
  };
275
275
  resetPageNumber: {
276
276
  type: "resetPageNumber";
277
- params: xstate890.NonReducibleUnknown;
277
+ params: xstate64.NonReducibleUnknown;
278
278
  };
279
279
  clearCapturedDocumentGalleryRetake: {
280
280
  type: "clearCapturedDocumentGalleryRetake";
281
- params: xstate890.NonReducibleUnknown;
281
+ params: xstate64.NonReducibleUnknown;
282
282
  };
283
283
  setNextPageType: {
284
284
  type: "setNextPageType";
285
- params: xstate890.NonReducibleUnknown;
285
+ params: xstate64.NonReducibleUnknown;
286
286
  };
287
287
  clearForNextPage: {
288
288
  type: "clearForNextPage";
289
- params: xstate890.NonReducibleUnknown;
289
+ params: xstate64.NonReducibleUnknown;
290
290
  };
291
291
  resetProgress: {
292
292
  type: "resetProgress";
293
- params: xstate890.NonReducibleUnknown;
293
+ params: xstate64.NonReducibleUnknown;
294
294
  };
295
- }>, xstate890.Values<{
295
+ }>, xstate64.Values<{
296
296
  allowSkip: {
297
297
  type: "allowSkip";
298
298
  params: unknown;
@@ -355,151 +355,151 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
355
355
  };
356
356
  }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "tutorial" | "preview" | "failure" | "nextPage" | "finalizing" | {
357
357
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
358
- }, string, DocumentCaptureInput, xstate890.NonReducibleUnknown, xstate890.EventObject, xstate890.MetaObject, {
358
+ }, string, DocumentCaptureInput, xstate64.NonReducibleUnknown, xstate64.EventObject, xstate64.MetaObject, {
359
359
  readonly id: "documentCapture";
360
360
  readonly initial: "tutorial";
361
361
  readonly context: ({
362
362
  input
363
363
  }: {
364
364
  spawn: {
365
- <TSrc extends "uploadDocument" | "requestPermission" | "initCamera" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
365
+ <TSrc extends "uploadDocument" | "initCamera" | "checkPermission" | "requestPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
366
366
  src: "uploadDocument";
367
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
367
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
368
368
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
369
369
  processingType: string;
370
370
  onProgress: (progress: number) => void;
371
- }, xstate890.EventObject>;
371
+ }, xstate64.EventObject>;
372
372
  id: string | undefined;
373
373
  } extends infer T ? T extends {
374
374
  src: "uploadDocument";
375
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
375
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
376
376
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
377
377
  processingType: string;
378
378
  onProgress: (progress: number) => void;
379
- }, xstate890.EventObject>;
379
+ }, xstate64.EventObject>;
380
380
  id: string | undefined;
381
381
  } ? T extends {
382
382
  src: TSrc;
383
- } ? xstate890.ConditionalRequired<[options?: ({
383
+ } ? xstate64.ConditionalRequired<[options?: ({
384
384
  id?: T["id"] | undefined;
385
385
  systemId?: string;
386
- input?: xstate890.InputFrom<T["logic"]> | undefined;
386
+ input?: xstate64.InputFrom<T["logic"]> | undefined;
387
387
  syncSnapshot?: boolean;
388
- } & { [K in xstate890.RequiredActorOptions<T>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredActorOptions<T>>> : never : never : never) | ({
389
- src: "requestPermission";
390
- logic: xstate890.PromiseActorLogic<PermissionResult, {
391
- permissionResult?: PermissionResult;
392
- requestMotionPermission: boolean;
393
- }, xstate890.EventObject>;
388
+ } & { [K in xstate64.RequiredActorOptions<T>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T>>> : never : never : never) | ({
389
+ src: "initCamera";
390
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
394
391
  id: string | undefined;
395
392
  } extends infer T_1 ? T_1 extends {
396
- src: "requestPermission";
397
- logic: xstate890.PromiseActorLogic<PermissionResult, {
398
- permissionResult?: PermissionResult;
399
- requestMotionPermission: boolean;
400
- }, xstate890.EventObject>;
393
+ src: "initCamera";
394
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
401
395
  id: string | undefined;
402
396
  } ? T_1 extends {
403
397
  src: TSrc;
404
- } ? xstate890.ConditionalRequired<[options?: ({
398
+ } ? xstate64.ConditionalRequired<[options?: ({
405
399
  id?: T_1["id"] | undefined;
406
400
  systemId?: string;
407
- input?: xstate890.InputFrom<T_1["logic"]> | undefined;
401
+ input?: xstate64.InputFrom<T_1["logic"]> | undefined;
408
402
  syncSnapshot?: boolean;
409
- } & { [K_1 in xstate890.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredActorOptions<T_1>>> : never : never : never) | ({
410
- src: "initCamera";
411
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
403
+ } & { [K_1 in xstate64.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T_1>>> : never : never : never) | ({
404
+ src: "checkPermission";
405
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
412
406
  id: string | undefined;
413
407
  } extends infer T_2 ? T_2 extends {
414
- src: "initCamera";
415
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
408
+ src: "checkPermission";
409
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
416
410
  id: string | undefined;
417
411
  } ? T_2 extends {
418
412
  src: TSrc;
419
- } ? xstate890.ConditionalRequired<[options?: ({
413
+ } ? xstate64.ConditionalRequired<[options?: ({
420
414
  id?: T_2["id"] | undefined;
421
415
  systemId?: string;
422
- input?: xstate890.InputFrom<T_2["logic"]> | undefined;
416
+ input?: xstate64.InputFrom<T_2["logic"]> | undefined;
423
417
  syncSnapshot?: boolean;
424
- } & { [K_2 in xstate890.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredActorOptions<T_2>>> : never : never : never) | ({
425
- src: "checkPermission";
426
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
418
+ } & { [K_2 in xstate64.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T_2>>> : never : never : never) | ({
419
+ src: "requestPermission";
420
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
421
+ permissionResult?: PermissionResult;
422
+ requestMotionPermission: boolean;
423
+ }, xstate64.EventObject>;
427
424
  id: string | undefined;
428
425
  } extends infer T_3 ? T_3 extends {
429
- src: "checkPermission";
430
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
426
+ src: "requestPermission";
427
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
428
+ permissionResult?: PermissionResult;
429
+ requestMotionPermission: boolean;
430
+ }, xstate64.EventObject>;
431
431
  id: string | undefined;
432
432
  } ? T_3 extends {
433
433
  src: TSrc;
434
- } ? xstate890.ConditionalRequired<[options?: ({
434
+ } ? xstate64.ConditionalRequired<[options?: ({
435
435
  id?: T_3["id"] | undefined;
436
436
  systemId?: string;
437
- input?: xstate890.InputFrom<T_3["logic"]> | undefined;
437
+ input?: xstate64.InputFrom<T_3["logic"]> | undefined;
438
438
  syncSnapshot?: boolean;
439
- } & { [K_3 in xstate890.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredActorOptions<T_3>>> : never : never : never) | ({
439
+ } & { [K_3 in xstate64.RequiredActorOptions<T_3>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T_3>>> : never : never : never) | ({
440
440
  src: "finalizeDocumentRequest";
441
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
441
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
442
442
  processingType: string;
443
- }, xstate890.EventObject>;
443
+ }, xstate64.EventObject>;
444
444
  id: string | undefined;
445
445
  } extends infer T_4 ? T_4 extends {
446
446
  src: "finalizeDocumentRequest";
447
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
447
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
448
448
  processingType: string;
449
- }, xstate890.EventObject>;
449
+ }, xstate64.EventObject>;
450
450
  id: string | undefined;
451
451
  } ? T_4 extends {
452
452
  src: TSrc;
453
- } ? xstate890.ConditionalRequired<[options?: ({
453
+ } ? xstate64.ConditionalRequired<[options?: ({
454
454
  id?: T_4["id"] | undefined;
455
455
  systemId?: string;
456
- input?: xstate890.InputFrom<T_4["logic"]> | undefined;
456
+ input?: xstate64.InputFrom<T_4["logic"]> | undefined;
457
457
  syncSnapshot?: boolean;
458
- } & { [K_4 in xstate890.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredActorOptions<T_4>>> : never : never : never)): xstate890.ActorRefFromLogic<xstate890.GetConcreteByKey<xstate890.Values<{
458
+ } & { [K_4 in xstate64.RequiredActorOptions<T_4>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredActorOptions<T_4>>> : never : never : never)): xstate64.ActorRefFromLogic<xstate64.GetConcreteByKey<xstate64.Values<{
459
459
  uploadDocument: {
460
460
  src: "uploadDocument";
461
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
461
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
462
462
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
463
463
  processingType: string;
464
464
  onProgress: (progress: number) => void;
465
- }, xstate890.EventObject>;
466
- id: string | undefined;
467
- };
468
- requestPermission: {
469
- src: "requestPermission";
470
- logic: xstate890.PromiseActorLogic<PermissionResult, {
471
- permissionResult?: PermissionResult;
472
- requestMotionPermission: boolean;
473
- }, xstate890.EventObject>;
465
+ }, xstate64.EventObject>;
474
466
  id: string | undefined;
475
467
  };
476
468
  initCamera: {
477
469
  src: "initCamera";
478
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
470
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
479
471
  id: string | undefined;
480
472
  };
481
473
  checkPermission: {
482
474
  src: "checkPermission";
483
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
475
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
476
+ id: string | undefined;
477
+ };
478
+ requestPermission: {
479
+ src: "requestPermission";
480
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
481
+ permissionResult?: PermissionResult;
482
+ requestMotionPermission: boolean;
483
+ }, xstate64.EventObject>;
484
484
  id: string | undefined;
485
485
  };
486
486
  finalizeDocumentRequest: {
487
487
  src: "finalizeDocumentRequest";
488
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
488
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
489
489
  processingType: string;
490
- }, xstate890.EventObject>;
490
+ }, xstate64.EventObject>;
491
491
  id: string | undefined;
492
492
  };
493
493
  }>, "src", TSrc>["logic"]>;
494
- <TLogic extends xstate890.AnyActorLogic>(src: TLogic, ...[options]: xstate890.ConditionalRequired<[options?: ({
494
+ <TLogic extends xstate64.AnyActorLogic>(src: TLogic, ...[options]: xstate64.ConditionalRequired<[options?: ({
495
495
  id?: never;
496
496
  systemId?: string;
497
- input?: xstate890.InputFrom<TLogic> | undefined;
497
+ input?: xstate64.InputFrom<TLogic> | undefined;
498
498
  syncSnapshot?: boolean;
499
- } & { [K in xstate890.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate890.IsNotNever<xstate890.RequiredLogicInput<TLogic>>>): xstate890.ActorRefFromLogic<TLogic>;
499
+ } & { [K in xstate64.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate64.IsNotNever<xstate64.RequiredLogicInput<TLogic>>>): xstate64.ActorRefFromLogic<TLogic>;
500
500
  };
501
501
  input: DocumentCaptureInput;
502
- self: xstate890.ActorRef<xstate890.MachineSnapshot<DocumentCaptureContext, {
502
+ self: xstate64.ActorRef<xstate64.MachineSnapshot<DocumentCaptureContext, {
503
503
  type: "CAPTURE";
504
504
  } | {
505
505
  type: "FILE_SELECTED";
@@ -545,7 +545,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
545
545
  type: "BACK";
546
546
  } | {
547
547
  type: "CLOSE";
548
- }, Record<string, xstate890.AnyActorRef | undefined>, xstate890.StateValue, string, unknown, any, any>, {
548
+ }, Record<string, xstate64.AnyActorRef | undefined>, xstate64.StateValue, string, unknown, any, any>, {
549
549
  type: "CAPTURE";
550
550
  } | {
551
551
  type: "FILE_SELECTED";
@@ -591,7 +591,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
591
591
  type: "BACK";
592
592
  } | {
593
593
  type: "CLOSE";
594
- }, xstate890.AnyEventObject>;
594
+ }, xstate64.AnyEventObject>;
595
595
  }) => {
596
596
  config: {
597
597
  processingType: DocumentType;
@@ -669,7 +669,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
669
669
  readonly onDone: readonly [{
670
670
  readonly target: "#documentCapture.initCamera";
671
671
  readonly guard: "isCameraPermissionGranted";
672
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
672
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
673
673
  type: "CAPTURE";
674
674
  } | {
675
675
  type: "FILE_SELECTED";
@@ -715,46 +715,46 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
715
715
  type: "BACK";
716
716
  } | {
717
717
  type: "CLOSE";
718
- }, undefined, xstate890.Values<{
718
+ }, undefined, xstate64.Values<{
719
719
  uploadDocument: {
720
720
  src: "uploadDocument";
721
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
721
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
722
722
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
723
723
  processingType: string;
724
724
  onProgress: (progress: number) => void;
725
- }, xstate890.EventObject>;
726
- id: string | undefined;
727
- };
728
- requestPermission: {
729
- src: "requestPermission";
730
- logic: xstate890.PromiseActorLogic<PermissionResult, {
731
- permissionResult?: PermissionResult;
732
- requestMotionPermission: boolean;
733
- }, xstate890.EventObject>;
725
+ }, xstate64.EventObject>;
734
726
  id: string | undefined;
735
727
  };
736
728
  initCamera: {
737
729
  src: "initCamera";
738
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
730
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
739
731
  id: string | undefined;
740
732
  };
741
733
  checkPermission: {
742
734
  src: "checkPermission";
743
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
735
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
736
+ id: string | undefined;
737
+ };
738
+ requestPermission: {
739
+ src: "requestPermission";
740
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
741
+ permissionResult?: PermissionResult;
742
+ requestMotionPermission: boolean;
743
+ }, xstate64.EventObject>;
744
744
  id: string | undefined;
745
745
  };
746
746
  finalizeDocumentRequest: {
747
747
  src: "finalizeDocumentRequest";
748
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
748
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
749
749
  processingType: string;
750
- }, xstate890.EventObject>;
750
+ }, xstate64.EventObject>;
751
751
  id: string | undefined;
752
752
  };
753
753
  }>, never, never, never, never>;
754
754
  }, {
755
755
  readonly target: "denied";
756
756
  readonly guard: "isCameraPermissionDenied";
757
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
757
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
758
758
  type: "CAPTURE";
759
759
  } | {
760
760
  type: "FILE_SELECTED";
@@ -800,45 +800,45 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
800
800
  type: "BACK";
801
801
  } | {
802
802
  type: "CLOSE";
803
- }, undefined, xstate890.Values<{
803
+ }, undefined, xstate64.Values<{
804
804
  uploadDocument: {
805
805
  src: "uploadDocument";
806
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
806
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
807
807
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
808
808
  processingType: string;
809
809
  onProgress: (progress: number) => void;
810
- }, xstate890.EventObject>;
811
- id: string | undefined;
812
- };
813
- requestPermission: {
814
- src: "requestPermission";
815
- logic: xstate890.PromiseActorLogic<PermissionResult, {
816
- permissionResult?: PermissionResult;
817
- requestMotionPermission: boolean;
818
- }, xstate890.EventObject>;
810
+ }, xstate64.EventObject>;
819
811
  id: string | undefined;
820
812
  };
821
813
  initCamera: {
822
814
  src: "initCamera";
823
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
815
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
824
816
  id: string | undefined;
825
817
  };
826
818
  checkPermission: {
827
819
  src: "checkPermission";
828
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
820
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
821
+ id: string | undefined;
822
+ };
823
+ requestPermission: {
824
+ src: "requestPermission";
825
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
826
+ permissionResult?: PermissionResult;
827
+ requestMotionPermission: boolean;
828
+ }, xstate64.EventObject>;
829
829
  id: string | undefined;
830
830
  };
831
831
  finalizeDocumentRequest: {
832
832
  src: "finalizeDocumentRequest";
833
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
833
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
834
834
  processingType: string;
835
- }, xstate890.EventObject>;
835
+ }, xstate64.EventObject>;
836
836
  id: string | undefined;
837
837
  };
838
838
  }>, never, never, never, never>;
839
839
  }, {
840
840
  readonly target: "waitingForUser";
841
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
841
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
842
842
  type: "CAPTURE";
843
843
  } | {
844
844
  type: "FILE_SELECTED";
@@ -884,46 +884,46 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
884
884
  type: "BACK";
885
885
  } | {
886
886
  type: "CLOSE";
887
- }, undefined, xstate890.Values<{
887
+ }, undefined, xstate64.Values<{
888
888
  uploadDocument: {
889
889
  src: "uploadDocument";
890
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
890
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
891
891
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
892
892
  processingType: string;
893
893
  onProgress: (progress: number) => void;
894
- }, xstate890.EventObject>;
895
- id: string | undefined;
896
- };
897
- requestPermission: {
898
- src: "requestPermission";
899
- logic: xstate890.PromiseActorLogic<PermissionResult, {
900
- permissionResult?: PermissionResult;
901
- requestMotionPermission: boolean;
902
- }, xstate890.EventObject>;
894
+ }, xstate64.EventObject>;
903
895
  id: string | undefined;
904
896
  };
905
897
  initCamera: {
906
898
  src: "initCamera";
907
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
899
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
908
900
  id: string | undefined;
909
901
  };
910
902
  checkPermission: {
911
903
  src: "checkPermission";
912
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
904
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
905
+ id: string | undefined;
906
+ };
907
+ requestPermission: {
908
+ src: "requestPermission";
909
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
910
+ permissionResult?: PermissionResult;
911
+ requestMotionPermission: boolean;
912
+ }, xstate64.EventObject>;
913
913
  id: string | undefined;
914
914
  };
915
915
  finalizeDocumentRequest: {
916
916
  src: "finalizeDocumentRequest";
917
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
917
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
918
918
  processingType: string;
919
- }, xstate890.EventObject>;
919
+ }, xstate64.EventObject>;
920
920
  id: string | undefined;
921
921
  };
922
922
  }>, never, never, never, never>;
923
923
  }];
924
924
  readonly onError: {
925
925
  readonly target: "waitingForUser";
926
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.ErrorActorEvent<unknown, string>, {
926
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.ErrorActorEvent<unknown, string>, {
927
927
  type: "CAPTURE";
928
928
  } | {
929
929
  type: "FILE_SELECTED";
@@ -969,39 +969,39 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
969
969
  type: "BACK";
970
970
  } | {
971
971
  type: "CLOSE";
972
- }, undefined, xstate890.Values<{
972
+ }, undefined, xstate64.Values<{
973
973
  uploadDocument: {
974
974
  src: "uploadDocument";
975
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
975
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
976
976
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
977
977
  processingType: string;
978
978
  onProgress: (progress: number) => void;
979
- }, xstate890.EventObject>;
980
- id: string | undefined;
981
- };
982
- requestPermission: {
983
- src: "requestPermission";
984
- logic: xstate890.PromiseActorLogic<PermissionResult, {
985
- permissionResult?: PermissionResult;
986
- requestMotionPermission: boolean;
987
- }, xstate890.EventObject>;
979
+ }, xstate64.EventObject>;
988
980
  id: string | undefined;
989
981
  };
990
982
  initCamera: {
991
983
  src: "initCamera";
992
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
984
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
993
985
  id: string | undefined;
994
986
  };
995
987
  checkPermission: {
996
988
  src: "checkPermission";
997
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
989
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
990
+ id: string | undefined;
991
+ };
992
+ requestPermission: {
993
+ src: "requestPermission";
994
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
995
+ permissionResult?: PermissionResult;
996
+ requestMotionPermission: boolean;
997
+ }, xstate64.EventObject>;
998
998
  id: string | undefined;
999
999
  };
1000
1000
  finalizeDocumentRequest: {
1001
1001
  src: "finalizeDocumentRequest";
1002
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
1002
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
1003
1003
  processingType: string;
1004
- }, xstate890.EventObject>;
1004
+ }, xstate64.EventObject>;
1005
1005
  id: string | undefined;
1006
1006
  };
1007
1007
  }>, never, never, never, never>;
@@ -1079,7 +1079,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1079
1079
  } | {
1080
1080
  type: "CLOSE";
1081
1081
  };
1082
- self: xstate890.ActorRef<xstate890.MachineSnapshot<DocumentCaptureContext, {
1082
+ self: xstate64.ActorRef<xstate64.MachineSnapshot<DocumentCaptureContext, {
1083
1083
  type: "CAPTURE";
1084
1084
  } | {
1085
1085
  type: "FILE_SELECTED";
@@ -1125,7 +1125,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1125
1125
  type: "BACK";
1126
1126
  } | {
1127
1127
  type: "CLOSE";
1128
- }, Record<string, xstate890.AnyActorRef>, xstate890.StateValue, string, unknown, any, any>, {
1128
+ }, Record<string, xstate64.AnyActorRef>, xstate64.StateValue, string, unknown, any, any>, {
1129
1129
  type: "CAPTURE";
1130
1130
  } | {
1131
1131
  type: "FILE_SELECTED";
@@ -1171,7 +1171,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1171
1171
  type: "BACK";
1172
1172
  } | {
1173
1173
  type: "CLOSE";
1174
- }, xstate890.AnyEventObject>;
1174
+ }, xstate64.AnyEventObject>;
1175
1175
  }) => {
1176
1176
  permissionResult: PermissionResult | undefined;
1177
1177
  requestMotionPermission: false;
@@ -1179,7 +1179,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1179
1179
  readonly onDone: readonly [{
1180
1180
  readonly target: "#documentCapture.initCamera";
1181
1181
  readonly guard: "isCameraPermissionGranted";
1182
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
1182
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
1183
1183
  type: "CAPTURE";
1184
1184
  } | {
1185
1185
  type: "FILE_SELECTED";
@@ -1225,46 +1225,46 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1225
1225
  type: "BACK";
1226
1226
  } | {
1227
1227
  type: "CLOSE";
1228
- }, undefined, xstate890.Values<{
1228
+ }, undefined, xstate64.Values<{
1229
1229
  uploadDocument: {
1230
1230
  src: "uploadDocument";
1231
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
1231
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
1232
1232
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1233
1233
  processingType: string;
1234
1234
  onProgress: (progress: number) => void;
1235
- }, xstate890.EventObject>;
1236
- id: string | undefined;
1237
- };
1238
- requestPermission: {
1239
- src: "requestPermission";
1240
- logic: xstate890.PromiseActorLogic<PermissionResult, {
1241
- permissionResult?: PermissionResult;
1242
- requestMotionPermission: boolean;
1243
- }, xstate890.EventObject>;
1235
+ }, xstate64.EventObject>;
1244
1236
  id: string | undefined;
1245
1237
  };
1246
1238
  initCamera: {
1247
1239
  src: "initCamera";
1248
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
1240
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
1249
1241
  id: string | undefined;
1250
1242
  };
1251
1243
  checkPermission: {
1252
1244
  src: "checkPermission";
1253
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
1245
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
1246
+ id: string | undefined;
1247
+ };
1248
+ requestPermission: {
1249
+ src: "requestPermission";
1250
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
1251
+ permissionResult?: PermissionResult;
1252
+ requestMotionPermission: boolean;
1253
+ }, xstate64.EventObject>;
1254
1254
  id: string | undefined;
1255
1255
  };
1256
1256
  finalizeDocumentRequest: {
1257
1257
  src: "finalizeDocumentRequest";
1258
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
1258
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
1259
1259
  processingType: string;
1260
- }, xstate890.EventObject>;
1260
+ }, xstate64.EventObject>;
1261
1261
  id: string | undefined;
1262
1262
  };
1263
1263
  }>, never, never, never, never>;
1264
1264
  }, {
1265
1265
  readonly target: "denied";
1266
1266
  readonly guard: "isCameraPermissionDenied";
1267
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
1267
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
1268
1268
  type: "CAPTURE";
1269
1269
  } | {
1270
1270
  type: "FILE_SELECTED";
@@ -1310,45 +1310,45 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1310
1310
  type: "BACK";
1311
1311
  } | {
1312
1312
  type: "CLOSE";
1313
- }, undefined, xstate890.Values<{
1313
+ }, undefined, xstate64.Values<{
1314
1314
  uploadDocument: {
1315
1315
  src: "uploadDocument";
1316
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
1316
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
1317
1317
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1318
1318
  processingType: string;
1319
1319
  onProgress: (progress: number) => void;
1320
- }, xstate890.EventObject>;
1321
- id: string | undefined;
1322
- };
1323
- requestPermission: {
1324
- src: "requestPermission";
1325
- logic: xstate890.PromiseActorLogic<PermissionResult, {
1326
- permissionResult?: PermissionResult;
1327
- requestMotionPermission: boolean;
1328
- }, xstate890.EventObject>;
1320
+ }, xstate64.EventObject>;
1329
1321
  id: string | undefined;
1330
1322
  };
1331
1323
  initCamera: {
1332
1324
  src: "initCamera";
1333
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
1325
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
1334
1326
  id: string | undefined;
1335
1327
  };
1336
1328
  checkPermission: {
1337
1329
  src: "checkPermission";
1338
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
1330
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
1331
+ id: string | undefined;
1332
+ };
1333
+ requestPermission: {
1334
+ src: "requestPermission";
1335
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
1336
+ permissionResult?: PermissionResult;
1337
+ requestMotionPermission: boolean;
1338
+ }, xstate64.EventObject>;
1339
1339
  id: string | undefined;
1340
1340
  };
1341
1341
  finalizeDocumentRequest: {
1342
1342
  src: "finalizeDocumentRequest";
1343
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
1343
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
1344
1344
  processingType: string;
1345
- }, xstate890.EventObject>;
1345
+ }, xstate64.EventObject>;
1346
1346
  id: string | undefined;
1347
1347
  };
1348
1348
  }>, never, never, never, never>;
1349
1349
  }, {
1350
1350
  readonly target: "waitingForUser";
1351
- readonly actions: xstate890.ActionFunction<DocumentCaptureContext, xstate890.DoneActorEvent<PermissionResult, string>, {
1351
+ readonly actions: xstate64.ActionFunction<DocumentCaptureContext, xstate64.DoneActorEvent<PermissionResult, string>, {
1352
1352
  type: "CAPTURE";
1353
1353
  } | {
1354
1354
  type: "FILE_SELECTED";
@@ -1394,39 +1394,39 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1394
1394
  type: "BACK";
1395
1395
  } | {
1396
1396
  type: "CLOSE";
1397
- }, undefined, xstate890.Values<{
1397
+ }, undefined, xstate64.Values<{
1398
1398
  uploadDocument: {
1399
1399
  src: "uploadDocument";
1400
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
1400
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
1401
1401
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1402
1402
  processingType: string;
1403
1403
  onProgress: (progress: number) => void;
1404
- }, xstate890.EventObject>;
1405
- id: string | undefined;
1406
- };
1407
- requestPermission: {
1408
- src: "requestPermission";
1409
- logic: xstate890.PromiseActorLogic<PermissionResult, {
1410
- permissionResult?: PermissionResult;
1411
- requestMotionPermission: boolean;
1412
- }, xstate890.EventObject>;
1404
+ }, xstate64.EventObject>;
1413
1405
  id: string | undefined;
1414
1406
  };
1415
1407
  initCamera: {
1416
1408
  src: "initCamera";
1417
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
1409
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
1418
1410
  id: string | undefined;
1419
1411
  };
1420
1412
  checkPermission: {
1421
1413
  src: "checkPermission";
1422
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
1414
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
1415
+ id: string | undefined;
1416
+ };
1417
+ requestPermission: {
1418
+ src: "requestPermission";
1419
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
1420
+ permissionResult?: PermissionResult;
1421
+ requestMotionPermission: boolean;
1422
+ }, xstate64.EventObject>;
1423
1423
  id: string | undefined;
1424
1424
  };
1425
1425
  finalizeDocumentRequest: {
1426
1426
  src: "finalizeDocumentRequest";
1427
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
1427
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
1428
1428
  processingType: string;
1429
- }, xstate890.EventObject>;
1429
+ }, xstate64.EventObject>;
1430
1430
  id: string | undefined;
1431
1431
  };
1432
1432
  }>, never, never, never, never>;
@@ -1437,7 +1437,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1437
1437
  };
1438
1438
  };
1439
1439
  readonly denied: {
1440
- readonly entry: xstate890.ActionFunction<DocumentCaptureContext, {
1440
+ readonly entry: xstate64.ActionFunction<DocumentCaptureContext, {
1441
1441
  type: "CAPTURE";
1442
1442
  } | {
1443
1443
  type: "FILE_SELECTED";
@@ -1529,39 +1529,39 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1529
1529
  type: "BACK";
1530
1530
  } | {
1531
1531
  type: "CLOSE";
1532
- }, undefined, xstate890.Values<{
1532
+ }, undefined, xstate64.Values<{
1533
1533
  uploadDocument: {
1534
1534
  src: "uploadDocument";
1535
- logic: xstate890.PromiseActorLogic<DocumentUploadResponse, {
1535
+ logic: xstate64.PromiseActorLogic<DocumentUploadResponse, {
1536
1536
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
1537
1537
  processingType: string;
1538
1538
  onProgress: (progress: number) => void;
1539
- }, xstate890.EventObject>;
1540
- id: string | undefined;
1541
- };
1542
- requestPermission: {
1543
- src: "requestPermission";
1544
- logic: xstate890.PromiseActorLogic<PermissionResult, {
1545
- permissionResult?: PermissionResult;
1546
- requestMotionPermission: boolean;
1547
- }, xstate890.EventObject>;
1539
+ }, xstate64.EventObject>;
1548
1540
  id: string | undefined;
1549
1541
  };
1550
1542
  initCamera: {
1551
1543
  src: "initCamera";
1552
- logic: xstate890.PromiseActorLogic<MediaStream, void, xstate890.EventObject>;
1544
+ logic: xstate64.PromiseActorLogic<MediaStream, void, xstate64.EventObject>;
1553
1545
  id: string | undefined;
1554
1546
  };
1555
1547
  checkPermission: {
1556
1548
  src: "checkPermission";
1557
- logic: xstate890.PromiseActorLogic<PermissionResult, void, xstate890.EventObject>;
1549
+ logic: xstate64.PromiseActorLogic<PermissionResult, void, xstate64.EventObject>;
1550
+ id: string | undefined;
1551
+ };
1552
+ requestPermission: {
1553
+ src: "requestPermission";
1554
+ logic: xstate64.PromiseActorLogic<PermissionResult, {
1555
+ permissionResult?: PermissionResult;
1556
+ requestMotionPermission: boolean;
1557
+ }, xstate64.EventObject>;
1558
1558
  id: string | undefined;
1559
1559
  };
1560
1560
  finalizeDocumentRequest: {
1561
1561
  src: "finalizeDocumentRequest";
1562
- logic: xstate890.PromiseActorLogic<FinalizeDocumentResponse, {
1562
+ logic: xstate64.PromiseActorLogic<FinalizeDocumentResponse, {
1563
1563
  processingType: string;
1564
- }, xstate890.EventObject>;
1564
+ }, xstate64.EventObject>;
1565
1565
  id: string | undefined;
1566
1566
  };
1567
1567
  }>, never, never, never, never>;
@@ -1699,7 +1699,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1699
1699
  } | {
1700
1700
  type: "CLOSE";
1701
1701
  };
1702
- self: xstate890.ActorRef<xstate890.MachineSnapshot<DocumentCaptureContext, {
1702
+ self: xstate64.ActorRef<xstate64.MachineSnapshot<DocumentCaptureContext, {
1703
1703
  type: "CAPTURE";
1704
1704
  } | {
1705
1705
  type: "FILE_SELECTED";
@@ -1745,7 +1745,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1745
1745
  type: "BACK";
1746
1746
  } | {
1747
1747
  type: "CLOSE";
1748
- }, Record<string, xstate890.AnyActorRef>, xstate890.StateValue, string, unknown, any, any>, {
1748
+ }, Record<string, xstate64.AnyActorRef>, xstate64.StateValue, string, unknown, any, any>, {
1749
1749
  type: "CAPTURE";
1750
1750
  } | {
1751
1751
  type: "FILE_SELECTED";
@@ -1791,7 +1791,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1791
1791
  type: "BACK";
1792
1792
  } | {
1793
1793
  type: "CLOSE";
1794
- }, xstate890.AnyEventObject>;
1794
+ }, xstate64.AnyEventObject>;
1795
1795
  }) => {
1796
1796
  capturedDocument: CapturedDocument;
1797
1797
  processingType: DocumentType;
@@ -1904,7 +1904,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1904
1904
  } | {
1905
1905
  type: "CLOSE";
1906
1906
  };
1907
- self: xstate890.ActorRef<xstate890.MachineSnapshot<DocumentCaptureContext, {
1907
+ self: xstate64.ActorRef<xstate64.MachineSnapshot<DocumentCaptureContext, {
1908
1908
  type: "CAPTURE";
1909
1909
  } | {
1910
1910
  type: "FILE_SELECTED";
@@ -1950,7 +1950,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1950
1950
  type: "BACK";
1951
1951
  } | {
1952
1952
  type: "CLOSE";
1953
- }, Record<string, xstate890.AnyActorRef>, xstate890.StateValue, string, unknown, any, any>, {
1953
+ }, Record<string, xstate64.AnyActorRef>, xstate64.StateValue, string, unknown, any, any>, {
1954
1954
  type: "CAPTURE";
1955
1955
  } | {
1956
1956
  type: "FILE_SELECTED";
@@ -1996,7 +1996,7 @@ declare const documentCaptureMachine: xstate890.StateMachine<DocumentCaptureCont
1996
1996
  type: "BACK";
1997
1997
  } | {
1998
1998
  type: "CLOSE";
1999
- }, xstate890.AnyEventObject>;
1999
+ }, xstate64.AnyEventObject>;
2000
2000
  }) => {
2001
2001
  processingType: DocumentType;
2002
2002
  };