@regulaforensics/document-reader 8.3.273-beta → 8.3.279-beta

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 (172) hide show
  1. package/RNDocumentReader.podspec +1 -1
  2. package/examples/capacitor/package.json +1 -3
  3. package/examples/ionic/package.json +1 -1
  4. package/examples/react_native/package.json +1 -1
  5. package/package.json +1 -1
  6. package/plugin.xml +1 -1
  7. package/test/json.tsx +92 -92
  8. package/test/package-lock.json +1 -1
  9. package/test/package.json +0 -3
  10. package/test/test.tsx +87 -87
  11. package/test/utils.tsx +29 -25
  12. package/www/capacitor/config/OnlineProcessingConfig.js +11 -0
  13. package/www/capacitor/config/RecognizeConfig.js +23 -0
  14. package/www/capacitor/config/ScannerConfig.js +10 -0
  15. package/www/capacitor/info/DocReaderException.js +7 -0
  16. package/www/capacitor/info/DocReaderScenario.js +18 -0
  17. package/www/capacitor/info/DocReaderVersion.js +9 -0
  18. package/www/capacitor/info/DocumentsDatabase.js +12 -0
  19. package/www/capacitor/info/License.js +8 -0
  20. package/www/capacitor/info/PrepareProgress.js +8 -0
  21. package/www/capacitor/info/RFIDException.js +7 -0
  22. package/www/capacitor/params/Functionality.js +44 -0
  23. package/www/capacitor/params/customization/Customization.js +76 -0
  24. package/www/capacitor/params/customization/CustomizationColors.js +13 -0
  25. package/www/capacitor/params/customization/CustomizationFonts.js +8 -0
  26. package/www/capacitor/params/customization/CustomizationImages.js +6 -0
  27. package/www/capacitor/params/customization/Font.js +8 -0
  28. package/www/capacitor/params/process_params/AuthenticityParams.js +21 -0
  29. package/www/capacitor/params/process_params/BackendProcessingConfig.js +9 -0
  30. package/www/capacitor/params/process_params/FaceApiParams.js +13 -0
  31. package/www/capacitor/params/process_params/FaceApiSearchParams.js +8 -0
  32. package/www/capacitor/params/process_params/GlaresCheckParams.js +7 -0
  33. package/www/capacitor/params/process_params/ImageQA.js +16 -0
  34. package/www/capacitor/params/process_params/LivenessParams.js +12 -0
  35. package/www/capacitor/params/process_params/ProcessParams.js +82 -2
  36. package/www/capacitor/params/process_params/RfidParams.js +6 -0
  37. package/www/capacitor/params/rfid_scenario/DTCDataGroup.js +10 -0
  38. package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +19 -0
  39. package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +26 -0
  40. package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +21 -0
  41. package/www/capacitor/params/rfid_scenario/RFIDScenario.js +67 -0
  42. package/www/capacitor/results/Position.js +28 -0
  43. package/www/capacitor/results/Results.js +25 -0
  44. package/www/capacitor/results/TransactionInfo.js +8 -0
  45. package/www/capacitor/results/authenticity/AuthenticityCheck.js +10 -0
  46. package/www/capacitor/results/authenticity/AuthenticityElement.js +10 -0
  47. package/www/capacitor/results/authenticity/AuthenticityResult.js +7 -0
  48. package/www/capacitor/results/barcode/BarcodeField.js +10 -0
  49. package/www/capacitor/results/barcode/BarcodeResult.js +6 -0
  50. package/www/capacitor/results/barcode/PDF417Info.js +8 -0
  51. package/www/capacitor/results/image_quality/ImageQuality.js +9 -0
  52. package/www/capacitor/results/image_quality/ImageQualityGroup.js +9 -0
  53. package/www/capacitor/results/rfid/AccessControlProcedureType.js +9 -0
  54. package/www/capacitor/results/rfid/Application.js +12 -0
  55. package/www/capacitor/results/rfid/Attribute.js +7 -0
  56. package/www/capacitor/results/rfid/Authority.js +8 -0
  57. package/www/capacitor/results/rfid/CardProperties.js +19 -0
  58. package/www/capacitor/results/rfid/CertificateChain.js +18 -0
  59. package/www/capacitor/results/rfid/CertificateData.js +7 -0
  60. package/www/capacitor/results/rfid/DataField.js +7 -0
  61. package/www/capacitor/results/rfid/Extension.js +7 -0
  62. package/www/capacitor/results/rfid/File.js +17 -0
  63. package/www/capacitor/results/rfid/FileData.js +9 -0
  64. package/www/capacitor/results/rfid/RFIDSessionData.js +16 -0
  65. package/www/capacitor/results/rfid/RFIDValidity.js +7 -0
  66. package/www/capacitor/results/rfid/RFIDValue.js +10 -0
  67. package/www/capacitor/results/rfid/SecurityObject.js +10 -0
  68. package/www/capacitor/results/rfid/SecurityObjectCertificates.js +6 -0
  69. package/www/capacitor/results/rfid/SignerInfo.js +17 -0
  70. package/www/capacitor/results/status/OpticalStatus.js +14 -0
  71. package/www/capacitor/results/status/RFIDStatus.js +12 -0
  72. package/www/capacitor/results/status/ResultsStatus.js +12 -0
  73. package/www/capacitor/results/visible_digital_seals/BytesData.js +9 -0
  74. package/www/capacitor/results/visible_digital_seals/VDSNCData.js +14 -0
  75. package/www/capacitor/results/visual_results/Comparison.js +8 -0
  76. package/www/capacitor/results/visual_results/GraphicField.js +14 -0
  77. package/www/capacitor/results/visual_results/GraphicResult.js +6 -0
  78. package/www/capacitor/results/visual_results/RFIDOrigin.js +9 -0
  79. package/www/capacitor/results/visual_results/Rect.js +9 -0
  80. package/www/capacitor/results/visual_results/Symbol.js +8 -0
  81. package/www/capacitor/results/visual_results/TextField.js +17 -0
  82. package/www/capacitor/results/visual_results/TextResult.js +10 -0
  83. package/www/capacitor/results/visual_results/TextSource.js +8 -0
  84. package/www/capacitor/results/visual_results/Validity.js +7 -0
  85. package/www/capacitor/results/visual_results/Value.js +13 -0
  86. package/www/capacitor/rfid/PAAttribute.js +7 -0
  87. package/www/capacitor/rfid/PAResourcesIssuer.js +8 -0
  88. package/www/capacitor/rfid/PKDCertificate.js +8 -0
  89. package/www/capacitor/rfid/RFIDNotification.js +8 -0
  90. package/www/capacitor/rfid/TAChallenge.js +10 -0
  91. package/www/capacitor/rfid/TccParams.js +10 -0
  92. package/www/cordova.js +1122 -2
  93. package/www/react-native/config/OnlineProcessingConfig.js +11 -0
  94. package/www/react-native/config/RecognizeConfig.js +23 -0
  95. package/www/react-native/config/ScannerConfig.js +10 -0
  96. package/www/react-native/info/DocReaderException.js +7 -0
  97. package/www/react-native/info/DocReaderScenario.js +18 -0
  98. package/www/react-native/info/DocReaderVersion.js +9 -0
  99. package/www/react-native/info/DocumentsDatabase.js +12 -0
  100. package/www/react-native/info/License.js +8 -0
  101. package/www/react-native/info/PrepareProgress.js +8 -0
  102. package/www/react-native/info/RFIDException.js +7 -0
  103. package/www/react-native/params/Functionality.js +44 -0
  104. package/www/react-native/params/customization/Customization.js +76 -0
  105. package/www/react-native/params/customization/CustomizationColors.js +13 -0
  106. package/www/react-native/params/customization/CustomizationFonts.js +8 -0
  107. package/www/react-native/params/customization/CustomizationImages.js +6 -0
  108. package/www/react-native/params/customization/Font.js +8 -0
  109. package/www/react-native/params/process_params/AuthenticityParams.js +21 -0
  110. package/www/react-native/params/process_params/BackendProcessingConfig.js +9 -0
  111. package/www/react-native/params/process_params/FaceApiParams.js +13 -0
  112. package/www/react-native/params/process_params/FaceApiSearchParams.js +8 -0
  113. package/www/react-native/params/process_params/GlaresCheckParams.js +7 -0
  114. package/www/react-native/params/process_params/ImageQA.js +16 -0
  115. package/www/react-native/params/process_params/LivenessParams.js +12 -0
  116. package/www/react-native/params/process_params/ProcessParams.js +82 -2
  117. package/www/react-native/params/process_params/RfidParams.js +6 -0
  118. package/www/react-native/params/rfid_scenario/DTCDataGroup.js +10 -0
  119. package/www/react-native/params/rfid_scenario/EDLDataGroups.js +19 -0
  120. package/www/react-native/params/rfid_scenario/EIDDataGroups.js +26 -0
  121. package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +21 -0
  122. package/www/react-native/params/rfid_scenario/RFIDScenario.js +67 -0
  123. package/www/react-native/results/Position.js +28 -0
  124. package/www/react-native/results/Results.js +25 -0
  125. package/www/react-native/results/TransactionInfo.js +8 -0
  126. package/www/react-native/results/authenticity/AuthenticityCheck.js +10 -0
  127. package/www/react-native/results/authenticity/AuthenticityElement.js +10 -0
  128. package/www/react-native/results/authenticity/AuthenticityResult.js +7 -0
  129. package/www/react-native/results/barcode/BarcodeField.js +10 -0
  130. package/www/react-native/results/barcode/BarcodeResult.js +6 -0
  131. package/www/react-native/results/barcode/PDF417Info.js +8 -0
  132. package/www/react-native/results/image_quality/ImageQuality.js +9 -0
  133. package/www/react-native/results/image_quality/ImageQualityGroup.js +9 -0
  134. package/www/react-native/results/rfid/AccessControlProcedureType.js +9 -0
  135. package/www/react-native/results/rfid/Application.js +12 -0
  136. package/www/react-native/results/rfid/Attribute.js +7 -0
  137. package/www/react-native/results/rfid/Authority.js +8 -0
  138. package/www/react-native/results/rfid/CardProperties.js +19 -0
  139. package/www/react-native/results/rfid/CertificateChain.js +18 -0
  140. package/www/react-native/results/rfid/CertificateData.js +7 -0
  141. package/www/react-native/results/rfid/DataField.js +7 -0
  142. package/www/react-native/results/rfid/Extension.js +7 -0
  143. package/www/react-native/results/rfid/File.js +17 -0
  144. package/www/react-native/results/rfid/FileData.js +9 -0
  145. package/www/react-native/results/rfid/RFIDSessionData.js +16 -0
  146. package/www/react-native/results/rfid/RFIDValidity.js +7 -0
  147. package/www/react-native/results/rfid/RFIDValue.js +10 -0
  148. package/www/react-native/results/rfid/SecurityObject.js +10 -0
  149. package/www/react-native/results/rfid/SecurityObjectCertificates.js +6 -0
  150. package/www/react-native/results/rfid/SignerInfo.js +17 -0
  151. package/www/react-native/results/status/OpticalStatus.js +14 -0
  152. package/www/react-native/results/status/RFIDStatus.js +12 -0
  153. package/www/react-native/results/status/ResultsStatus.js +12 -0
  154. package/www/react-native/results/visible_digital_seals/BytesData.js +9 -0
  155. package/www/react-native/results/visible_digital_seals/VDSNCData.js +14 -0
  156. package/www/react-native/results/visual_results/Comparison.js +8 -0
  157. package/www/react-native/results/visual_results/GraphicField.js +14 -0
  158. package/www/react-native/results/visual_results/GraphicResult.js +6 -0
  159. package/www/react-native/results/visual_results/RFIDOrigin.js +9 -0
  160. package/www/react-native/results/visual_results/Rect.js +9 -0
  161. package/www/react-native/results/visual_results/Symbol.js +8 -0
  162. package/www/react-native/results/visual_results/TextField.js +17 -0
  163. package/www/react-native/results/visual_results/TextResult.js +10 -0
  164. package/www/react-native/results/visual_results/TextSource.js +8 -0
  165. package/www/react-native/results/visual_results/Validity.js +7 -0
  166. package/www/react-native/results/visual_results/Value.js +13 -0
  167. package/www/react-native/rfid/PAAttribute.js +7 -0
  168. package/www/react-native/rfid/PAResourcesIssuer.js +8 -0
  169. package/www/react-native/rfid/PKDCertificate.js +8 -0
  170. package/www/react-native/rfid/RFIDNotification.js +8 -0
  171. package/www/react-native/rfid/TAChallenge.js +10 -0
  172. package/www/react-native/rfid/TccParams.js +10 -0
