@incodetech/core 0.0.0-dev-20260402-0dc2fb9 → 0.0.0-dev-20260403-10f7d94

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/{Manager-B-qS9P9T.esm.js → Manager-9L3Rmc6X.esm.js} +14 -2
  2. package/dist/{addressSearch-CmmLAvRi.esm.js → addressSearch-uoJHvUT9.esm.js} +1 -1
  3. package/dist/authentication.esm.js +3 -3
  4. package/dist/{authenticationManager-BzsB0zC8.esm.js → authenticationManager-xQrUkboA.esm.js} +2 -2
  5. package/dist/consent.d.ts +52 -52
  6. package/dist/consent.esm.js +1 -1
  7. package/dist/curp-validation.esm.js +1 -1
  8. package/dist/document-capture.d.ts +76 -76
  9. package/dist/document-capture.esm.js +1 -1
  10. package/dist/document-upload.d.ts +46 -46
  11. package/dist/document-upload.esm.js +1 -1
  12. package/dist/ekyb.esm.js +4 -4
  13. package/dist/ekyc.esm.js +2 -2
  14. package/dist/email.esm.js +2 -2
  15. package/dist/{emailManager-E3Cr6KIG.esm.js → emailManager-DDioJ_AQ.esm.js} +2 -2
  16. package/dist/extensibility.esm.js +15 -8
  17. package/dist/face-match.esm.js +1 -1
  18. package/dist/{faceCaptureSetup-Bc7QPf-C.esm.js → faceCaptureSetup-Bq4TPX5D.esm.js} +1 -1
  19. package/dist/flow.esm.js +3 -3
  20. package/dist/{flowServices-GUqxIdRY.esm.js → flowServices-Bi3F1654.esm.js} +1 -1
  21. package/dist/geolocation.esm.js +1 -1
  22. package/dist/government-validation.esm.js +1 -1
  23. package/dist/id.esm.js +3 -3
  24. package/dist/{idCaptureManager-1x6DxWdp.esm.js → idCaptureManager-DlZXRwne.esm.js} +72 -25
  25. package/dist/index.esm.js +3 -3
  26. package/dist/mandatory-consent.d.ts +53 -53
  27. package/dist/mandatory-consent.esm.js +1 -1
  28. package/dist/phone.esm.js +2 -2
  29. package/dist/{phoneManager-B0ZiIWOO.esm.js → phoneManager-DXxuWtoy.esm.js} +2 -2
  30. package/dist/redirect-to-mobile.esm.js +1 -1
  31. package/dist/selfie.esm.js +3 -3
  32. package/dist/{selfieManager-CtfKnz4C.esm.js → selfieManager-DSEpKb7Q.esm.js} +2 -2
  33. package/dist/{session-CIxnj9Wm.esm.js → session-Cr89qxxK.esm.js} +2 -9
  34. package/dist/signature.esm.js +1 -1
  35. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import "./Actor-phIcsUhv.js";
2
2
  import { t as CameraStream } from "./camera-Dv2WEhGe.js";
3
3
  import { t as Manager } from "./Manager-BndLda4_.js";
4
- import * as xstate131 from "xstate";
4
+ import * as xstate0 from "xstate";
5
5
 
6
6
  //#region src/modules/document-capture/types.d.ts
7
7
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
@@ -82,7 +82,7 @@ type DocumentCaptureInput = {
82
82
  };
83
83
  //#endregion
