@incodetech/core 0.0.0-dev-20260505-23151a2 → 0.0.0-dev-20260505-5596027

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/{BaseWasmProvider-ECdlJ4eI.esm.js → BaseWasmProvider-BTKqWpeB.esm.js} +45 -49
  2. package/dist/{WasmUtilProvider-CjeoVWLu.esm.js → WasmUtilProvider-DqCiPXV6.esm.js} +1 -1
  3. package/dist/ae-signature.d.ts +1 -1
  4. package/dist/authentication.d.ts +2 -2
  5. package/dist/authentication.esm.js +6 -6
  6. package/dist/{authenticationManager-CQz8LKMD.d.ts → authenticationManager-DBgL1B8m.d.ts} +1 -1
  7. package/dist/{authenticationManager-D2cV2RYg.esm.js → authenticationManager-DzBrRrX7.esm.js} +2 -2
  8. package/dist/{authenticationStateMachine-BB-GL-sm.esm.js → authenticationStateMachine-Dg19Awyc.esm.js} +2 -2
  9. package/dist/consent.d.ts +47 -47
  10. package/dist/cpf-ocr.d.ts +17 -17
  11. package/dist/{deepsightLoader-VHWCGVhU.esm.js → deepsightLoader-BnMFKE9b.esm.js} +2 -2
  12. package/dist/document-capture.d.ts +76 -76
  13. package/dist/document-upload.d.ts +46 -46
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybStateMachine-D47ADaB-.esm.js → ekybStateMachine-DRpIGn4v.esm.js} +1 -1
  16. package/dist/electronic-signature.d.ts +1 -1
  17. package/dist/extensibility.d.ts +4 -4
  18. package/dist/extensibility.esm.js +11 -11
  19. package/dist/{faceCaptureManagerFactory-DfY95mko.d.ts → faceCaptureManagerFactory-CgwUMlyj.d.ts} +0 -35
  20. package/dist/{faceCaptureSetup-BBy_QNcO.esm.js → faceCaptureSetup-Cclz77d6.esm.js} +1 -1
  21. package/dist/flow.d.ts +2 -2
  22. package/dist/flow.esm.js +2 -2
  23. package/dist/{flowServices-DNEvPB4G.esm.js → flowServices-BDyFaxJw.esm.js} +1 -1
  24. package/dist/home.d.ts +10 -10
  25. package/dist/id-ocr.d.ts +52 -52
  26. package/dist/id.d.ts +1 -1
  27. package/dist/id.esm.js +5 -5
  28. package/dist/{idCaptureManager-X3CG5c3T.d.ts → idCaptureManager--lWVPu7Z.d.ts} +0 -2
  29. package/dist/{idCaptureManager-CEJN1LTW.esm.js → idCaptureManager-x3gfsrv1.esm.js} +1 -1
  30. package/dist/{idCaptureStateMachine-Doo9KqTB.esm.js → idCaptureStateMachine-BAuNvx5A.esm.js} +7 -9
  31. package/dist/identity-reuse.d.ts +47 -47
  32. package/dist/{index-CJT4brJN.d.ts → index-Dkx5rqm4.d.ts} +119 -119
  33. package/dist/index.esm.js +4 -4
  34. package/dist/mandatory-consent.d.ts +47 -47
  35. package/dist/qe-signature.d.ts +1 -1
  36. package/dist/{recordingService-DKg2c5De.esm.js → recordingService-Cen0Qmop.esm.js} +8 -21
  37. package/dist/selfie.d.ts +2 -2
  38. package/dist/selfie.esm.js +6 -6
  39. package/dist/{selfieManager-Bqf4qfIp.d.ts → selfieManager-BtyIr64h.d.ts} +1 -1
  40. package/dist/{selfieManager-pGHW3GaN.esm.js → selfieManager-DGAsMXpK.esm.js} +2 -2
  41. package/dist/{selfieStateMachine-C7ity4G9.esm.js → selfieStateMachine-C_VXHzeA.esm.js} +2 -2
  42. package/dist/{session-DEzJ3qMM.esm.js → session-D4bzUPxJ.esm.js} +4 -1
  43. package/dist/session.esm.js +1 -1
  44. package/dist/{setup-Bp6ownN0.esm.js → setup-G710UmDv.esm.js} +4 -4
  45. package/dist/wasm.d.ts +1 -1
  46. package/dist/wasm.esm.js +4 -4
  47. package/dist/workflow.d.ts +85 -85
  48. package/dist/workflow.esm.js +9 -9
  49. package/package.json +1 -1
