@incodetech/core 0.0.0-dev-20260320-26b35b4 → 0.0.0-dev-20260320-96b0018

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.
@@ -1,11 +1,11 @@
1
1
  import "./deepsightService-CP5OM4Fc.js";
2
- import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
2
+ import { g as AuthenticationConfig, h as createAuthenticationActor, m as CreateAuthenticationActorOptions, p as AuthenticationActor, y as authenticationMachine } from "./faceCaptureManagerFactory-COWObGBr.js";
3
3
  import "./warmup-4e5k___O.js";
4
4
  import "./Manager-DsNvecSe.js";
5
5
  import "./camera-Bzi6CMAW.js";
6
6
  import "./Actor-D3GOC38V.js";
7
7
  import "./StateMachine-BFurBmbZ.js";
8
8
  import "./types-BHnsBsl_.js";
9
- import "./types-seztsdvN.js";
10
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BWtUIJXV.js";
9
+ import "./types-BZcBRlI8.js";
10
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CsDKpKla.js";
11
11
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,4 +1,4 @@
1
- import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
1
+ import { m as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, p as AuthenticationActor, t as FaceCaptureManager } from "./faceCaptureManagerFactory-COWObGBr.js";
2
2
  import { t as Manager } from "./Manager-DsNvecSe.js";
3
3
 
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
@@ -1,7 +1,7 @@
1
1
  import { t as Manager } from "./Manager-DsNvecSe.js";
2
2
  import "./camera-Bzi6CMAW.js";
3
3
  import "./types-BHnsBsl_.js";
4
- import { r as FlowModuleConfig } from "./types-seztsdvN.js";
4
+ import { r as FlowModuleConfig } from "./types-BZcBRlI8.js";
5
5
 
6
6
  //#region src/modules/curp-validation/types.d.ts
7
7
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DsNvecSe.js";
2
2
  import { t as CameraStream } from "./camera-Bzi6CMAW.js";
3
- import * as xstate0 from "xstate";
3
+ import * as xstate63 from "xstate";
4
4
 
5
5
  //#region src/modules/document-capture/types.d.ts
6
6
  type DocumentType = 'addressStatement' | 'otherDocument1' | 'otherDocument2' | 'otherDocument3' | 'v5cMultiPageLogbook' | 'circulationCard' | 'financeSettlement' | 'carInvoice' | 'capture' | 'processPoaOcr' | 'processLoaOcr' | 'processAsylumSeekerVisaZaf' | 'processBankStatementOCR' | 'processBankCheck' | 'processV5CLogbook' | 'processCarInvoice' | 'processCirculationCard' | 'processFinanceSettlement';
@@ -72,7 +72,7 @@ type DocumentCaptureInput = {
72
72
  };
73
73
  //#endregion
74
74
  //#region src/modules/document-capture/documentCaptureStateMachine.d.ts