package/www/cordova.js CHANGED
@@ -112,6 +112,17 @@ class OnlineProcessingConfig {
112
112
 
113
113
  return result
114
114
  }
115
+
116
+ toJson() {
117
+ return {
118
+ "mode": this.mode,
119
+ "url": this.url,
120
+ "imageFormat": this.imageFormat,
121
+ "imageCompressionQuality": this.imageCompressionQuality,
122
+ "processParams": this.processParams?.toJson(),
123
+ "requestHeaders": this.requestHeaders,
124
+ }
125
+ }
115
126
  }
116
127
 
117
128
  const ImageFormat = {
@@ -273,6 +284,21 @@ class RecognizeConfig {
273
284
 
274
285
  return result
275
286
  }
287
+
288
+ toJson() {
289
+ return {
290
+ "scenario": this.scenario,
291
+ "onlineProcessingConfig": this.onlineProcessingConfig?.toJson(),
292
+ "image": this.image,
293
+ "images": this.images,
294
+ "data": this.data,
295
+ "imageInputData": this.imageInputData?.map(e => e.toJson()),
296
+ "dtc": this.dtc,
297
+ "livePortrait": this.livePortrait,
298
+ "extPortrait": this.extPortrait,
299
+ "oneShotIdentification": this.oneShotIdentification,
300
+ }
301
+ }
276
302
  }
277
303
 
278
304
  class ImageInputData {
@@ -295,6 +321,14 @@ class ImageInputData {
295
321
 
296
322
  return result
297
323
  }
324
+
325
+ toJson() {
326
+ return {
327
+ "image": this.image,
328
+ "light": this.light,
329
+ "pageIndex": this.pageIndex,
330
+ }
331
+ }
298
332
  }
299
333
 
300
334
 
@@ -348,6 +382,16 @@ class ScannerConfig {
348
382
 
349
383
  return result
350
384
  }
385
+
386
+ toJson() {
387
+ return {
388
+ "scenario": this.scenario,
389
+ "onlineProcessingConfig": this.onlineProcessingConfig?.toJson(),
390
+ "livePortrait": this.livePortrait,
391
+ "extPortrait": this.extPortrait,
392
+ "cameraId": this.cameraId,
393
+ }
394
+ }
351
395
  }
352
396
 
353
397
 
@@ -1130,6 +1174,13 @@ class DocReaderException {
1130
1174
 
1131
1175
  return result
1132
1176
  }
1177
+
1178
+ toJson() {
1179
+ return {
1180
+ "code": this.code,
1181
+ "message": this.message,
1182
+ }
1183
+ }
1133
1184
  }
1134
1185
 
1135
1186
  const ErrorCodes = {
@@ -1228,6 +1279,24 @@ class DocReaderScenario {
1228
1279
 
1229
1280
  return result
1230
1281
  }
1282
+
1283
+ toJson() {
1284
+ return {
1285
+ "uvTorch": this.uvTorch,
1286
+ "frameOrientation": this.frameOrientation,
1287
+ "faceExt": this.faceExt,
1288
+ "multiPageOff": this.multiPageOff,
1289
+ "seriesProcessMode": this.seriesProcessMode,
1290
+ "frameKWHLandscape": this.frameKWHLandscape,
1291
+ "frameKWHPortrait": this.frameKWHPortrait,
1292
+ "frameKWHDoublePageSpreadPortrait": this.frameKWHDoublePageSpreadPortrait,
1293
+ "frameKWHDoublePageSpreadLandscape": this.frameKWHDoublePageSpreadLandscape,
1294
+ "name": this.name,
1295
+ "caption": this.caption,
1296
+ "description": this.description,
1297
+ "manualCrop": this.manualCrop,
1298
+ }
1299
+ }
1231
1300
  }
1232
1301
 
1233
1302
  const Scenario = {
@@ -1298,6 +1367,15 @@ class DocReaderVersion {
1298
1367
 
1299
1368
  return result
1300
1369
  }
1370
+
1371
+ toJson() {
1372
+ return {
1373
+ "api": this.api,
1374
+ "core": this.core,
1375
+ "coreMode": this.coreMode,
1376
+ "database": this.database?.toJson(),
1377
+ }
1378
+ }
1301
1379
  }
1302
1380
 
1303
1381
 
@@ -1339,6 +1417,18 @@ class DocumentsDatabase {
1339
1417
 
1340
1418
  return result
1341
1419
  }
1420
+
1421
+ toJson() {
1422
+ return {
1423
+ "databaseID": this.databaseID,
1424
+ "version": this.version,
1425
+ "date": this.date,
1426
+ "databaseDescription": this.databaseDescription,
1427
+ "countriesNumber": this.countriesNumber,
1428
+ "documentsNumber": this.documentsNumber,
1429
+ "size": this.size,
1430
+ }
1431
+ }
1342
1432
  }
1343
1433
 
1344
1434
 
@@ -1375,6 +1465,14 @@ class License {
1375
1465
 
1376
1466
  return result
1377
1467
  }
1468
+
1469
+ toJson() {
1470
+ return {
1471
+ "expiryDate": this.expiryDate,
1472
+ "countryFilter": this.countryFilter,
1473
+ "isRfidAvailable": this.isRfidAvailable,
1474
+ }
1475
+ }
1378
1476
  }
1379
1477
 
1380
1478
 
@@ -1412,6 +1510,14 @@ class PrepareProgress {
1412
1510
  jsonObject["progress"]
1413
1511
  )
1414
1512
  }
1513
+
1514
+ toJson() {
1515
+ return {
1516
+ "downloadedBytes": this.downloadedBytes,
1517
+ "totalBytes": this.totalBytes,
1518
+ "progress": this.progress,
1519
+ }
1520
+ }
1415
1521
  }
1416
1522
 
1417
1523
 
@@ -1446,6 +1552,13 @@ class RFIDException {
1446
1552
 
1447
1553
  return result
1448
1554
  }
1555
+
1556
+ toJson() {
1557
+ return {
1558
+ "code": this.code,
1559
+ "message": this.message,
1560
+ }
1561
+ }
1449
1562
  }
1450
1563
 
1451
1564
 
@@ -1869,6 +1982,43 @@ class Functionality {
1869
1982
  return result;
1870
1983
  }
1871
1984
 
1985
+ toJson() {
1986
+ return {
1987
+ "pictureOnBoundsReady": this.pictureOnBoundsReady,
1988
+ "showTorchButton": this.showTorchButton,
1989
+ "showCloseButton": this.showCloseButton,
1990
+ "videoCaptureMotionControl": this.videoCaptureMotionControl,
1991
+ "showCaptureButton": this.showCaptureButton,
1992
+ "showChangeFrameButton": this.showChangeFrameButton,
1993
+ "showSkipNextPageButton": this.showSkipNextPageButton,
1994
+ "useAuthenticator": this.useAuthenticator,
1995
+ "skipFocusingFrames": this.skipFocusingFrames,
1996
+ "showCameraSwitchButton": this.showCameraSwitchButton,
1997
+ "displayMetadata": this.displayMetadata,
1998
+ "isZoomEnabled": this.isZoomEnabled,
1999
+ "isCameraTorchCheckDisabled": this.isCameraTorchCheckDisabled,
2000
+ "recordScanningProcess": this.recordScanningProcess,
2001
+ "manualMultipageMode": this.manualMultipageMode,
2002
+ "singleResult": this.singleResult,
2003
+ "torchTurnedOn": this.torchTurnedOn,
2004
+ "showCaptureButtonDelayFromDetect": this.showCaptureButtonDelayFromDetect,
2005
+ "showCaptureButtonDelayFromStart": this.showCaptureButtonDelayFromStart,
2006
+ "rfidTimeout": this.rfidTimeout,
2007
+ "forcePagesCount": this.forcePagesCount,
2008
+ "orientation": this.orientation,
2009
+ "captureMode": this.captureMode,
2010
+ "cameraMode": this.cameraMode,
2011
+ "cameraPositionIOS": this.cameraPositionIOS,
2012
+ "cameraFrame": this.cameraFrame,
2013
+ "btDeviceName": this.btDeviceName,
2014
+ "zoomFactor": this.zoomFactor,
2015
+ "exposure": this.exposure,
2016
+ "excludedCamera2Models": this.excludedCamera2Models,
2017
+ "cameraSize": this.cameraResolutionAndroid?.toJson(),
2018
+ "videoSessionPreset": this.cameraResolutionIOS,
2019
+ }
2020
+ }
2021
+
1872
2022
  _apply() { this._set(this); }