@@ -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.pipelineApiUtilities = null;
75
+ this.workflowApiUtilities = null;
77
76
  this.utilityApi = null;
78
77
  this.idCaptureWasmApi = null;
79
- this.faceDetectionWasmApi = null;
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.pipelineApiUtilities = new this.wasmModule.PipelineApiUtilities();
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.faceDetectionWasmApi = new this.wasmModule.FaceDetectionApi();
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.pipelineApiUtilities != null && this.utilityApi != null && this.idCaptureWasmApi != null && this.faceDetectionWasmApi != null && this.isInitialized_;
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.pipelineApiUtilities.allocateInputImageBuffer(imageWidth, imageHeight, 4);
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.pipelineApiUtilities.handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(type));
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.pipelineApiUtilities && typeof this.pipelineApiUtilities.delete === "function") {
178
- this.pipelineApiUtilities.delete();
179
- this.pipelineApiUtilities = null;
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.faceDetectionWasmApi && typeof this.faceDetectionWasmApi.delete === "function") {
190
- this.faceDetectionWasmApi.delete();
191
- this.faceDetectionWasmApi = null;
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.pipelineApiUtilities.resetPipeline(this.pipelineTypeToWasmEnum(type));
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.runIdCapturePipeline(this.pipelineTypeToWasmEnum(type));
237
- case WasmPipelineType.IdFaceDetectionPipeline: return this.faceDetectionWasmApi.runIdFaceDetectionPipeline();
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.faceDetectionWasmApi.runSelfieFaceDetectionPipeline(this.pipelineTypeToWasmEnum(type));
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.faceDetectionWasmApi.runSelfieCapture();
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.faceDetectionWasmApi.setFacePositionConstraints(this.pipelineTypeToWasmEnum(type), minX, minY, maxX, maxY);
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.faceDetectionWasmApi.setFaceDetectionThresholds(this.pipelineTypeToWasmEnum(type), brightnessThreshold, blurrinessThreshold, tiltRotationAngleThreshold, minMagicCropSize, autocaptureInterval, minFaceQualityScore, faceOcclusionThreshold);
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.faceDetectionWasmApi.setFaceAttributesThresholds(this.pipelineTypeToWasmEnum(type), headwearThreshold, lensesThreshold, closedEyesThreshold, maskThreshold);
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.faceDetectionWasmApi.setFaceChecksEnabled(this.pipelineTypeToWasmEnum(type), isLensesCheckEnabled, isMaskCheckEnabled, isClosedEyesCheckEnabled, isHeadWearCheckEnabled, isOcclusionCheckEnabled);
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.faceDetectionWasmApi.setFaceDetectionMode(this.pipelineTypeToWasmEnum(type), isVideoSelfie);
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, onBestShot, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded) {
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.faceDetectionWasmApi.setFaceDetectionCallbacks(this.pipelineTypeToWasmEnum(type), onFarAway, onTooClose, onTooManyFaces, onNoFace, onCapture, onGetReady, onGetReadyFinished, onCenterFace, onDark, onBlur, onFaceAngle, onBestShot, onLenses, onMask, onEyesClosed, onHeadWear, onSwitchToManualCapture, onFaceOccluded);
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, minFaceIdQualityScore) {
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, minFaceIdQualityScore);
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, isIdFaceQualityCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled) {
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, isIdFaceQualityCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled);
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.PipelineTypeToIntMap();
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.pipelineApiUtilities.allocateModelsBuffers(buffSizes);
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.pipelineApiUtilities.initializePipelines();
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.pipelineApiUtilities.getPipelineState();
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.pipelineApiUtilities.getCurrentPipeline());
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.PipelineType.IdBlurGlarePipeline;
434
- case WasmPipelineType.IdBarcodeAndTextQualityPipeline: return this.wasmModule.PipelineType.IdBarcodeAndTextQualityPipeline;
435
- case WasmPipelineType.IdFaceDetectionPipeline: return this.wasmModule.PipelineType.IdFaceDetectionPipeline;
436
- case WasmPipelineType.IdVideoSelfiePipeline: return this.wasmModule.PipelineType.IdVideoSelfiePipeline;
437
- case WasmPipelineType.SelfieWithAggregationMetrics: return this.wasmModule.PipelineType.SelfieWithAggregationMetrics;
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.PipelineType.IdBlurGlarePipeline: return WasmPipelineType.IdBlurGlarePipeline;
445
- case this.wasmModule.IdBarcodeAndTextQualityPipeline: return WasmPipelineType.IdBarcodeAndTextQualityPipeline;
446
- case this.wasmModule.PipelineType.IdFaceDetectionPipeline: return WasmPipelineType.IdFaceDetectionPipeline;
447
- case this.wasmModule.PipelineType.IdVideoSelfiePipeline: return WasmPipelineType.IdVideoSelfiePipeline;
448
- case this.wasmModule.PipelineType.SelfieWithAggregationMetrics: return WasmPipelineType.SelfieWithAggregationMetrics;
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
- "face_occlusion_v0_1_fp16.ortmodelv2"
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-ECdlJ4eI.esm.js";
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 {
@@ -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-CJT4brJN.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-Dkx5rqm4.js";
4
4
 
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
 
@@ -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-DfY95mko.js";
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-CQz8LKMD.js";
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-ECdlJ4eI.esm.js";
2
- import "./WasmUtilProvider-CjeoVWLu.esm.js";
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-DKg2c5De.esm.js";
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-BBy_QNcO.esm.js";
21
- import { t as authenticationMachine } from "./authenticationStateMachine-BB-GL-sm.esm.js";
22
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D2cV2RYg.esm.js";
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-DfY95mko.js";
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;
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-CjeoVWLu.esm.js";
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-BB-GL-sm.esm.js";
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-DKg2c5De.esm.js";
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-BBy_QNcO.esm.js";
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 xstate550 from "xstate";
3
+ import * as xstate1195 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: xstate550.StateMachine<ConsentContext, {
39
+ declare const consentMachine: xstate1195.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]: xstate550.ActorRefFromLogic<xstate550.PromiseActorLogic<FetchCombinedConsentResponse, {
51
+ [x: string]: xstate1195.ActorRefFromLogic<xstate1195.PromiseActorLogic<FetchCombinedConsentResponse, {
52
52
  consentId: string;
53
- }, xstate550.EventObject>> | xstate550.ActorRefFromLogic<xstate550.PromiseActorLogic<void, {
53
+ }, xstate1195.EventObject>> | xstate1195.ActorRefFromLogic<xstate1195.PromiseActorLogic<void, {
54
54
  languageConsentId: string;
55
55
  checkboxes: ConsentCheckbox[];
56
- }, xstate550.EventObject>> | undefined;
57
- }, xstate550.Values<{
56
+ }, xstate1195.EventObject>> | undefined;
57
+ }, xstate1195.Values<{
58
58
  fetchConsent: {
59
59
  src: "fetchConsent";
60
- logic: xstate550.PromiseActorLogic<FetchCombinedConsentResponse, {
60
+ logic: xstate1195.PromiseActorLogic<FetchCombinedConsentResponse, {
61
61
  consentId: string;
62
- }, xstate550.EventObject>;
62
+ }, xstate1195.EventObject>;
63
63
  id: string | undefined;
64
64
  };
65
65
  submitConsent: {
66
66
  src: "submitConsent";
67
- logic: xstate550.PromiseActorLogic<void, {
67
+ logic: xstate1195.PromiseActorLogic<void, {
68
68
  languageConsentId: string;
69
69
  checkboxes: ConsentCheckbox[];
70
- }, xstate550.EventObject>;
70
+ }, xstate1195.EventObject>;
71
71
  id: string | undefined;
72
72
  };
73
- }>, xstate550.Values<{
73
+ }>, xstate1195.Values<{
74
74
  setError: {
75
75
  type: "setError";
76
- params: xstate550.NonReducibleUnknown;
76
+ params: xstate1195.NonReducibleUnknown;
77
77
  };
78
78
  clearError: {
79
79
  type: "clearError";
80
- params: xstate550.NonReducibleUnknown;
80
+ params: xstate1195.NonReducibleUnknown;
81
81
  };
82
82
  resetContext: {
83
83
  type: "resetContext";
84
- params: xstate550.NonReducibleUnknown;
84
+ params: xstate1195.NonReducibleUnknown;
85
85
  };
86
86
  setConsentData: {
87
87
  type: "setConsentData";
88
- params: xstate550.NonReducibleUnknown;
88
+ params: xstate1195.NonReducibleUnknown;
89
89
  };
90
90
  toggleCheckbox: {
91
91
  type: "toggleCheckbox";
92
- params: xstate550.NonReducibleUnknown;
92
+ params: xstate1195.NonReducibleUnknown;
93
93
  };
94
94
  }>, {
95
95
  type: "canSubmit";
96
96
  params: unknown;
97
- }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate550.NonReducibleUnknown, xstate550.EventObject, xstate550.MetaObject, {
97
+ }, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate1195.NonReducibleUnknown, xstate1195.EventObject, xstate1195.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: xstate550.PromiseActorLogic<FetchCombinedConsentResponse, {
106
+ logic: xstate1195.PromiseActorLogic<FetchCombinedConsentResponse, {
107
107
  consentId: string;
108
- }, xstate550.EventObject>;
108
+ }, xstate1195.EventObject>;
109
109
  id: string | undefined;
