@incodetech/core 0.0.0-dev-20260311-e1ad562 → 0.0.0-dev-20260311-e7ef89b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authentication.d.ts +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/document-capture.d.ts +35 -35
- package/dist/document-upload.d.ts +5 -5
- package/dist/{faceCaptureManagerFactory-CftLkmnH.d.ts → faceCaptureManagerFactory-FEuTMK4j.d.ts} +1 -1
- package/dist/flow.d.ts +3 -3
- package/dist/flow.esm.js +2 -6
- package/dist/id.d.ts +2 -2
- package/dist/{index-_guGVj8K.d.ts → index-C_QjKcTy.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/selfie.d.ts +2 -2
- package/dist/{types-BcGRS3lW.d.ts → types-DrdrHHxZ.d.ts} +2 -0
- package/package.json +1 -1
package/dist/authentication.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./types-dSdX5z-n.js";
|
|
2
2
|
import "./warmup-CO10kO5G.js";
|
|
3
|
-
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-FEuTMK4j.js";
|
|
4
4
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
5
5
|
import "./camera-HI2fNiV5.js";
|
|
6
6
|
import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
|
|
7
7
|
import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import { r as FlowModuleConfig } from "./types-
|
|
9
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
12
12
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
2
2
|
import "./camera-HI2fNiV5.js";
|
|
3
3
|
import "./types-B_l5fu_D.js";
|
|
4
|
-
import { r as FlowModuleConfig } from "./types-
|
|
4
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.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-CVog-etk.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate212 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:
|
|
75
|
+
declare const documentCaptureMachine: xstate212.StateMachine<DocumentCaptureContext, {
|
|
76
76
|
type: "CAPTURE";
|
|
77
77
|
} | {
|
|
78
78
|
type: "FILE_SELECTED";
|
|
@@ -95,27 +95,27 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
95
95
|
} | {
|
|
96
96
|
type: "CLOSE";
|
|
97
97
|
}, {
|
|
98
|
-
[x: string]:
|
|
98
|
+
[x: string]: xstate212.ActorRefFromLogic<xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>> | xstate212.ActorRefFromLogic<xstate212.PromiseActorLogic<DocumentUploadResponse, {
|
|
99
99
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
100
100
|
processingType: string;
|
|
101
101
|
onProgress: (progress: number) => void;
|
|
102
|
-
},
|
|
103
|
-
},
|
|
102
|
+
}, xstate212.EventObject>> | undefined;
|
|
103
|
+
}, xstate212.Values<{
|
|
104
104
|
initCamera: {
|
|
105
105
|
src: "initCamera";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
107
107
|
id: string | undefined;
|
|
108
108
|
};
|
|
109
109
|
uploadDocument: {
|
|
110
110
|
src: "uploadDocument";
|
|
111
|
-
logic:
|
|
111
|
+
logic: xstate212.PromiseActorLogic<DocumentUploadResponse, {
|
|
112
112
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
113
113
|
processingType: string;
|
|
114
114
|
onProgress: (progress: number) => void;
|
|
115
|
-
},
|
|
115
|
+
}, xstate212.EventObject>;
|
|
116
116
|
id: string | undefined;
|
|
117
117
|
};
|
|
118
|
-
}>,
|
|
118
|
+
}>, xstate212.Values<{
|
|
119
119
|
setStream: {
|
|
120
120
|
type: "setStream";
|
|
121
121
|
params: unknown;
|
|
@@ -196,7 +196,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
196
196
|
type: "trackFailure";
|
|
197
197
|
params: unknown;
|
|
198
198
|
};
|
|
199
|
-
}>,
|
|
199
|
+
}>, xstate212.Values<{
|
|
200
200
|
allowSkip: {
|
|
201
201
|
type: "allowSkip";
|
|
202
202
|
params: unknown;
|
|
@@ -229,7 +229,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
229
229
|
type: "isPendingNextPage";
|
|
230
230
|
params: unknown;
|
|
231
231
|
};
|
|
232
|
-
}>, never, "
|
|
232
|
+
}>, never, "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "closed" | "failure" | "uploading" | "success", string, DocumentCaptureInput, xstate212.NonReducibleUnknown, xstate212.EventObject, xstate212.MetaObject, {
|
|
233
233
|
readonly id: "documentCapture";
|
|
234
234
|
readonly initial: "tutorial";
|
|
235
235
|
readonly context: ({
|
|
@@ -238,67 +238,67 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
238
238
|
spawn: {
|
|
239
239
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
240
240
|
src: "initCamera";
|
|
241
|
-
logic:
|
|
241
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
242
242
|
id: string | undefined;
|
|
243
243
|
} extends infer T ? T extends {
|
|
244
244
|
src: "initCamera";
|
|
245
|
-
logic:
|
|
245
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
246
246
|
id: string | undefined;
|
|
247
247
|
} ? T extends {
|
|
248
248
|
src: TSrc;
|
|
249
|
-
} ?
|
|
249
|
+
} ? xstate212.ConditionalRequired<[options?: ({
|
|
250
250
|
id?: T["id"] | undefined;
|
|
251
251
|
systemId?: string;
|
|
252
|
-
input?:
|
|
252
|
+
input?: xstate212.InputFrom<T["logic"]> | undefined;
|
|
253
253
|
syncSnapshot?: boolean;
|
|
254
|
-
} & { [K in
|
|
254
|
+
} & { [K in xstate212.RequiredActorOptions<T>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
255
255
|
src: "uploadDocument";
|
|
256
|
-
logic:
|
|
256
|
+
logic: xstate212.PromiseActorLogic<DocumentUploadResponse, {
|
|
257
257
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
258
258
|
processingType: string;
|
|
259
259
|
onProgress: (progress: number) => void;
|
|
260
|
-
},
|
|
260
|
+
}, xstate212.EventObject>;
|
|
261
261
|
id: string | undefined;
|
|
262
262
|
} extends infer T_1 ? T_1 extends {
|
|
263
263
|
src: "uploadDocument";
|
|
264
|
-
logic:
|
|
264
|
+
logic: xstate212.PromiseActorLogic<DocumentUploadResponse, {
|
|
265
265
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
266
266
|
processingType: string;
|
|
267
267
|
onProgress: (progress: number) => void;
|
|
268
|
-
},
|
|
268
|
+
}, xstate212.EventObject>;
|
|
269
269
|
id: string | undefined;
|
|
270
270
|
} ? T_1 extends {
|
|
271
271
|
src: TSrc;
|
|
272
|
-
} ?
|
|
272
|
+
} ? xstate212.ConditionalRequired<[options?: ({
|
|
273
273
|
id?: T_1["id"] | undefined;
|
|
274
274
|
systemId?: string;
|
|
275
|
-
input?:
|
|
275
|
+
input?: xstate212.InputFrom<T_1["logic"]> | undefined;
|
|
276
276
|
syncSnapshot?: boolean;
|
|
277
|
-
} & { [K_1 in
|
|
277
|
+
} & { [K_1 in xstate212.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredActorOptions<T_1>>> : never : never : never)): xstate212.ActorRefFromLogic<xstate212.GetConcreteByKey<xstate212.Values<{
|
|
278
278
|
initCamera: {
|
|
279
279
|
src: "initCamera";
|
|
280
|
-
logic:
|
|
280
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
281
281
|
id: string | undefined;
|
|
282
282
|
};
|
|
283
283
|
uploadDocument: {
|
|
284
284
|
src: "uploadDocument";
|
|
285
|
-
logic:
|
|
285
|
+
logic: xstate212.PromiseActorLogic<DocumentUploadResponse, {
|
|
286
286
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
287
287
|
processingType: string;
|
|
288
288
|
onProgress: (progress: number) => void;
|
|
289
|
-
},
|
|
289
|
+
}, xstate212.EventObject>;
|
|
290
290
|
id: string | undefined;
|
|
291
291
|
};
|
|
292
292
|
}>, "src", TSrc>["logic"]>;
|
|
293
|
-
<TLogic extends
|
|
293
|
+
<TLogic extends xstate212.AnyActorLogic>(src: TLogic, ...[options]: xstate212.ConditionalRequired<[options?: ({
|
|
294
294
|
id?: never;
|
|
295
295
|
systemId?: string;
|
|
296
|
-
input?:
|
|
296
|
+
input?: xstate212.InputFrom<TLogic> | undefined;
|
|
297
297
|
syncSnapshot?: boolean;
|
|
298
|
-
} & { [K in
|
|
298
|
+
} & { [K in xstate212.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredLogicInput<TLogic>>>): xstate212.ActorRefFromLogic<TLogic>;
|
|
299
299
|
};
|
|
300
300
|
input: DocumentCaptureInput;
|
|
301
|
-
self:
|
|
301
|
+
self: xstate212.ActorRef<xstate212.MachineSnapshot<DocumentCaptureContext, {
|
|
302
302
|
type: "CAPTURE";
|
|
303
303
|
} | {
|
|
304
304
|
type: "FILE_SELECTED";
|
|
@@ -320,7 +320,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
320
320
|
type: "SKIP";
|
|
321
321
|
} | {
|
|
322
322
|
type: "CLOSE";
|
|
323
|
-
}, Record<string,
|
|
323
|
+
}, Record<string, xstate212.AnyActorRef | undefined>, xstate212.StateValue, string, unknown, any, any>, {
|
|
324
324
|
type: "CAPTURE";
|
|
325
325
|
} | {
|
|
326
326
|
type: "FILE_SELECTED";
|
|
@@ -342,7 +342,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
342
342
|
type: "SKIP";
|
|
343
343
|
} | {
|
|
344
344
|
type: "CLOSE";
|
|
345
|
-
},
|
|
345
|
+
}, xstate212.AnyEventObject>;
|
|
346
346
|
}) => {
|
|
347
347
|
config: {
|
|
348
348
|
processingType: DocumentType;
|
|
@@ -479,7 +479,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
479
479
|
} | {
|
|
480
480
|
type: "CLOSE";
|
|
481
481
|
};
|
|
482
|
-
self:
|
|
482
|
+
self: xstate212.ActorRef<xstate212.MachineSnapshot<DocumentCaptureContext, {
|
|
483
483
|
type: "CAPTURE";
|
|
484
484
|
} | {
|
|
485
485
|
type: "FILE_SELECTED";
|
|
@@ -501,7 +501,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
501
501
|
type: "SKIP";
|
|
502
502
|
} | {
|
|
503
503
|
type: "CLOSE";
|
|
504
|
-
}, Record<string,
|
|
504
|
+
}, Record<string, xstate212.AnyActorRef>, xstate212.StateValue, string, unknown, any, any>, {
|
|
505
505
|
type: "CAPTURE";
|
|
506
506
|
} | {
|
|
507
507
|
type: "FILE_SELECTED";
|
|
@@ -523,7 +523,7 @@ declare const documentCaptureMachine: xstate0.StateMachine<DocumentCaptureContex
|
|
|
523
523
|
type: "SKIP";
|
|
524
524
|
} | {
|
|
525
525
|
type: "CLOSE";
|
|
526
|
-
},
|
|
526
|
+
}, xstate212.AnyEventObject>;
|
|
527
527
|
}) => {
|
|
528
528
|
capturedDocument: CapturedDocument;
|
|
529
529
|
processingType: DocumentType;
|
|
@@ -38,6 +38,10 @@ declare const documentUploadMachine: xstate271.StateMachine<DocumentUploadContex
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, xstate271.Values<{
|
|
41
|
+
setError: {
|
|
42
|
+
type: "setError";
|
|
43
|
+
params: xstate271.NonReducibleUnknown;
|
|
44
|
+
};
|
|
41
45
|
setStream: {
|
|
42
46
|
type: "setStream";
|
|
43
47
|
params: xstate271.NonReducibleUnknown;
|
|
@@ -54,15 +58,11 @@ declare const documentUploadMachine: xstate271.StateMachine<DocumentUploadContex
|
|
|
54
58
|
type: "stopStream";
|
|
55
59
|
params: xstate271.NonReducibleUnknown;
|
|
56
60
|
};
|
|
57
|
-
setError: {
|
|
58
|
-
type: "setError";
|
|
59
|
-
params: xstate271.NonReducibleUnknown;
|
|
60
|
-
};
|
|
61
61
|
setImageAndClearError: {
|
|
62
62
|
type: "setImageAndClearError";
|
|
63
63
|
params: xstate271.NonReducibleUnknown;
|
|
64
64
|
};
|
|
65
|
-
}>, never, never, "error" | "
|
|
65
|
+
}>, never, never, "error" | "idle" | "finished" | "initCamera" | "capturing" | "closed" | "uploading", string, DocumentUploadInput, xstate271.NonReducibleUnknown, xstate271.EventObject, xstate271.MetaObject, {
|
|
66
66
|
readonly id: "documentUpload";
|
|
67
67
|
readonly initial: "idle";
|
|
68
68
|
readonly context: ({
|
package/dist/{faceCaptureManagerFactory-CftLkmnH.d.ts → faceCaptureManagerFactory-FEuTMK4j.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapabili
|
|
|
2
2
|
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
|
-
import { t as Flow } from "./types-
|
|
5
|
+
import { t as Flow } from "./types-DrdrHHxZ.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
|
|
8
8
|
type WasmUtilConfig = MLProviderConfig & {
|
package/dist/flow.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { t as Manager } from "./Manager-CVog-etk.js";
|
|
|
3
3
|
import "./camera-HI2fNiV5.js";
|
|
4
4
|
import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
5
5
|
import "./types-B_l5fu_D.js";
|
|
6
|
-
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-
|
|
6
|
+
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-DrdrHHxZ.js";
|
|
7
7
|
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DtL1jOz4.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/flow/flowUtils.d.ts
|
|
@@ -25,12 +25,12 @@ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionServi
|
|
|
25
25
|
*/
|
|
26
26
|
declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
27
27
|
/**
|
|
28
|
-
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
28
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
29
29
|
* based on configuration flags. Matches legacy flowService behavior.
|
|
30
30
|
*
|
|
31
31
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
32
32
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
33
|
-
* -
|
|
33
|
+
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
34
34
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
35
35
|
*/
|
|
36
36
|
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
package/dist/flow.esm.js
CHANGED
|
@@ -38,12 +38,12 @@ function getRequiredWasmPipelines(flow) {
|
|
|
38
38
|
return [...pipelines];
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
41
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
42
42
|
* based on configuration flags. Matches legacy flowService behavior.
|
|
43
43
|
*
|
|
44
44
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
45
45
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
46
|
-
* -
|
|
46
|
+
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
47
47
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
48
48
|
*/
|
|
49
49
|
function normalizeFlowModules(modules) {
|
|
@@ -61,10 +61,6 @@ function normalizeFlowModules(modules) {
|
|
|
61
61
|
isSecondId: true
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
if (idConfig.thirdId) result.push({
|
|
65
|
-
key: "THIRD_ID",
|
|
66
|
-
configuration: { documentType: "thirdId" }
|
|
67
|
-
});
|
|
68
64
|
return result;
|
|
69
65
|
}
|
|
70
66
|
const prev = arr[idx - 1];
|
package/dist/id.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C_QjKcTy.js";
|
|
2
2
|
import "./deepsightService-Dv1ILk27.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
4
|
import "./Manager-CVog-etk.js";
|
|
@@ -6,5 +6,5 @@ import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
|
6
6
|
import "./Actor-SKZvDOCc.js";
|
|
7
7
|
import "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import "./types-
|
|
9
|
+
import "./types-DrdrHHxZ.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 };
|
|
@@ -4,7 +4,7 @@ import { t as Manager } from "./Manager-CVog-etk.js";
|
|
|
4
4
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
5
|
import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
|
|
6
6
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
7
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
7
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-DrdrHHxZ.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
10
10
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-C_QjKcTy.js";
|
|
2
2
|
import "./deepsightService-Dv1ILk27.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
4
|
import { n as warmupWasm, t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
@@ -7,7 +7,7 @@ import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
|
7
7
|
import "./Actor-SKZvDOCc.js";
|
|
8
8
|
import "./StateMachine-Coiuk0UD.js";
|
|
9
9
|
import "./types-B_l5fu_D.js";
|
|
10
|
-
import "./types-
|
|
10
|
+
import "./types-DrdrHHxZ.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
|
|
13
13
|
type ScreenOrientationState = 'portrait' | 'landscape';
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dv1ILk27.js";
|
|
2
2
|
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
3
3
|
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
4
|
-
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-FEuTMK4j.js";
|
|
5
5
|
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
7
7
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
8
8
|
import "./types-B_l5fu_D.js";
|
|
9
|
-
import { r as FlowModuleConfig } from "./types-
|
|
9
|
+
import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
|
|
10
10
|
|
|
11
11
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
12
12
|
/**
|
|
@@ -12,6 +12,7 @@ type TutorialIdConfig = {
|
|
|
12
12
|
barcodeCapture: boolean;
|
|
13
13
|
fetchAdditionalPage: boolean;
|
|
14
14
|
secondId: boolean;
|
|
15
|
+
/** @deprecated Third ID capture is deprecated; config is ignored and flow continues to next step */
|
|
15
16
|
thirdId: boolean;
|
|
16
17
|
autoCaptureTimeout: number;
|
|
17
18
|
deviceIdleTimeout: number;
|
|
@@ -153,6 +154,7 @@ type FlowModuleConfig = {
|
|
|
153
154
|
TUTORIAL_ID: TutorialIdConfig;
|
|
154
155
|
ID: TutorialIdConfig;
|
|
155
156
|
SECOND_ID: TutorialIdConfig;
|
|
157
|
+
/** @deprecated Third ID step is deprecated; SDK skips this step and continues flow */
|
|
156
158
|
THIRD_ID: DocumentUploadConfig;
|
|
157
159
|
ID_OCR: {
|
|
158
160
|
editableOcr: boolean;
|