1873
2023
  _set(json) {
1874
2024
  if (this === _index__WEBPACK_IMPORTED_MODULE_1__.DocumentReader.instance.functionality)
@@ -1934,6 +2084,13 @@ class CameraSize {
1934
2084
  if (jsonObject == null) return null;
1935
2085
  return new CameraSize(jsonObject["width"], jsonObject["height"]);
1936
2086
  }
2087
+
2088
+ toJson() {
2089
+ return {
2090
+ "width": this.width,
2091
+ "height": this.height,
2092
+ }
2093
+ }
1937
2094
  }
1938
2095
 
1939
2096
 
@@ -2474,6 +2631,82 @@ class Customization {
2474
2631
  return result;
2475
2632
  }
2476
2633
 
2634
+ toJson() {
2635
+ return {
2636
+ "showStatusMessages": this.showStatusMessages,
2637
+ "showResultStatusMessages": this.showResultStatusMessages,
2638
+ "showHelpAnimation": this.showHelpAnimation,
2639
+ "showNextPageAnimation": this.showNextPageAnimation,
2640
+ "showBackgroundMask": this.showBackgroundMask,
2641
+ "cameraFrameBorderWidth": this.cameraFrameBorderWidth,
2642
+ "cameraFrameLineLength": this.cameraFrameLineLength,
2643
+ "cameraFrameShapeType": this.cameraFrameShapeType,
2644
+ "cameraFrameOffsetWidth": this.cameraFrameOffsetWidth,
2645
+ "status": this.status,
2646
+ "resultStatus": this.resultStatus,
2647
+ "multipageButtonText": this.multipageButtonText,
2648
+ "cameraFrameDefaultColor": this.cameraFrameDefaultColor,
2649
+ "cameraFrameActiveColor": this.cameraFrameActiveColor,
2650
+ "statusTextColor": this.statusTextColor,
2651
+ "resultStatusTextColor": this.resultStatusTextColor,
2652
+ "resultStatusBackgroundColor": this.resultStatusBackgroundColor,
2653
+ "multipageButtonBackgroundColor": this.multipageButtonBackgroundColor,
2654
+ "tintColor": this.tintColor,
2655
+ "activityIndicatorColor": this.activityIndicatorColor,
2656
+ "statusBackgroundColor": this.statusBackgroundColor,
2657
+ "cameraPreviewBackgroundColor": this.cameraPreviewBackgroundColor,
2658
+ "backgroundMaskColor": this.backgroundMaskColor,
2659
+ "multipageButtonTextColor": this.multipageButtonTextColor,
2660
+ "statusPositionMultiplier": this.statusPositionMultiplier,
2661
+ "resultStatusPositionMultiplier": this.resultStatusPositionMultiplier,
2662
+ "toolbarSize": this.toolbarSize,
2663
+ "backgroundMaskAlpha": this.backgroundMaskAlpha,
2664
+ "customStatusPositionMultiplier": this.customStatusPositionMultiplier,
2665
+ "cameraFrameVerticalPositionMultiplier": this.cameraFrameVerticalPositionMultiplier,
2666
+ "cameraFrameLandscapeAspectRatio": this.cameraFrameLandscapeAspectRatio,
2667
+ "cameraFramePortraitAspectRatio": this.cameraFramePortraitAspectRatio,
2668
+ "cameraFrameCornerRadius": this.cameraFrameCornerRadius,
2669
+ "livenessAnimationPositionMultiplier": this.livenessAnimationPositionMultiplier,
2670
+ "nextPageAnimationStartDelay": this.nextPageAnimationStartDelay,
2671
+ "nextPageAnimationEndDelay": this.nextPageAnimationEndDelay,
2672
+ "activityIndicatorPortraitPositionMultiplier": this.activityIndicatorPortraitPositionMultiplier,
2673
+ "activityIndicatorLandscapePositionMultiplier": this.activityIndicatorLandscapePositionMultiplier,
2674
+ "cameraPreviewVerticalPositionMultiplier": this.cameraPreviewVerticalPositionMultiplier,
2675
+ "multipageAnimationFrontImage": this.multipageAnimationFrontImage,
2676
+ "multipageAnimationBackImage": this.multipageAnimationBackImage,
2677
+ "borderBackgroundImage": this.borderBackgroundImage,
2678
+ "helpAnimationImage": this.helpAnimationImage,
2679
+ "closeButtonImage": this.closeButtonImage,
2680
+ "captureButtonImage": this.captureButtonImage,
2681
+ "cameraSwitchButtonImage": this.cameraSwitchButtonImage,
2682
+ "torchButtonOnImage": this.torchButtonOnImage,
2683
+ "torchButtonOffImage": this.torchButtonOffImage,
2684
+ "changeFrameButtonExpandImage": this.changeFrameButtonExpandImage,
2685
+ "changeFrameButtonCollapseImage": this.changeFrameButtonCollapseImage,
2686
+ "livenessAnimationImage": this.livenessAnimationImage,
2687
+ "multipageButtonImage": this.multipageButtonImage,
2688
+ "customLabelStatus": this.customLabelStatus,
2689
+ "cameraFrameLineCap": this.cameraFrameLineCap,
2690
+ "uiCustomizationLayer": this.uiCustomizationLayer,
2691
+ "statusTextFont": this.statusTextFont?.toJson(),
2692
+ "resultStatusTextFont": this.resultStatusTextFont?.toJson(),
2693
+ "multipageButtonTextFont": this.multipageButtonTextFont?.toJson(),
2694
+ "helpAnimationImageContentMode": this.helpAnimationImageTransformsIOS,
2695
+ "multipageAnimationFrontImageContentMode": this.multipageAnimationFrontImageTransformsIOS,
2696
+ "multipageAnimationBackImageContentMode": this.multipageAnimationBackImageTransformsIOS,
2697
+ "livenessAnimationImageContentMode": this.livenessAnimationImageTransformsIOS,
2698
+ "borderBackgroundImageContentMode": this.borderBackgroundImageTransformsIOS,
2699
+ "helpAnimationImageMatrix": this.helpAnimationImageTransformsAndroid,
2700
+ "multipageAnimationFrontImageMatrix": this.multipageAnimationFrontImageTransformsAndroid,
2701
+ "multipageAnimationBackImageMatrix": this.multipageAnimationBackImageTransformsAndroid,
2702
+ "livenessAnimationImageMatrix": this.livenessAnimationImageTransformsAndroid,
2703
+ "borderBackgroundImageMatrix": this.borderBackgroundImageTransformsAndroid,
2704
+ "colors": this.colors?.toJson(),
2705
+ "fonts": this.fonts?.toJson(),
2706
+ "images": this.images?.toJson(),
2707
+ }
2708
+ }
2709
+
2477
2710
  _apply() { this._set(this); }
2478
2711
  _set(json) {
2479
2712
  if (this === _index__WEBPACK_IMPORTED_MODULE_1__.DocumentReader.instance.customization)
@@ -2604,6 +2837,19 @@ class CustomizationColors {
2604
2837
  var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
2605
2838
  if (this === parent.colors) parent._set(parentJson);
2606
2839
  }
2840
+
2841
+ toJson() {
2842
+ return {
2843
+ "rfidProcessingScreenBackground": this.rfidProcessingScreenBackground,
2844
+ "rfidProcessingScreenHintLabelText": this.rfidProcessingScreenHintLabelText,
2845
+ "rfidProcessingScreenHintLabelBackground": this.rfidProcessingScreenHintLabelBackground,
2846
+ "rfidProcessingScreenProgressLabelText": this.rfidProcessingScreenProgressLabelText,
2847
+ "rfidProcessingScreenProgressBar": this.rfidProcessingScreenProgressBar,
2848
+ "rfidProcessingScreenProgressBarBackground": this.rfidProcessingScreenProgressBarBackground,
2849
+ "rfidProcessingScreenResultLabelText": this.rfidProcessingScreenResultLabelText,
2850
+ "rfidProcessingScreenLoadingBar": this.rfidProcessingScreenLoadingBar,
2851
+ }
2852
+ }
2607
2853
  }
2608
2854
 
2609
2855
 
@@ -2660,6 +2906,14 @@ class CustomizationFonts {
2660
2906
  var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
2661
2907
  if (this === parent.fonts) parent._set(parentJson);
2662
2908
  }
2909
+
2910
+ toJson() {
2911
+ return {
2912
+ "rfidProcessingScreenHintLabel": this.rfidProcessingScreenHintLabel?.toJson(),
2913
+ "rfidProcessingScreenProgressLabel": this.rfidProcessingScreenProgressLabel?.toJson(),
2914
+ "rfidProcessingScreenResultLabel": this.rfidProcessingScreenResultLabel?.toJson(),
2915
+ }
2916
+ }
2663
2917
  }
2664
2918
 
2665
2919
 
@@ -2700,6 +2954,12 @@ class CustomizationImages {
2700
2954
  var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
2701
2955
  if (this === parent.images) parent._set(parentJson);
2702
2956
  }
2957
+
2958
+ toJson() {
2959
+ return {
2960
+ "rfidProcessingScreenFailureImage": this.rfidProcessingScreenFailureImage,
2961
+ }
2962
+ }
2703
2963
  }
2704
2964
 
2705
2965
 