75
- declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContext, {
75
+ declare const documentCaptureMachine: xstate63.StateMachine<DocumentCaptureContext, {
76
76
  type: "CAPTURE";
77
77
  } | {
78
78
  type: "FILE_SELECTED";
@@ -95,31 +95,43 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
95
95
  } | {
96
96
  type: "CLOSE";
97
97
  }, {
98
- [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<DocumentUploadResponse, {
98
+ [x: string]: xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>> | xstate63.ActorRefFromLogic<xstate63.PromiseActorLogic<DocumentUploadResponse, {
99
99
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
100
100
  processingType: string;
101
101
  onProgress: (progress: number) => void;
102
- }, xstate0.EventObject>> | undefined;
103
- }, xstate0.Values<{
102
+ }, xstate63.EventObject>> | undefined;
103
+ }, xstate63.Values<{
104
104
  initCamera: {
105
105
  src: "initCamera";
106
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
106
+ logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
107
107
  id: string | undefined;
108
108
  };
109
109
  uploadDocument: {
110
110
  src: "uploadDocument";
111
- logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
111
+ logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
112
112
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
113
113
  processingType: string;
114
114
  onProgress: (progress: number) => void;
115
- }, xstate0.EventObject>;
115
+ }, xstate63.EventObject>;
116
116
  id: string | undefined;
117
117
  };
118
- }>, xstate0.Values<{
118
+ }>, xstate63.Values<{
119
119
  setStream: {
120
120
  type: "setStream";
121
121
  params: unknown;
122
122
  };
123
+ setProgress: {
124
+ type: "setProgress";
125
+ params: unknown;
126
+ };
127
+ clearError: {
128
+ type: "clearError";
129
+ params: unknown;
130
+ };
131
+ stopStream: {
132
+ type: "stopStream";
133
+ params: unknown;
134
+ };
123
135
  setCapturedDocument: {
124
136
  type: "setCapturedDocument";
125
137
  params: unknown;
@@ -128,10 +140,6 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
128
140
  type: "setFileTooLargeError";
129
141
  params: unknown;
130
142
  };
131
- setProgress: {
132
- type: "setProgress";
133
- params: unknown;
134
- };
135
143
  setUploadError: {
136
144
  type: "setUploadError";
137
145
  params: unknown;
@@ -160,18 +168,10 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
160
168
  type: "clearForNextPage";
161
169
  params: unknown;
162
170
  };
163
- clearError: {
164
- type: "clearError";
165
- params: unknown;
166
- };
167
171
  resetProgress: {
168
172
  type: "resetProgress";
169
173
  params: unknown;
170
174
  };
171
- stopStream: {
172
- type: "stopStream";
173
- params: unknown;
174
- };
175
175
  trackTutorial: {
176
176
  type: "trackTutorial";
177
177
  params: unknown;
@@ -196,7 +196,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
196
196
  type: "trackFailure";
197
197
  params: unknown;
198
198
  };
199
- }>, xstate0.Values<{
199
+ }>, xstate63.Values<{
200
200
  allowSkip: {
201
201
  type: "allowSkip";
202
202
  params: unknown;
@@ -233,7 +233,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
233
233
  type: "isPendingNextPage";
234
234
  params: unknown;
235
235
  };
236
- }>, never, "initCamera" | "tutorial" | "capturing" | "preview" | "finished" | "closed" | "failure" | "uploading" | "success", string, DocumentCaptureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
236
+ }>, never, "initCamera" | "capturing" | "closed" | "uploading" | "finished" | "tutorial" | "preview" | "failure" | "success", string, DocumentCaptureInput, xstate63.NonReducibleUnknown, xstate63.EventObject, xstate63.MetaObject, {
237
237
  readonly id: "documentCapture";
238
238
  readonly initial: "tutorial";
239
239
  readonly context: ({
@@ -242,67 +242,67 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
242
242
  spawn: {
243
243
  <TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
244
244
  src: "initCamera";
245
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
245
+ logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
246
246
  id: string | undefined;
247
247
  } extends infer T ? T extends {
248
248
  src: "initCamera";
249
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
249
+ logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
250
250
  id: string | undefined;
251
251
  } ? T extends {
252
252
  src: TSrc;
253
- } ? xstate0.ConditionalRequired<[options?: ({
253
+ } ? xstate63.ConditionalRequired<[options?: ({
254
254
  id?: T["id"] | undefined;
255
255
  systemId?: string;
256
- input?: xstate0.InputFrom<T["logic"]> | undefined;
256
+ input?: xstate63.InputFrom<T["logic"]> | undefined;
257
257
  syncSnapshot?: boolean;
258
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
258
+ } & { [K in xstate63.RequiredActorOptions<T>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T>>> : never : never : never) | ({
259
259
  src: "uploadDocument";
260
- logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
260
+ logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
261
261
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
262
262
  processingType: string;
263
263
  onProgress: (progress: number) => void;
264
- }, xstate0.EventObject>;
264
+ }, xstate63.EventObject>;
265
265
  id: string | undefined;
266
266
  } extends infer T_1 ? T_1 extends {
267
267
  src: "uploadDocument";
268
- logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
268
+ logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
269
269
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
270
270
  processingType: string;
271
271
  onProgress: (progress: number) => void;
272
- }, xstate0.EventObject>;
272
+ }, xstate63.EventObject>;
273
273
  id: string | undefined;
274
274
  } ? T_1 extends {
275
275
  src: TSrc;
276
- } ? xstate0.ConditionalRequired<[options?: ({
276
+ } ? xstate63.ConditionalRequired<[options?: ({
277
277
  id?: T_1["id"] | undefined;
278
278
  systemId?: string;
279
- input?: xstate0.InputFrom<T_1["logic"]> | undefined;
279
+ input?: xstate63.InputFrom<T_1["logic"]> | undefined;
280
280
  syncSnapshot?: boolean;
281
- } & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
281
+ } & { [K_1 in xstate63.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredActorOptions<T_1>>> : never : never : never)): xstate63.ActorRefFromLogic<xstate63.GetConcreteByKey<xstate63.Values<{
282
282
  initCamera: {
283
283
  src: "initCamera";
284
- logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
284
+ logic: xstate63.PromiseActorLogic<MediaStream, void, xstate63.EventObject>;
285
285
  id: string | undefined;
286
286
  };
287
287
  uploadDocument: {
288
288
  src: "uploadDocument";
289
- logic: xstate0.PromiseActorLogic<DocumentUploadResponse, {
289
+ logic: xstate63.PromiseActorLogic<DocumentUploadResponse, {
290
290
  capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
291
291
  processingType: string;
292
292
  onProgress: (progress: number) => void;
293
- }, xstate0.EventObject>;
293
+ }, xstate63.EventObject>;
294
294
  id: string | undefined;
295
295
  };
296
296
  }>, "src", TSrc>["logic"]>;
297
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
297
+ <TLogic extends xstate63.AnyActorLogic>(src: TLogic, ...[options]: xstate63.ConditionalRequired<[options?: ({
298
298
  id?: never;
299
299
  systemId?: string;
300
- input?: xstate0.InputFrom<TLogic> | undefined;
300
+ input?: xstate63.InputFrom<TLogic> | undefined;
301
301
  syncSnapshot?: boolean;
302
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
302
+ } & { [K in xstate63.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate63.IsNotNever<xstate63.RequiredLogicInput<TLogic>>>): xstate63.ActorRefFromLogic<TLogic>;
303
303
  };
304
304
  input: DocumentCaptureInput;
305
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
305
+ self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
306
306
  type: "CAPTURE";
307
307
  } | {
308
308
  type: "FILE_SELECTED";
@@ -324,7 +324,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
324
324
  type: "SKIP";
325
325
  } | {
326
326
  type: "CLOSE";
327
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
327
+ }, Record<string, xstate63.AnyActorRef | undefined>, xstate63.StateValue, string, unknown, any, any>, {
328
328
  type: "CAPTURE";
329
329
  } | {
330
330
  type: "FILE_SELECTED";
@@ -346,7 +346,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
346
346
  type: "SKIP";
347
347
  } | {
348
348
  type: "CLOSE";
349
- }, xstate0.AnyEventObject>;
349
+ }, xstate63.AnyEventObject>;
350
350
  }) => {
351
351
  config: {
352
352
  processingType: DocumentType;
@@ -487,7 +487,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
487
487
  } | {
488
488
  type: "CLOSE";
489
489
  };
490
- self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentCaptureContext, {
490
+ self: xstate63.ActorRef<xstate63.MachineSnapshot<DocumentCaptureContext, {
491
491
  type: "CAPTURE";
492
492
  } | {
493
493
  type: "FILE_SELECTED";
@@ -509,7 +509,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
509
509
  type: "SKIP";
510
510
  } | {
511
511
  type: "CLOSE";
512
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
512
+ }, Record<string, xstate63.AnyActorRef>, xstate63.StateValue, string, unknown, any, any>, {
513
513
  type: "CAPTURE";
514
514
  } | {
515
515
  type: "FILE_SELECTED";
@@ -531,7 +531,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
531
531
  type: "SKIP";
532
532
  } | {
533
533
  type: "CLOSE";
534
- }, xstate0.AnyEventObject>;
534
+ }, xstate63.AnyEventObject>;
535
535
  }) => {
536
536
  capturedDocument: CapturedDocument;
537
537
  processingType: DocumentType;
@@ -1,10 +1,10 @@
1
1
  import { t as Manager } from "./Manager-DsNvecSe.js";
2
2
  import "./camera-Bzi6CMAW.js";
3
3
  import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-BHnsBsl_.js";
4
- import * as xstate58 from "xstate";
4
+ import * as xstate0 from "xstate";
5
5
 
6
6
  //#region src/modules/document-upload/documentUploadStateMachine.d.ts
7
- declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext, {
7
+ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext, {
8
8
  type: "START";
9
9
  } | {
10
10
  type: "CAPTURE";
@@ -17,52 +17,52 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
17
17
  } | {
18
18
  type: "CLOSE";
19
19
  }, {
20
- [x: string]: xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>> | xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<void, {
20
+ [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
21
21
  imageBase64: string;
22
22
  documentType: string;
23
23
  onProgress: (progress: number) => void;
24
- }, xstate58.EventObject>> | undefined;
25
- }, xstate58.Values<{
24
+ }, xstate0.EventObject>> | undefined;
25
+ }, xstate0.Values<{
26
26
  initCamera: {
27
27
  src: "initCamera";
28
- logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
28
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
29
29
  id: string | undefined;
30
30
  };
31
31
  uploadDocument: {
32
32
  src: "uploadDocument";
33
- logic: xstate58.PromiseActorLogic<void, {
33
+ logic: xstate0.PromiseActorLogic<void, {
34
34
  imageBase64: string;
35
35
  documentType: string;
36
36
  onProgress: (progress: number) => void;
37
- }, xstate58.EventObject>;
37
+ }, xstate0.EventObject>;
38
38
  id: string | undefined;
39
39
  };
40
- }>, xstate58.Values<{
40
+ }>, xstate0.Values<{
41
41
  setStream: {
42
42
  type: "setStream";
43
- params: xstate58.NonReducibleUnknown;
43
+ params: xstate0.NonReducibleUnknown;
44
+ };
45
+ setImageAndClearError: {
46
+ type: "setImageAndClearError";
47
+ params: xstate0.NonReducibleUnknown;
44
48
  };
45
49
  setProgress: {
46
50
  type: "setProgress";
47
- params: xstate58.NonReducibleUnknown;
51
+ params: xstate0.NonReducibleUnknown;
52
+ };
53
+ setError: {
54
+ type: "setError";
55
+ params: xstate0.NonReducibleUnknown;
48
56
  };
49
57
  clearError: {
50
58
  type: "clearError";
51
- params: xstate58.NonReducibleUnknown;
59
+ params: xstate0.NonReducibleUnknown;
52
60
  };
53
61
  stopStream: {
54
62
  type: "stopStream";
55
- params: xstate58.NonReducibleUnknown;
56
- };
57
- setImageAndClearError: {
58
- type: "setImageAndClearError";
59
- params: xstate58.NonReducibleUnknown;
60
- };
61
- setError: {
62
- type: "setError";
63
- params: xstate58.NonReducibleUnknown;
63
+ params: xstate0.NonReducibleUnknown;
64
64
  };
65
- }>, never, never, "error" | "initCamera" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput, xstate58.NonReducibleUnknown, xstate58.EventObject, xstate58.MetaObject, {
65
+ }>, never, never, "initCamera" | "error" | "idle" | "capturing" | "closed" | "uploading" | "finished", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
66
66
  readonly id: "documentUpload";
67
67
  readonly initial: "idle";
68
68
  readonly context: ({
@@ -71,67 +71,67 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
71
71
  spawn: {
72
72
  <TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
73
73
  src: "initCamera";
74
- logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
74
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
75
75
  id: string | undefined;
76
76
  } extends infer T ? T extends {
77
77
  src: "initCamera";
78
- logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
78
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
79
79
  id: string | undefined;
80
80
  } ? T extends {
81
81
  src: TSrc;
82
- } ? xstate58.ConditionalRequired<[options?: ({
82
+ } ? xstate0.ConditionalRequired<[options?: ({
83
83
  id?: T["id"] | undefined;
84
84
  systemId?: string;
85
- input?: xstate58.InputFrom<T["logic"]> | undefined;
85
+ input?: xstate0.InputFrom<T["logic"]> | undefined;
86
86
  syncSnapshot?: boolean;
87
- } & { [K in xstate58.RequiredActorOptions<T>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T>>> : never : never : never) | ({
87
+ } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
88
88
  src: "uploadDocument";
89
- logic: xstate58.PromiseActorLogic<void, {
89
+ logic: xstate0.PromiseActorLogic<void, {
90
90
  imageBase64: string;
91
91
  documentType: string;
92
92
  onProgress: (progress: number) => void;
93
- }, xstate58.EventObject>;
93
+ }, xstate0.EventObject>;
94
94
  id: string | undefined;
95
95
  } extends infer T_1 ? T_1 extends {
96
96
  src: "uploadDocument";
97
- logic: xstate58.PromiseActorLogic<void, {
97
+ logic: xstate0.PromiseActorLogic<void, {
98
98
  imageBase64: string;
99
99
  documentType: string;
100
100
  onProgress: (progress: number) => void;
101
- }, xstate58.EventObject>;
101
+ }, xstate0.EventObject>;
102
102
  id: string | undefined;
103
103
  } ? T_1 extends {
104
104
  src: TSrc;
105
- } ? xstate58.ConditionalRequired<[options?: ({
105
+ } ? xstate0.ConditionalRequired<[options?: ({
106
106
  id?: T_1["id"] | undefined;
107
107
  systemId?: string;
108
- input?: xstate58.InputFrom<T_1["logic"]> | undefined;
108
+ input?: xstate0.InputFrom<T_1["logic"]> | undefined;
109
109
  syncSnapshot?: boolean;
110
- } & { [K_1 in xstate58.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T_1>>> : never : never : never)): xstate58.ActorRefFromLogic<xstate58.GetConcreteByKey<xstate58.Values<{
110
+ } & { [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
111
  initCamera: {
112
112
  src: "initCamera";
113
- logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
113
+ logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
114
114
  id: string | undefined;
115
115
  };
116
116
  uploadDocument: {
117
117
  src: "uploadDocument";
118
- logic: xstate58.PromiseActorLogic<void, {
118
+ logic: xstate0.PromiseActorLogic<void, {
119
119
  imageBase64: string;
120
120
  documentType: string;
121
121
  onProgress: (progress: number) => void;
122
- }, xstate58.EventObject>;
122
+ }, xstate0.EventObject>;
123
123
  id: string | undefined;
124
124
  };
125
125
  }>, "src", TSrc>["logic"]>;
126
- <TLogic extends xstate58.AnyActorLogic>(src: TLogic, ...[options]: xstate58.ConditionalRequired<[options?: ({
126
+ <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
127
127
  id?: never;
128
128
  systemId?: string;
129
- input?: xstate58.InputFrom<TLogic> | undefined;
129
+ input?: xstate0.InputFrom<TLogic> | undefined;
130
130
  syncSnapshot?: boolean;
131
- } & { [K in xstate58.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredLogicInput<TLogic>>>): xstate58.ActorRefFromLogic<TLogic>;
131
+ } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
132
132
  };
133
133
  input: DocumentUploadInput;
134
- self: xstate58.ActorRef<xstate58.MachineSnapshot<DocumentUploadContext, {
134
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
135
135
  type: "START";
136
136
  } | {
137
137
  type: "CAPTURE";
@@ -143,7 +143,7 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
143
143
  type: "RETRY";
144
144
  } | {
145
145
  type: "CLOSE";
146
- }, Record<string, xstate58.AnyActorRef | undefined>, xstate58.StateValue, string, unknown, any, any>, {
146
+ }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
147
147
  type: "START";
148
148
  } | {
149
149
  type: "CAPTURE";
@@ -155,7 +155,7 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
155
155
  type: "RETRY";
156
156
  } | {
157
157
  type: "CLOSE";
158
- }, xstate58.AnyEventObject>;
158
+ }, xstate0.AnyEventObject>;
159
159
  }) => {
160
160
  config: DocumentUploadConfig;
161
161
  stream: undefined;
@@ -225,7 +225,7 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
225
225
  } | {
226
226
  type: "CLOSE";
227
227
  };
228
- self: xstate58.ActorRef<xstate58.MachineSnapshot<DocumentUploadContext, {
228
+ self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
229
229
  type: "START";
230
230
  } | {
231
231
  type: "CAPTURE";
@@ -237,7 +237,7 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
237
237
  type: "RETRY";
238
238
  } | {
239
239
  type: "CLOSE";
240
- }, Record<string, xstate58.AnyActorRef>, xstate58.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
241
241
  type: "START";
242
242
  } | {
243
243
  type: "CAPTURE";
@@ -249,7 +249,7 @@ declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext
249
249
  type: "RETRY";
250
250
  } | {
251
251
  type: "CLOSE";
252
- }, xstate58.AnyEventObject>;
252
+ }, xstate0.AnyEventObject>;
253
253
  }) => {
254
254
  imageBase64: string;
255
255
  documentType: string;
@@ -1,15 +1,15 @@
1
- import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-dTZ7KTot.js";
1
+ import { S as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-UIUJISQP.js";
2
2
  import { a as IStorageCapability } from "./deepsightService-CP5OM4Fc.js";
3
- import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
3
+ import { C as WasmUtilConfig, S as VirtualCameraCheckOutput, b as BaseWasmProvider, c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine, x as IWasmUtilCapability } from "./faceCaptureManagerFactory-COWObGBr.js";
4
4
  import "./warmup-4e5k___O.js";
5
5
  import "./Manager-DsNvecSe.js";
6
6
  import "./camera-Bzi6CMAW.js";
7
7
  import { n as createActor } from "./Actor-D3GOC38V.js";
8
8
  import { r as fromPromise } from "./StateMachine-BFurBmbZ.js";
9
9
  import "./types-BHnsBsl_.js";
10
- import "./types-seztsdvN.js";
11
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BgSkTLJj.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BWtUIJXV.js";
10
+ import "./types-BZcBRlI8.js";
11
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B3CAoqXl.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CsDKpKla.js";
13
13
  import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-DcYzBeT-.js";
14
14
  import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BwJpxm-D.js";
15
15
 
@@ -6,7 +6,7 @@ import "./streamingEvents-BjxVqrJP.esm.js";
6
6
  import "./deepsightService-Ca85OHZ-.esm.js";
7
7
  import "./api-C2uzxrpN.esm.js";
8
8
  import "./endpoints-IAlXA1zN.esm.js";
9
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-BdlS0WrG.esm.js";
9
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-7mOidZiv.esm.js";
10
10
  import "./stats-kLtQIgsA.esm.js";
11
11
  import { n as faceCaptureMachine } from "./faceCaptureSetup-I9wFuT1d.esm.js";
12
12
  import { n as createAuthenticationManagerFromActor } from "./authenticationManager-IChdnUM9.esm.js";
@@ -4,7 +4,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
4
4
  import { t as CameraStream } from "./camera-Bzi6CMAW.js";
5
5
  import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
6
6
  import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
7
- import { r as FlowModuleConfig, t as Flow } from "./types-seztsdvN.js";
7
+ import { r as FlowModuleConfig, t as Flow } from "./types-BZcBRlI8.js";
8
8
 
9
9
  //#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
10
10
  /**
package/dist/flow.d.ts CHANGED
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
3
3
  import "./camera-Bzi6CMAW.js";
4
4
  import { t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
5
5
  import "./types-BHnsBsl_.js";
6
- import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-seztsdvN.js";
6
+ import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-BZcBRlI8.js";
7
7
  import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BiICW3B-.js";
8
8
 
9
9
  //#region src/modules/flow/flowUtils.d.ts
package/dist/id.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-dTZ7KTot.js";
1
+ import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-UIUJISQP.js";
2
2
  import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
3
3
  import "./Manager-DsNvecSe.js";
4
4
  import { t as CameraStream } from "./camera-Bzi6CMAW.js";
5
5
  import "./Actor-D3GOC38V.js";
6
6
  import "./StateMachine-BFurBmbZ.js";
7
7
  import "./types-BHnsBsl_.js";
8
- import "./types-seztsdvN.js";
8
+ import "./types-BZcBRlI8.js";
9
9
  import "./index-Km_6UPBI.js";
10
10
  export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
package/dist/id.esm.js CHANGED
@@ -6,7 +6,7 @@ import "./streamingEvents-BjxVqrJP.esm.js";
6
6
  import "./deepsightService-Ca85OHZ-.esm.js";
7
7
  import "./api-C2uzxrpN.esm.js";
8
8
  import "./endpoints-IAlXA1zN.esm.js";
9
- import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-BdlS0WrG.esm.js";
9
+ import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-7mOidZiv.esm.js";
10
10
  import "./stats-kLtQIgsA.esm.js";
11
11
  import "./id-A_upgNRR.esm.js";
12
12
 
@@ -223,6 +223,31 @@ function resetSessionInit() {
223
223
  resetFeatureConfigCache();
224
224
  }
225
225
 
226
+ //#endregion
227
+ //#region src/modules/id/idCaptureHelpers.ts
228
+ /**
229
+ * Map of config properties received from the backend to adjusted, internal document types.
230
+ */
231
+ const DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP = [
232
+ ["enableId", "id"],
233
+ ["enablePassport", "passport"],
234
+ ["manualUploadIdCapture", "manualIdUpload"],
235
+ ["digitalIdsUpload", "digitalIdUpload"],
236
+ ["deviceWallet", "digitalId"]
237
+ ];
238
+ /**
239
+ * Returns the list of document types enabled by config for the chooser screen, in display order.
240
+ * Used to populate chooser state so UI and headless consumers can render the correct options.
241
+ *
242
+ * @param config - ID capture configuration (from flow or init)
243
+ * @returns Array of IdDocumentType values that should be shown in the document type chooser
244
+ */
245
+ function getAvailableDocumentTypes(config) {
246
+ const adjustedDocumentTypes = [];
247
+ for (const [configProperty, adjustedType] of DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP) if (config[configProperty]) adjustedDocumentTypes.push(adjustedType);
248
+ return adjustedDocumentTypes;
249
+ }
250
+
226
251
  //#endregion
227
252
  //#region src/modules/id/types.ts
228
253
  const ID_ERROR_CODES = {
@@ -1408,7 +1433,8 @@ const _idCaptureMachine = setup({
1408
1433
  analyticsProvider: input.analyticsProvider,
1409
1434
  dependencies: input.dependencies,
1410
1435
  disableIpify: getDisableIpify(),
1411
- deepsightInitAttempted: false
1436
+ deepsightInitAttempted: false,
1437
+ availableDocumentTypes: getAvailableDocumentTypes(input.config)
1412
1438
  };
1413
1439
  },
1414
1440
  on: {
@@ -2119,7 +2145,10 @@ function getErrorDescription(errorCode, uploadResponse) {
2119
2145
  function mapState(snapshot) {
2120
2146
  const { context } = snapshot;
2121
2147
  if (snapshot.matches("idle")) return { status: "idle" };
2122
- if (snapshot.matches("chooser")) return { status: "chooser" };
2148
+ if (snapshot.matches("chooser")) return {
2149
+ status: "chooser",
2150
+ availableDocumentTypes: context.availableDocumentTypes
2151
+ };
2123
2152
  if (snapshot.matches("loading")) return { status: "loading" };
2124
2153
  if (snapshot.matches("tutorial")) return {
2125
2154
  status: "tutorial",
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-DsNvecSe.js";
3
3
  import { t as CameraStream } from "./camera-Bzi6CMAW.js";
4
4
  import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
5
5
  import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
6
- import { i as TutorialIdConfig, t as Flow } from "./types-seztsdvN.js";
6
+ import { i as TutorialIdConfig, t as Flow } from "./types-BZcBRlI8.js";
7
7
 
8
8
  //#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
9
9
  interface IAnalyticsCapability {
@@ -165,7 +165,11 @@ interface IIdCaptureCapability extends IMLProviderCapability<IdCaptureConfig$1>
165
165
  //#endregion
166
166
  //#region src/modules/id/types.d.ts
167
167
  type IdCaptureMode = 'front' | 'back' | 'passport';
168
- type IdDocumentType = 'id' | 'passport';
168
+ /**
169
+ * Document type options for the ID capture chooser (ID, passport, manual ID upload, digital ID upload, digital ID from device wallet).
170
+ * Used for selection and for the list of available options derived from config.
171
+ */
172
+ type IdDocumentType = 'id' | 'passport' | 'manualIdUpload' | 'digitalIdUpload' | 'digitalId';
169
173
  type IdFlowStep = 'chooser' | 'tutorial' | 'permissions' | 'capture' | 'frontFinished' | 'backFinished' | 'success' | 'processing' | 'expired' | 'finished' | 'error' | 'closed' | 'manualIdUpload' | 'digitalIdUpload';
170
174
  type DetectionStatus = 'idle' | 'detecting' | 'farAway' | 'blur' | 'glare' | 'wrongSide' | 'capturing' | 'manualCapture' | 'idNotDetected' | 'offline';
171
175
  /**
@@ -331,6 +335,7 @@ type IdCaptureContext = {
331
335
  dependencies: IdCaptureDependencies | undefined;
332
336
  disableIpify: boolean;
333
337
  deepsightInitAttempted: boolean;
338
+ availableDocumentTypes: IdDocumentType[];
334
339
  };
335
340
  type IdCaptureEvent = {
336
341
  type: 'LOAD';
@@ -504,6 +509,7 @@ type IdCaptureIdleState = {
504
509
  };
505
510
  type IdCaptureChooserState = {
506
511
  status: 'chooser';
512
+ availableDocumentTypes: IdDocumentType[];
507
513
  };
508
514
  type IdCaptureLoadingState = {
509
515
  status: 'loading';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-dTZ7KTot.js";
1
+ import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-UIUJISQP.js";
2
2
  import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
3
3
  import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-4e5k___O.js";
4
4
  import "./Manager-DsNvecSe.js";
@@ -6,7 +6,7 @@ import { t as CameraStream } from "./camera-Bzi6CMAW.js";
6
6
  import "./Actor-D3GOC38V.js";
7
7
  import "./StateMachine-BFurBmbZ.js";
8
8
  import "./types-BHnsBsl_.js";
9
- import "./types-seztsdvN.js";
9
+ import "./types-BZcBRlI8.js";
10
10
  import "./index-Km_6UPBI.js";
11
11
 
12
12
  //#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
package/dist/index.esm.js CHANGED
@@ -6,7 +6,7 @@ import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPe
6
6
  import "./deepsightService-Ca85OHZ-.esm.js";
7
7
  import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-C2uzxrpN.esm.js";
8
8
  import "./endpoints-IAlXA1zN.esm.js";
9
- import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-BdlS0WrG.esm.js";
9
+ import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-7mOidZiv.esm.js";
10
10
  import "./stats-kLtQIgsA.esm.js";
11
11
  import "./id-A_upgNRR.esm.js";
12
12
 
package/dist/selfie.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { n as PermissionResult, r as PermissionStatus, t as DeepsightService } from "./deepsightService-CP5OM4Fc.js";
2
- import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
2
+ import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-COWObGBr.js";
3
3
  import "./warmup-4e5k___O.js";
4
4
  import "./Manager-DsNvecSe.js";
5
5
  import { t as CameraStream } from "./camera-Bzi6CMAW.js";
6
6
  import "./Actor-D3GOC38V.js";
7
7
  import "./StateMachine-BFurBmbZ.js";
8
8
  import "./types-BHnsBsl_.js";
9
- import "./types-seztsdvN.js";
10
- import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BgSkTLJj.js";
9
+ import "./types-BZcBRlI8.js";
10
+ import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-B3CAoqXl.js";
11
11
  export { type CameraStream, type DeepsightService, type DetectionStatus, type FaceErrorCode, type PermissionResult, type PermissionStatus, type ProcessFaceResponse, type SelfieConfig, type SelfieMachine, type SelfieManager, type SelfieState, createSelfieManager, processFace, selfieMachine };
@@ -1,4 +1,4 @@
1
- import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
1
+ import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-COWObGBr.js";
2
2
  import { t as Manager } from "./Manager-DsNvecSe.js";
3
3
 
4
4
  //#region src/modules/selfie/selfieUploadService.d.ts
@@ -7,6 +7,7 @@ type TutorialIdConfig = {
7
7
  showTutorial: boolean;
8
8
  enableId: boolean;
9
9
  enablePassport: boolean;
10
+ deviceWallet: boolean;
10
11
  onlyFront: boolean;
11
12
  onlyBack: boolean;
12
13
  barcodeCapture: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260320-26b35b4",
3
+ "version": "0.0.0-dev-20260320-96b0018",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",