@incodetech/core 0.0.0-dev-20260505-23151a2 → 0.0.0-dev-20260505-4b09daf
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/{BaseWasmProvider-ECdlJ4eI.esm.js → BaseWasmProvider-BTKqWpeB.esm.js} +45 -49
- package/dist/{WasmUtilProvider-CjeoVWLu.esm.js → WasmUtilProvider-DqCiPXV6.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-CQz8LKMD.d.ts → authenticationManager-DBgL1B8m.d.ts} +1 -1
- package/dist/{authenticationManager-D2cV2RYg.esm.js → authenticationManager-DzBrRrX7.esm.js} +2 -2
- package/dist/{authenticationStateMachine-BB-GL-sm.esm.js → authenticationStateMachine-Dg19Awyc.esm.js} +2 -2
- package/dist/consent.d.ts +47 -47
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/{deepsightLoader-VHWCGVhU.esm.js → deepsightLoader-BnMFKE9b.esm.js} +2 -2
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-upload.d.ts +43 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-DfY95mko.d.ts → faceCaptureManagerFactory-CgwUMlyj.d.ts} +0 -35
- package/dist/{faceCaptureSetup-BBy_QNcO.esm.js → faceCaptureSetup-Cclz77d6.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +55 -55
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureManager-X3CG5c3T.d.ts → idCaptureManager--lWVPu7Z.d.ts} +0 -2
- package/dist/{idCaptureManager-CEJN1LTW.esm.js → idCaptureManager-Df8xxjBX.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-Doo9KqTB.esm.js → idCaptureStateMachine-__Cc1trJ.esm.js} +6 -8
- package/dist/identity-reuse.d.ts +43 -43
- package/dist/{index-CJT4brJN.d.ts → index-DlIJDOn_.d.ts} +119 -119
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +47 -47
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-DKg2c5De.esm.js → recordingService-Cen0Qmop.esm.js} +8 -21
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-Bqf4qfIp.d.ts → selfieManager-BtyIr64h.d.ts} +1 -1
- package/dist/{selfieManager-pGHW3GaN.esm.js → selfieManager-DGAsMXpK.esm.js} +2 -2
- package/dist/{selfieStateMachine-C7ity4G9.esm.js → selfieStateMachine-C_VXHzeA.esm.js} +2 -2
- package/dist/{setup-Bp6ownN0.esm.js → setup-DvsiYeiw.esm.js} +3 -3
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/workflow.d.ts +85 -85
- package/dist/workflow.esm.js +6 -6
- package/package.json +3 -3
|
@@ -60,7 +60,6 @@ let WasmPipelineType = /* @__PURE__ */ function(WasmPipelineType$1) {
|
|
|
60
60
|
WasmPipelineType$1[WasmPipelineType$1["IdVideoSelfiePipeline"] = 2] = "IdVideoSelfiePipeline";
|
|
61
61
|
WasmPipelineType$1[WasmPipelineType$1["SelfieWithAggregationMetrics"] = 3] = "SelfieWithAggregationMetrics";
|
|
62
62
|
WasmPipelineType$1[WasmPipelineType$1["SelfieWithQualityMetrics"] = 4] = "SelfieWithQualityMetrics";
|
|
63
|
-
WasmPipelineType$1[WasmPipelineType$1["IdFaceDetectionPipeline"] = 5] = "IdFaceDetectionPipeline";
|
|
64
63
|
return WasmPipelineType$1;
|
|
65
64
|
}({});
|
|
66
65
|
|
|
@@ -73,10 +72,10 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
73
72
|
this.modelsBuffers = null;
|
|
74
73
|
this.inputImageBuffer = null;
|
|
75
74
|
this.wasmModule = null;
|
|
76
|
-
this.
|
|
75
|
+
this.workflowApiUtilities = null;
|
|
77
76
|
this.utilityApi = null;
|
|
78
77
|
this.idCaptureWasmApi = null;
|
|
79
|
-
this.
|
|
78
|
+
this.faceProcessingWasmApi = null;
|
|
80
79
|
this.imageWidth_ = null;
|
|
81
80
|
this.imageHeight_ = null;
|
|
82
81
|
this.pipelines_ = null;
|
|
@@ -109,10 +108,10 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
109
108
|
this.versionsFile = versionsFile;
|
|
110
109
|
await this.loadModule(glueCodePath);
|
|
111
110
|
const simdIsEnabled = await this.loadWasm(useSimd, webLibPath, webLibPathSimd);
|
|
112
|
-
this.
|
|
111
|
+
this.workflowApiUtilities = new this.wasmModule.WorkflowApiUtilities();
|
|
113
112
|
this.utilityApi = new this.wasmModule.UtilityApi();
|
|
114
113
|
this.idCaptureWasmApi = new this.wasmModule.IdCaptureApi();
|
|
115
|
-
this.
|
|
114
|
+
this.faceProcessingWasmApi = new this.wasmModule.FaceProcessingApi();
|
|
116
115
|
this.isInitialized_ = true;
|
|
117
116
|
return simdIsEnabled;
|
|
118
117
|
}
|
|
@@ -125,7 +124,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
125
124
|
* @returns
|
|
126
125
|
*/
|
|
127
126
|
isInitialized() {
|
|
128
|
-
return this.
|
|
127
|
+
return this.workflowApiUtilities != null && this.utilityApi != null && this.idCaptureWasmApi != null && this.faceProcessingWasmApi != null && this.isInitialized_;
|
|
129
128
|
}
|
|
130
129
|
/**
|
|
131
130
|
* Allocate shared memory for image buffers (RGBA format)
|
|
@@ -138,11 +137,11 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
138
137
|
if (imageWidth && imageHeight && imageWidth == this.imageWidth_ && imageHeight == this.imageHeight_ && this.inputImageBuffer && imageWidth * imageHeight * 4 === this.inputImageBuffer.length) return;
|
|
139
138
|
this.imageWidth_ = imageWidth;
|
|
140
139
|
this.imageHeight_ = imageHeight;
|
|
141
|
-
this.inputImageBuffer = this.
|
|
140
|
+
this.inputImageBuffer = this.workflowApiUtilities.allocateInputImageBuffer(imageWidth, imageHeight, 4);
|
|
142
141
|
}
|
|
143
142
|
async handleDetectionCallAndUpdateState(type) {
|
|
144
143
|
this.checkWasmInitialization("Unable to update pipeline state, cpp API hasn't been initialized");
|
|
145
|
-
this.
|
|
144
|
+
this.workflowApiUtilities.handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(type));
|
|
146
145
|
}
|
|
147
146
|
ens(image) {
|
|
148
147
|
this.checkWasmInitialization("Unable to encrypt the image, cpp API hasn't been initialized");
|
|
@@ -174,9 +173,9 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
174
173
|
this.imageHeight_ = null;
|
|
175
174
|
this.pipelines_ = null;
|
|
176
175
|
window.wasmArrayBuffer = null;
|
|
177
|
-
if (this.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
176
|
+
if (this.workflowApiUtilities && typeof this.workflowApiUtilities.delete === "function") {
|
|
177
|
+
this.workflowApiUtilities.delete();
|
|
178
|
+
this.workflowApiUtilities = null;
|
|
180
179
|
}
|
|
181
180
|
if (this.utilityApi && typeof this.utilityApi.delete === "function") {
|
|
182
181
|
this.utilityApi.delete();
|
|
@@ -186,9 +185,9 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
186
185
|
this.idCaptureWasmApi.delete();
|
|
187
186
|
this.idCaptureWasmApi = null;
|
|
188
187
|
}
|
|
189
|
-
if (this.
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
188
|
+
if (this.faceProcessingWasmApi && typeof this.faceProcessingWasmApi.delete === "function") {
|
|
189
|
+
this.faceProcessingWasmApi.delete();
|
|
190
|
+
this.faceProcessingWasmApi = null;
|
|
192
191
|
}
|
|
193
192
|
this.wasmModule = null;
|
|
194
193
|
this.isInitialized_ = false;
|
|
@@ -198,7 +197,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
198
197
|
*/
|
|
199
198
|
resetPipeline(type) {
|
|
200
199
|
this.checkWasmInitialization("Unable to reset pipeline, cpp API hasn't been initialized");
|
|
201
|
-
this.
|
|
200
|
+
this.workflowApiUtilities.resetWorkflow(this.pipelineTypeToWasmEnum(type));
|
|
202
201
|
}
|
|
203
202
|
/**
|
|
204
203
|
* Clear all pipelines states
|
|
@@ -233,11 +232,10 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
233
232
|
this.inputImageBuffer.set(image.data);
|
|
234
233
|
switch (type) {
|
|
235
234
|
case WasmPipelineType.IdBlurGlarePipeline:
|
|
236
|
-
case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.idCaptureWasmApi.
|
|
237
|
-
case WasmPipelineType.
|
|
238
|
-
case WasmPipelineType.IdVideoSelfiePipeline: return this.idCaptureWasmApi.runIdVideoSelfiePipeline();
|
|
235
|
+
case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.idCaptureWasmApi.runIdCaptureWorkflow(this.pipelineTypeToWasmEnum(type));
|
|
236
|
+
case WasmPipelineType.IdVideoSelfiePipeline: return this.idCaptureWasmApi.runIdVideoSelfieWorkflow();
|
|
239
237
|
case WasmPipelineType.SelfieWithAggregationMetrics:
|
|
240
|
-
case WasmPipelineType.SelfieWithQualityMetrics: return this.
|
|
238
|
+
case WasmPipelineType.SelfieWithQualityMetrics: return this.faceProcessingWasmApi.runSelfieWorkflow(this.pipelineTypeToWasmEnum(type));
|
|
241
239
|
default: throw new Error("Unknown pipeline type");
|
|
242
240
|
}
|
|
243
241
|
}
|
|
@@ -251,35 +249,35 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
251
249
|
this.checkWasmInitialization("Unable to run Selfie Capture, cpp API hasn't been initialized");
|
|
252
250
|
if (this.inputImageBuffer === null) throw new Error("Unable to process the image, buffers haven't been allocated!");
|
|
253
251
|
this.inputImageBuffer.set(image.data);
|
|
254
|
-
return this.
|
|
252
|
+
return this.faceProcessingWasmApi.runSelfieCapture();
|
|
255
253
|
}
|
|
256
254
|
async setFacePositionConstraints(type, minX, minY, maxX, maxY) {
|
|
257
255
|
this.checkWasmInitialization("Unable to set face position constraints, cpp API hasn't been initialized");
|
|
258
|
-
this.
|
|
256
|
+
this.faceProcessingWasmApi.setFacePositionConstraints(this.pipelineTypeToWasmEnum(type), minX, minY, maxX, maxY);
|
|
259
257
|
}
|
|
260
258
|
async setFaceDetectionThresholds(type, brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold) {
|
|
261
259
|
this.checkWasmInitialization("Unable to set face detection thresholds, cpp API hasn't been initialized");
|
|
262
|
-
this.
|
|
260
|
+
this.faceProcessingWasmApi.setFaceProcessingThresholds(this.pipelineTypeToWasmEnum(type), brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold);
|
|
263
261
|
}
|
|
264
262
|
async setFaceAttributesThresholds(type, headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold) {
|
|
265
263
|
this.checkWasmInitialization("Unable to set face attributes thresholds, cpp API hasn't been initialized");
|
|
266
|
-
this.
|
|
264
|
+
this.faceProcessingWasmApi.setFaceAttributesThresholds(this.pipelineTypeToWasmEnum(type), headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold);
|
|
267
265
|
}
|
|
268
266
|
async setFaceChecksEnabled(type, isLensesCheckEnabled, isMaskCheckEnabled, isClosedEyesCheckEnabled, isHeadWearCheckEnabled, isOcclusionCheckEnabled) {
|
|
269
267
|
this.checkWasmInitialization("Unable to set face checks enabled flags, cpp API hasn't been initialized");
|
|
270
|
-
this.
|
|
268
|
+
this.faceProcessingWasmApi.setFaceChecksEnabled(this.pipelineTypeToWasmEnum(type), isLensesCheckEnabled, isMaskCheckEnabled, isClosedEyesCheckEnabled, isHeadWearCheckEnabled, isOcclusionCheckEnabled);
|
|
271
269
|
}
|
|
272
270
|
async setFaceDetectionMode(type, isVideoSelfie) {
|
|
273
271
|
this.checkWasmInitialization("Unable to set face detection mode, cpp API hasn't been initialized");
|
|
274
|
-
this.
|
|
272
|
+
this.faceProcessingWasmApi.setFaceProcessingMode(this.pipelineTypeToWasmEnum(type), isVideoSelfie);
|
|
275
273
|
}
|
|
276
|
-
async setFaceDetectionCallbacks(type, onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle,
|
|
274
|
+
async setFaceDetectionCallbacks(type, onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded) {
|
|
277
275
|
this.checkWasmInitialization("Unable to set face detection callbacks, cpp API hasn't been initialized");
|
|
278
|
-
this.
|
|
276
|
+
this.faceProcessingWasmApi.setFaceProcessingCallbacks(this.pipelineTypeToWasmEnum(type), onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded);
|
|
279
277
|
}
|
|
280
|
-
async setIdCaptureThresholds(type, blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval
|
|
278
|
+
async setIdCaptureThresholds(type, blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval) {
|
|
281
279
|
this.checkWasmInitialization("Unable to set thresholds, cpp API hasn't been initialized");
|
|
282
|
-
this.idCaptureWasmApi.setIdCaptureThresholds(this.pipelineTypeToWasmEnum(type), blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval
|
|
280
|
+
this.idCaptureWasmApi.setIdCaptureThresholds(this.pipelineTypeToWasmEnum(type), blurThreshold, blurChangeThreshold, glareThreshold, clsThreshold, sideThreshold, iouThreshold, idDetectedTimeout, autocaptureTimeout, framesAggregationInterval);
|
|
283
281
|
}
|
|
284
282
|
async setIdCaptureCallbacks(type, onFarAway, onDetectionStarted, onMaskChange, onBlur, onGlare, onCapturing, onCapture, onBestFrame, onIDNotDetected, onSwitchToManualCapture, onIDTypeChange, onIDSideChange, onCapturingCounterValueChange) {
|
|
285
283
|
this.checkWasmInitialization("Unable to set callbacks, cpp API hasn't been initialized");
|
|
@@ -289,9 +287,9 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
289
287
|
this.checkWasmInitialization("Unable to set geometry params, cpp API hasn't been initialized");
|
|
290
288
|
this.idCaptureWasmApi.setIdCaptureGeometryParams(this.pipelineTypeToWasmEnum(type), areaDown, areaUp, areaIOSPassportUp, areaIOSPassportDown, widthIOSUp, widthIOSDown, widthDown, widthUp, windowOuterWidth, windowOuterHeight, windowInnerWidth, windowInnerHeight);
|
|
291
289
|
}
|
|
292
|
-
async setIdCaptureConfigParams(type, isFixedMask, isIPhone14OrHigher, idType, isBlurCheckEnabled, isGlareCheckEnabled,
|
|
290
|
+
async setIdCaptureConfigParams(type, isFixedMask, isIPhone14OrHigher, idType, isBlurCheckEnabled, isGlareCheckEnabled, _isIdFaceQualityCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled) {
|
|
293
291
|
this.checkWasmInitialization("Unable to set config params, cpp API hasn't been initialized");
|
|
294
|
-
this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(type), isFixedMask, isIPhone14OrHigher, idType, isBlurCheckEnabled, isGlareCheckEnabled,
|
|
292
|
+
this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(type), isFixedMask, isIPhone14OrHigher, idType, isBlurCheckEnabled, isGlareCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled);
|
|
295
293
|
}
|
|
296
294
|
setIdCaptureModelType(pipelineType, modelType) {
|
|
297
295
|
this.checkWasmInitialization("Unable to set model type, cpp API hasn't been initialized");
|
|
@@ -318,7 +316,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
318
316
|
}
|
|
319
317
|
async loadModels() {
|
|
320
318
|
this.checkWasmInitialization("Unable load the models, cpp API hasn't been initialized");
|
|
321
|
-
const buffSizes = new this.wasmModule.
|
|
319
|
+
const buffSizes = new this.wasmModule.WorkflowTypeToIntMap();
|
|
322
320
|
const modelData = /* @__PURE__ */ new Map();
|
|
323
321
|
const loadedModels = /* @__PURE__ */ new Map();
|
|
324
322
|
for (const [type, modelsPaths] of this.pipelines_) {
|
|
@@ -337,7 +335,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
337
335
|
buffSizes.set(wasmType, sizes);
|
|
338
336
|
modelData.set(wasmType, pipelineBuffers);
|
|
339
337
|
}
|
|
340
|
-
this.modelsBuffers = this.
|
|
338
|
+
this.modelsBuffers = this.workflowApiUtilities.allocateModelsBuffers(buffSizes);
|
|
341
339
|
for (const [type, data] of modelData) {
|
|
342
340
|
const buffers = this.modelsBuffers?.get(type);
|
|
343
341
|
for (let k = 0; k < buffers.size(); k++) {
|
|
@@ -350,7 +348,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
350
348
|
async initializePipelines() {
|
|
351
349
|
this.checkWasmInitialization("Unable to initialize pipelines, cpp API hasn't been initialized");
|
|
352
350
|
if (!this.modelsBuffers) await this.loadModels();
|
|
353
|
-
this.
|
|
351
|
+
this.workflowApiUtilities.initializeWorkflows();
|
|
354
352
|
}
|
|
355
353
|
async setProductionMode(productionMode) {
|
|
356
354
|
this.checkWasmInitialization("Unable to set production mode, cpp API hasn't been initialized");
|
|
@@ -358,11 +356,11 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
358
356
|
}
|
|
359
357
|
getPipelineState() {
|
|
360
358
|
this.checkWasmInitialization("Unable to get pipeline state, cpp API hasn't been initialized");
|
|
361
|
-
return this.
|
|
359
|
+
return this.workflowApiUtilities.getWorkflowState();
|
|
362
360
|
}
|
|
363
361
|
getCurrentPipeline() {
|
|
364
362
|
this.checkWasmInitialization("Unable to get current pipeline, cpp API hasn't been initialized");
|
|
365
|
-
return this.pipelineTypeFromWasmEnum(this.
|
|
363
|
+
return this.pipelineTypeFromWasmEnum(this.workflowApiUtilities.getCurrentWorkflow());
|
|
366
364
|
}
|
|
367
365
|
setSdkVersion(sdkVersion) {
|
|
368
366
|
this.checkWasmInitialization("Unable to set sdk version, cpp API hasn't been initialized");
|
|
@@ -430,23 +428,21 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
430
428
|
}
|
|
431
429
|
pipelineTypeToWasmEnum(type) {
|
|
432
430
|
switch (type) {
|
|
433
|
-
case WasmPipelineType.IdBlurGlarePipeline: return this.wasmModule.
|
|
434
|
-
case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.wasmModule.
|
|
435
|
-
case WasmPipelineType.
|
|
436
|
-
case WasmPipelineType.
|
|
437
|
-
case WasmPipelineType.
|
|
438
|
-
case WasmPipelineType.SelfieWithQualityMetrics: return this.wasmModule.PipelineType.SelfieWithQualityMetrics;
|
|
431
|
+
case WasmPipelineType.IdBlurGlarePipeline: return this.wasmModule.WorkflowType.IdBlurGlareWorkflow;
|
|
432
|
+
case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow;
|
|
433
|
+
case WasmPipelineType.IdVideoSelfiePipeline: return this.wasmModule.WorkflowType.IdVideoSelfieWorkflow;
|
|
434
|
+
case WasmPipelineType.SelfieWithAggregationMetrics: return this.wasmModule.WorkflowType.SelfieWithAggregationMetrics;
|
|
435
|
+
case WasmPipelineType.SelfieWithQualityMetrics: return this.wasmModule.WorkflowType.SelfieWithQualityMetrics;
|
|
439
436
|
default: throw new Error("Unknown pipeline type");
|
|
440
437
|
}
|
|
441
438
|
}
|
|
442
439
|
pipelineTypeFromWasmEnum(type) {
|
|
443
440
|
switch (type) {
|
|
444
|
-
case this.wasmModule.
|
|
445
|
-
case this.wasmModule.
|
|
446
|
-
case this.wasmModule.
|
|
447
|
-
case this.wasmModule.
|
|
448
|
-
case this.wasmModule.
|
|
449
|
-
case this.wasmModule.PipelineType.SelfieWithQualityMetrics: return WasmPipelineType.SelfieWithQualityMetrics;
|
|
441
|
+
case this.wasmModule.WorkflowType.IdBlurGlareWorkflow: return WasmPipelineType.IdBlurGlarePipeline;
|
|
442
|
+
case this.wasmModule.WorkflowType.IdBarcodeAndTextQualityWorkflow: return WasmPipelineType.IdBarcodeAndTextQualityPipeline;
|
|
443
|
+
case this.wasmModule.WorkflowType.IdVideoSelfieWorkflow: return WasmPipelineType.IdVideoSelfiePipeline;
|
|
444
|
+
case this.wasmModule.WorkflowType.SelfieWithAggregationMetrics: return WasmPipelineType.SelfieWithAggregationMetrics;
|
|
445
|
+
case this.wasmModule.WorkflowType.SelfieWithQualityMetrics: return WasmPipelineType.SelfieWithQualityMetrics;
|
|
450
446
|
default: throw new Error("Unknown pipeline type");
|
|
451
447
|
}
|
|
452
448
|
}
|
|
@@ -499,7 +495,7 @@ const DEFAULT_PIPELINE_MODELS = {
|
|
|
499
495
|
"selfie_bf_angles_192x192_opset9_fp16.ortmodelv2",
|
|
500
496
|
"face_attributes_v1_3_fp16.ortmodelv2",
|
|
501
497
|
"mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2",
|
|
502
|
-
"
|
|
498
|
+
"face_occlusion_v0_2_fp16.ortmodelv2"
|
|
503
499
|
],
|
|
504
500
|
idCapture: ["id_capture_2_01_fp16.ortmodelv2", "id_fiqa_19a81a0b9bf6492eb03b4667f6db4c85_fp16.ortmodelv2"]
|
|
505
501
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
1
|
+
import { r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/providers/wasm/WasmUtilProvider.ts
|
|
4
4
|
var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
2
|
import "./Actor-CazhiaK7.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-DlIJDOn_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import "./warmup-DTtV1QCY.js";
|
|
|
2
2
|
import "./Manager-CcbnIt3T.js";
|
|
3
3
|
import "./Actor-CazhiaK7.js";
|
|
4
4
|
import "./StateMachine-B3eh3sAE.js";
|
|
5
|
-
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { _ as AuthenticationConfig, b as authenticationMachine, g as createAuthenticationActor, h as CreateAuthenticationActorOptions, m as AuthenticationActor } from "./faceCaptureManagerFactory-CgwUMlyj.js";
|
|
6
6
|
import "./camera-CS1twtEg.js";
|
|
7
7
|
import "./types-DdYIMV6w.js";
|
|
8
8
|
import "./types-DFwAuzk2.js";
|
|
9
9
|
import "./deepsightService-Cxp-yJjr.js";
|
|
10
10
|
import "./types-D5fKjOcr.js";
|
|
11
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
11
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DBgL1B8m.js";
|
|
12
12
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import "./WasmUtilProvider-
|
|
1
|
+
import "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
2
|
+
import "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
3
3
|
import "./api-3IquGyW5.esm.js";
|
|
4
4
|
import "./events-237AXtL7.esm.js";
|
|
5
5
|
import "./browserSimulation-DMJIC-23.esm.js";
|
|
6
6
|
import "./xstate.esm-CSiDcEjt.esm.js";
|
|
7
7
|
import "./faceCaptureManagerFactory-DM_o6znS.esm.js";
|
|
8
8
|
import "./BrowserStorageProvider-DeByegPK.esm.js";
|
|
9
|
-
import "./recordingService-
|
|
9
|
+
import "./recordingService-Cen0Qmop.esm.js";
|
|
10
10
|
import "./deepsightService-CU4xtxzz.esm.js";
|
|
11
11
|
import "./permissionServices-DiAThhLg.esm.js";
|
|
12
12
|
import "./camera-CSPAwp2o.esm.js";
|
|
@@ -17,8 +17,8 @@ import "./platform-BtdVAeAg.esm.js";
|
|
|
17
17
|
import "./ITimerCapability-r7XXQS6a.esm.js";
|
|
18
18
|
import "./backCameraStream-BIzYKDy2.esm.js";
|
|
19
19
|
import "./getDeviceClass-AjL3Pr7R.esm.js";
|
|
20
|
-
import "./faceCaptureSetup-
|
|
21
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
22
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
20
|
+
import "./faceCaptureSetup-Cclz77d6.esm.js";
|
|
21
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Dg19Awyc.esm.js";
|
|
22
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DzBrRrX7.esm.js";
|
|
23
23
|
|
|
24
24
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
|
-
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { h as CreateAuthenticationActorOptions, m as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CgwUMlyj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
package/dist/{authenticationManager-D2cV2RYg.esm.js → authenticationManager-DzBrRrX7.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-237AXtL7.esm.js";
|
|
3
3
|
import { a as createActor } from "./xstate.esm-CSiDcEjt.esm.js";
|
|
4
4
|
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DM_o6znS.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-Dg19Awyc.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-3IquGyW5.esm.js";
|
|
2
2
|
import { v as endpoints } from "./events-237AXtL7.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign } from "./xstate.esm-CSiDcEjt.esm.js";
|
|
4
|
-
import { v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
+
import { v as FACE_ERROR_CODES } from "./recordingService-Cen0Qmop.esm.js";
|
|
5
5
|
import { t as getDeviceClass } from "./getDeviceClass-AjL3Pr7R.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cclz77d6.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
2
|
import "./Actor-CazhiaK7.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate392 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate392.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate392.ActorRefFromLogic<xstate392.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate392.EventObject>> | xstate392.ActorRefFromLogic<xstate392.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate392.EventObject>> | undefined;
|
|
57
|
+
}, xstate392.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate392.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate392.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate392.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate392.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate392.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate392.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate392.NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
82
|
resetContext: {
|
|
83
83
|
type: "resetContext";
|
|
84
|
-
params:
|
|
84
|
+
params: xstate392.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
setConsentData: {
|
|
87
87
|
type: "setConsentData";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate392.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
toggleCheckbox: {
|
|
91
91
|
type: "toggleCheckbox";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate392.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate392.NonReducibleUnknown, xstate392.EventObject, xstate392.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate392.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate392.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate392.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate392.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate392.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate392.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate392.RequiredActorOptions<T>]: unknown }) | undefined], xstate392.IsNotNever<xstate392.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate392.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate392.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate392.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate392.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate392.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate392.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate392.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate392.IsNotNever<xstate392.RequiredActorOptions<T_1>>> : never : never : never)): xstate392.ActorRefFromLogic<xstate392.GetConcreteByKey<xstate392.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate392.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate392.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate392.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate392.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate392.AnyActorLogic>(src: TLogic, ...[options]: xstate392.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate392.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate392.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate392.IsNotNever<xstate392.RequiredLogicInput<TLogic>>>): xstate392.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate392.ActorRef<xstate392.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate392.AnyActorRef | undefined>, xstate392.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate392.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate392.ActorRef<xstate392.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate392.AnyActorRef>, xstate392.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate392.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate392.ActorRef<xstate392.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate392.AnyActorRef>, xstate392.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate550.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate392.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|