@@ -2736,6 +2996,14 @@ class Font {
2736
2996
 
2737
2997
  return result;
2738
2998
  }
2999
+
3000
+ toJson() {
3001
+ return {
3002
+ "name": this.name,
3003
+ "size": this.size,
3004
+ "style": this.style,
3005
+ }
3006
+ }
2739
3007
  }
2740
3008
 
2741
3009
  const FontStyle = {
@@ -2888,6 +3156,27 @@ class AuthenticityParams {
2888
3156
  const parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.processParams;
2889
3157
  if (this === parent.authenticityParams) parent._set(parentJson);
2890
3158
  }
3159
+
3160
+ toJson() {
3161
+ return {
3162
+ "useLivenessCheck": this.useLivenessCheck,
3163
+ "livenessParams": this.livenessParams?.toJson(),
3164
+ "checkUVLuminiscence": this.checkUVLuminiscence,
3165
+ "checkIRB900": this.checkIRB900,
3166
+ "checkImagePatterns": this.checkImagePatterns,
3167
+ "checkFibers": this.checkFibers,
3168
+ "checkExtMRZ": this.checkExtMRZ,
3169
+ "checkExtOCR": this.checkExtOCR,
3170
+ "checkAxial": this.checkAxial,
3171
+ "checkBarcodeFormat": this.checkBarcodeFormat,
3172
+ "checkIRVisibility": this.checkIRVisibility,
3173
+ "checkIPI": this.checkIPI,
3174
+ "checkPhotoEmbedding": this.checkPhotoEmbedding,
3175
+ "checkPhotoComparison": this.checkPhotoComparison,
3176
+ "checkLetterScreen": this.checkLetterScreen,
3177
+ "checkSecurityText": this.checkSecurityText,
3178
+ }
3179
+ }
2891
3180
  }
2892
3181
 
2893
3182
 
@@ -2927,6 +3216,15 @@ class BackendProcessingConfig {
2927
3216
 
2928
3217
  return result;
2929
3218
  }
3219
+
3220
+ toJson() {
3221
+ return {
3222
+ "url": this.url,
3223
+ "rfidServerSideChipVerification": this.rfidServerSideChipVerification,
3224
+ "httpHeaders": this.httpHeaders,
3225
+ "timeoutConnection": this.timeoutConnection,
3226
+ }
3227
+ }
2930
3228
  }
2931
3229
 
2932
3230
 
@@ -2980,6 +3278,19 @@ class FaceApiParams {
2980
3278
  proxyType: jsonObject["proxyType"]
2981
3279
  });
2982
3280
  }
3281
+
3282
+ toJson() {
3283
+ return {
3284
+ "url": this.url,
3285
+ "mode": this.mode,
3286
+ "threshold": this.threshold,
3287
+ "searchParams": this.searchParams?.toJson(),
3288
+ "serviceTimeout": this.serviceTimeout,
3289
+ "proxy": this.proxy,
3290
+ "proxyPassword": this.proxyPassword,
3291
+ "proxyType": this.proxyType,
3292
+ }
3293
+ }
2983
3294
  }
2984
3295
 
2985
3296
 
@@ -3015,6 +3326,14 @@ class FaceApiSearchParams {
3015
3326
  groupIds: jsonObject["groupIds"]
3016
3327
  });
3017
3328
  }
3329
+
3330
+ toJson() {
3331
+ return {
3332
+ "limit": this.limit,
3333
+ "threshold": this.threshold,
3334
+ "groupIds": this.groupIds,
3335
+ }
3336
+ }
3018
3337
  }
3019
3338
 
3020
3339
 
@@ -3047,6 +3366,13 @@ class GlaresCheckParams {
3047
3366
  maxGlaringPart: jsonObject["maxGlaringPart"]
3048
3367
  });
3049
3368
  }
3369
+
3370
+ toJson() {
3371
+ return {
3372
+ "imgMarginPart": this.imgMarginPart,
3373
+ "maxGlaringPart": this.maxGlaringPart,
3374
+ }
3375
+ }
3050
3376
  }
3051
3377
 
3052
3378
 
@@ -3161,6 +3487,22 @@ class ImageQA {
3161
3487
  var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.processParams;
3162
3488
  if (this === parent.imageQA) parent._set(parentJson);
3163
3489
  }
3490
+
3491
+ toJson() {
3492
+ return {
3493
+ "dpiThreshold": this.dpiThreshold,
3494
+ "angleThreshold": this.angleThreshold,
3495
+ "documentPositionIndent": this.documentPositionIndent,
3496
+ "focusCheck": this.focusCheck,
3497
+ "glaresCheck": this.glaresCheck,
3498
+ "colornessCheck": this.colornessCheck,
3499
+ "screenCapture": this.screenCapture,
3500
+ "expectedPass": this.expectedPass,
3501
+ "glaresCheckParams": this.glaresCheckParams?.toJson(),
3502
+ "brightnessThreshold": this.brightnessThreshold,
3503
+ "occlusionCheck": this.occlusionCheck,
3504
+ }
3505
+ }
3164
3506
  }
3165
3507
 
3166
3508
 
@@ -3243,6 +3585,18 @@ class LivenessParams {
3243
3585
  var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.processParams.authenticityParams;
3244
3586
  if (this === parent.livenessParams) parent._set(parentJson);
3245
3587
  }
3588
+
3589
+ toJson() {
3590
+ return {
3591
+ "checkOVI": this.checkOVI,
3592
+ "checkMLI": this.checkMLI,
3593
+ "checkHolo": this.checkHolo,
3594
+ "checkED": this.checkED,
3595
+ "checkBlackAndWhiteCopy": this.checkBlackAndWhiteCopy,
3596
+ "checkDynaprint": this.checkDynaprint,
3597
+ "checkGeometry": this.checkGeometry,
3598
+ }
3599
+ }
3246
3600
  }
3247
3601
 
3248
3602
 
@@ -3730,8 +4084,8 @@ class ProcessParams {
3730
4084
 
3731
4085
  static fromJson(jsonObject) {
3732
4086
  if (jsonObject == null) return new ProcessParams();
3733
-
3734
4087
  const result = new ProcessParams();
4088
+
3735
4089
  result._multipageProcessing = jsonObject["multipageProcessing"];
3736
4090
  result._logs = jsonObject["logs"];
3737
4091
  result._debugSaveImages = jsonObject["debugSaveImages"];
@@ -3808,10 +4162,90 @@ class ProcessParams {
3808
4162
  result._backendProcessingConfig = _BackendProcessingConfig__WEBPACK_IMPORTED_MODULE_5__.BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"]);
3809
4163
  result._authenticityParams = _AuthenticityParams__WEBPACK_IMPORTED_MODULE_6__.AuthenticityParams.fromJson(jsonObject["authenticityParams"]);
3810
4164
  result._customParams = jsonObject["customParams"];
3811
-
4165
+
3812
4166
  return result;
3813
4167
  }
3814
4168
 
4169
+ toJson() {
4170
+ return {
4171
+ "multipageProcessing": this.multipageProcessing,
4172
+ "debugSaveImages": this.debugSaveImages,
4173
+ "debugSaveLogs": this.debugSaveLogs,
4174
+ "returnUncroppedImage": this.returnUncroppedImage,
4175
+ "uvTorchEnabled": this.uvTorchEnabled,
4176
+ "debugSaveCroppedImages": this.debugSaveCroppedImages,
4177
+ "disableFocusingCheck": this.disableFocusingCheck,
4178
+ "debugSaveRFIDSession": this.debugSaveRFIDSession,
4179
+ "doublePageSpread": this.doublePageSpread,
4180
+ "manualCrop": this.manualCrop,
4181
+ "integralImage": this.integralImage,
4182
+ "returnCroppedBarcode": this.returnCroppedBarcode,
4183
+ "checkRequiredTextFields": this.checkRequiredTextFields,
4184
+ "depersonalizeLog": this.depersonalizeLog,
4185
+ "generateDoublePageSpreadImage": this.generateDoublePageSpreadImage,
4186
+ "alreadyCropped": this.alreadyCropped,
4187
+ "matchTextFieldMask": this.matchTextFieldMask,
4188
+ "updateOCRValidityByGlare": this.updateOCRValidityByGlare,
4189
+ "noGraphics": this.noGraphics,
4190
+ "multiDocOnImage": this.multiDocOnImage,
4191
+ "forceReadMrzBeforeLocate": this.forceReadMrzBeforeLocate,
4192
+ "parseBarcodes": this.parseBarcodes,
4193
+ "shouldReturnPackageForReprocess": this.shouldReturnPackageForReprocess,
4194
+ "disablePerforationOCR": this.disablePerforationOCR,
4195
+ "respectImageQuality": this.respectImageQuality,
4196
+ "strictImageQuality": this.strictImageQuality,
4197
+ "splitNames": this.splitNames,
4198
+ "useFaceApi": this.useFaceApi,
4199
+ "useAuthenticityCheck": this.useAuthenticityCheck,
4200
+ "checkHologram": this.checkHologram,
4201
+ "generateNumericCodes": this.generateNumericCodes,
4202
+ "strictBarcodeDigitalSignatureCheck": this.strictBarcodeDigitalSignatureCheck,
4203
+ "selectLongestNames": this.selectLongestNames,
4204
+ "generateDTCVC": this.generateDTCVC,
4205
+ "strictDLCategoryExpiry": this.strictDLCategoryExpiry,
4206
+ "generateAlpha2Codes": this.generateAlpha2Codes,
4207
+ "disableAuthResolutionFilter": this.disableAuthResolutionFilter,
4208
+ "measureSystem": this.measureSystem,
4209
+ "barcodeParserType": this.barcodeParserType,
4210
+ "perspectiveAngle": this.perspectiveAngle,
4211
+ "minDPI": this.minDPI,
4212
+ "imageDpiOutMax": this.imageDpiOutMax,
4213
+ "forceDocID": this.forceDocID,
4214
+ "pdfPagesLimit": this.pdfPagesLimit,
4215
+ "forceDocFormat": this.forceDocFormat,
4216
+ "shiftExpiryDate": this.shiftExpiryDate,
4217
+ "minimalHolderAge": this.minimalHolderAge,
4218
+ "imageOutputMaxHeight": this.imageOutputMaxHeight,
4219
+ "imageOutputMaxWidth": this.imageOutputMaxWidth,
4220
+ "processAuth": this.processAuth,
4221
+ "convertCase": this.convertCase,
4222
+ "logLevel": this.logLevel,
4223
+ "mrzDetectMode": this.mrzDetectMode,
4224
+ "dateFormat": this.dateFormat,
4225
+ "scenario": this.scenario,
4226
+ "captureButtonScenario": this.captureButtonScenario,
4227
+ "timeout": this.timeout,
4228
+ "timeoutFromFirstDetect": this.timeoutFromFirstDetect,
4229
+ "timeoutFromFirstDocType": this.timeoutFromFirstDocType,
4230
+ "documentAreaMin": this.documentAreaMin,
4231
+ "timeoutLiveness": this.timeoutLiveness,
4232
+ "documentIDList": this.documentIDList,
4233
+ "barcodeTypes": this.barcodeTypes,
4234
+ "fieldTypesFilter": this.fieldTypesFilter,
4235
+ "resultTypeOutput": this.resultTypeOutput,
4236
+ "mrzFormatsFilter": this.mrzFormatsFilter,
4237
+ "documentGroupFilter": this.documentGroupFilter,
4238
+ "lcidIgnoreFilter": this.lcidIgnoreFilter,
4239
+ "lcidFilter": this.lcidFilter,
4240
+ "imageQA": this.imageQA?.toJson(),
4241
+ "rfidParams": this.rfidParams?.toJson(),
4242
+ "faceApiParams": this.faceApiParams?.toJson(),
4243
+ "backendProcessingConfig": this.backendProcessingConfig?.toJson(),
4244
+ "authenticityParams": this.authenticityParams?.toJson(),
4245
+ "customParams": this.customParams,
4246
+ }
4247
+ }
4248
+
3815
4249
  _apply() { this._set(this); }
3816
4250
  _set(json) {
3817
4251
  if (this === _index__WEBPACK_IMPORTED_MODULE_1__.DocumentReader.instance.processParams)
@@ -3874,6 +4308,12 @@ class RFIDParams {
3874
4308
  paIgnoreNotificationCodes: jsonObject["paIgnoreNotificationCodes"]
3875
4309
  });
3876
4310
  }
4311
+
4312
+ toJson() {
4313
+ return {
4314
+ "paIgnoreNotificationCodes": this.paIgnoreNotificationCodes,
4315
+ }
4316
+ }
3877
4317
  }
