@regulaforensics/ionic-native-document-reader 7.1.0 → 7.2.0

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/index.d.ts CHANGED
@@ -307,7 +307,7 @@ export declare class DocumentReaderBarcodeField {
307
307
  status?: number;
308
308
  pageIndex?: number;
309
309
  pdf417Info?: PDF417Info;
310
- data?: any[];
310
+ data?: string;
311
311
  static fromJson(jsonObject?: any): DocumentReaderBarcodeField | undefined;
312
312
  }
313
313
  export declare class DocumentReaderAuthenticityResult {
@@ -362,7 +362,7 @@ export declare class ImageInputParam {
362
362
  static fromJson(jsonObject?: any): ImageInputParam | undefined;
363
363
  }
364
364
  export declare class PAResourcesIssuer {
365
- data?: any[];
365
+ data?: string;
366
366
  friendlyName?: string;
367
367
  attributes?: PAAttribute[];
368
368
  static fromJson(jsonObject?: any): PAResourcesIssuer | undefined;
@@ -373,7 +373,7 @@ export declare class PAAttribute {
373
373
  static fromJson(jsonObject?: any): PAAttribute | undefined;
374
374
  }
375
375
  export declare class TAChallenge {
376
- data?: any[];
376
+ data?: string;
377
377
  auxPCD?: string;
378
378
  challengePICC?: string;
379
379
  hashPK?: string;
@@ -416,7 +416,7 @@ export declare class VDSNCData {
416
416
  type?: string;
417
417
  version?: number;
418
418
  issuingCountry?: string;
419
- message?: any;
419
+ message?: Record<string, any>;
420
420
  signatureAlgorithm?: string;
421
421
  signature?: BytesData;
422
422
  certificate?: BytesData;
@@ -438,7 +438,7 @@ export declare class ImageInputData {
438
438
  width?: number;
439
439
  height?: number;
440
440
  bitmap?: string;
441
- imgBytes?: any[];
441
+ imgBytes?: string;
442
442
  static fromJson(jsonObject?: any): ImageInputData | undefined;
443
443
  }
444
444
  export declare class DocReaderDocumentsDatabase {
@@ -481,74 +481,10 @@ export declare class DocumentReaderValidity {
481
481
  status?: number;
482
482
  static fromJson(jsonObject?: any): DocumentReaderValidity | undefined;
483
483
  }
484
- export declare class FaceApiParams {
485
- url?: string;
486
- mode?: string;
487
- searchParams?: Search;
488
- threshold?: number;
489
- serviceTimeout?: number;
490
- proxy?: string;
491
- proxyPassword?: string;
492
- proxyType?: number;
493
- static fromJson(jsonObject?: any): FaceApiParams | undefined;
494
- }
495
- export declare class Search {
496
- limit?: number;
497
- threshold?: number;
498
- groupIds?: number[];
499
- static fromJson(jsonObject?: any): Search | undefined;
500
- }
501
- export declare class AuthenticityParams {
502
- useLivenessCheck?: boolean;
503
- livenessParams?: LivenessParams;
504
- checkUVLuminiscence?: boolean;
505
- checkIRB900?: boolean;
506
- checkImagePatterns?: boolean;
507
- checkFibers?: boolean;
508
- checkExtMRZ?: boolean;
509
- checkExtOCR?: boolean;
510
- checkAxial?: boolean;
511
- checkBarcodeFormat?: boolean;
512
- checkIRVisibility?: boolean;
513
- checkIPI?: boolean;
514
- checkPhotoEmbedding?: boolean;
515
- checkPhotoComparison?: boolean;
516
- checkLetterScreen?: boolean;
517
- static fromJson(jsonObject?: any): AuthenticityParams | undefined;
518
- }
519
- export declare class LivenessParams {
520
- checkOVI?: boolean;
521
- checkMLI?: boolean;
522
- checkHolo?: boolean;
523
- checkED?: boolean;
524
- static fromJson(jsonObject?: any): LivenessParams | undefined;
525
- }
526
- export declare class ImageQA {
527
- dpiThreshold?: number;
528
- angleThreshold?: number;
529
- focusCheck?: boolean;
530
- glaresCheck?: boolean;
531
- colornessCheck?: boolean;
532
- screenCapture?: boolean;
533
- documentPositionIndent?: number;
534
- expectedPass?: number[];
535
- glaresCheckParams?: GlaresCheckParams;
536
- brightnessThreshold?: number;
537
- static fromJson(jsonObject?: any): ImageQA | undefined;
538
- }
539
- export declare class GlaresCheckParams {
540
- imgMarginPart?: number;
541
- maxGlaringPart?: number;
542
- static fromJson(jsonObject?: any): GlaresCheckParams | undefined;
543
- }
544
- export declare class RFIDParams {
545
- paIgnoreNotificationCodes?: number[];
546
- static fromJson(jsonObject?: any): RFIDParams | undefined;
547
- }
548
484
  export declare class OnlineProcessingConfig {
549
485
  mode?: number;
550
486
  url?: string;
551
- processParam?: any;
487
+ processParam?: ProcessParams;
552
488
  imageFormat?: number;
553
489
  imageCompressionQuality?: number;
554
490
  static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined;
@@ -559,7 +495,7 @@ export declare class DocReaderConfig {
559
495
  databasePath?: string;
560
496
  licenseUpdate?: boolean;
561
497
  delayedNNLoad?: boolean;
562
- blackList?: any;
498
+ blackList?: Record<string, string>;
563
499
  static fromJson(jsonObject?: any): DocReaderConfig | undefined;
564
500
  }
565
501
  export declare class ScannerConfig {
@@ -622,6 +558,394 @@ export declare class DocumentReaderResults {
622
558
  transactionInfo?: TransactionInfo;
623
559
  static fromJson(jsonObject?: any): DocumentReaderResults | undefined;
624
560
  }
561
+ export declare class CameraSize {
562
+ width?: number;
563
+ height?: number;
564
+ static fromJson(jsonObject?: any): CameraSize | undefined;
565
+ }
566
+ export declare class Functionality {
567
+ pictureOnBoundsReady?: boolean;
568
+ showTorchButton?: boolean;
569
+ showCloseButton?: boolean;
570
+ videoCaptureMotionControl?: boolean;
571
+ showCaptureButton?: boolean;
572
+ showChangeFrameButton?: boolean;
573
+ showSkipNextPageButton?: boolean;
574
+ useAuthenticator?: boolean;
575
+ skipFocusingFrames?: boolean;
576
+ showCameraSwitchButton?: boolean;
577
+ displayMetadata?: boolean;
578
+ isZoomEnabled?: boolean;
579
+ isCameraTorchCheckDisabled?: boolean;
580
+ recordScanningProcess?: boolean;
581
+ manualMultipageMode?: boolean;
582
+ singleResult?: boolean;
583
+ showCaptureButtonDelayFromDetect?: number;
584
+ showCaptureButtonDelayFromStart?: number;
585
+ rfidTimeout?: number;
586
+ forcePagesCount?: number;
587
+ orientation?: number;
588
+ captureMode?: number;
589
+ cameraMode?: number;
590
+ cameraPositionIOS?: number;
591
+ cameraFrame?: string;
592
+ btDeviceName?: string;
593
+ zoomFactor?: number;
594
+ exposure?: number;
595
+ excludedCamera2Models?: string[];
596
+ cameraSize?: CameraSize;
597
+ videoSessionPreset?: number;
598
+ static fromJson(jsonObject?: any): Functionality | undefined;
599
+ }
600
+ export declare class GlaresCheckParams {
601
+ imgMarginPart?: number;
602
+ maxGlaringPart?: number;
603
+ static fromJson(jsonObject?: any): GlaresCheckParams | undefined;
604
+ }
605
+ export declare class ImageQA {
606
+ dpiThreshold?: number;
607
+ angleThreshold?: number;
608
+ focusCheck?: boolean;
609
+ glaresCheck?: boolean;
610
+ glaresCheckParams?: GlaresCheckParams;
611
+ colornessCheck?: boolean;
612
+ screenCapture?: boolean;
613
+ expectedPass?: number[];
614
+ documentPositionIndent?: number;
615
+ brightnessThreshold?: number;
616
+ static fromJson(jsonObject?: any): ImageQA | undefined;
617
+ }
618
+ export declare class RFIDParams {
619
+ paIgnoreNotificationCodes?: number[];
620
+ static fromJson(jsonObject?: any): RFIDParams | undefined;
621
+ }
622
+ export declare class FaceApiSearchParams {
623
+ limit?: number;
624
+ threshold?: number;
625
+ groupIds?: number[];
626
+ static fromJson(jsonObject?: any): FaceApiSearchParams | undefined;
627
+ }
628
+ export declare class FaceApiParams {
629
+ url?: string;
630
+ mode?: string;
631
+ threshold?: number;
632
+ searchParams?: FaceApiSearchParams;
633
+ serviceTimeout?: number;
634
+ proxy?: string;
635
+ proxyPassword?: string;
636
+ proxyType?: number;
637
+ static fromJson(jsonObject?: any): FaceApiParams | undefined;
638
+ }
639
+ export declare class BackendProcessingConfig {
640
+ url?: string;
641
+ httpHeaders?: Record<string, string>;
642
+ rfidServerSideChipVerification?: boolean;
643
+ static fromJson(jsonObject?: any): BackendProcessingConfig | undefined;
644
+ }
645
+ export declare class LivenessParams {
646
+ checkOVI?: boolean;
647
+ checkMLI?: boolean;
648
+ checkHolo?: boolean;
649
+ checkED?: boolean;
650
+ static fromJson(jsonObject?: any): LivenessParams | undefined;
651
+ }
652
+ export declare class AuthenticityParams {
653
+ useLivenessCheck?: boolean;
654
+ livenessParams?: LivenessParams;
655
+ checkUVLuminiscence?: boolean;
656
+ checkIRB900?: boolean;
657
+ checkImagePatterns?: boolean;
658
+ checkFibers?: boolean;
659
+ checkExtMRZ?: boolean;
660
+ checkExtOCR?: boolean;
661
+ checkAxial?: boolean;
662
+ checkBarcodeFormat?: boolean;
663
+ checkIRVisibility?: boolean;
664
+ checkIPI?: boolean;
665
+ checkPhotoEmbedding?: boolean;
666
+ checkPhotoComparison?: boolean;
667
+ checkLetterScreen?: boolean;
668
+ static fromJson(jsonObject?: any): AuthenticityParams | undefined;
669
+ }
670
+ export declare class ProcessParams {
671
+ multipageProcessing?: boolean;
672
+ logs?: boolean;
673
+ debugSaveImages?: boolean;
674
+ debugSaveLogs?: boolean;
675
+ returnUncroppedImage?: boolean;
676
+ uvTorchEnabled?: boolean;
677
+ debugSaveCroppedImages?: boolean;
678
+ disableFocusingCheck?: boolean;
679
+ debugSaveRFIDSession?: boolean;
680
+ doublePageSpread?: boolean;
681
+ manualCrop?: boolean;
682
+ integralImage?: boolean;
683
+ returnCroppedBarcode?: boolean;
684
+ checkRequiredTextFields?: boolean;
685
+ depersonalizeLog?: boolean;
686
+ generateDoublePageSpreadImage?: boolean;
687
+ alreadyCropped?: boolean;
688
+ matchTextFieldMask?: boolean;
689
+ updateOCRValidityByGlare?: boolean;
690
+ noGraphics?: boolean;
691
+ multiDocOnImage?: boolean;
692
+ forceReadMrzBeforeLocate?: boolean;
693
+ parseBarcodes?: boolean;
694
+ shouldReturnPackageForReprocess?: boolean;
695
+ disablePerforationOCR?: boolean;
696
+ respectImageQuality?: boolean;
697
+ splitNames?: boolean;
698
+ useFaceApi?: boolean;
699
+ useAuthenticityCheck?: boolean;
700
+ checkHologram?: boolean;
701
+ barcodeParserType?: number;
702
+ perspectiveAngle?: number;
703
+ minDPI?: number;
704
+ imageDpiOutMax?: number;
705
+ forceDocFormat?: number;
706
+ shiftExpiryDate?: number;
707
+ minimalHolderAge?: number;
708
+ imageOutputMaxHeight?: number;
709
+ imageOutputMaxWidth?: number;
710
+ processAuth?: number;
711
+ convertCase?: number;
712
+ measureSystem?: number;
713
+ forceDocID?: number;
714
+ dateFormat?: string;
715
+ scenario?: string;
716
+ captureButtonScenario?: string;
717
+ sessionLogFolder?: string;
718
+ timeout?: number;
719
+ timeoutFromFirstDetect?: number;
720
+ timeoutFromFirstDocType?: number;
721
+ documentAreaMin?: number;
722
+ documentIDList?: number[];
723
+ barcodeTypes?: number[];
724
+ fieldTypesFilter?: number[];
725
+ resultTypeOutput?: number[];
726
+ documentGroupFilter?: number[];
727
+ lcidIgnoreFilter?: number[];
728
+ lcidFilter?: number[];
729
+ mrzFormatsFilter?: string[];
730
+ imageQA?: ImageQA;
731
+ rfidParams?: RFIDParams;
732
+ faceApiParams?: FaceApiParams;
733
+ backendProcessingConfig?: BackendProcessingConfig;
734
+ authenticityParams?: AuthenticityParams;
735
+ customParams?: Record<string, any>;
736
+ static fromJson(jsonObject?: any): ProcessParams | undefined;
737
+ }
738
+ export declare class Font {
739
+ name?: string;
740
+ size?: number;
741
+ style?: number;
742
+ static fromJson(jsonObject?: any): Font | undefined;
743
+ }
744
+ export declare class CustomizationColors {
745
+ rfidProcessingScreenBackground?: number;
746
+ rfidProcessingScreenHintLabelText?: number;
747
+ rfidProcessingScreenHintLabelBackground?: number;
748
+ rfidProcessingScreenProgressLabelText?: number;
749
+ rfidProcessingScreenProgressBar?: number;
750
+ rfidProcessingScreenProgressBarBackground?: number;
751
+ rfidProcessingScreenResultLabelText?: number;
752
+ static fromJson(jsonObject?: any): CustomizationColors | undefined;
753
+ }
754
+ export declare class CustomizationFonts {
755
+ rfidProcessingScreenHintLabel?: Font;
756
+ rfidProcessingScreenProgressLabel?: Font;
757
+ rfidProcessingScreenResultLabel?: Font;
758
+ static fromJson(jsonObject?: any): CustomizationFonts | undefined;
759
+ }
760
+ export declare class CustomizationImages {
761
+ rfidProcessingScreenFailureImage?: string;
762
+ static fromJson(jsonObject?: any): CustomizationImages | undefined;
763
+ }
764
+ export declare class Customization {
765
+ showStatusMessages?: boolean;
766
+ showResultStatusMessages?: boolean;
767
+ showHelpAnimation?: boolean;
768
+ showNextPageAnimation?: boolean;
769
+ showBackgroundMask?: boolean;
770
+ cameraFrameBorderWidth?: number;
771
+ cameraFrameLineLength?: number;
772
+ cameraFrameOffsetWidth?: number;
773
+ cameraFrameShapeType?: number;
774
+ status?: string;
775
+ resultStatus?: string;
776
+ cameraFrameDefaultColor?: number;
777
+ cameraFrameActiveColor?: number;
778
+ statusTextColor?: number;
779
+ resultStatusTextColor?: number;
780
+ resultStatusBackgroundColor?: number;
781
+ multipageButtonBackgroundColor?: number;
782
+ tintColor?: number;
783
+ activityIndicatorColor?: number;
784
+ statusBackgroundColor?: number;
785
+ cameraPreviewBackgroundColor?: number;
786
+ statusPositionMultiplier?: number;
787
+ resultStatusPositionMultiplier?: number;
788
+ toolbarSize?: number;
789
+ backgroundMaskAlpha?: number;
790
+ customStatusPositionMultiplier?: number;
791
+ livenessAnimationPositionMultiplier?: number;
792
+ cameraFrameVerticalPositionMultiplier?: number;
793
+ cameraFrameLandscapeAspectRatio?: number;
794
+ cameraFramePortraitAspectRatio?: number;
795
+ cameraFrameCornerRadius?: number;
796
+ multipageAnimationFrontImage?: string;
797
+ multipageAnimationBackImage?: string;
798
+ borderBackgroundImage?: string;
799
+ helpAnimationImage?: string;
800
+ closeButtonImage?: string;
801
+ captureButtonImage?: string;
802
+ cameraSwitchButtonImage?: string;
803
+ torchButtonOnImage?: string;
804
+ torchButtonOffImage?: string;
805
+ changeFrameButtonExpandImage?: string;
806
+ changeFrameButtonCollapseImage?: string;
807
+ livenessAnimationImage?: string;
808
+ statusTextFont?: Font;
809
+ resultStatusTextFont?: Font;
810
+ customLabelStatus?: string;
811
+ cameraFrameLineCap?: number;
812
+ uiCustomizationLayer?: Record<string, any>;
813
+ helpAnimationImageContentMode?: number;
814
+ multipageAnimationFrontImageContentMode?: number;
815
+ multipageAnimationBackImageContentMode?: number;
816
+ livenessAnimationImageContentMode?: number;
817
+ borderBackgroundImageContentMode?: number;
818
+ helpAnimationImageMatrix?: number[];
819
+ multipageAnimationFrontImageMatrix?: number[];
820
+ multipageAnimationBackImageMatrix?: number[];
821
+ livenessAnimationImageMatrix?: number[];
822
+ borderBackgroundImageMatrix?: number[];
823
+ colors?: CustomizationColors;
824
+ fonts?: CustomizationFonts;
825
+ images?: CustomizationImages;
826
+ static fromJson(jsonObject?: any): Customization | undefined;
827
+ }
828
+ export declare class EDLDataGroups {
829
+ DG1?: boolean;
830
+ DG2?: boolean;
831
+ DG3?: boolean;
832
+ DG4?: boolean;
833
+ DG5?: boolean;
834
+ DG6?: boolean;
835
+ DG7?: boolean;
836
+ DG8?: boolean;
837
+ DG9?: boolean;
838
+ DG10?: boolean;
839
+ DG11?: boolean;
840
+ DG12?: boolean;
841
+ DG13?: boolean;
842
+ DG14?: boolean;
843
+ static fromJson(jsonObject?: any): EDLDataGroups | undefined;
844
+ }
845
+ export declare class EPassportDataGroups {
846
+ DG1?: boolean;
847
+ DG2?: boolean;
848
+ DG3?: boolean;
849
+ DG4?: boolean;
850
+ DG5?: boolean;
851
+ DG6?: boolean;
852
+ DG7?: boolean;
853
+ DG8?: boolean;
854
+ DG9?: boolean;
855
+ DG10?: boolean;
856
+ DG11?: boolean;
857
+ DG12?: boolean;
858
+ DG13?: boolean;
859
+ DG14?: boolean;
860
+ DG15?: boolean;
861
+ DG16?: boolean;
862
+ static fromJson(jsonObject?: any): EPassportDataGroups | undefined;
863
+ }
864
+ export declare class EIDDataGroups {
865
+ DG1?: boolean;
866
+ DG2?: boolean;
867
+ DG3?: boolean;
868
+ DG4?: boolean;
869
+ DG5?: boolean;
870
+ DG6?: boolean;
871
+ DG7?: boolean;
872
+ DG8?: boolean;
873
+ DG9?: boolean;
874
+ DG10?: boolean;
875
+ DG11?: boolean;
876
+ DG12?: boolean;
877
+ DG13?: boolean;
878
+ DG14?: boolean;
879
+ DG15?: boolean;
880
+ DG16?: boolean;
881
+ DG17?: boolean;
882
+ DG18?: boolean;
883
+ DG19?: boolean;
884
+ DG20?: boolean;
885
+ DG21?: boolean;
886
+ static fromJson(jsonObject?: any): EIDDataGroups | undefined;
887
+ }
888
+ export declare class RFIDScenario {
889
+ paceStaticBinding?: boolean;
890
+ onlineTA?: boolean;
891
+ writeEid?: boolean;
892
+ universalAccessRights?: boolean;
893
+ authorizedRestrictedIdentification?: boolean;
894
+ auxVerificationCommunityID?: boolean;
895
+ auxVerificationDateOfBirth?: boolean;
896
+ skipAA?: boolean;
897
+ strictProcessing?: boolean;
898
+ pkdDSCertPriority?: boolean;
899
+ pkdUseExternalCSCA?: boolean;
900
+ trustedPKD?: boolean;
901
+ passiveAuth?: boolean;
902
+ useSFI?: boolean;
903
+ readEPassport?: boolean;
904
+ readEID?: boolean;
905
+ readEDL?: boolean;
906
+ authorizedSTSignature?: boolean;
907
+ authorizedSTQSignature?: boolean;
908
+ authorizedWriteDG17?: boolean;
909
+ authorizedWriteDG18?: boolean;
910
+ authorizedWriteDG19?: boolean;
911
+ authorizedWriteDG20?: boolean;
912
+ authorizedWriteDG21?: boolean;
913
+ authorizedVerifyAge?: boolean;
914
+ authorizedVerifyCommunityID?: boolean;
915
+ authorizedPrivilegedTerminal?: boolean;
916
+ authorizedCANAllowed?: boolean;
917
+ authorizedPINManagement?: boolean;
918
+ authorizedInstallCert?: boolean;
919
+ authorizedInstallQCert?: boolean;
920
+ applyAmendments?: boolean;
921
+ autoSettings?: boolean;
922
+ proceedReadingAlways?: boolean;
923
+ readingBuffer?: number;
924
+ onlineTAToSignDataType?: number;
925
+ defaultReadingBufferSize?: number;
926
+ signManagementAction?: number;
927
+ profilerType?: number;
928
+ authProcType?: number;
929
+ baseSMProcedure?: number;
930
+ pacePasswordType?: number;
931
+ terminalType?: number;
932
+ password?: string;
933
+ pkdPA?: string;
934
+ pkdEAC?: string;
935
+ mrz?: string;
936
+ eSignPINDefault?: string;
937
+ eSignPINNewValue?: string;
938
+ eDLDataGroups?: EDLDataGroups;
939
+ ePassportDataGroups?: EPassportDataGroups;
940
+ eIDDataGroups?: EIDDataGroups;
941
+ static fromJson(jsonObject?: any): RFIDScenario | undefined;
942
+ }
943
+ export declare class PrepareProgress {
944
+ downloadedBytes?: number;
945
+ totalBytes?: number;
946
+ progress?: number;
947
+ static fromJson(jsonObject?: any): PrepareProgress | undefined;
948
+ }
625
949
  export declare const FontStyle: {
626
950
  NORMAL: number;
627
951
  BOLD: number;
@@ -967,10 +1291,6 @@ export declare const eRPRM_ResultType: {
967
1291
  RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
968
1292
  RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
969
1293
  };
970
- export declare const CameraTypes: {
971
- FRONT: string;
972
- BACK: string;
973
- };
974
1294
  export declare const FrameShapeType: {
975
1295
  LINE: number;
976
1296
  CORNER: number;
@@ -981,6 +1301,11 @@ export declare const eRFID_BaudRate: {
981
1301
  rfbr_424: number;
982
1302
  rfbr_848: number;
983
1303
  };
1304
+ export declare const LineCap: {
1305
+ BUTT: number;
1306
+ ROUND: number;
1307
+ SQUARE: number;
1308
+ };
984
1309
  export declare const eRPRM_FieldVerificationResult: {
985
1310
  RCF_DISABLED: number;
986
1311
  RCF_VERIFIED: number;
@@ -1059,6 +1384,11 @@ export declare const DocumentReaderErrorCodes: {
1059
1384
  LICENSE_DATABASE_INCORRECT: number;
1060
1385
  INVALID_TCC_PARAMS: number;
1061
1386
  RFID_IN_PROGRESS: number;
1387
+ START_BACKEND_PROCESSING: number;
1388
+ ADD_DATA_TO_PACKAGE: number;
1389
+ FINALIZE_FAILED: number;
1390
+ CAMERA_NO_PERMISSION: number;
1391
+ CAMERA_NOT_AVAILABLE: number;
1062
1392
  NATIVE_JAVA_EXCEPTION: number;
1063
1393
  BACKEND_ONLINE_PROCESSING: number;
1064
1394
  WRONG_INPUT: number;
@@ -1137,6 +1467,11 @@ export declare const eRFID_NotificationCodes: {
1137
1467
  RFID_NOTIFICATION_RI_SECTOR_ID: number;
1138
1468
  RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: number;
1139
1469
  };
1470
+ export declare const CameraPosition: {
1471
+ UNSPECIFIED: number;
1472
+ BACK: number;
1473
+ FRONT: number;
1474
+ };
1140
1475
  export declare const eRFID_Password_Type: {
1141
1476
  PPT_UNKNOWN: number;
1142
1477
  PPT_MRZ: number;
@@ -1146,6 +1481,22 @@ export declare const eRFID_Password_Type: {
1146
1481
  PPT_PIN_ESIGN: number;
1147
1482
  PPT_SAI: number;
1148
1483
  };
1484
+ export declare const ViewContentMode: {
1485
+ UNKNOWN: number;
1486
+ SCALE_TO_FILL: number;
1487
+ SCALE_ASPECT_FIT: number;
1488
+ SCALE_ASPECT_FILL: number;
1489
+ REDRAW: number;
1490
+ CENTER: number;
1491
+ TOP: number;
1492
+ BOTTOM: number;
1493
+ LEFT: number;
1494
+ RIGHT: number;
1495
+ TOP_LEFT: number;
1496
+ TOP_RIGHT: number;
1497
+ BOTTOM_LEFT: number;
1498
+ BOTTOM_RIGHT: number;
1499
+ };
1149
1500
  export declare const BarcodeResult: {
1150
1501
  NO_ERR: number;
1151
1502
  NULL_PTR_ERR: number;
@@ -1298,6 +1649,12 @@ export declare const eCheckDiagnose: {
1298
1649
  LAS_INK_INVALID_LINES_FREQUENCY: number;
1299
1650
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
1300
1651
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
1652
+ ICAO_IDB_BASE_32_ERROR: number;
1653
+ ICAO_IDB_ZIPPED_ERROR: number;
1654
+ ICAO_IDB_MESSAGE_ZONE_EMPTY: number;
1655
+ ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: number;
1656
+ ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: number;
1657
+ ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: number;
1301
1658
  LAST_DIAGNOSE_VALUE: number;
1302
1659
  };
1303
1660
  export declare const RFIDDelegate: {
@@ -1566,6 +1923,10 @@ export declare const eLDS_ParsingNotificationCodes: {
1566
1923
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: number;
1567
1924
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: number;
1568
1925
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: number;
1926
+ NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING: number;
1927
+ NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: number;
1928
+ NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: number;
1929
+ NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: number;
1569
1930
  };
1570
1931
  export declare const eImageQualityCheckType: {
1571
1932
  IQC_IMAGE_GLARES: number;
@@ -1964,6 +2325,21 @@ export declare const eGraphicFieldType: {
1964
2325
  export declare const RegDeviceConfigType: {
1965
2326
  DEVICE_7310: string;
1966
2327
  };
2328
+ export declare const CaptureSessionPreset: {
2329
+ UNKNOWN: number;
2330
+ LOW: number;
2331
+ MEDIUM: number;
2332
+ HIGH: number;
2333
+ PHOTO: number;
2334
+ INPUT_PRIORITY: number;
2335
+ PRESET_1280x720: number;
2336
+ PRESET_1920x1080: number;
2337
+ PRESET_3840x2160: number;
2338
+ FRAME_960x540: number;
2339
+ FRAME_1280x720: number;
2340
+ PRESET_640x480: number;
2341
+ PRESET_352x288: number;
2342
+ };
1967
2343
  export declare const CameraMode: {
1968
2344
  AUTO: number;
1969
2345
  CAMERA1: number;
@@ -2706,6 +3082,7 @@ export declare const eVisualFieldType: {
2706
3082
  FT_ADDRESS_BUILDING_TYPE: number;
2707
3083
  FT_DATE_OF_RETIREMENT: number;
2708
3084
  FT_DOCUMENT_STATUS: number;
3085
+ FT_SIGNATURE: number;
2709
3086
  };
2710
3087
  export declare const DocReaderOrientation: {
2711
3088
  ALL: number;
@@ -2902,56 +3279,6 @@ export declare const eRPRM_Lights: {
2902
3279
  RPRM_LIGHT_OVD: number;
2903
3280
  RPRM_LIGHT_WHITE_FULL_OVD: number;
2904
3281
  };
2905
- export declare const LineCap: {
2906
- Butt: number;
2907
- Round: number;
2908
- Square: number;
2909
- };
2910
- export declare const UIInterfaceOrientationMask: {
2911
- Portrait: number;
2912
- LandscapeLeft: number;
2913
- LandscapeRight: number;
2914
- PortraitUpsideDown: number;
2915
- Landscape: number;
2916
- All: number;
2917
- AllButUpsideDown: number;
2918
- };
2919
- export declare const AVCaptureSessionPreset: {
2920
- Low: number;
2921
- Medium: number;
2922
- High: number;
2923
- Photo: number;
2924
- InputPriority: number;
2925
- QHD960x540: number;
2926
- Hd1280x720: number;
2927
- Hd1920x1080: number;
2928
- Hd4K3840x2160: number;
2929
- IFrame960x540: number;
2930
- IFrame1280x720: number;
2931
- Qvga320x240: number;
2932
- Vga640x480: number;
2933
- Cif352x288: number;
2934
- };
2935
- export declare const AVCaptureDevicePosition: {
2936
- Front: number;
2937
- Back: number;
2938
- Unspecified: number;
2939
- };
2940
- export declare const UIViewContentMode: {
2941
- ScaleToFill: number;
2942
- ScaleAspectFit: number;
2943
- ScaleAspectFill: number;
2944
- Redraw: number;
2945
- Center: number;
2946
- Top: number;
2947
- Bottom: number;
2948
- Left: number;
2949
- Right: number;
2950
- TopLeft: number;
2951
- TopRight: number;
2952
- BottomLeft: number;
2953
- BottomRight: number;
2954
- };
2955
3282
  export declare const Enum: {
2956
3283
  FontStyle: {
2957
3284
  NORMAL: number;
@@ -3298,10 +3625,6 @@ export declare const Enum: {
3298
3625
  RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
3299
3626
  RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
3300
3627
  };
3301
- CameraTypes: {
3302
- FRONT: string;
3303
- BACK: string;
3304
- };
3305
3628
  FrameShapeType: {
3306
3629
  LINE: number;
3307
3630
  CORNER: number;
@@ -3312,6 +3635,11 @@ export declare const Enum: {
3312
3635
  rfbr_424: number;
3313
3636
  rfbr_848: number;
3314
3637
  };
3638
+ LineCap: {
3639
+ BUTT: number;
3640
+ ROUND: number;
3641
+ SQUARE: number;
3642
+ };
3315
3643
  eRPRM_FieldVerificationResult: {
3316
3644
  RCF_DISABLED: number;
3317
3645
  RCF_VERIFIED: number;
@@ -3390,6 +3718,11 @@ export declare const Enum: {
3390
3718
  LICENSE_DATABASE_INCORRECT: number;
3391
3719
  INVALID_TCC_PARAMS: number;
3392
3720
  RFID_IN_PROGRESS: number;
3721
+ START_BACKEND_PROCESSING: number;
3722
+ ADD_DATA_TO_PACKAGE: number;
3723
+ FINALIZE_FAILED: number;
3724
+ CAMERA_NO_PERMISSION: number;
3725
+ CAMERA_NOT_AVAILABLE: number;
3393
3726
  NATIVE_JAVA_EXCEPTION: number;
3394
3727
  BACKEND_ONLINE_PROCESSING: number;
3395
3728
  WRONG_INPUT: number;
@@ -3468,6 +3801,11 @@ export declare const Enum: {
3468
3801
  RFID_NOTIFICATION_RI_SECTOR_ID: number;
3469
3802
  RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: number;
3470
3803
  };
3804
+ CameraPosition: {
3805
+ UNSPECIFIED: number;
3806
+ BACK: number;
3807
+ FRONT: number;
3808
+ };
3471
3809
  eRFID_Password_Type: {
3472
3810
  PPT_UNKNOWN: number;
3473
3811
  PPT_MRZ: number;
@@ -3477,6 +3815,22 @@ export declare const Enum: {
3477
3815
  PPT_PIN_ESIGN: number;
3478
3816
  PPT_SAI: number;
3479
3817
  };
3818
+ ViewContentMode: {
3819
+ UNKNOWN: number;
3820
+ SCALE_TO_FILL: number;
3821
+ SCALE_ASPECT_FIT: number;
3822
+ SCALE_ASPECT_FILL: number;
3823
+ REDRAW: number;
3824
+ CENTER: number;
3825
+ TOP: number;
3826
+ BOTTOM: number;
3827
+ LEFT: number;
3828
+ RIGHT: number;
3829
+ TOP_LEFT: number;
3830
+ TOP_RIGHT: number;
3831
+ BOTTOM_LEFT: number;
3832
+ BOTTOM_RIGHT: number;
3833
+ };
3480
3834
  BarcodeResult: {
3481
3835
  NO_ERR: number;
3482
3836
  NULL_PTR_ERR: number;
@@ -3629,6 +3983,12 @@ export declare const Enum: {
3629
3983
  LAS_INK_INVALID_LINES_FREQUENCY: number;
3630
3984
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
3631
3985
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
3986
+ ICAO_IDB_BASE_32_ERROR: number;
3987
+ ICAO_IDB_ZIPPED_ERROR: number;
3988
+ ICAO_IDB_MESSAGE_ZONE_EMPTY: number;
3989
+ ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: number;
3990
+ ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: number;
3991
+ ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: number;
3632
3992
  LAST_DIAGNOSE_VALUE: number;
3633
3993
  };
3634
3994
  RFIDDelegate: {
@@ -3897,6 +4257,10 @@ export declare const Enum: {
3897
4257
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: number;
3898
4258
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: number;
3899
4259
  NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: number;
4260
+ NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING: number;
4261
+ NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: number;
4262
+ NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: number;
4263
+ NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: number;
3900
4264
  };
3901
4265
  eImageQualityCheckType: {
3902
4266
  IQC_IMAGE_GLARES: number;
@@ -4295,6 +4659,21 @@ export declare const Enum: {
4295
4659
  RegDeviceConfigType: {
4296
4660
  DEVICE_7310: string;
4297
4661
  };
4662
+ CaptureSessionPreset: {
4663
+ UNKNOWN: number;
4664
+ LOW: number;
4665
+ MEDIUM: number;
4666
+ HIGH: number;
4667
+ PHOTO: number;
4668
+ INPUT_PRIORITY: number;
4669
+ PRESET_1280x720: number;
4670
+ PRESET_1920x1080: number;
4671
+ PRESET_3840x2160: number;
4672
+ FRAME_960x540: number;
4673
+ FRAME_1280x720: number;
4674
+ PRESET_640x480: number;
4675
+ PRESET_352x288: number;
4676
+ };
4298
4677
  CameraMode: {
4299
4678
  AUTO: number;
4300
4679
  CAMERA1: number;
@@ -5037,6 +5416,7 @@ export declare const Enum: {
5037
5416
  FT_ADDRESS_BUILDING_TYPE: number;
5038
5417
  FT_DATE_OF_RETIREMENT: number;
5039
5418
  FT_DOCUMENT_STATUS: number;
5419
+ FT_SIGNATURE: number;
5040
5420
  };
5041
5421
  DocReaderOrientation: {
5042
5422
  ALL: number;
@@ -5233,56 +5613,6 @@ export declare const Enum: {
5233
5613
  RPRM_LIGHT_OVD: number;
5234
5614
  RPRM_LIGHT_WHITE_FULL_OVD: number;
5235
5615
  };
5236
- LineCap: {
5237
- Butt: number;
5238
- Round: number;
5239
- Square: number;
5240
- };
5241
- UIInterfaceOrientationMask: {
5242
- Portrait: number;
5243
- LandscapeLeft: number;
5244
- LandscapeRight: number;
5245
- PortraitUpsideDown: number;
5246
- Landscape: number;
5247
- All: number;
5248
- AllButUpsideDown: number;
5249
- };
5250
- AVCaptureSessionPreset: {
5251
- Low: number;
5252
- Medium: number;
5253
- High: number;
5254
- Photo: number;
5255
- InputPriority: number;
5256
- QHD960x540: number;
5257
- Hd1280x720: number;
5258
- Hd1920x1080: number;
5259
- Hd4K3840x2160: number;
5260
- IFrame960x540: number;
5261
- IFrame1280x720: number;
5262
- Qvga320x240: number;
5263
- Vga640x480: number;
5264
- Cif352x288: number;
5265
- };
5266
- AVCaptureDevicePosition: {
5267
- Front: number;
5268
- Back: number;
5269
- Unspecified: number;
5270
- };
5271
- UIViewContentMode: {
5272
- ScaleToFill: number;
5273
- ScaleAspectFit: number;
5274
- ScaleAspectFill: number;
5275
- Redraw: number;
5276
- Center: number;
5277
- Top: number;
5278
- Bottom: number;
5279
- Left: number;
5280
- Right: number;
5281
- TopLeft: number;
5282
- TopRight: number;
5283
- BottomLeft: number;
5284
- BottomRight: number;
5285
- };
5286
5616
  };
5287
5617
  /**
5288
5618
  * @name DocumentReader
@@ -5344,7 +5674,7 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5344
5674
  * @param {string} status
5345
5675
  * @return {Promise<any>} Returns a promise
5346
5676
  */
5347
- setRfidSessionStatus(status: any): Promise<any>;
5677
+ setRfidSessionStatus(status: string): Promise<any>;
5348
5678
  /**
5349
5679
  * returns tag property of DocumentReader class
5350
5680
  *
@@ -5354,86 +5684,82 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5354
5684
  /**
5355
5685
  * sets DocumentReader.tag
5356
5686
  *
5357
- * @param {string} tag tag
5687
+ * @param {string} tag
5358
5688
  * @return {Promise<any>} Returns a promise
5359
5689
  */
5360
- setTag(tag: any): Promise<any>;
5690
+ setTag(tag: string | null): Promise<any>;
5361
5691
  /**
5362
- * description
5692
+ *
5363
5693
  *
5364
5694
  * @return {Promise<any>} Returns a promise
5365
5695
  */
5366
5696
  getFunctionality(): Promise<any>;
5367
5697
  /**
5368
- * description
5369
5698
  *
5370
- * @param {object} functionality description
5699
+ *
5700
+ * @param {Functionality} functionality
5371
5701
  * @return {Promise<any>} Returns a promise
5372
5702
  */
5373
- setFunctionality(functionality: any): Promise<any>;
5703
+ setFunctionality(functionality: Functionality): Promise<any>;
5374
5704
  /**
5375
- * description
5705
+ *
5376
5706
  *
5377
5707
  * @return {Promise<any>} Returns a promise
5378
5708
  */
5379
5709
  getProcessParams(): Promise<any>;
5380
5710
  /**
5381
- * description
5382
5711
  *
5383
- * @param {object} processParams description
5712
+ *
5713
+ * @param {ProcessParams} processParams
5384
5714
  * @return {Promise<any>} Returns a promise
5385
5715
  */
5386
- setProcessParams(processParams: any): Promise<any>;
5716
+ setProcessParams(processParams: ProcessParams): Promise<any>;
5387
5717
  /**
5388
- * description
5718
+ *
5389
5719
  *
5390
5720
  * @return {Promise<any>} Returns a promise
5391
5721
  */
5392
5722
  getCustomization(): Promise<any>;
5393
5723
  /**
5394
- * description
5395
5724
  *
5396
- * @param {object} customization description
5725
+ *
5726
+ * @param {Customization} customization
5397
5727
  * @return {Promise<any>} Returns a promise
5398
5728
  */
5399
- setCustomization(customization: any): Promise<any>;
5729
+ setCustomization(customization: Customization): Promise<any>;
5400
5730
  /**
5401
- * description
5731
+ *
5402
5732
  *
5403
5733
  * @return {Promise<any>} Returns a promise
5404
5734
  */
5405
5735
  getRfidScenario(): Promise<any>;
5406
5736
  /**
5407
- * description
5408
5737
  *
5409
- * @param {object} rfidScenario description
5738
+ *
5739
+ * @param {RFIDScenario} rfidScenario
5410
5740
  * @return {Promise<any>} Returns a promise
5411
5741
  */
5412
- setRfidScenario(rfidScenario: any): Promise<any>;
5742
+ setRfidScenario(rfidScenario: RFIDScenario): Promise<any>;
5743
+ /**
5744
+ * Use this method to reset configuration
5745
+ *
5746
+ * @return {Promise<any>} Returns a promise
5747
+ */
5748
+ resetConfiguration(): Promise<any>;
5413
5749
  /**
5414
5750
  * Use this method to initialize Document Reader
5415
5751
  *
5416
- * @param {object} config Object with structure
5417
- * "license": "license base64 string(necessary)"
5418
- * "customDb": "custom database base64 string(Android only, ignored on iOS)"
5419
- * "databasePath": "database path(iOS only, ignored on android)"
5420
- * "licenseUpdate": true
5421
- * "delayedNNLoad": false
5422
- * "blackList": {} // Android only, ignored on iOS
5752
+ * @param {DocReaderConfig} config
5423
5753
  * @return {Promise<any>} Returns a promise
5424
5754
  */
5425
- initializeReader(config: any): Promise<any>;
5755
+ initializeReader(config: DocReaderConfig): Promise<any>;
5426
5756
  /**
5427
5757
  * Initializes document reader with license from connected Device7310(Android only, ignored on iOS)
5428
5758
  *
5429
- * @param {object} config Object with structure
5430
- * "customDb": "custom database base64 string(Android only, ignored on iOS)"
5431
- * "licenseUpdate": true
5432
- * "delayedNNLoad": false
5433
- * "blackList": {} // Android only, ignored on iOS
5759
+ * @param {DocReaderConfig} config
5434
5760
  * @return {Promise<any>} Returns a promise
5435
5761
  */
5436
- initializeReaderWithBleDeviceConfig(config: any): Promise<any>;
5762
+ initializeReaderWithBleDeviceConfig(config: DocReaderConfig): Promise<any>;
5437
5763
  /**
5438
5764
  * Use this method to deinitialize Document Reader
5439
5765
  *
@@ -5446,7 +5772,7 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5446
5772
  * @param {string} databaseType
5447
5773
  * @return {Promise<any>} Returns a promise
5448
5774
  */
5449
- prepareDatabase(databaseType: any): Observable<any>;
5775
+ prepareDatabase(databaseType: string): Observable<any>;
5450
5776
  /**
5451
5777
  * Allows you to remove the added database
5452
5778
  *
@@ -5459,7 +5785,7 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5459
5785
  * @param {string} databaseId
5460
5786
  * @return {Promise<any>} Returns a promise
5461
5787
  */
5462
- runAutoUpdate(databaseId: any): Observable<any>;
5788
+ runAutoUpdate(databaseId: string): Observable<any>;
5463
5789
  /**
5464
5790
  * Allows you to cancel database update
5465
5791
  *
@@ -5469,24 +5795,24 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5469
5795
  /**
5470
5796
  * checks for database update
5471
5797
  *
5472
- * @param {string} databaseId id of the database
5798
+ * @param {string} databaseId
5473
5799
  * @return {Promise<any>} Returns a promise
5474
5800
  */
5475
- checkDatabaseUpdate(databaseId: any): Promise<any>;
5801
+ checkDatabaseUpdate(databaseId: string): Promise<any>;
5476
5802
  /**
5477
5803
  * Use this method to open the camera preview which will pass frames for recognition and return results in the completion block when they are ready
5478
5804
  *
5479
- * @param {object} config ScannerConfig
5805
+ * @param {ScannerConfig} config
5480
5806
  * @return {Promise<any>} Returns a promise
5481
5807
  */
5482
- scan(config: any): Observable<any>;
5808
+ scan(config: ScannerConfig): Observable<any>;
5483
5809
  /**
5484
5810
  * Use this method to recognize images
5485
5811
  *
5486
- * @param {object} config RecognizeConfig
5812
+ * @param {RecognizeConfig} config
5487
5813
  * @return {Promise<any>} Returns a promise
5488
5814
  */
5489
- recognize(config: any): Observable<any>;
5815
+ recognize(config: RecognizeConfig): Observable<any>;
5490
5816
  /**
5491
5817
  * Use this method to indicate than the processing of the next page is started
5492
5818
  *
@@ -5502,76 +5828,62 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5502
5828
  /**
5503
5829
  * Use the method below to open the RFID chip reading controller and start its processing
5504
5830
  *
5505
- * @param {boolean} requestPACertificates description
5506
- * @param {boolean} requestTACertificates description
5507
- * @param {boolean} requestTASignature description
5831
+ * @param {boolean} requestPACertificates
5832
+ * @param {boolean} requestTACertificates
5833
+ * @param {boolean} requestTASignature
5508
5834
  * @return {Promise<any>} Returns a promise
5509
5835
  */
5510
- startRFIDReader(requestPACertificates: any, requestTACertificates: any, requestTASignature: any): Observable<any>;
5836
+ startRFIDReader(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean): Observable<any>;
5511
5837
  /**
5512
- * Use the method below to close the RFID chip reading controller and end its processing
5838
+ * Use this method to start RFID chip processing
5513
5839
  *
5840
+ * @param {boolean} requestPACertificates
5841
+ * @param {boolean} requestTACertificates
5842
+ * @param {boolean} requestTASignature
5514
5843
  * @return {Promise<any>} Returns a promise
5515
5844
  */
5516
- stopRFIDReader(): Promise<any>;
5845
+ readRFID(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean): Observable<any>;
5517
5846
  /**
5518
- * Use this method to start RFID chip processing
5847
+ * Use the method below to close the RFID chip reading controller and end its processing
5519
5848
  *
5520
- * @param {boolean} requestPACertificates description
5521
- * @param {boolean} requestTACertificates description
5522
- * @param {boolean} requestTASignature description
5523
5849
  * @return {Promise<any>} Returns a promise
5524
5850
  */
5525
- readRFID(requestPACertificates: any, requestTACertificates: any, requestTASignature: any): Observable<any>;
5851
+ stopRFIDReader(): Promise<any>;
5526
5852
  /**
5527
5853
  * Use this method to send PACertificates to the chip after you`ve got a request for them
5528
5854
  *
5529
- * @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
5530
- * binaryData - base64 string
5531
- * resourceType - number
5532
- * privateKey(optional) - base64 string
5855
+ * @param {PKDCertificate[]} certificates
5533
5856
  * @return {Promise<any>} Returns a promise
5534
5857
  */
5535
- providePACertificates(certificates: any): Promise<any>;
5858
+ providePACertificates(certificates: PKDCertificate[] | null): Promise<any>;
5536
5859
  /**
5537
5860
  * Use this method to send TACertificates to the chip after you`ve got a request for them
5538
5861
  *
5539
- * @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
5540
- * binaryData - base64 string
5541
- * resourceType - number
5542
- * privateKey(optional) - base64 string
5862
+ * @param {PKDCertificate[]} certificates
5543
5863
  * @return {Promise<any>} Returns a promise
5544
5864
  */
5545
- provideTACertificates(certificates: any): Promise<any>;
5865
+ provideTACertificates(certificates: PKDCertificate[] | null): Promise<any>;
5546
5866
  /**
5547
5867
  * Use this method to send TASignature to the chip after you`ve got a request for them
5548
5868
  *
5549
- * @param {byte[]} signature byte array
5869
+ * @param {string} signature
5550
5870
  * @return {Promise<any>} Returns a promise
5551
5871
  */
5552
- provideTASignature(signature: any): Promise<any>;
5872
+ provideTASignature(signature: string): Promise<any>;
5553
5873
  /**
5554
5874
  * The method call sets the given TCCParams to the RFID session. The parameters are required to be set before starting RFID session.
5555
5875
  *
5556
- * @param {object} params Object with structure
5557
- * "serviceUrlTA": "some string"
5558
- * "serviceUrlPA": "some string"
5559
- * "pfxCertUrl": "some string"
5560
- * "pfxCert": "base64 encoded binary"
5561
- * "pfxPassPhrase": "some string"
5876
+ * @param {TccParams} params
5562
5877
  * @return {Promise<any>} Returns a promise
5563
5878
  */
5564
- setTCCParams(params: any): Promise<any>;
5879
+ setTCCParams(params: TccParams): Promise<any>;
5565
5880
  /**
5566
5881
  * Allows to add a list of PKD certificates during initialization process which will be passed to Core
5567
5882
  *
5568
- * @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
5569
- * binaryData - base64 string
5570
- * resourceType - number
5571
- * privateKey(optional) - base64 string
5883
+ * @param {PKDCertificate[]} certificates
5572
5884
  * @return {Promise<any>} Returns a promise
5573
5885
  */
5574
- addPKDCertificates(certificates: any): Promise<any>;
5886
+ addPKDCertificates(certificates: PKDCertificate[]): Promise<any>;
5575
5887
  /**
5576
5888
  * Use this method to clear PKD certificates
5577
5889
  *
@@ -5591,14 +5903,14 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5591
5903
  */
5592
5904
  startBluetoothService(): Promise<any>;
5593
5905
  /**
5594
- * description
5595
5906
  *
5596
- * @param {object} dictionary description
5907
+ *
5908
+ * @param {Record<string, string>} dictionary
5597
5909
  * @return {Promise<any>} Returns a promise
5598
5910
  */
5599
- setLocalizationDictionary(dictionary: any): Promise<any>;
5911
+ setLocalizationDictionary(dictionary: Record<string, string>): Promise<any>;
5600
5912
  /**
5601
- * description
5913
+ *
5602
5914
  *
5603
5915
  * @return {Promise<any>} Returns a promise
5604
5916
  */
@@ -5616,31 +5928,31 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5616
5928
  */
5617
5929
  getIsRFIDAvailableForUse(): Promise<any>;
5618
5930
  /**
5619
- * description
5931
+ *
5620
5932
  *
5621
5933
  * @return {Promise<any>} Returns a promise
5622
5934
  */
5623
5935
  getDocReaderVersion(): Promise<any>;
5624
5936
  /**
5625
- * description
5937
+ *
5626
5938
  *
5627
5939
  * @return {Promise<any>} Returns a promise
5628
5940
  */
5629
5941
  getDocReaderDocumentsDatabase(): Promise<any>;
5630
5942
  /**
5631
- * description
5632
5943
  *
5633
- * @param {string} className description
5634
- * @param {int} value byte array
5944
+ *
5635
5945
  * @return {Promise<any>} Returns a promise
5636
5946
  */
5637
- getTranslation(className: any, value: any): Promise<any>;
5947
+ finalizePackage(): Promise<any>;
5638
5948
  /**
5639
- * description
5640
5949
  *
5950
+ *
5951
+ * @param {string} className
5952
+ * @param {number} value
5641
5953
  * @return {Promise<any>} Returns a promise
5642
5954
  */
5643
- finalizePackage(): Promise<any>;
5955
+ getTranslation(className: string, value: number): Promise<any>;
5644
5956
  textFieldValueByType(results: DocumentReaderResults, fieldType: number): Promise<string | undefined>;
5645
5957
  textFieldValueByTypeLcid(results: DocumentReaderResults, fieldType: number, lcid: number): Promise<string | undefined>;
5646
5958
  textFieldValueByTypeSource(results: DocumentReaderResults, fieldType: number, source: number): Promise<string | undefined>;