110
110
  } extends infer T ? T extends {
111
111
  src: "fetchConsent";
112
- logic: xstate550.PromiseActorLogic<FetchCombinedConsentResponse, {
112
+ logic: xstate1195.PromiseActorLogic<FetchCombinedConsentResponse, {
113
113
  consentId: string;
114
- }, xstate550.EventObject>;
114
+ }, xstate1195.EventObject>;
115
115
  id: string | undefined;
116
116
  } ? T extends {
117
117
  src: TSrc;
118
- } ? xstate550.ConditionalRequired<[options?: ({
118
+ } ? xstate1195.ConditionalRequired<[options?: ({
119
119
  id?: T["id"] | undefined;
120
120
  systemId?: string;
121
- input?: xstate550.InputFrom<T["logic"]> | undefined;
121
+ input?: xstate1195.InputFrom<T["logic"]> | undefined;
122
122
  syncSnapshot?: boolean;
123
- } & { [K in xstate550.RequiredActorOptions<T>]: unknown }) | undefined], xstate550.IsNotNever<xstate550.RequiredActorOptions<T>>> : never : never : never) | ({
123
+ } & { [K in xstate1195.RequiredActorOptions<T>]: unknown }) | undefined], xstate1195.IsNotNever<xstate1195.RequiredActorOptions<T>>> : never : never : never) | ({
124
124
  src: "submitConsent";
125
- logic: xstate550.PromiseActorLogic<void, {
125
+ logic: xstate1195.PromiseActorLogic<void, {
126
126
  languageConsentId: string;
127
127
  checkboxes: ConsentCheckbox[];
128
- }, xstate550.EventObject>;
128
+ }, xstate1195.EventObject>;
129
129
  id: string | undefined;
130
130
  } extends infer T_1 ? T_1 extends {
131
131
  src: "submitConsent";
132
- logic: xstate550.PromiseActorLogic<void, {
132
+ logic: xstate1195.PromiseActorLogic<void, {
133
133
  languageConsentId: string;
134
134
  checkboxes: ConsentCheckbox[];
135
- }, xstate550.EventObject>;
135
+ }, xstate1195.EventObject>;
136
136
  id: string | undefined;
137
137
  } ? T_1 extends {
138
138
  src: TSrc;
139
- } ? xstate550.ConditionalRequired<[options?: ({
139
+ } ? xstate1195.ConditionalRequired<[options?: ({
140
140
  id?: T_1["id"] | undefined;
141
141
  systemId?: string;
142
- input?: xstate550.InputFrom<T_1["logic"]> | undefined;
142
+ input?: xstate1195.InputFrom<T_1["logic"]> | undefined;
143
143
  syncSnapshot?: boolean;
144
- } & { [K_1 in xstate550.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate550.IsNotNever<xstate550.RequiredActorOptions<T_1>>> : never : never : never)): xstate550.ActorRefFromLogic<xstate550.GetConcreteByKey<xstate550.Values<{
144
+ } & { [K_1 in xstate1195.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1195.IsNotNever<xstate1195.RequiredActorOptions<T_1>>> : never : never : never)): xstate1195.ActorRefFromLogic<xstate1195.GetConcreteByKey<xstate1195.Values<{
145
145
  fetchConsent: {
146
146
  src: "fetchConsent";
147
- logic: xstate550.PromiseActorLogic<FetchCombinedConsentResponse, {
147
+ logic: xstate1195.PromiseActorLogic<FetchCombinedConsentResponse, {
148
148
  consentId: string;
149
- }, xstate550.EventObject>;
149
+ }, xstate1195.EventObject>;
150
150
  id: string | undefined;
151
151
  };
152
152
  submitConsent: {
153
153
  src: "submitConsent";
154
- logic: xstate550.PromiseActorLogic<void, {
154
+ logic: xstate1195.PromiseActorLogic<void, {
155
155
  languageConsentId: string;
156
156
  checkboxes: ConsentCheckbox[];
157
- }, xstate550.EventObject>;
157
+ }, xstate1195.EventObject>;
158
158
  id: string | undefined;
159
159
  };
160
160
  }>, "src", TSrc>["logic"]>;
161
- <TLogic extends xstate550.AnyActorLogic>(src: TLogic, ...[options]: xstate550.ConditionalRequired<[options?: ({
161
+ <TLogic extends xstate1195.AnyActorLogic>(src: TLogic, ...[options]: xstate1195.ConditionalRequired<[options?: ({
162
162
  id?: never;
163
163
  systemId?: string;
164
- input?: xstate550.InputFrom<TLogic> | undefined;
164
+ input?: xstate1195.InputFrom<TLogic> | undefined;
165
165
  syncSnapshot?: boolean;
166
- } & { [K in xstate550.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate550.IsNotNever<xstate550.RequiredLogicInput<TLogic>>>): xstate550.ActorRefFromLogic<TLogic>;
166
+ } & { [K in xstate1195.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1195.IsNotNever<xstate1195.RequiredLogicInput<TLogic>>>): xstate1195.ActorRefFromLogic<TLogic>;
167
167
  };
168
168
  input: ConsentInput;
169
- self: xstate550.ActorRef<xstate550.MachineSnapshot<ConsentContext, {
169
+ self: xstate1195.ActorRef<xstate1195.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, xstate550.AnyActorRef | undefined>, xstate550.StateValue, string, unknown, any, any>, {
180
+ }, Record<string, xstate1195.AnyActorRef | undefined>, xstate1195.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
- }, xstate550.AnyEventObject>;
191
+ }, xstate1195.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: xstate550.ActorRef<xstate550.MachineSnapshot<ConsentContext, {
229
+ self: xstate1195.ActorRef<xstate1195.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, xstate550.AnyActorRef>, xstate550.StateValue, string, unknown, any, any>, {
240
+ }, Record<string, xstate1195.AnyActorRef>, xstate1195.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
- }, xstate550.AnyEventObject>;
251
+ }, xstate1195.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: xstate550.ActorRef<xstate550.MachineSnapshot<ConsentContext, {
300
+ self: xstate1195.ActorRef<xstate1195.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, xstate550.AnyActorRef>, xstate550.StateValue, string, unknown, any, any>, {
311
+ }, Record<string, xstate1195.AnyActorRef>, xstate1195.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
- }, xstate550.AnyEventObject>;
322
+ }, xstate1195.AnyEventObject>;
323
323
  }) => {
324
324
  languageConsentId: string;
325
325
  checkboxes: ConsentCheckbox[];