3878
4318
 
3879
4319
 
@@ -3942,6 +4382,16 @@ class DTCDataGroup {
3942
4382
  var rfidScenario = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.rfidScenario;
3943
4383
  if (this === rfidScenario.dtcDataGroups) rfidScenario._set(rfidScenarioJson);
3944
4384
  }
4385
+
4386
+ toJson() {
4387
+ return {
4388
+ "DG17": this.dg17,
4389
+ "DG18": this.dg18,
4390
+ "DG22": this.dg22,
4391
+ "DG23": this.dg23,
4392
+ "DG24": this.dg24,
4393
+ }
4394
+ }
3945
4395
  }
3946
4396
 
3947
4397
 
@@ -4073,6 +4523,25 @@ class EDLDataGroups {
4073
4523
  var rfidScenario = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.rfidScenario;
4074
4524
  if (this === rfidScenario.eDLDataGroups) rfidScenario._set(rfidScenarioJson);
4075
4525
  }
4526
+
4527
+ toJson() {
4528
+ return {
4529
+ "DG1": this.dg1,
4530
+ "DG2": this.dg2,
4531
+ "DG3": this.dg3,
4532
+ "DG4": this.dg4,
4533
+ "DG5": this.dg5,
4534
+ "DG6": this.dg6,
4535
+ "DG7": this.dg7,
4536
+ "DG8": this.dg8,
4537
+ "DG9": this.dg9,
4538
+ "DG10": this.dg10,
4539
+ "DG11": this.dg11,
4540
+ "DG12": this.dg12,
4541
+ "DG13": this.dg13,
4542
+ "DG14": this.dg14,
4543
+ }
4544
+ }
4076
4545
  }
4077
4546
 
4078
4547
 
@@ -4253,6 +4722,32 @@ class EIDDataGroups {
4253
4722
  var rfidScenario = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.rfidScenario;
4254
4723
  if (this === rfidScenario.eIDDataGroups) rfidScenario._set(rfidScenarioJson);
4255
4724
  }
4725
+
4726
+ toJson() {
4727
+ return {
4728
+ "DG1": this.dg1,
4729
+ "DG2": this.dg2,
4730
+ "DG3": this.dg3,
4731
+ "DG4": this.dg4,
4732
+ "DG5": this.dg5,
4733
+ "DG6": this.dg6,
4734
+ "DG7": this.dg7,
4735
+ "DG8": this.dg8,
4736
+ "DG9": this.dg9,
4737
+ "DG10": this.dg10,
4738
+ "DG11": this.dg11,
4739
+ "DG12": this.dg12,
4740
+ "DG13": this.dg13,
4741
+ "DG14": this.dg14,
4742
+ "DG15": this.dg15,
4743
+ "DG16": this.dg16,
4744
+ "DG17": this.dg17,
4745
+ "DG18": this.dg18,
4746
+ "DG19": this.dg19,
4747
+ "DG20": this.dg20,
4748
+ "DG21": this.dg21,
4749
+ }
4750
+ }
4256
4751
  }
4257
4752
 
4258
4753
 
@@ -4398,6 +4893,27 @@ class EPassportDataGroups {
4398
4893
  var rfidScenario = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.rfidScenario;
4399
4894
  if (this === rfidScenario.ePassportDataGroups) rfidScenario._set(rfidScenarioJson);
4400
4895
  }
4896
+
4897
+ toJson() {
4898
+ return {
4899
+ "DG1": this.dg1,
4900
+ "DG2": this.dg2,
4901
+ "DG3": this.dg3,
4902
+ "DG4": this.dg4,
4903
+ "DG5": this.dg5,
4904
+ "DG6": this.dg6,
4905
+ "DG7": this.dg7,
4906
+ "DG8": this.dg8,
4907
+ "DG9": this.dg9,
4908
+ "DG10": this.dg10,
4909
+ "DG11": this.dg11,
4910
+ "DG12": this.dg12,
4911
+ "DG13": this.dg13,
4912
+ "DG14": this.dg14,
4913
+ "DG15": this.dg15,
4914
+ "DG16": this.dg16,
4915
+ }
4916
+ }
4401
4917
  }
4402
4918
 
4403
4919
 
@@ -4865,6 +5381,73 @@ class RFIDScenario {
4865
5381
  return result;
4866
5382
  }
4867
5383
 
5384
+ toJson() {
5385
+ return {
5386
+ "paceStaticBinding": this.paceStaticBinding,
5387
+ "onlineTA": this.onlineTA,
5388
+ "writeEid": this.writeEid,
5389
+ "universalAccessRights": this.universalAccessRights,
5390
+ "authorizedRestrictedIdentification": this.authorizedRestrictedIdentification,
5391
+ "auxVerificationCommunityID": this.auxVerificationCommunityID,
5392
+ "auxVerificationDateOfBirth": this.auxVerificationDateOfBirth,
5393
+ "skipAA": this.skipAA,
5394
+ "strictProcessing": this.strictProcessing,
5395
+ "pkdDSCertPriority": this.pkdDSCertPriority,
5396
+ "pkdUseExternalCSCA": this.pkdUseExternalCSCA,
5397
+ "trustedPKD": this.trustedPKD,
5398
+ "passiveAuth": this.passiveAuth,
5399
+ "useSFI": this.useSFI,
5400
+ "readEPassport": this.readEPassport,
5401
+ "readEID": this.readEID,
5402
+ "readEDL": this.readEDL,
5403
+ "authorizedSTSignature": this.authorizedSTSignature,
5404
+ "authorizedSTQSignature": this.authorizedSTQSignature,
5405
+ "authorizedWriteDG17": this.authorizedWriteDG17,
5406
+ "authorizedWriteDG18": this.authorizedWriteDG18,
5407
+ "authorizedWriteDG19": this.authorizedWriteDG19,
5408
+ "authorizedWriteDG20": this.authorizedWriteDG20,
5409
+ "authorizedWriteDG21": this.authorizedWriteDG21,
5410
+ "authorizedVerifyAge": this.authorizedVerifyAge,
5411
+ "authorizedVerifyCommunityID": this.authorizedVerifyCommunityID,
5412
+ "authorizedPrivilegedTerminal": this.authorizedPrivilegedTerminal,
5413
+ "authorizedCANAllowed": this.authorizedCANAllowed,
5414
+ "authorizedPINManagement": this.authorizedPINManagement,
5415
+ "authorizedInstallCert": this.authorizedInstallCert,
5416
+ "authorizedInstallQCert": this.authorizedInstallQCert,
5417
+ "applyAmendments": this.applyAmendments,
5418
+ "autoSettings": this.autoSettings,
5419
+ "proceedReadingAlways": this.proceedReadingAlways,
5420
+ "readDTC": this.readDTC,
5421
+ "mrzStrictCheck": this.mrzStrictCheck,
5422
+ "loadCRLFromRemote": this.loadCRLFromRemote,
5423
+ "independentSODStatus": this.independentSODStatus,
5424
+ "readingBuffer": this.readingBuffer,
5425
+ "onlineTAToSignDataType": this.onlineTAToSignDataType,
5426
+ "defaultReadingBufferSize": this.defaultReadingBufferSize,
5427
+ "signManagementAction": this.signManagementAction,
5428
+ "profilerType": this.profilerType,
5429
+ "authProcType": this.authProcType,
5430
+ "baseSMProcedure": this.baseSMProcedure,
5431
+ "pacePasswordType": this.pacePasswordType,
5432
+ "terminalType": this.terminalType,
5433
+ "password": this.password,
5434
+ "pkdPA": this.pkdPA,
5435
+ "pkdEAC": this.pkdEAC,
5436
+ "mrz": this.mrz,
5437
+ "eSignPINDefault": this.eSignPINDefault,
5438
+ "eSignPINNewValue": this.eSignPINNewValue,
5439
+ "cardAccess": this.cardAccess,
5440
+ "mrzHash": this.mrzHash,
5441
+ "documentNumber": this.documentNumber,
5442
+ "dateOfBirth": this.dateOfBirth,
5443
+ "dateOfExpiry": this.dateOfExpiry,
5444
+ "eDLDataGroups": this.eDLDataGroups?.toJson(),
5445
+ "ePassportDataGroups": this.ePassportDataGroups?.toJson(),
5446
+ "eIDDataGroups": this.eIDDataGroups?.toJson(),
5447
+ "dtcDataGroups": this.dtcDataGroups?.toJson(),
5448
+ }
5449
+ }
5450
+
4868
5451
  _apply() { this._set(this); }