84
84
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
85
- declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureContext, {
85
+ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContext, {
86
86
  type: "CAPTURE";
87
87
  } | {
88
88
  type: "FILE_SELECTED";
@@ -111,105 +111,105 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
111
111
  } | {
112
112
  type: "CLOSE";
113
113
  }, {
114
- [x: string]: xstate131.ActorRefFromLogic<xstate131.PromiseActorLogic<MediaStream, void, xstate131.EventObject>> | xstate131.ActorRefFromLogic<xstate131.PromiseActorLogic<DocumentUploadResponse, {
114
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<DocumentUploadResponse, {
115
115
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
116
116
  processingType: string;
117
117
  onProgress: (progress: number) => void;
118
- }, xstate131.EventObject>> | xstate131.ActorRefFromLogic<xstate131.PromiseActorLogic<FinalizeDocumentResponse, {
118
+ }, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
119
119
  processingType: string;
120
- }, xstate131.EventObject>> | undefined;
121
- }, xstate131.Values<{
120
+ }, xstate0.EventObject>> | undefined;
121
+ }, xstate0.Values<{
122
122
  initCamera: {
123
123
  src: "initCamera";
124
- logic: xstate131.PromiseActorLogic<MediaStream, void, xstate131.EventObject>;
124
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
125
125
  id: string | undefined;
126
126
  };
127
127
  uploadDocument: {
128
128
  src: "uploadDocument";
129
- logic: xstate131.PromiseActorLogic<DocumentUploadResponse, {
129
+ logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
130
130
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
131
131
  processingType: string;
132
132
  onProgress: (progress: number) => void;
133
- }, xstate131.EventObject>;
133
+ }, xstate0.EventObject>;
134
134
  id: string | undefined;
135
135
  };
136
136
  finalizeDocumentRequest: {
137
137
  src: "finalizeDocumentRequest";
138
- logic: xstate131.PromiseActorLogic<FinalizeDocumentResponse, {
138
+ logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
139
139
  processingType: string;
140
- }, xstate131.EventObject>;
140
+ }, xstate0.EventObject>;
141
141
  id: string | undefined;
142
142
  };
