@regulaforensics/document-reader 8.4.375-beta → 8.4.386-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.
- package/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +49 -1
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +30 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +24 -1
- package/examples/capacitor/package-lock.json +351 -313
- package/examples/capacitor/package.json +3 -3
- package/examples/ionic/package.json +3 -3
- package/examples/react_native/package.json +3 -3
- package/ios/RGLWConfig.m +38 -9
- package/ios/RGLWJSONConstructor.h +1 -0
- package/ios/RGLWJSONConstructor.m +21 -0
- package/ios/RGLWMain.m +46 -0
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +72 -31
- package/test/package-lock.json +1 -1
- package/test/test.tsx +3 -2
- package/www/capacitor/config/InitConfig.js +3 -0
- package/www/capacitor/index.js +5 -4
- package/www/capacitor/info/DocReaderException.js +2 -0
- package/www/capacitor/params/Functionality.js +8 -0
- package/www/capacitor/params/customization/CustomizationColors.js +32 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +24 -0
- package/www/capacitor/params/customization/CustomizationImages.js +8 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +44 -0
- package/www/capacitor/params/process_params/FilterObject.js +60 -0
- package/www/capacitor/params/process_params/LivenessParams.js +38 -2
- package/www/capacitor/params/process_params/ProcessParams.js +30 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +2 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/cordova.js +371 -92
- package/www/react-native/config/InitConfig.js +3 -0
- package/www/react-native/index.js +5 -4
- package/www/react-native/info/DocReaderException.js +2 -0
- package/www/react-native/params/Functionality.js +8 -0
- package/www/react-native/params/customization/CustomizationColors.js +32 -0
- package/www/react-native/params/customization/CustomizationFonts.js +24 -0
- package/www/react-native/params/customization/CustomizationImages.js +8 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +44 -0
- package/www/react-native/params/process_params/FilterObject.js +60 -0
- package/www/react-native/params/process_params/LivenessParams.js +38 -2
- package/www/react-native/params/process_params/ProcessParams.js +30 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +2 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +3 -1
- package/www/types/config/InitConfig.d.ts +5 -0
- package/www/types/index.d.ts +5 -4
- package/www/types/info/DocReaderException.d.ts +4 -0
- package/www/types/params/Functionality.d.ts +6 -0
- package/www/types/params/customization/CustomizationColors.d.ts +16 -8
- package/www/types/params/customization/CustomizationFonts.d.ts +6 -0
- package/www/types/params/customization/CustomizationImages.d.ts +6 -1
- package/www/types/params/process_params/AuthenticityParams.d.ts +25 -0
- package/www/types/params/process_params/FilterObject.d.ts +32 -0
- package/www/types/params/process_params/LivenessParams.d.ts +18 -0
- package/www/types/params/process_params/ProcessParams.d.ts +11 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +4 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +4 -0
package/www/cordova.js
CHANGED
|
@@ -15,6 +15,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15
15
|
class InitConfig {
|
|
16
16
|
license
|
|
17
17
|
licenseUpdate
|
|
18
|
+
licenseUpdateTimeout
|
|
18
19
|
delayedNNLoad
|
|
19
20
|
databasePath
|
|
20
21
|
customDb
|
|
@@ -44,6 +45,7 @@ class InitConfig {
|
|
|
44
45
|
result.customDb = jsonObject["customDb"];
|
|
45
46
|
result.delayedNNLoad = jsonObject["delayedNNLoad"];
|
|
46
47
|
result.licenseUpdate = jsonObject["licenseUpdate"];
|
|
48
|
+
result.licenseUpdateTimeout = jsonObject["licenseUpdateTimeout"];
|
|
47
49
|
result.blackList = jsonObject["blackList"];
|
|
48
50
|
result.databasePath = jsonObject["databasePath"];
|
|
49
51
|
result.useBleDevice = jsonObject["useBleDevice"];
|
|
@@ -57,6 +59,7 @@ class InitConfig {
|
|
|
57
59
|
"license": this.license,
|
|
58
60
|
"delayedNNLoad": this.delayedNNLoad,
|
|
59
61
|
"licenseUpdate": this.licenseUpdate,
|
|
62
|
+
"licenseUpdateTimeout": this.licenseUpdateTimeout,
|
|
60
63
|
"blackList": this.blackList,
|
|
61
64
|
"customDb": this.customDb,
|
|
62
65
|
"databasePath": this.databasePath,
|
|
@@ -410,22 +413,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
410
413
|
/* harmony export */ Attribute: () => (/* reexport safe */ _results_rfid_Attribute__WEBPACK_IMPORTED_MODULE_57__.Attribute),
|
|
411
414
|
/* harmony export */ Authenticity: () => (/* reexport safe */ _results_authenticity_Authenticity__WEBPACK_IMPORTED_MODULE_41__.Authenticity),
|
|
412
415
|
/* harmony export */ AuthenticityCheck: () => (/* reexport safe */ _results_authenticity_AuthenticityCheck__WEBPACK_IMPORTED_MODULE_39__.AuthenticityCheck),
|
|
416
|
+
/* harmony export */ AuthenticityCheckType: () => (/* reexport safe */ _params_process_params_AuthenticityParams__WEBPACK_IMPORTED_MODULE_81__.AuthenticityCheckType),
|
|
413
417
|
/* harmony export */ AuthenticityElement: () => (/* reexport safe */ _results_authenticity_AuthenticityElement__WEBPACK_IMPORTED_MODULE_37__.AuthenticityElement),
|
|
414
|
-
/* harmony export */ AuthenticityParams: () => (/* reexport safe */
|
|
418
|
+
/* harmony export */ AuthenticityParams: () => (/* reexport safe */ _params_process_params_AuthenticityParams__WEBPACK_IMPORTED_MODULE_81__.AuthenticityParams),
|
|
415
419
|
/* harmony export */ AuthenticityResult: () => (/* reexport safe */ _results_authenticity_AuthenticityResult__WEBPACK_IMPORTED_MODULE_38__.AuthenticityResult),
|
|
416
420
|
/* harmony export */ Authority: () => (/* reexport safe */ _results_rfid_Authority__WEBPACK_IMPORTED_MODULE_61__.Authority),
|
|
417
|
-
/* harmony export */ BackendProcessingConfig: () => (/* reexport safe */
|
|
421
|
+
/* harmony export */ BackendProcessingConfig: () => (/* reexport safe */ _params_process_params_BackendProcessingConfig__WEBPACK_IMPORTED_MODULE_82__.BackendProcessingConfig),
|
|
418
422
|
/* harmony export */ BarcodeField: () => (/* reexport safe */ _results_barcode_BarcodeField__WEBPACK_IMPORTED_MODULE_46__.BarcodeField),
|
|
419
423
|
/* harmony export */ BarcodeResult: () => (/* reexport safe */ _results_barcode_BarcodeResult__WEBPACK_IMPORTED_MODULE_45__.BarcodeResult),
|
|
420
424
|
/* harmony export */ BarcodeStatus: () => (/* reexport safe */ _results_barcode_BarcodeStatus__WEBPACK_IMPORTED_MODULE_43__.BarcodeStatus),
|
|
421
425
|
/* harmony export */ BarcodeType: () => (/* reexport safe */ _results_barcode_BarcodeType__WEBPACK_IMPORTED_MODULE_44__.BarcodeType),
|
|
422
426
|
/* harmony export */ BytesData: () => (/* reexport safe */ _results_visible_digital_seals_BytesData__WEBPACK_IMPORTED_MODULE_52__.BytesData),
|
|
423
|
-
/* harmony export */ CameraMode: () => (/* reexport safe */
|
|
424
|
-
/* harmony export */ CameraPosition: () => (/* reexport safe */
|
|
425
|
-
/* harmony export */ CameraSize: () => (/* reexport safe */
|
|
426
|
-
/* harmony export */ Cap: () => (/* reexport safe */
|
|
427
|
-
/* harmony export */ CaptureMode: () => (/* reexport safe */
|
|
428
|
-
/* harmony export */ CaptureSessionPreset: () => (/* reexport safe */
|
|
427
|
+
/* harmony export */ CameraMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.CameraMode),
|
|
428
|
+
/* harmony export */ CameraPosition: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.CameraPosition),
|
|
429
|
+
/* harmony export */ CameraSize: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.CameraSize),
|
|
430
|
+
/* harmony export */ Cap: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.Cap),
|
|
431
|
+
/* harmony export */ CaptureMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.CaptureMode),
|
|
432
|
+
/* harmony export */ CaptureSessionPreset: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.CaptureSessionPreset),
|
|
429
433
|
/* harmony export */ CardProperties: () => (/* reexport safe */ _results_rfid_CardProperties__WEBPACK_IMPORTED_MODULE_55__.CardProperties),
|
|
430
434
|
/* harmony export */ CertificateChain: () => (/* reexport safe */ _results_rfid_CertificateChain__WEBPACK_IMPORTED_MODULE_60__.CertificateChain),
|
|
431
435
|
/* harmony export */ CertificateData: () => (/* reexport safe */ _results_rfid_CertificateData__WEBPACK_IMPORTED_MODULE_66__.CertificateData),
|
|
@@ -433,17 +437,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
433
437
|
/* harmony export */ CheckResult: () => (/* reexport safe */ _results_status_CheckResult__WEBPACK_IMPORTED_MODULE_34__.CheckResult),
|
|
434
438
|
/* harmony export */ Comparison: () => (/* reexport safe */ _results_visual_results_Comparison__WEBPACK_IMPORTED_MODULE_18__.Comparison),
|
|
435
439
|
/* harmony export */ Coordinate: () => (/* reexport safe */ _results_Position__WEBPACK_IMPORTED_MODULE_31__.Coordinate),
|
|
436
|
-
/* harmony export */ CustomButtonTag: () => (/* reexport safe */
|
|
437
|
-
/* harmony export */ Customization: () => (/* reexport safe */
|
|
438
|
-
/* harmony export */ CustomizationColors: () => (/* reexport safe */
|
|
439
|
-
/* harmony export */ CustomizationFonts: () => (/* reexport safe */
|
|
440
|
-
/* harmony export */ CustomizationImages: () => (/* reexport safe */
|
|
441
|
-
/* harmony export */ DTCDataGroup: () => (/* reexport safe */
|
|
440
|
+
/* harmony export */ CustomButtonTag: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.CustomButtonTag),
|
|
441
|
+
/* harmony export */ Customization: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.Customization),
|
|
442
|
+
/* harmony export */ CustomizationColors: () => (/* reexport safe */ _params_customization_CustomizationColors__WEBPACK_IMPORTED_MODULE_89__.CustomizationColors),
|
|
443
|
+
/* harmony export */ CustomizationFonts: () => (/* reexport safe */ _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_85__.CustomizationFonts),
|
|
444
|
+
/* harmony export */ CustomizationImages: () => (/* reexport safe */ _params_customization_CustomizationImages__WEBPACK_IMPORTED_MODULE_86__.CustomizationImages),
|
|
445
|
+
/* harmony export */ DTCDataGroup: () => (/* reexport safe */ _params_rfid_scenario_DTCDataGroup__WEBPACK_IMPORTED_MODULE_92__.DTCDataGroup),
|
|
442
446
|
/* harmony export */ DataField: () => (/* reexport safe */ _results_rfid_DataField__WEBPACK_IMPORTED_MODULE_56__.DataField),
|
|
443
447
|
/* harmony export */ DocFormat: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_28__.DocFormat),
|
|
444
448
|
/* harmony export */ DocReaderAction: () => (/* binding */ DocReaderAction),
|
|
445
449
|
/* harmony export */ DocReaderException: () => (/* reexport safe */ _info_DocReaderException__WEBPACK_IMPORTED_MODULE_8__.DocReaderException),
|
|
446
|
-
/* harmony export */ DocReaderFrame: () => (/* reexport safe */
|
|
450
|
+
/* harmony export */ DocReaderFrame: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.DocReaderFrame),
|
|
447
451
|
/* harmony export */ DocReaderOrientation: () => (/* reexport safe */ _info_DocReaderScenario__WEBPACK_IMPORTED_MODULE_11__.DocReaderOrientation),
|
|
448
452
|
/* harmony export */ DocReaderScenario: () => (/* reexport safe */ _info_DocReaderScenario__WEBPACK_IMPORTED_MODULE_11__.DocReaderScenario),
|
|
449
453
|
/* harmony export */ DocReaderVersion: () => (/* reexport safe */ _info_DocReaderVersion__WEBPACK_IMPORTED_MODULE_6__.DocReaderVersion),
|
|
@@ -451,27 +455,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
451
455
|
/* harmony export */ DocumentType: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_28__.DocumentType),
|
|
452
456
|
/* harmony export */ DocumentTypeEnum: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_28__.DocType),
|
|
453
457
|
/* harmony export */ DocumentsDatabase: () => (/* reexport safe */ _info_DocumentsDatabase__WEBPACK_IMPORTED_MODULE_9__.DocumentsDatabase),
|
|
454
|
-
/* harmony export */ EDLDataGroups: () => (/* reexport safe */
|
|
455
|
-
/* harmony export */ EIDDataGroups: () => (/* reexport safe */
|
|
456
|
-
/* harmony export */ EPassportDataGroups: () => (/* reexport safe */
|
|
458
|
+
/* harmony export */ EDLDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EDLDataGroups__WEBPACK_IMPORTED_MODULE_94__.EDLDataGroups),
|
|
459
|
+
/* harmony export */ EIDDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EIDDataGroups__WEBPACK_IMPORTED_MODULE_91__.EIDDataGroups),
|
|
460
|
+
/* harmony export */ EPassportDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EPassportDataGroups__WEBPACK_IMPORTED_MODULE_90__.EPassportDataGroups),
|
|
457
461
|
/* harmony export */ ErrorCodes: () => (/* reexport safe */ _info_DocReaderException__WEBPACK_IMPORTED_MODULE_8__.ErrorCodes),
|
|
458
462
|
/* harmony export */ Extension: () => (/* reexport safe */ _results_rfid_Extension__WEBPACK_IMPORTED_MODULE_72__.Extension),
|
|
459
|
-
/* harmony export */ FaceApiParams: () => (/* reexport safe */
|
|
460
|
-
/* harmony export */ FaceApiSearchParams: () => (/* reexport safe */
|
|
463
|
+
/* harmony export */ FaceApiParams: () => (/* reexport safe */ _params_process_params_FaceApiParams__WEBPACK_IMPORTED_MODULE_78__.FaceApiParams),
|
|
464
|
+
/* harmony export */ FaceApiSearchParams: () => (/* reexport safe */ _params_process_params_FaceApiSearchParams__WEBPACK_IMPORTED_MODULE_83__.FaceApiSearchParams),
|
|
461
465
|
/* harmony export */ FieldType: () => (/* reexport safe */ _results_visual_results_FieldType__WEBPACK_IMPORTED_MODULE_22__.FieldType),
|
|
462
466
|
/* harmony export */ File: () => (/* reexport safe */ _results_rfid_File__WEBPACK_IMPORTED_MODULE_62__.File),
|
|
463
467
|
/* harmony export */ FileData: () => (/* reexport safe */ _results_rfid_FileData__WEBPACK_IMPORTED_MODULE_67__.FileData),
|
|
464
|
-
/* harmony export */
|
|
465
|
-
/* harmony export */
|
|
466
|
-
/* harmony export */
|
|
467
|
-
/* harmony export */
|
|
468
|
-
/* harmony export */
|
|
468
|
+
/* harmony export */ FilterCheckType: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.FilterCheckType),
|
|
469
|
+
/* harmony export */ FilterObject: () => (/* reexport safe */ _params_process_params_FilterObject__WEBPACK_IMPORTED_MODULE_74__.FilterObject),
|
|
470
|
+
/* harmony export */ FilterObjectType: () => (/* reexport safe */ _params_process_params_FilterObject__WEBPACK_IMPORTED_MODULE_74__.FilterObjectType),
|
|
471
|
+
/* harmony export */ Font: () => (/* reexport safe */ _params_customization_Font__WEBPACK_IMPORTED_MODULE_87__.Font),
|
|
472
|
+
/* harmony export */ FontStyle: () => (/* reexport safe */ _params_customization_Font__WEBPACK_IMPORTED_MODULE_87__.FontStyle),
|
|
473
|
+
/* harmony export */ FrameShapeType: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.FrameShapeType),
|
|
474
|
+
/* harmony export */ Functionality: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.Functionality),
|
|
475
|
+
/* harmony export */ GlaresCheckParams: () => (/* reexport safe */ _params_process_params_GlaresCheckParams__WEBPACK_IMPORTED_MODULE_77__.GlaresCheckParams),
|
|
469
476
|
/* harmony export */ GraphicField: () => (/* reexport safe */ _results_visual_results_GraphicField__WEBPACK_IMPORTED_MODULE_23__.GraphicField),
|
|
470
477
|
/* harmony export */ GraphicFieldType: () => (/* reexport safe */ _results_visual_results_GraphicFieldType__WEBPACK_IMPORTED_MODULE_14__.GraphicFieldType),
|
|
471
478
|
/* harmony export */ GraphicResult: () => (/* reexport safe */ _results_visual_results_GraphicResult__WEBPACK_IMPORTED_MODULE_27__.GraphicResult),
|
|
472
479
|
/* harmony export */ ImageFormat: () => (/* reexport safe */ _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__.ImageFormat),
|
|
473
480
|
/* harmony export */ ImageInputData: () => (/* reexport safe */ _config_RecognizeConfig__WEBPACK_IMPORTED_MODULE_5__.ImageInputData),
|
|
474
|
-
/* harmony export */ ImageQA: () => (/* reexport safe */
|
|
481
|
+
/* harmony export */ ImageQA: () => (/* reexport safe */ _params_process_params_ImageQA__WEBPACK_IMPORTED_MODULE_80__.ImageQA),
|
|
475
482
|
/* harmony export */ ImageQuality: () => (/* reexport safe */ _results_image_quality_ImageQuality__WEBPACK_IMPORTED_MODULE_47__.ImageQuality),
|
|
476
483
|
/* harmony export */ ImageQualityCheckType: () => (/* reexport safe */ _results_image_quality_ImageQualityCheckType__WEBPACK_IMPORTED_MODULE_49__.ImageQualityCheckType),
|
|
477
484
|
/* harmony export */ ImageQualityGroup: () => (/* reexport safe */ _results_image_quality_ImageQualityGroup__WEBPACK_IMPORTED_MODULE_48__.ImageQualityGroup),
|
|
@@ -481,42 +488,43 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
481
488
|
/* harmony export */ LDSParsingNotificationCodes: () => (/* reexport safe */ _results_visible_digital_seals_LDSParsingNotificationCodes__WEBPACK_IMPORTED_MODULE_53__.LDSParsingNotificationCodes),
|
|
482
489
|
/* harmony export */ License: () => (/* reexport safe */ _info_License__WEBPACK_IMPORTED_MODULE_10__.License),
|
|
483
490
|
/* harmony export */ Lights: () => (/* reexport safe */ _results_visual_results_Lights__WEBPACK_IMPORTED_MODULE_20__.Lights),
|
|
484
|
-
/* harmony export */
|
|
485
|
-
/* harmony export */
|
|
486
|
-
/* harmony export */
|
|
487
|
-
/* harmony export */
|
|
488
|
-
/* harmony export */
|
|
491
|
+
/* harmony export */ LivenessCheckType: () => (/* reexport safe */ _params_process_params_LivenessParams__WEBPACK_IMPORTED_MODULE_75__.LivenessCheckType),
|
|
492
|
+
/* harmony export */ LivenessParams: () => (/* reexport safe */ _params_process_params_LivenessParams__WEBPACK_IMPORTED_MODULE_75__.LivenessParams),
|
|
493
|
+
/* harmony export */ LogLevel: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.LogLevel),
|
|
494
|
+
/* harmony export */ MRZFormat: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.MRZFormat),
|
|
495
|
+
/* harmony export */ MeasureSystem: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.MeasureSystem),
|
|
496
|
+
/* harmony export */ MrzDetectionModes: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.MrzDetectionModes),
|
|
489
497
|
/* harmony export */ OnlineMode: () => (/* reexport safe */ _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__.OnlineMode),
|
|
490
498
|
/* harmony export */ OnlineProcessingConfig: () => (/* reexport safe */ _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__.OnlineProcessingConfig),
|
|
491
499
|
/* harmony export */ OpticalStatus: () => (/* reexport safe */ _results_status_OpticalStatus__WEBPACK_IMPORTED_MODULE_35__.OpticalStatus),
|
|
492
|
-
/* harmony export */ PAAttribute: () => (/* reexport safe */
|
|
493
|
-
/* harmony export */ PAResourcesIssuer: () => (/* reexport safe */
|
|
500
|
+
/* harmony export */ PAAttribute: () => (/* reexport safe */ _rfid_PAAttribute__WEBPACK_IMPORTED_MODULE_99__.PAAttribute),
|
|
501
|
+
/* harmony export */ PAResourcesIssuer: () => (/* reexport safe */ _rfid_PAResourcesIssuer__WEBPACK_IMPORTED_MODULE_95__.PAResourcesIssuer),
|
|
494
502
|
/* harmony export */ PDF417Info: () => (/* reexport safe */ _results_barcode_PDF417Info__WEBPACK_IMPORTED_MODULE_42__.PDF417Info),
|
|
495
|
-
/* harmony export */ PKDCertificate: () => (/* reexport safe */
|
|
496
|
-
/* harmony export */ PKDResourceType: () => (/* reexport safe */
|
|
503
|
+
/* harmony export */ PKDCertificate: () => (/* reexport safe */ _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_101__.PKDCertificate),
|
|
504
|
+
/* harmony export */ PKDResourceType: () => (/* reexport safe */ _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_101__.PKDResourceType),
|
|
497
505
|
/* harmony export */ Position: () => (/* reexport safe */ _results_Position__WEBPACK_IMPORTED_MODULE_31__.Position),
|
|
498
506
|
/* harmony export */ PrepareProgress: () => (/* reexport safe */ _info_PrepareProgress__WEBPACK_IMPORTED_MODULE_7__.PrepareProgress),
|
|
499
|
-
/* harmony export */ ProcessParams: () => (/* reexport safe */
|
|
507
|
+
/* harmony export */ ProcessParams: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.ProcessParams),
|
|
500
508
|
/* harmony export */ ProcessingFinishedStatus: () => (/* reexport safe */ _results_Results__WEBPACK_IMPORTED_MODULE_29__.ProcessingFinishedStatus),
|
|
501
509
|
/* harmony export */ RFIDAccessControlProcedureType: () => (/* reexport safe */ _results_rfid_RFIDAccessControlProcedureType__WEBPACK_IMPORTED_MODULE_71__.RFIDAccessControlProcedureType),
|
|
502
510
|
/* harmony export */ RFIDApplicationType: () => (/* reexport safe */ _results_rfid_Application__WEBPACK_IMPORTED_MODULE_70__.RFIDApplicationType),
|
|
503
|
-
/* harmony export */ RFIDAuthenticationProcedureType: () => (/* reexport safe */
|
|
511
|
+
/* harmony export */ RFIDAuthenticationProcedureType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDAuthenticationProcedureType),
|
|
504
512
|
/* harmony export */ RFIDCertificateType: () => (/* reexport safe */ _results_rfid_RFIDCertificateType__WEBPACK_IMPORTED_MODULE_68__.RFIDCertificateType),
|
|
505
513
|
/* harmony export */ RFIDConfig: () => (/* reexport safe */ _config_RFIDConfig__WEBPACK_IMPORTED_MODULE_3__.RFIDConfig),
|
|
506
514
|
/* harmony export */ RFIDDataFileType: () => (/* reexport safe */ _results_rfid_RFIDDataFileType__WEBPACK_IMPORTED_MODULE_65__.RFIDDataFileType),
|
|
507
|
-
/* harmony export */ RFIDErrorCodes: () => (/* reexport safe */
|
|
515
|
+
/* harmony export */ RFIDErrorCodes: () => (/* reexport safe */ _rfid_RFIDErrorCodes__WEBPACK_IMPORTED_MODULE_96__.RFIDErrorCodes),
|
|
508
516
|
/* harmony export */ RFIDException: () => (/* reexport safe */ _info_RFIDException__WEBPACK_IMPORTED_MODULE_12__.RFIDException),
|
|
509
|
-
/* harmony export */ RFIDNotification: () => (/* reexport safe */
|
|
510
|
-
/* harmony export */ RFIDNotificationCodes: () => (/* reexport safe */
|
|
517
|
+
/* harmony export */ RFIDNotification: () => (/* reexport safe */ _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_98__.RFIDNotification),
|
|
518
|
+
/* harmony export */ RFIDNotificationCodes: () => (/* reexport safe */ _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_98__.RFIDNotificationCodes),
|
|
511
519
|
/* harmony export */ RFIDOrigin: () => (/* reexport safe */ _results_visual_results_RFIDOrigin__WEBPACK_IMPORTED_MODULE_24__.RFIDOrigin),
|
|
512
|
-
/* harmony export */ RFIDParams: () => (/* reexport safe */
|
|
513
|
-
/* harmony export */ RFIDPasswordType: () => (/* reexport safe */
|
|
514
|
-
/* harmony export */ RFIDReadingBufferSize: () => (/* reexport safe */
|
|
515
|
-
/* harmony export */ RFIDSDKProfilerType: () => (/* reexport safe */
|
|
516
|
-
/* harmony export */ RFIDScenario: () => (/* reexport safe */
|
|
520
|
+
/* harmony export */ RFIDParams: () => (/* reexport safe */ _params_process_params_RFIDParams__WEBPACK_IMPORTED_MODULE_79__.RFIDParams),
|
|
521
|
+
/* harmony export */ RFIDPasswordType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDPasswordType),
|
|
522
|
+
/* harmony export */ RFIDReadingBufferSize: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDReadingBufferSize),
|
|
523
|
+
/* harmony export */ RFIDSDKProfilerType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDSDKProfilerType),
|
|
524
|
+
/* harmony export */ RFIDScenario: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDScenario),
|
|
517
525
|
/* harmony export */ RFIDSessionData: () => (/* reexport safe */ _results_rfid_RFIDSessionData__WEBPACK_IMPORTED_MODULE_69__.RFIDSessionData),
|
|
518
526
|
/* harmony export */ RFIDStatus: () => (/* reexport safe */ _results_status_RFIDStatus__WEBPACK_IMPORTED_MODULE_32__.RFIDStatus),
|
|
519
|
-
/* harmony export */ RFIDTerminalType: () => (/* reexport safe */
|
|
527
|
+
/* harmony export */ RFIDTerminalType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDTerminalType),
|
|
520
528
|
/* harmony export */ RFIDValidity: () => (/* reexport safe */ _results_rfid_RFIDValidity__WEBPACK_IMPORTED_MODULE_64__.RFIDValidity),
|
|
521
529
|
/* harmony export */ RFIDValue: () => (/* reexport safe */ _results_rfid_RFIDValue__WEBPACK_IMPORTED_MODULE_63__.RFIDValue),
|
|
522
530
|
/* harmony export */ RecognizeConfig: () => (/* reexport safe */ _config_RecognizeConfig__WEBPACK_IMPORTED_MODULE_5__.RecognizeConfig),
|
|
@@ -529,11 +537,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
529
537
|
/* harmony export */ SecurityFeatureType: () => (/* reexport safe */ _results_authenticity_SecurityFeatureType__WEBPACK_IMPORTED_MODULE_40__.SecurityFeatureType),
|
|
530
538
|
/* harmony export */ SecurityObject: () => (/* reexport safe */ _results_rfid_SecurityObject__WEBPACK_IMPORTED_MODULE_54__.SecurityObject),
|
|
531
539
|
/* harmony export */ SecurityObjectCertificates: () => (/* reexport safe */ _results_rfid_SecurityObjectCertificates__WEBPACK_IMPORTED_MODULE_59__.SecurityObjectCertificates),
|
|
532
|
-
/* harmony export */ SignManagementAction: () => (/* reexport safe */
|
|
540
|
+
/* harmony export */ SignManagementAction: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.SignManagementAction),
|
|
533
541
|
/* harmony export */ SignerInfo: () => (/* reexport safe */ _results_rfid_SignerInfo__WEBPACK_IMPORTED_MODULE_58__.SignerInfo),
|
|
534
542
|
/* harmony export */ Symbol: () => (/* reexport safe */ _results_visual_results_Symbol__WEBPACK_IMPORTED_MODULE_17__.Symbol),
|
|
535
|
-
/* harmony export */ TAChallenge: () => (/* reexport safe */
|
|
536
|
-
/* harmony export */ TccParams: () => (/* reexport safe */
|
|
543
|
+
/* harmony export */ TAChallenge: () => (/* reexport safe */ _rfid_TAChallenge__WEBPACK_IMPORTED_MODULE_100__.TAChallenge),
|
|
544
|
+
/* harmony export */ TccParams: () => (/* reexport safe */ _rfid_TccParams__WEBPACK_IMPORTED_MODULE_97__.TccParams),
|
|
537
545
|
/* harmony export */ TextField: () => (/* reexport safe */ _results_visual_results_TextField__WEBPACK_IMPORTED_MODULE_19__.TextField),
|
|
538
546
|
/* harmony export */ TextResult: () => (/* reexport safe */ _results_visual_results_TextResult__WEBPACK_IMPORTED_MODULE_25__.TextResult),
|
|
539
547
|
/* harmony export */ TextSource: () => (/* reexport safe */ _results_visual_results_TextSource__WEBPACK_IMPORTED_MODULE_26__.TextSource),
|
|
@@ -541,7 +549,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
541
549
|
/* harmony export */ VDSNCData: () => (/* reexport safe */ _results_visible_digital_seals_VDSNCData__WEBPACK_IMPORTED_MODULE_51__.VDSNCData),
|
|
542
550
|
/* harmony export */ Validity: () => (/* reexport safe */ _results_visual_results_Validity__WEBPACK_IMPORTED_MODULE_21__.Validity),
|
|
543
551
|
/* harmony export */ Value: () => (/* reexport safe */ _results_visual_results_Value__WEBPACK_IMPORTED_MODULE_15__.Value),
|
|
544
|
-
/* harmony export */ ViewContentMode: () => (/* reexport safe */
|
|
552
|
+
/* harmony export */ ViewContentMode: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.ViewContentMode)
|
|
545
553
|
/* harmony export */ });
|
|
546
554
|
/* harmony import */ var _internal_bridge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/bridge */ "./src/internal/bridge.js");
|
|
547
555
|
/* harmony import */ var _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./config/OnlineProcessingConfig */ "./src/config/OnlineProcessingConfig.js");
|
|
@@ -617,33 +625,35 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
617
625
|
/* harmony import */ var _results_rfid_RFIDAccessControlProcedureType__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./results/rfid/RFIDAccessControlProcedureType */ "./src/results/rfid/RFIDAccessControlProcedureType.js");
|
|
618
626
|
/* harmony import */ var _results_rfid_Extension__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./results/rfid/Extension */ "./src/results/rfid/Extension.js");
|
|
619
627
|
/* harmony import */ var _results_rfid_AccessControlProcedureType__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./results/rfid/AccessControlProcedureType */ "./src/results/rfid/AccessControlProcedureType.js");
|
|
620
|
-
/* harmony import */ var
|
|
621
|
-
/* harmony import */ var
|
|
622
|
-
/* harmony import */ var
|
|
623
|
-
/* harmony import */ var
|
|
624
|
-
/* harmony import */ var
|
|
625
|
-
/* harmony import */ var
|
|
626
|
-
/* harmony import */ var
|
|
627
|
-
/* harmony import */ var
|
|
628
|
-
/* harmony import */ var
|
|
629
|
-
/* harmony import */ var
|
|
630
|
-
/* harmony import */ var
|
|
631
|
-
/* harmony import */ var
|
|
632
|
-
/* harmony import */ var
|
|
633
|
-
/* harmony import */ var
|
|
634
|
-
/* harmony import */ var
|
|
635
|
-
/* harmony import */ var
|
|
636
|
-
/* harmony import */ var
|
|
637
|
-
/* harmony import */ var
|
|
638
|
-
/* harmony import */ var
|
|
639
|
-
/* harmony import */ var
|
|
640
|
-
/* harmony import */ var
|
|
641
|
-
/* harmony import */ var
|
|
642
|
-
/* harmony import */ var
|
|
643
|
-
/* harmony import */ var
|
|
644
|
-
/* harmony import */ var
|
|
645
|
-
/* harmony import */ var
|
|
646
|
-
/* harmony import */ var
|
|
628
|
+
/* harmony import */ var _params_process_params_FilterObject__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./params/process_params/FilterObject */ "./src/params/process_params/FilterObject.js");
|
|
629
|
+
/* harmony import */ var _params_process_params_LivenessParams__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./params/process_params/LivenessParams */ "./src/params/process_params/LivenessParams.js");
|
|
630
|
+
/* harmony import */ var _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./params/process_params/ProcessParams */ "./src/params/process_params/ProcessParams.js");
|
|
631
|
+
/* harmony import */ var _params_process_params_GlaresCheckParams__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./params/process_params/GlaresCheckParams */ "./src/params/process_params/GlaresCheckParams.js");
|
|
632
|
+
/* harmony import */ var _params_process_params_FaceApiParams__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./params/process_params/FaceApiParams */ "./src/params/process_params/FaceApiParams.js");
|
|
633
|
+
/* harmony import */ var _params_process_params_RFIDParams__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./params/process_params/RFIDParams */ "./src/params/process_params/RFIDParams.js");
|
|
634
|
+
/* harmony import */ var _params_process_params_ImageQA__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./params/process_params/ImageQA */ "./src/params/process_params/ImageQA.js");
|
|
635
|
+
/* harmony import */ var _params_process_params_AuthenticityParams__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./params/process_params/AuthenticityParams */ "./src/params/process_params/AuthenticityParams.js");
|
|
636
|
+
/* harmony import */ var _params_process_params_BackendProcessingConfig__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./params/process_params/BackendProcessingConfig */ "./src/params/process_params/BackendProcessingConfig.js");
|
|
637
|
+
/* harmony import */ var _params_process_params_FaceApiSearchParams__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./params/process_params/FaceApiSearchParams */ "./src/params/process_params/FaceApiSearchParams.js");
|
|
638
|
+
/* harmony import */ var _params_Functionality__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./params/Functionality */ "./src/params/Functionality.js");
|
|
639
|
+
/* harmony import */ var _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./params/customization/CustomizationFonts */ "./src/params/customization/CustomizationFonts.js");
|
|
640
|
+
/* harmony import */ var _params_customization_CustomizationImages__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./params/customization/CustomizationImages */ "./src/params/customization/CustomizationImages.js");
|
|
641
|
+
/* harmony import */ var _params_customization_Font__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./params/customization/Font */ "./src/params/customization/Font.js");
|
|
642
|
+
/* harmony import */ var _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./params/customization/Customization */ "./src/params/customization/Customization.js");
|
|
643
|
+
/* harmony import */ var _params_customization_CustomizationColors__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./params/customization/CustomizationColors */ "./src/params/customization/CustomizationColors.js");
|
|
644
|
+
/* harmony import */ var _params_rfid_scenario_EPassportDataGroups__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./params/rfid_scenario/EPassportDataGroups */ "./src/params/rfid_scenario/EPassportDataGroups.js");
|
|
645
|
+
/* harmony import */ var _params_rfid_scenario_EIDDataGroups__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./params/rfid_scenario/EIDDataGroups */ "./src/params/rfid_scenario/EIDDataGroups.js");
|
|
646
|
+
/* harmony import */ var _params_rfid_scenario_DTCDataGroup__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./params/rfid_scenario/DTCDataGroup */ "./src/params/rfid_scenario/DTCDataGroup.js");
|
|
647
|
+
/* harmony import */ var _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./params/rfid_scenario/RFIDScenario */ "./src/params/rfid_scenario/RFIDScenario.js");
|
|
648
|
+
/* harmony import */ var _params_rfid_scenario_EDLDataGroups__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./params/rfid_scenario/EDLDataGroups */ "./src/params/rfid_scenario/EDLDataGroups.js");
|
|
649
|
+
/* harmony import */ var _rfid_PAResourcesIssuer__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./rfid/PAResourcesIssuer */ "./src/rfid/PAResourcesIssuer.js");
|
|
650
|
+
/* harmony import */ var _rfid_RFIDErrorCodes__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./rfid/RFIDErrorCodes */ "./src/rfid/RFIDErrorCodes.js");
|
|
651
|
+
/* harmony import */ var _rfid_TccParams__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./rfid/TccParams */ "./src/rfid/TccParams.js");
|
|
652
|
+
/* harmony import */ var _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./rfid/RFIDNotification */ "./src/rfid/RFIDNotification.js");
|
|
653
|
+
/* harmony import */ var _rfid_PAAttribute__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./rfid/PAAttribute */ "./src/rfid/PAAttribute.js");
|
|
654
|
+
/* harmony import */ var _rfid_TAChallenge__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./rfid/TAChallenge */ "./src/rfid/TAChallenge.js");
|
|
655
|
+
/* harmony import */ var _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./rfid/PKDCertificate */ "./src/rfid/PKDCertificate.js");
|
|
656
|
+
|
|
647
657
|
|
|
648
658
|
|
|
649
659
|
|
|
@@ -847,28 +857,28 @@ class DocumentReader {
|
|
|
847
857
|
}
|
|
848
858
|
|
|
849
859
|
get functionality() { return this._functionality }
|
|
850
|
-
_functionality = new
|
|
860
|
+
_functionality = new _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.Functionality()
|
|
851
861
|
set functionality(val) {
|
|
852
862
|
this._functionality = val;
|
|
853
863
|
this._functionality._apply();
|
|
854
864
|
}
|
|
855
865
|
|
|
856
866
|
get processParams() { return this._processParams }
|
|
857
|
-
_processParams = new
|
|
867
|
+
_processParams = new _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.ProcessParams()
|
|
858
868
|
set processParams(val) {
|
|
859
869
|
this._processParams = val;
|
|
860
870
|
this._processParams._apply();
|
|
861
871
|
}
|
|
862
872
|
|
|
863
873
|
get customization() { return this._customization }
|
|
864
|
-
_customization = new
|
|
874
|
+
_customization = new _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.Customization()
|
|
865
875
|
set customization(val) {
|
|
866
876
|
this._customization = val;
|
|
867
877
|
this._customization._apply();
|
|
868
878
|
}
|
|
869
879
|
|
|
870
880
|
get rfidScenario() { return this._rfidScenario }
|
|
871
|
-
_rfidScenario = new
|
|
881
|
+
_rfidScenario = new _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDScenario()
|
|
872
882
|
set rfidScenario(val) {
|
|
873
883
|
this._rfidScenario = val;
|
|
874
884
|
this._rfidScenario._apply();
|
|
@@ -884,10 +894,10 @@ class DocumentReader {
|
|
|
884
894
|
|
|
885
895
|
resetConfiguration() {
|
|
886
896
|
(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("resetConfiguration", []);
|
|
887
|
-
this._functionality = new
|
|
888
|
-
this._processParams = new
|
|
889
|
-
this._customization = new
|
|
890
|
-
this._rfidScenario = new
|
|
897
|
+
this._functionality = new _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.Functionality();
|
|
898
|
+
this._processParams = new _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.ProcessParams();
|
|
899
|
+
this._customization = new _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.Customization();
|
|
900
|
+
this._rfidScenario = new _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDScenario();
|
|
891
901
|
}
|
|
892
902
|
|
|
893
903
|
set onCustomButtonTapped(completion) {
|
|
@@ -1041,22 +1051,22 @@ class DocumentReader {
|
|
|
1041
1051
|
|
|
1042
1052
|
async _getProcessParams() {
|
|
1043
1053
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getProcessParams", []);
|
|
1044
|
-
return
|
|
1054
|
+
return _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_76__.ProcessParams.fromJson(JSON.parse(response));
|
|
1045
1055
|
}
|
|
1046
1056
|
|
|
1047
1057
|
async _getFunctionality() {
|
|
1048
1058
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getFunctionality", []);
|
|
1049
|
-
return
|
|
1059
|
+
return _params_Functionality__WEBPACK_IMPORTED_MODULE_84__.Functionality.fromJson(JSON.parse(response));
|
|
1050
1060
|
}
|
|
1051
1061
|
|
|
1052
1062
|
async _getCustomization() {
|
|
1053
1063
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getCustomization", []);
|
|
1054
|
-
return
|
|
1064
|
+
return _params_customization_Customization__WEBPACK_IMPORTED_MODULE_88__.Customization.fromJson(JSON.parse(response));
|
|
1055
1065
|
}
|
|
1056
1066
|
|
|
1057
1067
|
async _getRfidScenario() {
|
|
1058
1068
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getRfidScenario", []);
|
|
1059
|
-
return
|
|
1069
|
+
return _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_93__.RFIDScenario.fromJson(JSON.parse(response));
|
|
1060
1070
|
}
|
|
1061
1071
|
|
|
1062
1072
|
async _getLicense() {
|
|
@@ -1217,6 +1227,8 @@ const ErrorCodes = {
|
|
|
1217
1227
|
CANNOT_USE_CAMERA_IN_SCENARIO: 40,
|
|
1218
1228
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
1219
1229
|
WRONG_INPUT: 400,
|
|
1230
|
+
RESULT_UNAVAILABLE: 410,
|
|
1231
|
+
RESULT_WRONG_OUTPUT: 411,
|
|
1220
1232
|
STATE_EXCEPTION: 500,
|
|
1221
1233
|
BLE_EXCEPTION: 600,
|
|
1222
1234
|
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: 601,
|
|
@@ -1851,6 +1863,12 @@ class Functionality {
|
|
|
1851
1863
|
this._set({ "torchTurnedOn": val });
|
|
1852
1864
|
}
|
|
1853
1865
|
|
|
1866
|
+
get preventScreenRecording() { return this._preventScreenRecording; }
|
|
1867
|
+
set preventScreenRecording(val) {
|
|
1868
|
+
this._preventScreenRecording = val;
|
|
1869
|
+
this._set({ "preventScreenRecording": val });
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1854
1872
|
get showCaptureButtonDelayFromDetect() { return this._showCaptureButtonDelayFromDetect; }
|
|
1855
1873
|
set showCaptureButtonDelayFromDetect(val) {
|
|
1856
1874
|
this._showCaptureButtonDelayFromDetect = val;
|
|
@@ -1968,6 +1986,7 @@ class Functionality {
|
|
|
1968
1986
|
result._manualMultipageMode = jsonObject["manualMultipageMode"];
|
|
1969
1987
|
result._singleResult = jsonObject["singleResult"];
|
|
1970
1988
|
result._torchTurnedOn = jsonObject["torchTurnedOn"];
|
|
1989
|
+
result._preventScreenRecording = jsonObject["preventScreenRecording"];
|
|
1971
1990
|
result._showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"];
|
|
1972
1991
|
result._showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"];
|
|
1973
1992
|
result._rfidTimeout = jsonObject["rfidTimeout"];
|
|
@@ -2007,6 +2026,7 @@ class Functionality {
|
|
|
2007
2026
|
"manualMultipageMode": this.manualMultipageMode,
|
|
2008
2027
|
"singleResult": this.singleResult,
|
|
2009
2028
|
"torchTurnedOn": this.torchTurnedOn,
|
|
2029
|
+
"preventScreenRecording": this.preventScreenRecording,
|
|
2010
2030
|
"showCaptureButtonDelayFromDetect": this.showCaptureButtonDelayFromDetect,
|
|
2011
2031
|
"showCaptureButtonDelayFromStart": this.showCaptureButtonDelayFromStart,
|
|
2012
2032
|
"rfidTimeout": this.rfidTimeout,
|
|
@@ -2822,6 +2842,30 @@ class CustomizationColors {
|
|
|
2822
2842
|
this._set({ "rfidProcessingScreenLoadingBar": val });
|
|
2823
2843
|
}
|
|
2824
2844
|
|
|
2845
|
+
get rfidEnableNfcTitleText() { return this._rfidEnableNfcTitleText; }
|
|
2846
|
+
set rfidEnableNfcTitleText(val) {
|
|
2847
|
+
this._rfidEnableNfcTitleText = val;
|
|
2848
|
+
this._set({ "rfidEnableNfcTitleText": val });
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
get rfidEnableNfcDescriptionText() { return this._rfidEnableNfcDescriptionText; }
|
|
2852
|
+
set rfidEnableNfcDescriptionText(val) {
|
|
2853
|
+
this._rfidEnableNfcDescriptionText = val;
|
|
2854
|
+
this._set({ "rfidEnableNfcDescriptionText": val });
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
get rfidEnableNfcButtonText() { return this._rfidEnableNfcButtonText; }
|
|
2858
|
+
set rfidEnableNfcButtonText(val) {
|
|
2859
|
+
this._rfidEnableNfcButtonText = val;
|
|
2860
|
+
this._set({ "rfidEnableNfcButtonText": val });
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
get rfidEnableNfcButtonBackground() { return this._rfidEnableNfcButtonBackground; }
|
|
2864
|
+
set rfidEnableNfcButtonBackground(val) {
|
|
2865
|
+
this._rfidEnableNfcButtonBackground = val;
|
|
2866
|
+
this._set({ "rfidEnableNfcButtonBackground": val });
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2825
2869
|
static fromJson(jsonObject) {
|
|
2826
2870
|
if (jsonObject == null) return null;
|
|
2827
2871
|
|
|
@@ -2834,6 +2878,10 @@ class CustomizationColors {
|
|
|
2834
2878
|
result._rfidProcessingScreenProgressBarBackground = jsonObject["rfidProcessingScreenProgressBarBackground"];
|
|
2835
2879
|
result._rfidProcessingScreenResultLabelText = jsonObject["rfidProcessingScreenResultLabelText"];
|
|
2836
2880
|
result._rfidProcessingScreenLoadingBar = jsonObject["rfidProcessingScreenLoadingBar"];
|
|
2881
|
+
result._rfidEnableNfcTitleText = jsonObject["rfidEnableNfcTitleText"];
|
|
2882
|
+
result._rfidEnableNfcDescriptionText = jsonObject["rfidEnableNfcDescriptionText"];
|
|
2883
|
+
result._rfidEnableNfcButtonText = jsonObject["rfidEnableNfcButtonText"];
|
|
2884
|
+
result._rfidEnableNfcButtonBackground = jsonObject["rfidEnableNfcButtonBackground"];
|
|
2837
2885
|
|
|
2838
2886
|
return result;
|
|
2839
2887
|
}
|
|
@@ -2855,6 +2903,10 @@ class CustomizationColors {
|
|
|
2855
2903
|
"rfidProcessingScreenProgressBarBackground": this.rfidProcessingScreenProgressBarBackground,
|
|
2856
2904
|
"rfidProcessingScreenResultLabelText": this.rfidProcessingScreenResultLabelText,
|
|
2857
2905
|
"rfidProcessingScreenLoadingBar": this.rfidProcessingScreenLoadingBar,
|
|
2906
|
+
"rfidEnableNfcTitleText": this.rfidEnableNfcTitleText,
|
|
2907
|
+
"rfidEnableNfcDescriptionText": this.rfidEnableNfcDescriptionText,
|
|
2908
|
+
"rfidEnableNfcButtonText": this.rfidEnableNfcButtonText,
|
|
2909
|
+
"rfidEnableNfcButtonBackground": this.rfidEnableNfcButtonBackground,
|
|
2858
2910
|
}
|
|
2859
2911
|
}
|
|
2860
2912
|
}
|
|
@@ -2896,6 +2948,24 @@ class CustomizationFonts {
|
|
|
2896
2948
|
this._set({ "rfidProcessingScreenResultLabel": val });
|
|
2897
2949
|
}
|
|
2898
2950
|
|
|
2951
|
+
get rfidEnableNfcTitleText() { return this._rfidEnableNfcTitleText; }
|
|
2952
|
+
set rfidEnableNfcTitleText(val) {
|
|
2953
|
+
this._rfidEnableNfcTitleText = val;
|
|
2954
|
+
this._set({ "rfidEnableNfcTitleText": val });
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
get rfidEnableNfcDescriptionText() { return this._rfidEnableNfcDescriptionText; }
|
|
2958
|
+
set rfidEnableNfcDescriptionText(val) {
|
|
2959
|
+
this._rfidEnableNfcDescriptionText = val;
|
|
2960
|
+
this._set({ "rfidEnableNfcDescriptionText": val });
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
get rfidEnableNfcButtonText() { return this._rfidEnableNfcButtonText; }
|
|
2964
|
+
set rfidEnableNfcButtonText(val) {
|
|
2965
|
+
this._rfidEnableNfcButtonText = val;
|
|
2966
|
+
this._set({ "rfidEnableNfcButtonText": val });
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2899
2969
|
static fromJson(jsonObject) {
|
|
2900
2970
|
if (jsonObject == null) return null;
|
|
2901
2971
|
|
|
@@ -2903,6 +2973,9 @@ class CustomizationFonts {
|
|
|
2903
2973
|
result._rfidProcessingScreenHintLabel = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]);
|
|
2904
2974
|
result._rfidProcessingScreenProgressLabel = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]);
|
|
2905
2975
|
result._rfidProcessingScreenResultLabel = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"]);
|
|
2976
|
+
result._rfidEnableNfcTitleText = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidEnableNfcTitleText"]);
|
|
2977
|
+
result._rfidEnableNfcDescriptionText = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidEnableNfcDescriptionText"]);
|
|
2978
|
+
result._rfidEnableNfcButtonText = _Font__WEBPACK_IMPORTED_MODULE_1__.Font.fromJson(jsonObject["rfidEnableNfcButtonText"]);
|
|
2906
2979
|
|
|
2907
2980
|
return result;
|
|
2908
2981
|
}
|
|
@@ -2919,6 +2992,9 @@ class CustomizationFonts {
|
|
|
2919
2992
|
"rfidProcessingScreenHintLabel": this.rfidProcessingScreenHintLabel?.toJson(),
|
|
2920
2993
|
"rfidProcessingScreenProgressLabel": this.rfidProcessingScreenProgressLabel?.toJson(),
|
|
2921
2994
|
"rfidProcessingScreenResultLabel": this.rfidProcessingScreenResultLabel?.toJson(),
|
|
2995
|
+
"rfidEnableNfcTitleText": this.rfidEnableNfcTitleText?.toJson(),
|
|
2996
|
+
"rfidEnableNfcDescriptionText": this.rfidEnableNfcDescriptionText?.toJson(),
|
|
2997
|
+
"rfidEnableNfcButtonText": this.rfidEnableNfcButtonText?.toJson(),
|
|
2922
2998
|
}
|
|
2923
2999
|
}
|
|
2924
3000
|
}
|
|
@@ -2946,11 +3022,18 @@ class CustomizationImages {
|
|
|
2946
3022
|
this._set({ "rfidProcessingScreenFailureImage": val });
|
|
2947
3023
|
}
|
|
2948
3024
|
|
|
3025
|
+
get rfidEnableNfcImage() { return this._rfidEnableNfcImage; }
|
|
3026
|
+
set rfidEnableNfcImage(val) {
|
|
3027
|
+
this._rfidEnableNfcImage = val;
|
|
3028
|
+
this._set({ "rfidEnableNfcImage": val });
|
|
3029
|
+
}
|
|
3030
|
+
|
|
2949
3031
|
static fromJson(jsonObject) {
|
|
2950
3032
|
if (jsonObject == null) return null;
|
|
2951
3033
|
|
|
2952
3034
|
const result = new CustomizationImages();
|
|
2953
3035
|
result._rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"];
|
|
3036
|
+
result._rfidEnableNfcImage = jsonObject["rfidEnableNfcImage"];
|
|
2954
3037
|
|
|
2955
3038
|
return result;
|
|
2956
3039
|
}
|
|
@@ -2965,6 +3048,7 @@ class CustomizationImages {
|
|
|
2965
3048
|
toJson() {
|
|
2966
3049
|
return {
|
|
2967
3050
|
"rfidProcessingScreenFailureImage": this.rfidProcessingScreenFailureImage,
|
|
3051
|
+
"rfidEnableNfcImage": this.rfidEnableNfcImage,
|
|
2968
3052
|
}
|
|
2969
3053
|
}
|
|
2970
3054
|
}
|
|
@@ -3031,10 +3115,13 @@ const FontStyle = {
|
|
|
3031
3115
|
|
|
3032
3116
|
__webpack_require__.r(__webpack_exports__);
|
|
3033
3117
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3118
|
+
/* harmony export */ AuthenticityCheckType: () => (/* binding */ AuthenticityCheckType),
|
|
3034
3119
|
/* harmony export */ AuthenticityParams: () => (/* binding */ AuthenticityParams)
|
|
3035
3120
|
/* harmony export */ });
|
|
3036
3121
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
3037
3122
|
/* harmony import */ var _LivenessParams__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./LivenessParams */ "./src/params/process_params/LivenessParams.js");
|
|
3123
|
+
/* harmony import */ var _FilterObject__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterObject */ "./src/params/process_params/FilterObject.js");
|
|
3124
|
+
|
|
3038
3125
|
|
|
3039
3126
|
|
|
3040
3127
|
|
|
@@ -3132,6 +3219,28 @@ class AuthenticityParams {
|
|
|
3132
3219
|
this._set({ "checkSecurityText": val });
|
|
3133
3220
|
}
|
|
3134
3221
|
|
|
3222
|
+
_checkFilters = {};
|
|
3223
|
+
|
|
3224
|
+
setCheckFilter(checkType, filter) {
|
|
3225
|
+
this._checkFilters[checkType] = filter;
|
|
3226
|
+
this._set({
|
|
3227
|
+
"setCheckFilter": {
|
|
3228
|
+
"checkType": checkType,
|
|
3229
|
+
"filterObject": filter.toJson(),
|
|
3230
|
+
},
|
|
3231
|
+
});
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
removeCheckFilter(checkType) {
|
|
3235
|
+
delete this._checkFilters[checkType];
|
|
3236
|
+
this._set({ "removeCheckFilter": checkType });
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
clearCheckFilter() {
|
|
3240
|
+
this._checkFilters = {};
|
|
3241
|
+
this._set({ "clearCheckFilter": null });
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3135
3244
|
static fromJson(jsonObject) {
|
|
3136
3245
|
if (jsonObject == null) return new AuthenticityParams();
|
|
3137
3246
|
|
|
@@ -3153,6 +3262,8 @@ class AuthenticityParams {
|
|
|
3153
3262
|
result._checkPhotoComparison = jsonObject["checkPhotoComparison"];
|
|
3154
3263
|
result._checkLetterScreen = jsonObject["checkLetterScreen"];
|
|
3155
3264
|
result._checkSecurityText = jsonObject["checkSecurityText"];
|
|
3265
|
+
result._checkFilters = Object.fromEntries(Object.entries(jsonObject["checkFilters"] ?? {})
|
|
3266
|
+
.map(([k, v]) => [k, _FilterObject__WEBPACK_IMPORTED_MODULE_2__.FilterObject.fromJson(v)]));
|
|
3156
3267
|
|
|
3157
3268
|
return result;
|
|
3158
3269
|
}
|
|
@@ -3182,10 +3293,29 @@ class AuthenticityParams {
|
|
|
3182
3293
|
"checkPhotoComparison": this.checkPhotoComparison,
|
|
3183
3294
|
"checkLetterScreen": this.checkLetterScreen,
|
|
3184
3295
|
"checkSecurityText": this.checkSecurityText,
|
|
3296
|
+
"checkFilters": Object.fromEntries(Object.entries(this._checkFilters).map(([k, v]) => [k, v.toJson()])),
|
|
3185
3297
|
}
|
|
3186
3298
|
}
|
|
3187
3299
|
}
|
|
3188
3300
|
|
|
3301
|
+
const AuthenticityCheckType = {
|
|
3302
|
+
USE_LIVENESS: "checkLiveness",
|
|
3303
|
+
UV_LUMINISCENCE: "checkUVLuminiscence",
|
|
3304
|
+
IR_B900: "checkIRB900",
|
|
3305
|
+
IMAGE_PATTERNS: "checkImagePatterns",
|
|
3306
|
+
FIBERS: "checkFibers",
|
|
3307
|
+
EXT_MRZ: "checkExtMRZ",
|
|
3308
|
+
EXT_OCR: "checkExtOCR",
|
|
3309
|
+
AXIAL: "checkAxial",
|
|
3310
|
+
BARCODE_FORMAT: "checkBarcodeFormat",
|
|
3311
|
+
IR_VISIBILITY: "checkIRVisibility",
|
|
3312
|
+
IPI: "checkIPI",
|
|
3313
|
+
PHOTO_EMBEDDING: "checkPhotoEmbedding",
|
|
3314
|
+
PHOTO_COMPARISON: "checkPhotoComparison",
|
|
3315
|
+
LETTER_SCREEN: "checkLetterScreen",
|
|
3316
|
+
SECURITY_TEXT: "checkSecurityText",
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3189
3319
|
|
|
3190
3320
|
/***/ }),
|
|
3191
3321
|
|
|
@@ -3344,6 +3474,81 @@ class FaceApiSearchParams {
|
|
|
3344
3474
|
}
|
|
3345
3475
|
|
|
3346
3476
|
|
|
3477
|
+
/***/ }),
|
|
3478
|
+
|
|
3479
|
+
/***/ "./src/params/process_params/FilterObject.js":
|
|
3480
|
+
/*!***************************************************!*\
|
|
3481
|
+
!*** ./src/params/process_params/FilterObject.js ***!
|
|
3482
|
+
\***************************************************/
|
|
3483
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3484
|
+
|
|
3485
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3486
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3487
|
+
/* harmony export */ FilterObject: () => (/* binding */ FilterObject),
|
|
3488
|
+
/* harmony export */ FilterObjectType: () => (/* binding */ FilterObjectType)
|
|
3489
|
+
/* harmony export */ });
|
|
3490
|
+
class FilterObject {
|
|
3491
|
+
docIDsFilter
|
|
3492
|
+
docFormatsFilter
|
|
3493
|
+
docCategoriesFilter
|
|
3494
|
+
docCountriesFilter
|
|
3495
|
+
|
|
3496
|
+
static fromJson(json) {
|
|
3497
|
+
var result = new FilterObject();
|
|
3498
|
+
result.docIDsFilter = FilterObjectType.fromJson(json["docIDsFilter"]);
|
|
3499
|
+
result.docFormatsFilter = FilterObjectType.fromJson(json["docFormatsFilter"]);
|
|
3500
|
+
result.docCategoriesFilter = FilterObjectType.fromJson(json["docCategoriesFilter"]);
|
|
3501
|
+
result.docCountriesFilter = FilterObjectType.fromJson(json["docCountriesFilter"]);
|
|
3502
|
+
return result;
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
toJson() {
|
|
3506
|
+
return {
|
|
3507
|
+
"docIDsFilter": this.docIDsFilter?.toJson(),
|
|
3508
|
+
"docFormatsFilter": this.docFormatsFilter?.toJson(),
|
|
3509
|
+
"docCategoriesFilter": this.docCategoriesFilter?.toJson(),
|
|
3510
|
+
"docCountriesFilter": this.docCountriesFilter?.toJson()
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
class FilterObjectType {
|
|
3516
|
+
_list
|
|
3517
|
+
_isInclude
|
|
3518
|
+
|
|
3519
|
+
static createIncludeList(list) {
|
|
3520
|
+
var result = new FilterObjectType();
|
|
3521
|
+
result._list = list;
|
|
3522
|
+
result._isInclude = true;
|
|
3523
|
+
return result;
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
static createExcludeList(list) {
|
|
3527
|
+
var result = new FilterObjectType();
|
|
3528
|
+
result._list = list;
|
|
3529
|
+
result._isInclude = false;
|
|
3530
|
+
return result;
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
static fromJson(json) {
|
|
3534
|
+
if (json == null) return null;
|
|
3535
|
+
if (json["isInclude"]) {
|
|
3536
|
+
return FilterObjectType.createIncludeList(json["list"]);
|
|
3537
|
+
} else {
|
|
3538
|
+
return FilterObjectType.createExcludeList(json["list"]);
|
|
3539
|
+
}
|
|
3540
|
+
}
|
|
3541
|
+
|
|
3542
|
+
toJson() {
|
|
3543
|
+
return {
|
|
3544
|
+
"list": this._list,
|
|
3545
|
+
"isInclude": this._isInclude,
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
|
|
3550
|
+
|
|
3551
|
+
|
|
3347
3552
|
/***/ }),
|
|
3348
3553
|
|
|
3349
3554
|
/***/ "./src/params/process_params/GlaresCheckParams.js":
|
|
@@ -3523,9 +3728,12 @@ class ImageQA {
|
|
|
3523
3728
|
|
|
3524
3729
|
__webpack_require__.r(__webpack_exports__);
|
|
3525
3730
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3731
|
+
/* harmony export */ LivenessCheckType: () => (/* binding */ LivenessCheckType),
|
|
3526
3732
|
/* harmony export */ LivenessParams: () => (/* binding */ LivenessParams)
|
|
3527
3733
|
/* harmony export */ });
|
|
3528
3734
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
3735
|
+
/* harmony import */ var _FilterObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./FilterObject */ "./src/params/process_params/FilterObject.js");
|
|
3736
|
+
|
|
3529
3737
|
|
|
3530
3738
|
|
|
3531
3739
|
class LivenessParams {
|
|
@@ -3571,9 +3779,31 @@ class LivenessParams {
|
|
|
3571
3779
|
this._set({ "checkGeometry": val });
|
|
3572
3780
|
}
|
|
3573
3781
|
|
|
3782
|
+
_checkFilters = {};
|
|
3783
|
+
|
|
3784
|
+
setCheckFilter(checkType, filter) {
|
|
3785
|
+
this._checkFilters[checkType] = filter;
|
|
3786
|
+
this._set({
|
|
3787
|
+
"setCheckFilter": {
|
|
3788
|
+
"checkType": checkType,
|
|
3789
|
+
"filterObject": filter.toJson(),
|
|
3790
|
+
},
|
|
3791
|
+
});
|
|
3792
|
+
}
|
|
3793
|
+
|
|
3794
|
+
removeCheckFilter(checkType) {
|
|
3795
|
+
delete this._checkFilters[checkType];
|
|
3796
|
+
this._set({ "removeCheckFilter": checkType });
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
clearCheckFilter() {
|
|
3800
|
+
this._checkFilters = {};
|
|
3801
|
+
this._set({ "clearCheckFilter": null });
|
|
3802
|
+
}
|
|
3803
|
+
|
|
3574
3804
|
static fromJson(jsonObject) {
|
|
3575
3805
|
if (jsonObject == null) return new LivenessParams();
|
|
3576
|
-
|
|
3806
|
+
|
|
3577
3807
|
const result = new LivenessParams();
|
|
3578
3808
|
result._checkOVI = jsonObject["checkOVI"];
|
|
3579
3809
|
result._checkMLI = jsonObject["checkMLI"];
|
|
@@ -3582,7 +3812,9 @@ class LivenessParams {
|
|
|
3582
3812
|
result._checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"];
|
|
3583
3813
|
result._checkDynaprint = jsonObject["checkDynaprint"];
|
|
3584
3814
|
result._checkGeometry = jsonObject["checkGeometry"];
|
|
3585
|
-
|
|
3815
|
+
result._checkFilters = Object.fromEntries(Object.entries(jsonObject["checkFilters"] ?? {})
|
|
3816
|
+
.map(([k, v]) => [k, _FilterObject__WEBPACK_IMPORTED_MODULE_1__.FilterObject.fromJson(v)]));
|
|
3817
|
+
|
|
3586
3818
|
return result;
|
|
3587
3819
|
}
|
|
3588
3820
|
|
|
@@ -3602,10 +3834,21 @@ class LivenessParams {
|
|
|
3602
3834
|
"checkBlackAndWhiteCopy": this.checkBlackAndWhiteCopy,
|
|
3603
3835
|
"checkDynaprint": this.checkDynaprint,
|
|
3604
3836
|
"checkGeometry": this.checkGeometry,
|
|
3837
|
+
"checkFilters": Object.fromEntries(Object.entries(this._checkFilters).map(([k, v]) => [k, v.toJson()])),
|
|
3605
3838
|
}
|
|
3606
3839
|
}
|
|
3607
3840
|
}
|
|
3608
3841
|
|
|
3842
|
+
const LivenessCheckType = {
|
|
3843
|
+
OVI: "checkOVI",
|
|
3844
|
+
MLI: "checkMLI",
|
|
3845
|
+
HOLO: "checkHolo",
|
|
3846
|
+
ED: "checkED",
|
|
3847
|
+
BLACK_AND_WHITE_COPY: "checkBlackAndWhiteCopy",
|
|
3848
|
+
DYNAPRINT: "checkDynaprint",
|
|
3849
|
+
GEOMETRY: "checkGeometry",
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3609
3852
|
|
|
3610
3853
|
/***/ }),
|
|
3611
3854
|
|
|
@@ -3617,6 +3860,7 @@ class LivenessParams {
|
|
|
3617
3860
|
|
|
3618
3861
|
__webpack_require__.r(__webpack_exports__);
|
|
3619
3862
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3863
|
+
/* harmony export */ FilterCheckType: () => (/* binding */ FilterCheckType),
|
|
3620
3864
|
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
3621
3865
|
/* harmony export */ MRZFormat: () => (/* binding */ MRZFormat),
|
|
3622
3866
|
/* harmony export */ MeasureSystem: () => (/* binding */ MeasureSystem),
|
|
@@ -3630,6 +3874,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3630
3874
|
/* harmony import */ var _FaceApiParams__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./FaceApiParams */ "./src/params/process_params/FaceApiParams.js");
|
|
3631
3875
|
/* harmony import */ var _BackendProcessingConfig__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./BackendProcessingConfig */ "./src/params/process_params/BackendProcessingConfig.js");
|
|
3632
3876
|
/* harmony import */ var _AuthenticityParams__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./AuthenticityParams */ "./src/params/process_params/AuthenticityParams.js");
|
|
3877
|
+
/* harmony import */ var _FilterObject__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./FilterObject */ "./src/params/process_params/FilterObject.js");
|
|
3878
|
+
|
|
3633
3879
|
|
|
3634
3880
|
|
|
3635
3881
|
|
|
@@ -4095,6 +4341,28 @@ class ProcessParams {
|
|
|
4095
4341
|
this._set({ "customParams": val });
|
|
4096
4342
|
}
|
|
4097
4343
|
|
|
4344
|
+
_checkFilters = {};
|
|
4345
|
+
|
|
4346
|
+
setCheckFilter(checkType, filter) {
|
|
4347
|
+
this._checkFilters[checkType] = filter;
|
|
4348
|
+
this._set({
|
|
4349
|
+
"setCheckFilter": {
|
|
4350
|
+
"checkType": checkType,
|
|
4351
|
+
"filterObject": filter.toJson(),
|
|
4352
|
+
},
|
|
4353
|
+
});
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
removeCheckFilter(checkType) {
|
|
4357
|
+
delete this._checkFilters[checkType];
|
|
4358
|
+
this._set({ "removeCheckFilter": checkType });
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
clearCheckFilter() {
|
|
4362
|
+
this._checkFilters = {};
|
|
4363
|
+
this._set({ "clearCheckFilter": null });
|
|
4364
|
+
}
|
|
4365
|
+
|
|
4098
4366
|
static fromJson(jsonObject) {
|
|
4099
4367
|
if (jsonObject == null) return new ProcessParams();
|
|
4100
4368
|
const result = new ProcessParams();
|
|
@@ -4176,6 +4444,8 @@ class ProcessParams {
|
|
|
4176
4444
|
result._backendProcessingConfig = _BackendProcessingConfig__WEBPACK_IMPORTED_MODULE_5__.BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"]);
|
|
4177
4445
|
result._authenticityParams = _AuthenticityParams__WEBPACK_IMPORTED_MODULE_6__.AuthenticityParams.fromJson(jsonObject["authenticityParams"]);
|
|
4178
4446
|
result._customParams = jsonObject["customParams"];
|
|
4447
|
+
result._checkFilters = Object.fromEntries(Object.entries(jsonObject["checkFilters"] ?? {})
|
|
4448
|
+
.map(([k, v]) => [k, _FilterObject__WEBPACK_IMPORTED_MODULE_7__.FilterObject.fromJson(v)]));
|
|
4179
4449
|
|
|
4180
4450
|
return result;
|
|
4181
4451
|
}
|
|
@@ -4258,6 +4528,7 @@ class ProcessParams {
|
|
|
4258
4528
|
"backendProcessingConfig": this.backendProcessingConfig?.toJson(),
|
|
4259
4529
|
"authenticityParams": this.authenticityParams?.toJson(),
|
|
4260
4530
|
"customParams": this.customParams,
|
|
4531
|
+
"checkFilters": Object.fromEntries(Object.entries(this._checkFilters).map(([k, v]) => [k, v.toJson()])),
|
|
4261
4532
|
}
|
|
4262
4533
|
}
|
|
4263
4534
|
|
|
@@ -4296,6 +4567,10 @@ const MrzDetectionModes = {
|
|
|
4296
4567
|
BLUR_BEFORE_BINARIZATION: 2
|
|
4297
4568
|
};
|
|
4298
4569
|
|
|
4570
|
+
const FilterCheckType = {
|
|
4571
|
+
AUTH: "checkAuth",
|
|
4572
|
+
};
|
|
4573
|
+
|
|
4299
4574
|
|
|
4300
4575
|
/***/ }),
|
|
4301
4576
|
|
|
@@ -6617,6 +6892,8 @@ const CheckDiagnose = {
|
|
|
6617
6892
|
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
6618
6893
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
6619
6894
|
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
|
|
6895
|
+
CHD_FIELD_POS_CORRECTOR_AGE_CHECK_ERROR: 87,
|
|
6896
|
+
CHD_FIELD_POS_CORRECTOR_SEX_CHECK_ERROR: 88,
|
|
6620
6897
|
OVI_IR_INVISIBLE: 90,
|
|
6621
6898
|
OVI_INSUFFICIENT_AREA: 91,
|
|
6622
6899
|
OVI_COLOR_INVARIABLE: 92,
|
|
@@ -6765,7 +7042,9 @@ const SecurityFeatureType = {
|
|
|
6765
7042
|
HEAD_POSITION_CHECK: 52,
|
|
6766
7043
|
LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
6767
7044
|
LIVENESS_DYNAPRINT: 54,
|
|
6768
|
-
LIVENESS_GEOMETRY_CHECK: 55
|
|
7045
|
+
LIVENESS_GEOMETRY_CHECK: 55,
|
|
7046
|
+
AGE_CHECK: 56,
|
|
7047
|
+
SEX_CHECK: 57,
|
|
6769
7048
|
}
|
|
6770
7049
|
|
|
6771
7050
|
|