4869
5452
  _set(json) {
4870
5453
  if (this === _index__WEBPACK_IMPORTED_MODULE_1__.DocumentReader.instance.rfidScenario)
@@ -5298,6 +5881,27 @@ class Position {
5298
5881
 
5299
5882
  return result;
5300
5883
  }
5884
+
5885
+ toJson() {
5886
+ return {
5887
+ "docFormat": this.docFormat,
5888
+ "resultStatus": this.resultStatus,
5889
+ "width": this.width,
5890
+ "height": this.height,
5891
+ "angle": this.angle,
5892
+ "dpi": this.dpi,
5893
+ "inverse": this.inverse,
5894
+ "perspectiveTr": this.perspectiveTr,
5895
+ "objArea": this.objArea,
5896
+ "objIntAngleDev": this.objIntAngleDev,
5897
+ "pageIndex": this.pageIndex,
5898
+ "center": this.center?.toJson(),
5899
+ "leftTop": this.leftTop?.toJson(),
5900
+ "leftBottom": this.leftBottom?.toJson(),
5901
+ "rightTop": this.rightTop?.toJson(),
5902
+ "rightBottom": this.rightBottom?.toJson(),
5903
+ }
5904
+ }
5301
5905
  }
5302
5906
 
5303
5907
  class Coordinate {
@@ -5313,6 +5917,13 @@ class Coordinate {
5313
5917
 
5314
5918
  return result;
5315
5919
  }
5920
+
5921
+ toJson() {
5922
+ return {
5923
+ "x": this.x,
5924
+ "y": this.y,
5925
+ }
5926
+ }
5316
5927
  }
5317
5928
 
5318
5929
 
@@ -5610,6 +6221,31 @@ class Results {
5610
6221
 
5611
6222
  return result;
5612
6223
  }
6224
+
6225
+ toJson() {
6226
+ return {
6227
+ "documentType": this.documentType?.map(e => e.toJson()),
6228
+ "documentPosition": this.documentPosition?.map(e => e.toJson()),
6229
+ "barcodePosition": this.barcodePosition?.map(e => e.toJson()),
6230
+ "mrzPosition": this.mrzPosition?.map(e => e.toJson()),
6231
+ "imageQuality": this.imageQuality?.map(e => e.toJson()),
6232
+ "textResult": this.textResult?.toJson(),
6233
+ "graphicResult": this.graphicResult?.toJson(),
6234
+ "status": this.status?.toJson(),
6235
+ "authenticityResult": this.authenticityResult?.toJson(),
6236
+ "rfidSessionData": this.rfidSessionData?.toJson(),
6237
+ "barcodeResult": this.barcodeResult?.toJson(),
6238
+ "vdsncData": this.vdsncData?.toJson(),
6239
+ "dtcData": this.dtcData,
6240
+ "chipPage": this.chipPage,
6241
+ "processingFinishedStatus": this.processingFinishedStatus,
6242
+ "morePagesAvailable": this.morePagesAvailable,
6243
+ "elapsedTime": this.elapsedTime,
6244
+ "elapsedTimeRFID": this.elapsedTimeRFID,
6245
+ "rawResult": this.rawResult,
6246
+ "transactionInfo": this.transactionInfo?.toJson(),
6247
+ }
6248
+ }
5613
6249
  }
5614
6250
 
5615
6251
  const ProcessingFinishedStatus = {
@@ -5695,6 +6331,14 @@ class TransactionInfo {
5695
6331
 
5696
6332
  return result
5697
6333
  }
6334
+
6335
+ toJson() {
6336
+ return {
6337
+ "transactionId": this.transactionId,
6338
+ "tag": this.tag,
6339
+ "sessionLogFolder": this.sessionLogFolder,
6340
+ }
6341
+ }
5698
6342
  }
5699
6343
 
5700
6344
 
@@ -5782,6 +6426,16 @@ class AuthenticityCheck {
5782
6426
 
5783
6427
  return result
5784
6428
  }
6429
+
6430
+ toJson() {
6431
+ return {
6432
+ "type": this.type,
6433
+ "status": this.status,
6434
+ "pageIndex": this.pageIndex,
6435
+ "typeName": this.typeName,
6436
+ "elements": this.elements?.map(e => e.toJson()),
6437
+ }
6438
+ }
5785
6439
  }
5786
6440
 
5787
6441
 
@@ -5826,6 +6480,16 @@ class AuthenticityElement {
5826
6480
 
5827
6481
  return result
5828
6482
  }
6483
+
6484
+ toJson() {
6485
+ return {
6486
+ "status": this.status,
6487
+ "elementType": this.elementType,
6488
+ "elementDiagnose": this.elementDiagnose,
6489
+ "elementTypeName": this.elementTypeName,
6490
+ "elementDiagnoseName": this.elementDiagnoseName,
6491
+ }
6492
+ }
5829
6493
  }
5830
6494
 
5831
6495
 
@@ -5868,6 +6532,13 @@ class AuthenticityResult {
5868
6532
 
5869
6533
  return result
5870
6534
  }
6535
+
6536
+ toJson() {
6537
+ return {
6538
+ "status": this.status,
6539
+ "checks": this.checks?.map(e => e.toJson()),
6540
+ }
6541
+ }
5871
6542
  }
5872
6543
 
5873
6544
 
@@ -6120,6 +6791,16 @@ class BarcodeField {
6120
6791
 
6121
6792
  return result;
6122
6793
  }
6794
+
6795
+ toJson() {
6796
+ return {
6797
+ "barcodeType": this.barcodeType,
6798
+ "status": this.status,
6799
+ "pdf417Info": this.pdf417Info?.toJson(),
6800
+ "data": this.data,
6801
+ "pageIndex": this.pageIndex,
6802
+ }
6803
+ }
6123
6804
  }
6124
6805
 
6125
6806
 
@@ -6159,6 +6840,12 @@ class BarcodeResult {
6159
6840
 
6160
6841
  return result;
6161
6842
  }
6843
+
6844
+ toJson() {
6845
+ return {
6846
+ "fields": this.fields?.map(e => e.toJson()),
6847
+ }
6848
+ }
6162
6849
  }
6163
6850
 
6164
6851
 
@@ -6271,6 +6958,14 @@ class PDF417Info {
6271
6958
 
6272
6959
  return result;
6273
6960
  }
6961
+
6962
+ toJson() {
6963
+ return {
6964
+ "errorLevel": this.errorLevel,
6965
+ "columns": this.columns,
6966
+ "rows": this.rows,
6967
+ }
6968
+ }
6274
6969
  }
6275
6970
 
6276
6971
 
@@ -6319,6 +7014,15 @@ class ImageQuality {
6319
7014
 
6320
7015
  return result;
6321
7016
  }
7017
+
7018
+ toJson() {
7019
+ return {
7020
+ "featureType": this.featureType,
7021
+ "result": this.result,
7022
+ "type": this.type,
7023
+ "boundRects": this.boundRects?.map(e => e.toJson()),
7024
+ }
7025
+ }
6322
7026
  }
6323
7027
 
6324
7028
 
@@ -6399,6 +7103,15 @@ class ImageQualityGroup {
6399
7103
 
6400
7104
  return result;
6401
7105
  }
7106
+
7107
+ toJson() {
7108
+ return {
7109
+ "count": this.count,
7110
+ "result": this.result,
7111
+ "pageIndex": this.pageIndex,
7112
+ "imageQualityList": this.imageQualityList?.map(e => e.toJson()),
7113
+ }
7114
+ }
6402
7115
  }
6403
7116
 
6404
7117
 
@@ -6436,6 +7149,15 @@ class AccessControlProcedureType {
6436
7149
 
6437
7150
  return result;
6438
7151
  }
7152
+
7153
+ toJson() {
7154
+ return {
7155
+ "activeOptionIdx": this.activeOptionIdx,
7156
+ "notifications": this.notifications,
7157
+ "status": this.status,
7158
+ "type": this.type,
7159
+ }
7160
+ }
6439
7161
  }
6440
7162
 
6441
7163
 
@@ -6489,6 +7211,18 @@ class Application {
6489
7211
 
6490
7212
  return result;
6491
7213
  }
7214
+
7215
+ toJson() {
7216
+ return {
7217
+ "applicationID": this.applicationID,
7218
+ "dataHashAlgorithm": this.dataHashAlgorithm,
7219
+ "files": this.files?.map(e => e.toJson()),
7220
+ "status": this.status,
7221
+ "type": this.type,
7222
+ "unicodeVersion": this.unicodeVersion,
7223
+ "version": this.version,
7224
+ }
7225
+ }
6492
7226
  }
6493
7227
 
6494
7228
  const RFIDApplicationType = {
@@ -6531,6 +7265,13 @@ class Attribute {
6531
7265
 
6532
7266
  return result;
6533
7267
  }
7268
+
7269
+ toJson() {
7270
+ return {
7271
+ "type": this.type,
7272
+ "value": this.value?.toJson(),
7273
+ }
7274
+ }
6534
7275
  }
6535
7276
 
6536
7277
 
@@ -6575,6 +7316,14 @@ class Authority {
6575
7316
 
6576
7317
  return result;
6577
7318
  }
7319
+
7320
+ toJson() {
7321
+ return {
7322
+ "attributes": this.attributes?.map(e => e.toJson()),
7323
+ "data": this.data,
7324
+ "friendlyName": this.friendlyName?.toJson(),
7325
+ }
7326
+ }
6578
7327
  }