143
- }>, xstate131.Values<{
143
+ }>, xstate0.Values<{
144
144
  setStream: {
145
145
  type: "setStream";
146
- params: xstate131.NonReducibleUnknown;
147
- };
148
- setProgress: {
149
- type: "setProgress";
150
- params: xstate131.NonReducibleUnknown;
151
- };
152
- clearError: {
153
- type: "clearError";
154
- params: xstate131.NonReducibleUnknown;
155
- };
156
- stopStream: {
157
- type: "stopStream";
158
- params: xstate131.NonReducibleUnknown;
146
+ params: xstate0.NonReducibleUnknown;
159
147
  };
160
148
  setCapturedDocument: {
161
149
  type: "setCapturedDocument";
162
- params: xstate131.NonReducibleUnknown;
150
+ params: xstate0.NonReducibleUnknown;
163
151
  };
164
152
  setFileTooLargeError: {
165
153
  type: "setFileTooLargeError";
166
- params: xstate131.NonReducibleUnknown;
154
+ params: xstate0.NonReducibleUnknown;
155
+ };
156
+ setProgress: {
157
+ type: "setProgress";
158
+ params: xstate0.NonReducibleUnknown;
167
159
  };
168
160
  setUploadError: {
169
161
  type: "setUploadError";
170
- params: xstate131.NonReducibleUnknown;
162
+ params: xstate0.NonReducibleUnknown;
171
163
  };
172
164
  setFinalizeError: {
173
165
  type: "setFinalizeError";
174
- params: xstate131.NonReducibleUnknown;
166
+ params: xstate0.NonReducibleUnknown;
175
167
  };
176
168
  decrementAttemptsRemaining: {
177
169
  type: "decrementAttemptsRemaining";
178
- params: xstate131.NonReducibleUnknown;
170
+ params: xstate0.NonReducibleUnknown;
179
171
  };
180
172
  setCaptureMethodFile: {
181
173
  type: "setCaptureMethodFile";
182
- params: xstate131.NonReducibleUnknown;
174
+ params: xstate0.NonReducibleUnknown;
183
175
  };
184
176
  setCaptureMethodCamera: {
185
177
  type: "setCaptureMethodCamera";
186
- params: xstate131.NonReducibleUnknown;
178
+ params: xstate0.NonReducibleUnknown;
187
179
  };
188
180
  setCaptureMethodGallery: {
189
181
  type: "setCaptureMethodGallery";
190
- params: xstate131.NonReducibleUnknown;
182
+ params: xstate0.NonReducibleUnknown;
191
183
  };
192
184
  clearCapturedDocument: {
193
185
  type: "clearCapturedDocument";
194
- params: xstate131.NonReducibleUnknown;
186
+ params: xstate0.NonReducibleUnknown;
195
187
  };
196
188
  clearCapturedDocumentGalleryRetake: {
197
189
  type: "clearCapturedDocumentGalleryRetake";
198
- params: xstate131.NonReducibleUnknown;
190
+ params: xstate0.NonReducibleUnknown;
199
191
  };
200
192
  setNextPageType: {
201
193
  type: "setNextPageType";
202
- params: xstate131.NonReducibleUnknown;
194
+ params: xstate0.NonReducibleUnknown;
203
195
  };
204
196
  clearForNextPage: {
205
197
  type: "clearForNextPage";
206
- params: xstate131.NonReducibleUnknown;
198
+ params: xstate0.NonReducibleUnknown;
199
+ };
200
+ clearError: {
201
+ type: "clearError";
202
+ params: xstate0.NonReducibleUnknown;
207
203
  };
208
204
  resetProgress: {
209
205
  type: "resetProgress";
210
- params: xstate131.NonReducibleUnknown;
206
+ params: xstate0.NonReducibleUnknown;
207
+ };
208
+ stopStream: {
209
+ type: "stopStream";
210
+ params: xstate0.NonReducibleUnknown;
211
211
  };
212
- }>, xstate131.Values<{
212
+ }>, xstate0.Values<{
213
213
  allowSkip: {
214
214
  type: "allowSkip";
215
215
  params: unknown;
@@ -266,7 +266,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
266
266
  type: "fileSizeOkForNonGallery";
267
267
  params: unknown;
268
268
  };
269
- }>, never, "initCamera" | "capturing" | "closed" | "uploading" | "finished" | "tutorial" | "preview" | "failure" | "success" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate131.NonReducibleUnknown, xstate131.EventObject, xstate131.MetaObject, {
269
+ }>, never, "initCamera" | "tutorial" | "capturing" | "preview" | "finished" | "closed" | "failure" | "uploading" | "success" | "nextPage" | "finalizing", string, DocumentCaptureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
270
270
  readonly id: "documentCapture";
271
271
  readonly initial: "tutorial";
