@regulaforensics/ionic-native-document-reader 7.4.388-rc → 7.5.59-rc

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.
@@ -0,0 +1,75 @@
1
+ spec:
2
+ inputs:
3
+ stage:
4
+ default: reports
5
+ image:
6
+ default: ubuntu:22.04
7
+ ignore_vulnerabilities:
8
+ default: "false"
9
+ sast_report_file:
10
+ default: gl-sast-report.json
11
+ secret_detection_report_file:
12
+ default: gl-secret-detection-report.json
13
+ dependency_scanning_report_file:
14
+ default: gl-dependency-scanning-report.json
15
+ ---
16
+
17
+ view reports:
18
+ image: $[[ inputs.image ]]
19
+ stage: $[[ inputs.stage ]]
20
+ variables:
21
+ IGNORE_VULNERABILITIES: $[[ inputs.ignore_vulnerabilities ]]
22
+ SAST_REPORT_FILE: $[[ inputs.sast_report_file ]]
23
+ SECRET_DETECTION_REPORT_FILE: $[[ inputs.secret_detection_report_file ]]
24
+ DEPENDENCY_SCANNING_REPORT_FILE: $[[ inputs.dependency_scanning_report_file ]]
25
+ RED: \033[0;31m
26
+ YELLOW: \033[1;33m
27
+ GREEN: \033[0;32m
28
+ NC: \033[0m
29
+ needs:
30
+ - job: semgrep-sast
31
+ artifacts: true
32
+ - job: secret_detection
33
+ artifacts: true
34
+ - job: gemnasium-dependency_scanning
35
+ artifacts: true
36
+ rules:
37
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
38
+ script:
39
+ - ls -la
40
+ - apt update && apt install -y jq
41
+ - |
42
+ for f in SAST_REPORT_FILE SECRET_DETECTION_REPORT_FILE DEPENDENCY_SCANNING_REPORT_FILE
43
+ do
44
+ if [[ -f "${!f}" ]]
45
+ then
46
+ echo -e "${GREEN}File ${!f} exists, adding report${NC}"
47
+ r=${f/%_FILE}
48
+ declare $r="$(cat ${!f} | jq 'select(.vulnerabilities != []).vulnerabilities')"
49
+ if [[ ! -z "${!r}" ]]
50
+ then
51
+ VULNERABILITIES_FOUND=true
52
+ echo -e "${RED}Found $r vulnerabilities${NC}"
53
+ echo "${!r}"
54
+ echo
55
+ fi
56
+ else
57
+ echo -e "${YELLOW}File ${!f} doesn't exist, skipping${NC}"
58
+ fi
59
+ done
60
+
61
+ if [[ "$VULNERABILITIES_FOUND" == true ]]
62
+ then
63
+ if [[ "$IGNORE_VULNERABILITIES" == true ]]
64
+ then
65
+ echo -e "${GREEN}All found vulnerabilities were ignored due to IGNORE_VULNERABILITIES=true${NC}"
66
+ exit 0
67
+ else
68
+ echo -e "${RED}Vulnerabilities found, please see reports above${NC}"
69
+ exit 1
70
+ fi
71
+ fi
72
+
73
+ echo -e "${GREEN}No vulnerabilities found${NC}"
74
+
75
+ exit 0
package/.gitlab-ci.yml ADDED
@@ -0,0 +1,49 @@
1
+ stages:
2
+ - test
3
+ - reports
4
+
5
+ include:
6
+ - template: Jobs/SAST.gitlab-ci.yml
7
+ - template: Jobs/Secret-Detection.gitlab-ci.yml
8
+ - template: Jobs/Dependency-Scanning.gitlab-ci.yml
9
+ - local: .gitlab/report.yaml
10
+ rules:
11
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
12
+ inputs:
13
+ stage: reports
14
+ image: ubuntu:22.04
15
+ ignore_vulnerabilities: "false"
16
+ sast_report_file: gl-sast-report.json
17
+ secret_detection_report_file: gl-secret-detection-report.json
18
+ dependency_scanning_report_file: gl-dependency-scanning-report.json
19
+
20
+ trivy scan:
21
+ stage: test
22
+ image: aquasec/trivy
23
+ rules:
24
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
25
+ script:
26
+ - trivy fs --severity CRITICAL,HIGH,MEDIUM,LOW --ignore-unfixed --db-repository container-registry.regula.local:80/aquasecurity/trivy-db:2 --exit-code 1 .
27
+
28
+ semgrep-sast:
29
+ rules:
30
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
31
+ artifacts:
32
+ paths:
33
+ - gl-sast-report.json
34
+
35
+ secret_detection:
36
+ rules:
37
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
38
+ artifacts:
39
+ paths:
40
+ - gl-secret-detection-report.json
41
+
42
+ gemnasium-dependency_scanning:
43
+ variables:
44
+ DS_MAX_DEPTH: -1
45
+ rules:
46
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
47
+ artifacts:
48
+ paths:
49
+ - gl-dependency-scanning-report.json
package/README.md CHANGED
@@ -8,7 +8,7 @@ This repository contains the source code of the Document Reader API, and the sam
8
8
 
9
9
  ## Documentation
10
10
 
11
- You can find documentation [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile/ionic).
11
+ You can find documentation [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile).
12
12
 
13
13
  ## License
14
14
 
@@ -19,6 +19,7 @@
19
19
  <preference name="SplashScreen" value="screen" />
20
20
  <preference name="SplashScreenDelay" value="3000" />
21
21
  <platform name="android">
22
+ <preference name="orientation" value="portrait" />
22
23
  <resource-file src="src/assets/db.dat" target="app/src/main/assets/Regula/db.dat"/>
23
24
  <framework src="com.android.support:appcompat-v7:+" />
24
25
  <config-file parent="/*" target="AndroidManifest.xml">
@@ -53,6 +54,7 @@
53
54
  <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
54
55
  </platform>
55
56
  <platform name="ios">
57
+ <preference name="orientation" value="portrait" />
56
58
  <resource-file src="src/assets/db.dat" />
57
59
  <allow-intent href="itms:*" />
58
60
  <allow-intent href="itms-apps:*" />
@@ -13,9 +13,9 @@
13
13
  },
14
14
  "private": true,
15
15
  "dependencies": {
16
- "@regulaforensics/cordova-plugin-document-reader-api": "7.4.590-rc",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.4.662-rc",
18
- "@regulaforensics/ionic-native-document-reader": "7.4.388-rc",
16
+ "@regulaforensics/ionic-native-document-reader": "7.5.59-rc",
17
+ "@regulaforensics/cordova-plugin-document-reader-api": "7.5.78-rc",
18
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.7.168-rc",
19
19
  "cordova-plugin-camera": "7.0.0",
20
20
  "@awesome-cordova-plugins/camera": "6.6.0",
21
21
  "@awesome-cordova-plugins/core": "6.6.0",
@@ -30,8 +30,8 @@
30
30
  "@angular/router": "~13.3.2",
31
31
  "@ionic/angular": "^6.0.15",
32
32
  "@ionic/cordova-builders": "^6.1.0",
33
- "cordova-android": "12.0.1",
34
- "cordova-ios": "6.3.0",
33
+ "cordova-android": "13.0.0",
34
+ "cordova-ios": "7.1.1",
35
35
  "cordova-plugin-add-swift-support": "^2.0.2",
36
36
  "cordova-plugin-file": "8.0.1",
37
37
  "core-js": "^3.6.5",
@@ -239,6 +239,11 @@ export class HomePage {
239
239
  if (value != undefined)
240
240
  app.portraitImage.nativeElement.src = "data:image/png;base64," + value
241
241
  })
242
+
243
+ DocumentReader.graphicFieldImageByTypeSource(results, Enum.eGraphicFieldType.GF_PORTRAIT, Enum.eRPRM_ResultType.RFID_RESULT_TYPE_RFID_IMAGE_DATA).then(value => {
244
+ if (value != undefined)
245
+ app.portraitImage.nativeElement.src = "data:image/png;base64," + value
246
+ })
242
247
  }
243
248
 
244
249
  function clearResults() {
package/index.d.ts CHANGED
@@ -335,7 +335,7 @@ export declare class RfidNotificationCompletion {
335
335
  static fromJson(jsonObject?: any): RfidNotificationCompletion | undefined;
336
336
  }
337
337
  export declare class RegulaException {
338
- errorCode?: number;
338
+ code?: number;
339
339
  message?: string;
340
340
  static fromJson(jsonObject?: any): RegulaException | undefined;
341
341
  }
@@ -484,9 +484,10 @@ export declare class DocumentReaderValidity {
484
484
  export declare class OnlineProcessingConfig {
485
485
  mode?: number;
486
486
  url?: string;
487
- processParam?: ProcessParams;
487
+ processParams?: ProcessParams;
488
488
  imageFormat?: number;
489
489
  imageCompressionQuality?: number;
490
+ requestHeaders?: Record<string, string>;
490
491
  static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined;
491
492
  }
492
493
  export declare class DocReaderConfig {
@@ -510,6 +511,7 @@ export declare class RecognizeConfig {
510
511
  scenario?: string;
511
512
  onlineProcessingConfig?: OnlineProcessingConfig;
512
513
  oneShotIdentification?: boolean;
514
+ dtc?: string;
513
515
  livePortrait?: string;
514
516
  extPortrait?: string;
515
517
  image?: string;
@@ -534,6 +536,7 @@ export declare class DocReaderVersion {
534
536
  export declare class TransactionInfo {
535
537
  transactionId?: string;
536
538
  tag?: string;
539
+ sessionLogFolder?: string;
537
540
  static fromJson(jsonObject?: any): TransactionInfo | undefined;
538
541
  }
539
542
  export declare class DocumentReaderResults {
@@ -555,6 +558,7 @@ export declare class DocumentReaderResults {
555
558
  documentType?: DocumentReaderDocumentType[];
556
559
  status?: DocumentReaderResultsStatus;
557
560
  vdsncData?: VDSNCData;
561
+ dtcData?: string;
558
562
  transactionInfo?: TransactionInfo;
559
563
  static fromJson(jsonObject?: any): DocumentReaderResults | undefined;
560
564
  }
@@ -580,6 +584,7 @@ export declare class Functionality {
580
584
  recordScanningProcess?: boolean;
581
585
  manualMultipageMode?: boolean;
582
586
  singleResult?: boolean;
587
+ torchTurnedOn?: boolean;
583
588
  showCaptureButtonDelayFromDetect?: number;
584
589
  showCaptureButtonDelayFromStart?: number;
585
590
  rfidTimeout?: number;
@@ -613,6 +618,7 @@ export declare class ImageQA {
613
618
  expectedPass?: number[];
614
619
  documentPositionIndent?: number;
615
620
  brightnessThreshold?: number;
621
+ occlusionCheck?: boolean;
616
622
  static fromJson(jsonObject?: any): ImageQA | undefined;
617
623
  }
618
624
  export declare class RFIDParams {
@@ -640,6 +646,7 @@ export declare class BackendProcessingConfig {
640
646
  url?: string;
641
647
  httpHeaders?: Record<string, string>;
642
648
  rfidServerSideChipVerification?: boolean;
649
+ timeoutConnection?: number;
643
650
  static fromJson(jsonObject?: any): BackendProcessingConfig | undefined;
644
651
  }
645
652
  export declare class LivenessParams {
@@ -647,6 +654,8 @@ export declare class LivenessParams {
647
654
  checkMLI?: boolean;
648
655
  checkHolo?: boolean;
649
656
  checkED?: boolean;
657
+ checkBlackAndWhiteCopy?: boolean;
658
+ checkDynaprint?: boolean;
650
659
  static fromJson(jsonObject?: any): LivenessParams | undefined;
651
660
  }
652
661
  export declare class AuthenticityParams {
@@ -665,6 +674,7 @@ export declare class AuthenticityParams {
665
674
  checkPhotoEmbedding?: boolean;
666
675
  checkPhotoComparison?: boolean;
667
676
  checkLetterScreen?: boolean;
677
+ checkSecurityText?: boolean;
668
678
  static fromJson(jsonObject?: any): AuthenticityParams | undefined;
669
679
  }
670
680
  export declare class ProcessParams {
@@ -694,11 +704,16 @@ export declare class ProcessParams {
694
704
  shouldReturnPackageForReprocess?: boolean;
695
705
  disablePerforationOCR?: boolean;
696
706
  respectImageQuality?: boolean;
707
+ strictImageQuality?: boolean;
697
708
  splitNames?: boolean;
698
709
  useFaceApi?: boolean;
699
710
  useAuthenticityCheck?: boolean;
700
711
  checkHologram?: boolean;
701
712
  generateNumericCodes?: boolean;
713
+ strictBarcodeDigitalSignatureCheck?: boolean;
714
+ selectLongestNames?: boolean;
715
+ generateDTCVC?: boolean;
716
+ strictDLCategoryExpiry?: boolean;
702
717
  barcodeParserType?: number;
703
718
  perspectiveAngle?: number;
704
719
  minDPI?: number;
@@ -717,7 +732,6 @@ export declare class ProcessParams {
717
732
  dateFormat?: string;
718
733
  scenario?: string;
719
734
  captureButtonScenario?: string;
720
- sessionLogFolder?: string;
721
735
  timeout?: number;
722
736
  timeoutFromFirstDetect?: number;
723
737
  timeoutFromFirstDocType?: number;
@@ -775,6 +789,8 @@ export declare class Customization {
775
789
  cameraFrameBorderWidth?: number;
776
790
  cameraFrameLineLength?: number;
777
791
  cameraFrameOffsetWidth?: number;
792
+ nextPageAnimationStartDelay?: number;
793
+ nextPageAnimationEndDelay?: number;
778
794
  cameraFrameShapeType?: number;
779
795
  status?: string;
780
796
  resultStatus?: string;
@@ -788,6 +804,7 @@ export declare class Customization {
788
804
  activityIndicatorColor?: number;
789
805
  statusBackgroundColor?: number;
790
806
  cameraPreviewBackgroundColor?: number;
807
+ backgroundMaskColor?: number;
791
808
  statusPositionMultiplier?: number;
792
809
  resultStatusPositionMultiplier?: number;
793
810
  toolbarSize?: number;
@@ -890,6 +907,14 @@ export declare class EIDDataGroups {
890
907
  DG21?: boolean;
891
908
  static fromJson(jsonObject?: any): EIDDataGroups | undefined;
892
909
  }
910
+ export declare class DTCDataGroup {
911
+ DG17?: boolean;
912
+ DG18?: boolean;
913
+ DG22?: boolean;
914
+ DG23?: boolean;
915
+ DG24?: boolean;
916
+ static fromJson(jsonObject?: any): DTCDataGroup | undefined;
917
+ }
893
918
  export declare class RFIDScenario {
894
919
  paceStaticBinding?: boolean;
895
920
  onlineTA?: boolean;
@@ -925,6 +950,10 @@ export declare class RFIDScenario {
925
950
  applyAmendments?: boolean;
926
951
  autoSettings?: boolean;
927
952
  proceedReadingAlways?: boolean;
953
+ readDTC?: boolean;
954
+ mrzStrictCheck?: boolean;
955
+ loadCRLFromRemote?: boolean;
956
+ independentSODStatus?: boolean;
928
957
  readingBuffer?: number;
929
958
  onlineTAToSignDataType?: number;
930
959
  defaultReadingBufferSize?: number;
@@ -940,9 +969,11 @@ export declare class RFIDScenario {
940
969
  mrz?: string;
941
970
  eSignPINDefault?: string;
942
971
  eSignPINNewValue?: string;
972
+ cardAccess?: string;
943
973
  eDLDataGroups?: EDLDataGroups;
944
974
  ePassportDataGroups?: EPassportDataGroups;
945
975
  eIDDataGroups?: EIDDataGroups;
976
+ dtcDataGroups?: DTCDataGroup;
946
977
  static fromJson(jsonObject?: any): RFIDScenario | undefined;
947
978
  }
948
979
  export declare class PrepareProgress {
@@ -1296,6 +1327,7 @@ export declare const eRPRM_ResultType: {
1296
1327
  RPRM_RESULT_TYPE_STATUS: number;
1297
1328
  RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
1298
1329
  RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
1330
+ RFID_RESULT_TYPE_RFID_DTC_VC: number;
1299
1331
  };
1300
1332
  export declare const FrameShapeType: {
1301
1333
  LINE: number;
@@ -1395,6 +1427,7 @@ export declare const DocumentReaderErrorCodes: {
1395
1427
  FINALIZE_FAILED: number;
1396
1428
  CAMERA_NO_PERMISSION: number;
1397
1429
  CAMERA_NOT_AVAILABLE: number;
1430
+ CANNOT_USE_CAMERA_IN_SCENARIO: number;
1398
1431
  NATIVE_JAVA_EXCEPTION: number;
1399
1432
  BACKEND_ONLINE_PROCESSING: number;
1400
1433
  WRONG_INPUT: number;
@@ -1424,6 +1457,7 @@ export declare const ScenarioIdentifier: {
1424
1457
  SCENARIO_OCR_FREE: string;
1425
1458
  SCENARIO_CREDIT_CARD: string;
1426
1459
  SCENARIO_CAPTURE: string;
1460
+ SCENARIO_DTC: string;
1427
1461
  };
1428
1462
  export declare const eRFID_AccessControl_ProcedureType: {
1429
1463
  ACPT_UNDEFINED: number;
@@ -1505,6 +1539,7 @@ export declare const ViewContentMode: {
1505
1539
  };
1506
1540
  export declare const BarcodeResult: {
1507
1541
  NO_ERR: number;
1542
+ INVALID_RESULT: number;
1508
1543
  NULL_PTR_ERR: number;
1509
1544
  BAD_ARG_ERR: number;
1510
1545
  SIZE_ERR: number;
@@ -1535,6 +1570,16 @@ export declare const BarcodeResult: {
1535
1570
  IPDECODE_ERROR_INCORRECT_ERROR_LEVEL: number;
1536
1571
  IPDECODE_ERROR_LOADING_DEV_TABLE: number;
1537
1572
  };
1573
+ export declare const eRFID_Application_Type: {
1574
+ ePASSPORT: number;
1575
+ eID: number;
1576
+ eSIGN: number;
1577
+ eDL: number;
1578
+ LDS2_TRAVEL_RECORDS: number;
1579
+ LDS2_VISA_RECORDS: number;
1580
+ LDS2_ADD_BIOMETRICS: number;
1581
+ eDTC_PC: number;
1582
+ };
1538
1583
  export declare const eSignManagementAction: {
1539
1584
  smaUndefined: number;
1540
1585
  smaCreatePIN: number;
@@ -1587,12 +1632,15 @@ export declare const eCheckDiagnose: {
1587
1632
  FALSE_LUMINISCENCE_IN_BLANK: number;
1588
1633
  BAD_AREA_IN_AXIAL: number;
1589
1634
  FALSE_IPI_PARAMETERS: number;
1635
+ ENCRYPTED_IPI_NOT_FOUND: number;
1636
+ ENCRYPTED_IPI_DATA_DONT_MATCH: number;
1590
1637
  FIELD_POS_CORRECTOR_HIGHLIGHT_IR: number;
1591
1638
  FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: number;
1592
1639
  FIELD_POS_CORRECTOR_PHOTO_REPLACED: number;
1593
1640
  FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: number;
1594
1641
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: number;
1595
1642
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: number;
1643
+ CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: number;
1596
1644
  OVI_IR_INVISIBLE: number;
1597
1645
  OVI_INSUFFICIENT_AREA: number;
1598
1646
  OVI_COLOR_INVARIABLE: number;
@@ -1627,6 +1675,7 @@ export declare const eCheckDiagnose: {
1627
1675
  BARCODE_SIZE_PARAMS_ERROR: number;
1628
1676
  NOT_ALL_BARCODES_READ: number;
1629
1677
  GLARES_IN_BARCODE_AREA: number;
1678
+ CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: number;
1630
1679
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
1631
1680
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
1632
1681
  PORTRAIT_COMPARISON_SERVICE_ERROR: number;
@@ -1656,6 +1705,8 @@ export declare const eCheckDiagnose: {
1656
1705
  OCR_QUALITY_INVALID_FONT: number;
1657
1706
  OCR_QUALITY_INVALID_BACKGROUND: number;
1658
1707
  LAS_INK_INVALID_LINES_FREQUENCY: number;
1708
+ DOC_LIVENESS_DOCUMENT_NOT_LIVE: number;
1709
+ CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: number;
1659
1710
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
1660
1711
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
1661
1712
  ICAO_IDB_BASE_32_ERROR: number;
@@ -1955,6 +2006,7 @@ export declare const eImageQualityCheckType: {
1955
2006
  IQC_PORTRAIT: number;
1956
2007
  IQC_HANDWRITTEN: number;
1957
2008
  IQC_BRIGHTNESS: number;
2009
+ IQC_OCCLUSION: number;
1958
2010
  };
1959
2011
  export declare const MRZFormat: {
1960
2012
  FORMAT_1X30: string;
@@ -2039,6 +2091,8 @@ export declare const eRPRM_SecurityFeatureType: {
2039
2091
  SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: number;
2040
2092
  SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: number;
2041
2093
  SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: number;
2094
+ SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: number;
2095
+ SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: number;
2042
2096
  };
2043
2097
  export declare const OnlineMode: {
2044
2098
  MANUAL: number;
@@ -2403,6 +2457,11 @@ export declare const eRFID_DataFile_Type: {
2403
2457
  DFT_PASSPORT_SOD: number;
2404
2458
  DFT_PASSPORT_CVCA: number;
2405
2459
  DFT_PASSPORT_COM: number;
2460
+ DFT_DTC_DG17: number;
2461
+ DFT_DTC_DG18: number;
2462
+ DFT_DTC_DG22: number;
2463
+ DFT_DTC_DG23: number;
2464
+ DFT_DTC_DG24: number;
2406
2465
  DFT_ID_DG1: number;
2407
2466
  DFT_ID_DG2: number;
2408
2467
  DFT_ID_DG3: number;
@@ -2755,6 +2814,9 @@ export declare const eVisualFieldType: {
2755
2814
  FT_DOCUMENT_DISCRIMINATOR: number;
2756
2815
  FT_DATA_DISCRIMINATOR: number;
2757
2816
  FT_ISO_ISSUER_ID_NUMBER: number;
2817
+ FT_DTC_VERSION: number;
2818
+ FT_DTC_ID: number;
2819
+ FT_DTC_DATE_OF_EXPIRY: number;
2758
2820
  FT_GNIB_NUMBER: number;
2759
2821
  FT_DEPT_NUMBER: number;
2760
2822
  FT_TELEX_CODE: number;
@@ -3107,6 +3169,9 @@ export declare const eVisualFieldType: {
3107
3169
  FT_METHOD_OF_TESTING: number;
3108
3170
  FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: number;
3109
3171
  FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: number;
3172
+ FT_EF_CARD_ACCESS: number;
3173
+ FT_SHORT_FLIGHT_NUMBER: number;
3174
+ FT_AIRLINE_CODE: number;
3110
3175
  };
3111
3176
  export declare const DocReaderOrientation: {
3112
3177
  ALL: number;
@@ -3654,6 +3719,7 @@ export declare const Enum: {
3654
3719
  RPRM_RESULT_TYPE_STATUS: number;
3655
3720
  RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
3656
3721
  RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
3722
+ RFID_RESULT_TYPE_RFID_DTC_VC: number;
3657
3723
  };
3658
3724
  FrameShapeType: {
3659
3725
  LINE: number;
@@ -3753,6 +3819,7 @@ export declare const Enum: {
3753
3819
  FINALIZE_FAILED: number;
3754
3820
  CAMERA_NO_PERMISSION: number;
3755
3821
  CAMERA_NOT_AVAILABLE: number;
3822
+ CANNOT_USE_CAMERA_IN_SCENARIO: number;
3756
3823
  NATIVE_JAVA_EXCEPTION: number;
3757
3824
  BACKEND_ONLINE_PROCESSING: number;
3758
3825
  WRONG_INPUT: number;
@@ -3782,6 +3849,7 @@ export declare const Enum: {
3782
3849
  SCENARIO_OCR_FREE: string;
3783
3850
  SCENARIO_CREDIT_CARD: string;
3784
3851
  SCENARIO_CAPTURE: string;
3852
+ SCENARIO_DTC: string;
3785
3853
  };
3786
3854
  eRFID_AccessControl_ProcedureType: {
3787
3855
  ACPT_UNDEFINED: number;
@@ -3863,6 +3931,7 @@ export declare const Enum: {
3863
3931
  };
3864
3932
  BarcodeResult: {
3865
3933
  NO_ERR: number;
3934
+ INVALID_RESULT: number;
3866
3935
  NULL_PTR_ERR: number;
3867
3936
  BAD_ARG_ERR: number;
3868
3937
  SIZE_ERR: number;
@@ -3893,6 +3962,16 @@ export declare const Enum: {
3893
3962
  IPDECODE_ERROR_INCORRECT_ERROR_LEVEL: number;
3894
3963
  IPDECODE_ERROR_LOADING_DEV_TABLE: number;
3895
3964
  };
3965
+ eRFID_Application_Type: {
3966
+ ePASSPORT: number;
3967
+ eID: number;
3968
+ eSIGN: number;
3969
+ eDL: number;
3970
+ LDS2_TRAVEL_RECORDS: number;
3971
+ LDS2_VISA_RECORDS: number;
3972
+ LDS2_ADD_BIOMETRICS: number;
3973
+ eDTC_PC: number;
3974
+ };
3896
3975
  eSignManagementAction: {
3897
3976
  smaUndefined: number;
3898
3977
  smaCreatePIN: number;
@@ -3945,12 +4024,15 @@ export declare const Enum: {
3945
4024
  FALSE_LUMINISCENCE_IN_BLANK: number;
3946
4025
  BAD_AREA_IN_AXIAL: number;
3947
4026
  FALSE_IPI_PARAMETERS: number;
4027
+ ENCRYPTED_IPI_NOT_FOUND: number;
4028
+ ENCRYPTED_IPI_DATA_DONT_MATCH: number;
3948
4029
  FIELD_POS_CORRECTOR_HIGHLIGHT_IR: number;
3949
4030
  FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: number;
3950
4031
  FIELD_POS_CORRECTOR_PHOTO_REPLACED: number;
3951
4032
  FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: number;
3952
4033
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: number;
3953
4034
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: number;
4035
+ CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: number;
3954
4036
  OVI_IR_INVISIBLE: number;
3955
4037
  OVI_INSUFFICIENT_AREA: number;
3956
4038
  OVI_COLOR_INVARIABLE: number;
@@ -3985,6 +4067,7 @@ export declare const Enum: {
3985
4067
  BARCODE_SIZE_PARAMS_ERROR: number;
3986
4068
  NOT_ALL_BARCODES_READ: number;
3987
4069
  GLARES_IN_BARCODE_AREA: number;
4070
+ CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: number;
3988
4071
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
3989
4072
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
3990
4073
  PORTRAIT_COMPARISON_SERVICE_ERROR: number;
@@ -4014,6 +4097,8 @@ export declare const Enum: {
4014
4097
  OCR_QUALITY_INVALID_FONT: number;
4015
4098
  OCR_QUALITY_INVALID_BACKGROUND: number;
4016
4099
  LAS_INK_INVALID_LINES_FREQUENCY: number;
4100
+ DOC_LIVENESS_DOCUMENT_NOT_LIVE: number;
4101
+ CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: number;
4017
4102
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
4018
4103
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
4019
4104
  ICAO_IDB_BASE_32_ERROR: number;
@@ -4313,6 +4398,7 @@ export declare const Enum: {
4313
4398
  IQC_PORTRAIT: number;
4314
4399
  IQC_HANDWRITTEN: number;
4315
4400
  IQC_BRIGHTNESS: number;
4401
+ IQC_OCCLUSION: number;
4316
4402
  };
4317
4403
  MRZFormat: {
4318
4404
  FORMAT_1X30: string;
@@ -4397,6 +4483,8 @@ export declare const Enum: {
4397
4483
  SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: number;
4398
4484
  SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: number;
4399
4485
  SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: number;
4486
+ SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: number;
4487
+ SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: number;
4400
4488
  };
4401
4489
  OnlineMode: {
4402
4490
  MANUAL: number;
@@ -4761,6 +4849,11 @@ export declare const Enum: {
4761
4849
  DFT_PASSPORT_SOD: number;
4762
4850
  DFT_PASSPORT_CVCA: number;
4763
4851
  DFT_PASSPORT_COM: number;
4852
+ DFT_DTC_DG17: number;
4853
+ DFT_DTC_DG18: number;
4854
+ DFT_DTC_DG22: number;
4855
+ DFT_DTC_DG23: number;
4856
+ DFT_DTC_DG24: number;
4764
4857
  DFT_ID_DG1: number;
4765
4858
  DFT_ID_DG2: number;
4766
4859
  DFT_ID_DG3: number;
@@ -5113,6 +5206,9 @@ export declare const Enum: {
5113
5206
  FT_DOCUMENT_DISCRIMINATOR: number;
5114
5207
  FT_DATA_DISCRIMINATOR: number;
5115
5208
  FT_ISO_ISSUER_ID_NUMBER: number;
5209
+ FT_DTC_VERSION: number;
5210
+ FT_DTC_ID: number;
5211
+ FT_DTC_DATE_OF_EXPIRY: number;
5116
5212
  FT_GNIB_NUMBER: number;
5117
5213
  FT_DEPT_NUMBER: number;
5118
5214
  FT_TELEX_CODE: number;
@@ -5465,6 +5561,9 @@ export declare const Enum: {
5465
5561
  FT_METHOD_OF_TESTING: number;
5466
5562
  FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: number;
5467
5563
  FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: number;
5564
+ FT_EF_CARD_ACCESS: number;
5565
+ FT_SHORT_FLIGHT_NUMBER: number;
5566
+ FT_AIRLINE_CODE: number;
5468
5567
  };
5469
5568
  DocReaderOrientation: {
5470
5569
  ALL: number;
@@ -5703,18 +5802,6 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5703
5802
  * @return {Promise<any>} Returns a promise
5704
5803
  */
5705
5804
  getDocumentReaderStatus(): Promise<any>;
5706
- /**
5707
- * Allows you to check if a mobile authenticator is available for use
5708
- *
5709
- * @return {Promise<any>} Returns a promise
5710
- */
5711
- isAuthenticatorAvailableForUse(): Promise<any>;
5712
- /**
5713
- * Checks if all required bluetooth permissions are granted and requests them if needed(Android only, ignored on iOS)
5714
- *
5715
- * @return {Promise<any>} Returns a promise
5716
- */
5717
- isBlePermissionsGranted(): Promise<any>;
5718
5805
  /**
5719
5806
  * Use this method to get an RFID session status
5720
5807
  *
@@ -5976,11 +6063,12 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
5976
6063
  */
5977
6064
  startNewSession(): Promise<any>;
5978
6065
  /**
5979
- * Searches for ble devices(Android only, ignored on iOS)
6066
+ * Connects to ble device
5980
6067
  *
6068
+ * @param {string} btDeviceName
5981
6069
  * @return {Promise<any>} Returns a promise
5982
6070
  */
5983
- startBluetoothService(): Promise<any>;
6071
+ connectBluetoothDevice(btDeviceName: string): Promise<any>;
5984
6072
  /**
5985
6073
  *
5986
6074
  *
@@ -6006,6 +6094,18 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
6006
6094
  * @return {Promise<any>} Returns a promise
6007
6095
  */
6008
6096
  getIsRFIDAvailableForUse(): Promise<any>;
6097
+ /**
6098
+ * Allows you to check if a mobile authenticator is available for use
6099
+ *
6100
+ * @return {Promise<any>} Returns a promise
6101
+ */
6102
+ isAuthenticatorRFIDAvailableForUse(): Promise<any>;
6103
+ /**
6104
+ * Allows you to check if a mobile authenticator is available for use
6105
+ *
6106
+ * @return {Promise<any>} Returns a promise
6107
+ */
6108
+ isAuthenticatorAvailableForUse(): Promise<any>;
6009
6109
  /**
6010
6110
  *
6011
6111
  *
@@ -6024,6 +6124,12 @@ export declare class DocumentReaderOriginal extends AwesomeCordovaNativePlugin {
6024
6124
  * @return {Promise<any>} Returns a promise
6025
6125
  */
6026
6126
  finalizePackage(): Promise<any>;
6127
+ /**
6128
+ *
6129
+ *
6130
+ * @return {Promise<any>} Returns a promise
6131
+ */
6132
+ endBackendTransaction(): Promise<any>;
6027
6133
  /**
6028
6134
  *
6029
6135
  *