6579
7328
 
6580
7329
 
@@ -6627,6 +7376,25 @@ class CardProperties {
6627
7376
 
6628
7377
  return result;
6629
7378
  }
7379
+
7380
+ toJson() {
7381
+ return {
7382
+ "aTQA": this.aTQA,
7383
+ "bitRateR": this.bitRateR,
7384
+ "bitRateS": this.bitRateS,
7385
+ "chipTypeA": this.chipTypeA,
7386
+ "mifareMemory": this.mifareMemory,
7387
+ "rfidType": this.rfidType,
7388
+ "sAK": this.sAK,
7389
+ "support4": this.support4,
7390
+ "supportMifare": this.supportMifare,
7391
+ "aTQB": this.aTQB,
7392
+ "aTR": this.aTR,
7393
+ "baudrate1": this.baudrate1,
7394
+ "baudrate2": this.baudrate2,
7395
+ "uID": this.uID,
7396
+ }
7397
+ }
6630
7398
  }
6631
7399
 
6632
7400
 
@@ -6697,6 +7465,24 @@ class CertificateChain {
6697
7465
 
6698
7466
  return result;
6699
7467
  }
7468
+
7469
+ toJson() {
7470
+ return {
7471
+ "type": this.type,
7472
+ "extensions": this.extensions?.map(e => e.toJson()),
7473
+ "fileName": this.fileName?.toJson(),
7474
+ "issuer": this.issuer?.toJson(),
7475
+ "notifications": this.notifications,
7476
+ "origin": this.origin,
7477
+ "paStatus": this.paStatus,
7478
+ "serialNumber": this.serialNumber,
7479
+ "signatureAlgorithm": this.signatureAlgorithm,
7480
+ "subject": this.subject?.toJson(),
7481
+ "subjectPKAlgorithm": this.subjectPKAlgorithm,
7482
+ "validity": this.validity?.toJson(),
7483
+ "version": this.version,
7484
+ }
7485
+ }
6700
7486
  }
6701
7487
 
6702
7488
 
@@ -6725,6 +7511,13 @@ class CertificateData {
6725
7511
 
6726
7512
  return result;
6727
7513
  }
7514
+
7515
+ toJson() {
7516
+ return {
7517
+ "data": this.data,
7518
+ "length": this.length,
7519
+ }
7520
+ }
6728
7521
  }
6729
7522
 
6730
7523
  /***/ }),
@@ -6755,6 +7548,13 @@ class DataField {
6755
7548
 
6756
7549
  return result;
6757
7550
  }
7551
+
7552
+ toJson() {
7553
+ return {
7554
+ "data": this.data,
7555
+ "fieldType": this.fieldType,
7556
+ }
7557
+ }
6758
7558
  }
6759
7559
 
6760
7560
  /***/ }),
@@ -6782,6 +7582,13 @@ class Extension {
6782
7582
 
6783
7583
  return result;
6784
7584
  }
7585
+
7586
+ toJson() {
7587
+ return {
7588
+ "data": this.data,
7589
+ "type": this.type,
7590
+ }
7591
+ }
6785
7592
  }
6786
7593
 
6787
7594
  /***/ }),
@@ -6838,6 +7645,23 @@ class File {
6838
7645
 
6839
7646
  return result;
6840
7647
  }
7648
+
7649
+ toJson() {
7650
+ return {
7651
+ "fileData": this.fileData?.toJson(),
7652
+ "fileID": this.fileID,
7653
+ "notifications": this.notifications,
7654
+ "pAStatus": this.pAStatus,
7655
+ "readingStatus": this.readingStatus,
7656
+ "readingTime": this.readingTime,
7657
+ "type": this.type,
7658
+ "typeName": this.typeName,
7659
+ "docFieldsText": this.docFieldsText,
7660
+ "docFieldsGraphics": this.docFieldsGraphics,
7661
+ "docFieldsOriginals": this.docFieldsOriginals,
7662
+ "certificates": this.certificates?.toJson(),
7663
+ }
7664
+ }
6841
7665
  }
6842
7666
 
6843
7667
 
@@ -6870,6 +7694,15 @@ class FileData {
6870
7694
 
6871
7695
  return result;
6872
7696
  }
7697
+
7698
+ toJson() {
7699
+ return {
7700
+ "data": this.data,
7701
+ "length": this.length,
7702
+ "type": this.type,
7703
+ "status": this.status,
7704
+ }
7705
+ }
6873
7706
  }
6874
7707
 
6875
7708
 
@@ -7131,6 +7964,22 @@ class RFIDSessionData {
7131
7964
 
7132
7965
  return result;
7133
7966
  }
7967
+
7968
+ toJson() {
7969
+ return {
7970
+ "cardProperties": this.cardProperties?.toJson(),
7971
+ "totalBytesReceived": this.totalBytesReceived,
7972
+ "totalBytesSent": this.totalBytesSent,
7973
+ "status": this.status,
7974
+ "extLeSupport": this.extLeSupport,
7975
+ "processTime": this.processTime,
7976
+ "accessControls": this.accessControls?.map(e => e.toJson()),
7977
+ "applications": this.applications?.map(e => e.toJson()),
7978
+ "securityObjects": this.securityObjects?.map(e => e.toJson()),
7979
+ "dataFields": this.dataFields?.map(e => e.toJson()),
7980
+ "dataGroups": this.dataGroups,
7981
+ }
7982
+ }
7134
7983
  }
7135
7984
 
7136
7985
 
@@ -7162,6 +8011,13 @@ class RFIDValidity {
7162
8011
 
7163
8012
  return result;
7164
8013
  }
8014
+
8015
+ toJson() {
8016
+ return {
8017
+ "notAfter": this.notAfter?.toJson(),
8018
+ "notBefore": this.notBefore?.toJson(),
8019
+ }
8020
+ }
7165
8021
  }
7166
8022
 
7167
8023
 
@@ -7196,6 +8052,16 @@ class RFIDValue {
7196
8052
 
7197
8053
  return result;
7198
8054
  }
8055
+
8056
+ toJson() {
8057
+ return {
8058
+ "data": this.data,
8059
+ "length": this.length,
8060
+ "status": this.status,
8061
+ "type": this.type,
8062
+ "format": this.format,
8063
+ }
8064
+ }
7199
8065
  }
7200
8066
 
7201
8067
 
@@ -7242,6 +8108,16 @@ class SecurityObject {
7242
8108
 
7243
8109
  return result;
7244
8110
  }
8111
+
8112
+ toJson() {
8113
+ return {
8114
+ "fileReference": this.fileReference,
8115
+ "objectType": this.objectType,
8116
+ "version": this.version,
8117
+ "signerInfos": this.signerInfos?.map(e => e.toJson()),
8118
+ "notifications": this.notifications,
8119
+ }
8120
+ }
7245
8121
  }
7246
8122
 
7247
8123
 
@@ -7271,6 +8147,12 @@ class SecurityObjectCertificates {
7271
8147
 
7272
8148
  return result;
7273
8149
  }
8150
+
8151
+ toJson() {
8152
+ return {
8153
+ "securityObject": this.securityObject?.toJson(),
8154
+ }
8155
+ }
7274
8156
  }
7275
8157
 
7276
8158
 
@@ -7346,6 +8228,23 @@ class SignerInfo {
7346
8228
 
7347
8229
  return result;
7348
8230
  }
8231
+
8232
+ toJson() {
8233
+ return {
8234
+ "dataToHash": this.dataToHash,
8235
+ "digestAlgorithm": this.digestAlgorithm,
8236
+ "version": this.version,
8237
+ "paStatus": this.paStatus,
8238
+ "signatureAlgorithm": this.signatureAlgorithm,
8239
+ "issuer": this.issuer?.toJson(),
8240
+ "serialNumber": this.serialNumber?.toJson(),
8241
+ "signature": this.signature?.toJson(),
8242
+ "subjectKeyIdentifier": this.subjectKeyIdentifier?.toJson(),
8243
+ "signedAttributes": this.signedAttributes?.map(e => e.toJson()),
8244
+ "certificateChain": this.certificateChain?.map(e => e.toJson()),
8245
+ "notifications": this.notifications,
8246
+ }
8247
+ }
7349
8248
  }
7350
8249
 
7351
8250
 
@@ -7410,6 +8309,20 @@ class OpticalStatus {
7410
8309
 
7411
8310
  return result;
7412
8311
  }
8312
+
8313
+ toJson() {
8314
+ return {
8315
+ "overallStatus": this.overallStatus,
8316
+ "mrz": this.mrz,
8317
+ "text": this.text,
8318
+ "docType": this.docType,
8319
+ "security": this.security,
8320
+ "imageQA": this.imageQA,
8321
+ "expiry": this.expiry,
8322
+ "vds": this.vds,
8323
+ "pagesCount": this.pagesCount,
8324
+ }
8325
+ }
7413
8326
  }
7414
8327
 
7415
8328
 
@@ -7451,6 +8364,18 @@ class RFIDStatus {
7451
8364
 
7452
8365
  return result;
7453
8366
  }
8367
+
8368
+ toJson() {
8369
+ return {
8370
+ "overallStatus": this.overallStatus,
8371
+ "pa": this.pa,
8372
+ "ca": this.ca,
8373
+ "aa": this.aa,
8374
+ "ta": this.ta,
8375
+ "bac": this.bac,
8376
+ "pace": this.pace,
8377
+ }
8378
+ }
7454
8379
  }
7455
8380
 
7456
8381
 
@@ -7496,6 +8421,18 @@ class ResultsStatus {
7496
8421
 
7497
8422
  return result;
7498
8423
  }
8424
+
8425
+ toJson() {
8426
+ return {
8427
+ "overallStatus": this.overallStatus,
8428
+ "optical": this.optical,
8429
+ "rfid": this.rfid,
8430
+ "portrait": this.portrait,
8431
+ "stopList": this.stopList,
8432
+ "detailsOptical": this.detailsOptical?.toJson(),
8433
+ "detailsRFID": this.detailsRFID?.toJson(),
8434
+ }
8435
+ }
7499
8436
  }