272
272
  readonly context: ({
@@ -275,93 +275,93 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
275
275
  spawn: {
276
276
  <TSrc extends "initCamera" | "uploadDocument" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
277
277
  src: "initCamera";
278
- logic: xstate131.PromiseActorLogic<MediaStream, void, xstate131.EventObject>;
278
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
279
279
  id: string | undefined;
280
280
  } extends infer T ? T extends {
281
281
  src: "initCamera";
282
- logic: xstate131.PromiseActorLogic<MediaStream, void, xstate131.EventObject>;
282
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
283
283
  id: string | undefined;
284
284
  } ? T extends {
285
285
  src: TSrc;
286
- } ? xstate131.ConditionalRequired<[options?: ({
286
+ } ? xstate0.ConditionalRequired<[options?: ({
287
287
  id?: T["id"] | undefined;
288
288
  systemId?: string;
289
- input?: xstate131.InputFrom<T["logic"]> | undefined;
289
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
290
290
  syncSnapshot?: boolean;
291
- } & { [K in xstate131.RequiredActorOptions<T>]: unknown }) | undefined], xstate131.IsNotNever<xstate131.RequiredActorOptions<T>>> : never : never : never) | ({
291
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
292
292
  src: "uploadDocument";
293
- logic: xstate131.PromiseActorLogic<DocumentUploadResponse, {
293
+ logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
294
294
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
295
295
  processingType: string;
296
296
  onProgress: (progress: number) => void;
297
- }, xstate131.EventObject>;
297
+ }, xstate0.EventObject>;
298
298
  id: string | undefined;
299
299
  } extends infer T_1 ? T_1 extends {
300
300
  src: "uploadDocument";
301
- logic: xstate131.PromiseActorLogic<DocumentUploadResponse, {
301
+ logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
302
302
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
303
303
  processingType: string;
304
304
  onProgress: (progress: number) => void;
305
- }, xstate131.EventObject>;
305
+ }, xstate0.EventObject>;
306
306
  id: string | undefined;
307
307
  } ? T_1 extends {
308
308
  src: TSrc;
309
- } ? xstate131.ConditionalRequired<[options?: ({
309
+ } ? xstate0.ConditionalRequired<[options?: ({
310
310
  id?: T_1["id"] | undefined;
311
311
  systemId?: string;
312
- input?: xstate131.InputFrom<T_1["logic"]> | undefined;
312
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
313
313
  syncSnapshot?: boolean;
314
- } & { [K_1 in xstate131.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate131.IsNotNever<xstate131.RequiredActorOptions<T_1>>> : never : never : never) | ({
314
+ } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never) | ({
315
315
  src: "finalizeDocumentRequest";
316
- logic: xstate131.PromiseActorLogic<FinalizeDocumentResponse, {
316
+ logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
317
317
  processingType: string;
318
- }, xstate131.EventObject>;
318
+ }, xstate0.EventObject>;
319
319
  id: string | undefined;
320
320
  } extends infer T_2 ? T_2 extends {
321
321
  src: "finalizeDocumentRequest";
322
- logic: xstate131.PromiseActorLogic<FinalizeDocumentResponse, {
322
+ logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
323
323
  processingType: string;
324
- }, xstate131.EventObject>;
324
+ }, xstate0.EventObject>;
325
325
  id: string | undefined;
326
326
  } ? T_2 extends {
327
327
  src: TSrc;
328
- } ? xstate131.ConditionalRequired<[options?: ({
328
+ } ? xstate0.ConditionalRequired<[options?: ({
329
329
  id?: T_2["id"] | undefined;
330
330
  systemId?: string;
331
- input?: xstate131.InputFrom<T_2["logic"]> | undefined;
331
+ input?: xstate0.InputFrom<T_2["logic"]> | undefined;
332
332
  syncSnapshot?: boolean;
333
- } & { [K_2 in xstate131.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate131.IsNotNever<xstate131.RequiredActorOptions<T_2>>> : never : never : never)): xstate131.ActorRefFromLogic<xstate131.GetConcreteByKey<xstate131.Values<{
333
+ } & { [K_2 in xstate0.RequiredActorOptions<T_2>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_2>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
334
334
  initCamera: {
335
335
  src: "initCamera";
336
- logic: xstate131.PromiseActorLogic<MediaStream, void, xstate131.EventObject>;
336
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
337
337
  id: string | undefined;
338
338
  };
339
339
  uploadDocument: {
340
340
  src: "uploadDocument";
341
- logic: xstate131.PromiseActorLogic<DocumentUploadResponse, {
341
+ logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
342
342
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
343
343
  processingType: string;
344
344
  onProgress: (progress: number) => void;
345
- }, xstate131.EventObject>;
345
+ }, xstate0.EventObject>;
346
346
  id: string | undefined;
347
347
  };
348
348
  finalizeDocumentRequest: {
349
349
  src: "finalizeDocumentRequest";
350
- logic: xstate131.PromiseActorLogic<FinalizeDocumentResponse, {
350
+ logic: xstate0.PromiseActorLogic<FinalizeDocumentResponse, {
351
351
  processingType: string;
352
- }, xstate131.EventObject>;
352
+ }, xstate0.EventObject>;
353
353
  id: string | undefined;
354
354
  };
355
355
  }>, "src", TSrc>["logic"]>;
356
- <TLogic extends xstate131.AnyActorLogic>(src: TLogic, ...[options]: xstate131.ConditionalRequired<[options?: ({
356
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
357
357
  id?: never;
358
358
  systemId?: string;
359
- input?: xstate131.InputFrom<TLogic> | undefined;
359
+ input?: xstate0.InputFrom<TLogic> | undefined;
360
360
  syncSnapshot?: boolean;
361
- } & { [K in xstate131.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate131.IsNotNever<xstate131.RequiredLogicInput<TLogic>>>): xstate131.ActorRefFromLogic<TLogic>;
361
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
362
362
  };
363
363
  input: DocumentCaptureInput;
364
- self: xstate131.ActorRef<xstate131.MachineSnapshot<DocumentCaptureContext, {
364
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
365
365
  type: "CAPTURE";
366
366
  } | {
367
367
  type: "FILE_SELECTED";
@@ -389,7 +389,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
389
389
  type: "SKIP";
390
390
  } | {
391
391
  type: "CLOSE";
392
- }, Record<string, xstate131.AnyActorRef | undefined>, xstate131.StateValue, string, unknown, any, any>, {
392
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
393
393
  type: "CAPTURE";
394
394
  } | {
395
395
  type: "FILE_SELECTED";
@@ -417,7 +417,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
417
417
  type: "SKIP";
418
418
  } | {
419
419
  type: "CLOSE";
420
- }, xstate131.AnyEventObject>;
420
+ }, xstate0.AnyEventObject>;
421
421
  }) => {
422
422
  config: {
423
423
  processingType: DocumentType;
@@ -568,7 +568,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
568
568
  } | {
569
569
  type: "CLOSE";
570
570
  };
571
- self: xstate131.ActorRef<xstate131.MachineSnapshot<DocumentCaptureContext, {
571
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
572
572
  type: "CAPTURE";
573
573
  } | {
574
574
  type: "FILE_SELECTED";
@@ -596,7 +596,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
596
596
  type: "SKIP";
597
597
  } | {
598
598
  type: "CLOSE";
599
- }, Record<string, xstate131.AnyActorRef>, xstate131.StateValue, string, unknown, any, any>, {
599
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
600
600
  type: "CAPTURE";
601
601
  } | {
602
602
  type: "FILE_SELECTED";
@@ -624,7 +624,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
624
624
  type: "SKIP";
625
625
  } | {
626
626
  type: "CLOSE";
627
- }, xstate131.AnyEventObject>;
627
+ }, xstate0.AnyEventObject>;
628
628
  }) => {
629
629
  capturedDocument: CapturedDocument;
630
630
  processingType: DocumentType;
@@ -719,7 +719,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
719
719
  } | {
720
720
  type: "CLOSE";
721
721
  };
722
- self: xstate131.ActorRef<xstate131.MachineSnapshot<DocumentCaptureContext, {
722
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
723
723
  type: "CAPTURE";
724
724
  } | {
725
725
  type: "FILE_SELECTED";
@@ -747,7 +747,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
747
747
  type: "SKIP";
748
748
  } | {
749
749
  type: "CLOSE";
750
- }, Record<string, xstate131.AnyActorRef>, xstate131.StateValue, string, unknown, any, any>, {
750
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
751
751
  type: "CAPTURE";
752
752
  } | {
753
753
  type: "FILE_SELECTED";
@@ -775,7 +775,7 @@ declare const documentCaptureMachine: xstate131.StateMachine<DocumentCaptureCont
775
775
  type: "SKIP";
776
776
  } | {
777
777
  type: "CLOSE";
778
- }, xstate131.AnyEventObject>;
778
+ }, xstate0.AnyEventObject>;
779
779
  }) => {
780
780
  processingType: DocumentType;
781
781
  };
@@ -1,6 +1,6 @@
1
1
  import "./platform-B3nGssGZ.esm.js";
2
2
  import { t as api } from "./api-3fZO5bmj.esm.js";
3
- import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
5
5
  import { i as stopCameraStream } from "./camera-D-MPXRbZ.esm.js";
6
6
  import { t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
@@ -2,10 +2,10 @@ import "./Actor-phIcsUhv.js";
2
2
  import "./camera-Dv2WEhGe.js";
3
3
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-BWGxcjiZ.js";
4
4
  import { t as Manager } from "./Manager-BndLda4_.js";
5
- import * as xstate0 from "xstate";
5
+ import * as xstate164 from "xstate";
6
6
 
7
7
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
8
- declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext, {
8
+ declare const documentUploadMachine: xstate164.StateMachine<DocumentUploadContext, {
9
9
  type: "START";
10
10
  } | {
11
11
  type: "CAPTURE";
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
18
18
  } | {
19
19
  type: "CLOSE";
20
20
  }, {
21
- [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
21
+ [x: string]: xstate164.ActorRefFromLogic<xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>> | xstate164.ActorRefFromLogic<xstate164.PromiseActorLogic<void, {
22
22
  imageBase64: string;
23
23
  documentType: string;
24
24
  onProgress: (progress: number) => void;
25
- }, xstate0.EventObject>> | undefined;
26
- }, xstate0.Values<{
25
+ }, xstate164.EventObject>> | undefined;
26
+ }, xstate164.Values<{
27
27
  initCamera: {
28
28
  src: "initCamera";
29
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
29
+ logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
30
30
  id: string | undefined;
31
31
  };
32
32
  uploadDocument: {
33
33
  src: "uploadDocument";
34
- logic: xstate0.PromiseActorLogic<void, {
34
+ logic: xstate164.PromiseActorLogic<void, {
35
35
  imageBase64: string;
36
36
  documentType: string;
37
37
  onProgress: (progress: number) => void;
38
- }, xstate0.EventObject>;
38
+ }, xstate164.EventObject>;
39
39
  id: string | undefined;
40
40
  };
41
- }>, xstate0.Values<{
41
+ }>, xstate164.Values<{
42
42
  setStream: {
43
43
  type: "setStream";
44
- params: xstate0.NonReducibleUnknown;
45
- };
46
- setImageAndClearError: {
47
- type: "setImageAndClearError";
48
- params: xstate0.NonReducibleUnknown;
44
+ params: xstate164.NonReducibleUnknown;
49
45
  };
50
46
  setProgress: {
51
47
  type: "setProgress";
52
- params: xstate0.NonReducibleUnknown;
53
- };
54
- setError: {
55
- type: "setError";
56
- params: xstate0.NonReducibleUnknown;
48
+ params: xstate164.NonReducibleUnknown;
57
49
  };
58
50
  clearError: {
59
51
  type: "clearError";
60
- params: xstate0.NonReducibleUnknown;
52
+ params: xstate164.NonReducibleUnknown;
61
53
  };
62
54
  stopStream: {
63
55
  type: "stopStream";
64
- params: xstate0.NonReducibleUnknown;
56
+ params: xstate164.NonReducibleUnknown;
57
+ };
58
+ setError: {
59
+ type: "setError";
60
+ params: xstate164.NonReducibleUnknown;
61
+ };
62
+ setImageAndClearError: {
63
+ type: "setImageAndClearError";
64
+ params: xstate164.NonReducibleUnknown;
65
65
  };
66
- }>, never, never, "initCamera" | "error" | "idle" | "capturing" | "closed" | "uploading" | "finished", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
66
+ }>, never, never, "error" | "initCamera" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput, xstate164.NonReducibleUnknown, xstate164.EventObject, xstate164.MetaObject, {
67
67
  readonly id: "documentUpload";
68
68
  readonly initial: "idle";
69
69
  readonly context: ({
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
72
72
  spawn: {
73
73
  <TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
74
74
  src: "initCamera";
75
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
75
+ logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
76
76
  id: string | undefined;
77
77
  } extends infer T ? T extends {
78
78
  src: "initCamera";
79
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
79
+ logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
80
80
  id: string | undefined;
81
81
  } ? T extends {
82
82
  src: TSrc;
83
- } ? xstate0.ConditionalRequired<[options?: ({
83
+ } ? xstate164.ConditionalRequired<[options?: ({
84
84
  id?: T["id"] | undefined;
85
85
  systemId?: string;
86
- input?: xstate0.InputFrom<T["logic"]> | undefined;
86
+ input?: xstate164.InputFrom<T["logic"]> | undefined;
87
87
  syncSnapshot?: boolean;
88
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
88
+ } & { [K in xstate164.RequiredActorOptions<T>]: unknown }) | undefined], xstate164.IsNotNever<xstate164.RequiredActorOptions<T>>> : never : never : never) | ({
89
89
  src: "uploadDocument";
90
- logic: xstate0.PromiseActorLogic<void, {
90
+ logic: xstate164.PromiseActorLogic<void, {
91
91
  imageBase64: string;
92
92
  documentType: string;
93
93
  onProgress: (progress: number) => void;
94
- }, xstate0.EventObject>;
94
+ }, xstate164.EventObject>;
95
95
  id: string | undefined;
96
96
  } extends infer T_1 ? T_1 extends {
97
97
  src: "uploadDocument";
98
- logic: xstate0.PromiseActorLogic<void, {
98
+ logic: xstate164.PromiseActorLogic<void, {
99
99
  imageBase64: string;
100
100
  documentType: string;
101
101
  onProgress: (progress: number) => void;
102
- }, xstate0.EventObject>;
102
+ }, xstate164.EventObject>;
103
103
  id: string | undefined;
104
104
  } ? T_1 extends {
105
105
  src: TSrc;
106
- } ? xstate0.ConditionalRequired<[options?: ({
106
+ } ? xstate164.ConditionalRequired<[options?: ({
107
107
  id?: T_1["id"] | undefined;
108
108
  systemId?: string;
109
- input?: xstate0.InputFrom<T_1["logic"]> | undefined;
109
+ input?: xstate164.InputFrom<T_1["logic"]> | undefined;
110
110
  syncSnapshot?: boolean;
111
- } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
111
+ } & { [K_1 in xstate164.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate164.IsNotNever<xstate164.RequiredActorOptions<T_1>>> : never : never : never)): xstate164.ActorRefFromLogic<xstate164.GetConcreteByKey<xstate164.Values<{
112
112
  initCamera: {
113
113
  src: "initCamera";
114
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
114
+ logic: xstate164.PromiseActorLogic<MediaStream, void, xstate164.EventObject>;
115
115
  id: string | undefined;
116
116
  };
117
117
  uploadDocument: {
118
118
  src: "uploadDocument";
119
- logic: xstate0.PromiseActorLogic<void, {
119
+ logic: xstate164.PromiseActorLogic<void, {
120
120
  imageBase64: string;
121
121
  documentType: string;
122
122
  onProgress: (progress: number) => void;
123
- }, xstate0.EventObject>;
123
+ }, xstate164.EventObject>;
124
124
  id: string | undefined;
125
125
  };
126
126
  }>, "src", TSrc>["logic"]>;
127
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
127
+ <TLogic extends xstate164.AnyActorLogic>(src: TLogic, ...[options]: xstate164.ConditionalRequired<[options?: ({
128
128
  id?: never;
129
129
  systemId?: string;
130
- input?: xstate0.InputFrom<TLogic> | undefined;
130
+ input?: xstate164.InputFrom<TLogic> | undefined;
131
131
  syncSnapshot?: boolean;
132
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
132
+ } & { [K in xstate164.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate164.IsNotNever<xstate164.RequiredLogicInput<TLogic>>>): xstate164.ActorRefFromLogic<TLogic>;
133
133
  };
134
134
  input: DocumentUploadInput;
135
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
135
+ self: xstate164.ActorRef<xstate164.MachineSnapshot<DocumentUploadContext, {
136
136
  type: "START";
137
137
  } | {
138
138
  type: "CAPTURE";
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
144
144
  type: "RETRY";
145
145
  } | {
146
146
  type: "CLOSE";
147
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
147
+ }, Record<string, xstate164.AnyActorRef | undefined>, xstate164.StateValue, string, unknown, any, any>, {
148
148
  type: "START";
149
149
  } | {
150
150
  type: "CAPTURE";
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
156
156
  type: "RETRY";
157
157
  } | {
158
158
  type: "CLOSE";
159
- }, xstate0.AnyEventObject>;
159
+ }, xstate164.AnyEventObject>;
160
160
  }) => {
161
161
  config: DocumentUploadConfig;
162
162
  stream: undefined;
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
226
226
  } | {
227
227
  type: "CLOSE";
228
228
  };
229
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
229
+ self: xstate164.ActorRef<xstate164.MachineSnapshot<DocumentUploadContext, {
230
230
  type: "START";
231
231
  } | {
232
232
  type: "CAPTURE";
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
238
238
  type: "RETRY";
239
239
  } | {
240
240
  type: "CLOSE";
241
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
241
+ }, Record<string, xstate164.AnyActorRef>, xstate164.StateValue, string, unknown, any, any>, {
242
242
  type: "START";
243
243
  } | {
244
244
  type: "CAPTURE";
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
250
250
  type: "RETRY";
251
251
  } | {
252
252
  type: "CLOSE";
253
- }, xstate0.AnyEventObject>;
253
+ }, xstate164.AnyEventObject>;
254
254
  }) => {
255
255
  imageBase64: string;
256
256
  documentType: string;
@@ -1,6 +1,6 @@
1
1
  import "./platform-B3nGssGZ.esm.js";
2
2
  import { t as api } from "./api-3fZO5bmj.esm.js";
3
- import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
5
5
  import { i as stopCameraStream } from "./camera-D-MPXRbZ.esm.js";
6
6
  import { t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import "./browserSimulation-zWJAZ1vA.esm.js";
2
2
  import { t as api } from "./api-3fZO5bmj.esm.js";
3
- import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
3
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
5
- import "./session-CIxnj9Wm.esm.js";
5
+ import "./session-Cr89qxxK.esm.js";
6
6
  import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
7
7
  import "./BrowserTimerProvider-CRhCvln7.esm.js";
8
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CmmLAvRi.esm.js";
9
- import { t as getFlow } from "./flowServices-GUqxIdRY.esm.js";
8
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-uoJHvUT9.esm.js";
9
+ import { t as getFlow } from "./flowServices-Bi3F1654.esm.js";
10
10
 
11
11
  //#region src/modules/ekyb/ekybConstants.ts
12
12
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-3fZO5bmj.esm.js";
2
- import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
2
+ import { C as createActor, S as fromPromise, b as assign, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, y as setup } from "./Manager-9L3Rmc6X.esm.js";
3
3
  import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
4
4
  import "./BrowserTimerProvider-CRhCvln7.esm.js";
5
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CmmLAvRi.esm.js";
5
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-uoJHvUT9.esm.js";
6
6
 
7
7
  //#region src/modules/ekyc/ekycConsts.ts
8
8
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
package/dist/email.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./api-3fZO5bmj.esm.js";
2
- import "./Manager-B-qS9P9T.esm.js";
2
+ import "./Manager-9L3Rmc6X.esm.js";
3
3
  import "./endpoints-DEXxYYFi.esm.js";
4
4
  import "./BrowserTimerProvider-CRhCvln7.esm.js";
5
- import { r as emailMachine, t as createEmailManager } from "./emailManager-E3Cr6KIG.esm.js";
5
+ import { r as emailMachine, t as createEmailManager } from "./emailManager-DDioJ_AQ.esm.js";
6
6
 
7
7
  export { createEmailManager, emailMachine };