7500
8437
 
7501
8438
 
@@ -7528,6 +8465,15 @@ class BytesData {
7528
8465
 
7529
8466
  return result;
7530
8467
  }
8468
+
8469
+ toJson() {
8470
+ return {
8471
+ "data": this.data,
8472
+ "length": this.length,
8473
+ "status": this.status,
8474
+ "type": this.type,
8475
+ }
8476
+ }
7531
8477
  }
7532
8478
 
7533
8479
 
@@ -7980,6 +8926,20 @@ class VDSNCData {
7980
8926
 
7981
8927
  return result;
7982
8928
  }
8929
+
8930
+ toJson() {
8931
+ return {
8932
+ "type": this.type,
8933
+ "version": this.version,
8934
+ "issuingCountry": this.issuingCountry,
8935
+ "message": this.message,
8936
+ "signatureAlgorithm": this.signatureAlgorithm,
8937
+ "signature": this.signature?.toJson(),
8938
+ "certificate": this.certificate?.toJson(),
8939
+ "certificateChain": this.certificateChain?.map(e => e.toJson()),
8940
+ "notifications": this.notifications,
8941
+ }
8942
+ }
7983
8943
  }
7984
8944
 
7985
8945
 
@@ -8015,6 +8975,14 @@ class Comparison {
8015
8975
 
8016
8976
  return result;
8017
8977
  }
8978
+
8979
+ toJson() {
8980
+ return {
8981
+ "sourceTypeLeft": this.sourceTypeLeft,
8982
+ "sourceTypeRight": this.sourceTypeRight,
8983
+ "status": this.status,
8984
+ }
8985
+ }
8018
8986
  }
8019
8987
 
8020
8988
  /***/ }),
@@ -8740,6 +9708,20 @@ class GraphicField {
8740
9708
 
8741
9709
  return result;
8742
9710
  }
9711
+
9712
+ toJson() {
9713
+ return {
9714
+ "sourceType": this.sourceType,
9715
+ "fieldType": this.fieldType,
9716
+ "fieldName": this.fieldName,
9717
+ "light": this.light,
9718
+ "lightName": this.lightName,
9719
+ "pageIndex": this.pageIndex,
9720
+ "originalPageIndex": this.originalPageIndex,
9721
+ "value": this.value,
9722
+ "fieldRect": this.fieldRect?.toJson(),
9723
+ }
9724
+ }
8743
9725
  }
8744
9726
 
8745
9727
  /***/ }),
@@ -8814,6 +9796,12 @@ class GraphicResult {
8814
9796
 
8815
9797
  return result;
8816
9798
  }
9799
+
9800
+ toJson() {
9801
+ return {
9802
+ "fields": this.fields?.map(e => e.toJson()),
9803
+ }
9804
+ }
8817
9805
  }
8818
9806
 
8819
9807
  /***/ }),
@@ -9058,6 +10046,15 @@ class RFIDOrigin {
9058
10046
 
9059
10047
  return result;
9060
10048
  }
10049
+
10050
+ toJson() {
10051
+ return {
10052
+ "dg": this.dg,
10053
+ "dgTag": this.dgTag,
10054
+ "entryView": this.entryView,
10055
+ "tagEntry": this.tagEntry,
10056
+ }
10057
+ }
9061
10058
  }
9062
10059
 
9063
10060
  /***/ }),
@@ -9089,6 +10086,15 @@ class Rect {
9089
10086
 
9090
10087
  return result;
9091
10088
  }
10089
+
10090
+ toJson() {
10091
+ return {
10092
+ "bottom": this.bottom,
10093
+ "top": this.top,
10094
+ "left": this.left,
10095
+ "right": this.right,
10096
+ }
10097
+ }
9092
10098
  }
9093
10099
 
9094
10100
  /***/ }),
@@ -9121,6 +10127,14 @@ class Symbol {
9121
10127
 
9122
10128
  return result;
9123
10129
  }
10130
+
10131
+ toJson() {
10132
+ return {
10133
+ "rect": this.rect?.toJson(),
10134
+ "code": this.code,
10135
+ "probability": this.probability,
10136
+ }
10137
+ }
9124
10138
  }
9125
10139
 
9126
10140
  /***/ }),
@@ -9208,6 +10222,23 @@ class TextField {
9208
10222
 
9209
10223
  return result;
9210
10224
  }
10225
+
10226
+ toJson() {
10227
+ return {
10228
+ "fieldType": this.fieldType,
10229
+ "fieldName": this.fieldName,
10230
+ "lcid": this.lcid,
10231
+ "lcidName": this.lcidName,
10232
+ "value": this.value,
10233
+ "getValue": this.getValue?.toJson(),
10234
+ "values": this.values?.map(e => e.toJson()),
10235
+ "status": this.status,
10236
+ "comparisonList": this.comparisonList?.map(e => e.toJson()),
10237
+ "validityList": this.validityList?.map(e => e.toJson()),
10238
+ "comparisonStatus": this.comparisonStatus,
10239
+ "validityStatus": this.validityStatus,
10240
+ }
10241
+ }
9211
10242
  }
9212
10243
 
9213
10244
  /***/ }),
@@ -9266,6 +10297,16 @@ class TextResult {
9266
10297
 
9267
10298
  return result;
9268
10299
  }
10300
+
10301
+ toJson() {
10302
+ return {
10303
+ "status": this.status,
10304
+ "comparisonStatus": this.comparisonStatus,
10305
+ "validityStatus": this.validityStatus,
10306
+ "availableSourceList": this.availableSourceList?.map(e => e.toJson()),
10307
+ "fields": this.fields?.map(e => e.toJson()),
10308
+ }
10309
+ }
9269
10310
  }
9270
10311
 
9271
10312
  /***/ }),
@@ -9300,6 +10341,14 @@ class TextSource {
9300
10341
 
9301
10342
  return result;
9302
10343
  }
10344
+
10345
+ toJson() {
10346
+ return {
10347
+ "sourceType": this.sourceType,
10348
+ "source": this.source,
10349
+ "validityStatus": this.validityStatus,
10350
+ }
10351
+ }
9303
10352
  }
9304
10353
 
9305
10354
  /***/ }),
@@ -9332,6 +10381,13 @@ class Validity {
9332
10381
 
9333
10382
  return result;
9334
10383
  }
10384
+
10385
+ toJson() {
10386
+ return {
10387
+ "sourceType": this.sourceType,
10388
+ "status": this.status,
10389
+ }
10390
+ }
9335
10391
  }
9336
10392
 
9337
10393
  /***/ }),
@@ -9388,6 +10444,19 @@ class Value {
9388
10444
 
9389
10445
  return result;
9390
10446
  }
10447
+
10448
+ toJson() {
10449
+ return {
10450
+ "sourceType": this.sourceType,
10451
+ "value": this.value,
10452
+ "originalValue": this.originalValue,
10453
+ "pageIndex": this.pageIndex,
10454
+ "boundRect": this.boundRect?.toJson(),
10455
+ "rfidOrigin": this.rfidOrigin?.toJson(),
10456
+ "originalSymbols": this.originalSymbols?.map(e => e.toJson()),
10457
+ "probability": this.probability,
10458
+ }
10459
+ }
9391
10460
  }
9392
10461
 
9393
10462
  /***/ }),
@@ -9418,6 +10487,13 @@ class PAAttribute {
9418
10487
 
9419
10488
  return result
9420
10489
  }
10490
+
10491
+ toJson() {
10492
+ return {
10493
+ "type": this.type,
10494
+ "value": this.value,
10495
+ }
10496
+ }
9421
10497
  }
9422
10498
 
9423
10499
 
@@ -9460,6 +10536,14 @@ class PAResourcesIssuer {
9460
10536
 
9461
10537
  return result
9462
10538
  }
10539
+
10540
+ toJson() {
10541
+ return {
10542
+ "data": this.data,
10543
+ "friendlyName": this.friendlyName,
10544
+ "attributes": this.attributes?.map(e => e.toJson()),
10545
+ }
10546
+ }
9463
10547
  }
9464
10548
 
9465
10549
 
@@ -9495,6 +10579,14 @@ class PKDCertificate {
9495
10579
  { privateKey: jsonObject["privateKey"] }
9496
10580
  )
9497
10581
  }
10582
+
10583
+ toJson() {
10584
+ return {
10585
+ "binaryData": this.binaryData,
10586
+ "resourceType": this.resourceType,
10587
+ "privateKey": this.privateKey,
10588
+ }
10589
+ }
9498
10590
  }
9499
10591
 
9500
10592
  const PKDResourceType = {
@@ -9704,6 +10796,14 @@ class RFIDNotification {
9704
10796
 
9705
10797
  return result
9706
10798
  }
10799
+
10800
+ toJson() {
10801
+ return {
10802
+ "notificationCode": this.notificationCode,
10803
+ "dataFileType": this.dataFileType,
10804
+ "progress": this.progress,
10805
+ }
10806
+ }
9707
10807
  }
9708
10808
 
9709
10809
  const RFIDNotificationCodes = {
@@ -9780,6 +10880,16 @@ class TAChallenge {
9780
10880
 
9781
10881
  return result
9782
10882
  }
10883
+
10884
+ toJson() {
10885
+ return {
10886
+ "data": this.data,
10887
+ "auxPCD": this.auxPCD,
10888
+ "challengePICC": this.challengePICC,
10889
+ "hashPK": this.hashPK,
10890
+ "idPICC": this.idPICC,
10891
+ }
10892
+ }
9783
10893
  }
9784
10894
 
9785
10895
 
@@ -9818,6 +10928,16 @@ class TccParams {
9818
10928
 
9819
10929
  return result
9820
10930
  }
10931
+
10932
+ toJson() {
10933
+ return {
10934
+ "serviceUrlTA": this.serviceUrlTA,
10935
+ "serviceUrlPA": this.serviceUrlPA,
10936
+ "pfxCertUrl": this.pfxCertUrl,
10937
+ "pfxPassPhrase": this.pfxPassPhrase,
10938
+ "pfxCert": this.pfxCert,
10939
+ }
10940
+ }
9821
10941
  }
9822
10942
 
9823
10943