@regulaforensics/react-native-document-reader-api 7.4.735 → 7.5.85-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.
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "7.4.735",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.4.638",
13
+ "@regulaforensics/react-native-document-reader-api": "7.5.85-rc",
14
+ "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.7.164-rc",
15
15
  "react-native-progress": "5.0.0",
16
16
  "react-native-radio-buttons-group": "3.0.5",
17
17
  "@rneui/base": "4.0.0-rc.7",
@@ -24,9 +24,9 @@
24
24
  "ip": "2.0.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@babel/core": "7.23.2",
28
- "@babel/preset-env": "7.23.2",
29
- "@babel/runtime": "7.23.2",
27
+ "@babel/core": "7.26.10",
28
+ "@babel/preset-env": "7.26.9",
29
+ "@babel/runtime": "7.27.0",
30
30
  "@react-native/eslint-config": "0.73.2",
31
31
  "@react-native/metro-config": "0.73.2",
32
32
  "@tsconfig/react-native": "3.0.2",
@@ -42,5 +42,4 @@
42
42
  "engines": {
43
43
  "node": ">=16"
44
44
  }
45
- }
46
-
45
+ }
package/index.d.ts CHANGED
@@ -1064,14 +1064,14 @@ export class RfidNotificationCompletion {
1064
1064
  }
1065
1065
 
1066
1066
  export class RegulaException {
1067
- errorCode?: number
1067
+ code?: number
1068
1068
  message?: string
1069
1069
 
1070
1070
  static fromJson(jsonObject?: any): RegulaException | undefined {
1071
1071
  if (jsonObject == null || jsonObject == undefined) return undefined
1072
1072
  const result = new RegulaException
1073
1073
 
1074
- result.errorCode = jsonObject["errorCode"]
1074
+ result.code = jsonObject["code"]
1075
1075
  result.message = jsonObject["message"]
1076
1076
 
1077
1077
  return result
@@ -1474,9 +1474,10 @@ export class DocumentReaderValidity {
1474
1474
  export class OnlineProcessingConfig {
1475
1475
  mode?: number
1476
1476
  url?: string
1477
- processParam?: ProcessParams
1477
+ processParams?: ProcessParams
1478
1478
  imageFormat?: number
1479
1479
  imageCompressionQuality?: number
1480
+ requestHeaders?: Record<string, string>
1480
1481
 
1481
1482
  static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined {
1482
1483
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1484,9 +1485,10 @@ export class OnlineProcessingConfig {
1484
1485
 
1485
1486
  result.mode = jsonObject["mode"]
1486
1487
  result.url = jsonObject["url"]
1487
- result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
1488
+ result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
1488
1489
  result.imageFormat = jsonObject["imageFormat"]
1489
1490
  result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
1491
+ result.requestHeaders = jsonObject["requestHeaders"]
1490
1492
 
1491
1493
  return result
1492
1494
  }
@@ -1540,6 +1542,7 @@ export class RecognizeConfig {
1540
1542
  scenario?: string
1541
1543
  onlineProcessingConfig?: OnlineProcessingConfig
1542
1544
  oneShotIdentification?: boolean
1545
+ dtc?: string
1543
1546
  livePortrait?: string
1544
1547
  extPortrait?: string
1545
1548
  image?: string
@@ -1554,6 +1557,7 @@ export class RecognizeConfig {
1554
1557
  result.scenario = jsonObject["scenario"]
1555
1558
  result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
1556
1559
  result.oneShotIdentification = jsonObject["oneShotIdentification"]
1560
+ result.dtc = jsonObject["dtc"]
1557
1561
  result.livePortrait = jsonObject["livePortrait"]
1558
1562
  result.extPortrait = jsonObject["extPortrait"]
1559
1563
  result.image = jsonObject["image"]
@@ -1621,6 +1625,7 @@ export class DocReaderVersion {
1621
1625
  export class TransactionInfo {
1622
1626
  transactionId?: string
1623
1627
  tag?: string
1628
+ sessionLogFolder?: string
1624
1629
 
1625
1630
  static fromJson(jsonObject?: any): TransactionInfo | undefined {
1626
1631
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1628,6 +1633,7 @@ export class TransactionInfo {
1628
1633
 
1629
1634
  result.transactionId = jsonObject["transactionId"]
1630
1635
  result.tag = jsonObject["tag"]
1636
+ result.sessionLogFolder = jsonObject["sessionLogFolder"]
1631
1637
 
1632
1638
  return result
1633
1639
  }
@@ -1652,6 +1658,7 @@ export class DocumentReaderResults {
1652
1658
  documentType?: DocumentReaderDocumentType[]
1653
1659
  status?: DocumentReaderResultsStatus
1654
1660
  vdsncData?: VDSNCData
1661
+ dtcData?: string
1655
1662
  transactionInfo?: TransactionInfo
1656
1663
 
1657
1664
  textFieldValueByType(fieldType, successCallback, errorCallback) {
@@ -1779,6 +1786,7 @@ export class DocumentReaderResults {
1779
1786
  }
1780
1787
  result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
1781
1788
  result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
1789
+ result.dtcData = jsonObject["dtcData"]
1782
1790
  result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
1783
1791
 
1784
1792
  return result
@@ -1817,6 +1825,7 @@ export class Functionality {
1817
1825
  recordScanningProcess?: boolean
1818
1826
  manualMultipageMode?: boolean
1819
1827
  singleResult?: boolean
1828
+ torchTurnedOn?: boolean
1820
1829
  showCaptureButtonDelayFromDetect?: number
1821
1830
  showCaptureButtonDelayFromStart?: number
1822
1831
  rfidTimeout?: number
@@ -1853,6 +1862,7 @@ export class Functionality {
1853
1862
  result.recordScanningProcess = jsonObject["recordScanningProcess"]
1854
1863
  result.manualMultipageMode = jsonObject["manualMultipageMode"]
1855
1864
  result.singleResult = jsonObject["singleResult"]
1865
+ result.torchTurnedOn = jsonObject["torchTurnedOn"]
1856
1866
  result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
1857
1867
  result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
1858
1868
  result.rfidTimeout = jsonObject["rfidTimeout"]
@@ -1904,6 +1914,7 @@ export class ImageQA {
1904
1914
  expectedPass?: number[]
1905
1915
  documentPositionIndent?: number
1906
1916
  brightnessThreshold?: number
1917
+ occlusionCheck?: boolean
1907
1918
 
1908
1919
  static fromJson(jsonObject?: any): ImageQA | undefined {
1909
1920
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -1924,6 +1935,7 @@ export class ImageQA {
1924
1935
  }
1925
1936
  result.documentPositionIndent = jsonObject["documentPositionIndent"]
1926
1937
  result.brightnessThreshold = jsonObject["brightnessThreshold"]
1938
+ result.occlusionCheck = jsonObject["occlusionCheck"]
1927
1939
 
1928
1940
  return result
1929
1941
  }
@@ -2000,6 +2012,7 @@ export class BackendProcessingConfig {
2000
2012
  url?: string
2001
2013
  httpHeaders?: Record<string, string>
2002
2014
  rfidServerSideChipVerification?: boolean
2015
+ timeoutConnection?: number
2003
2016
 
2004
2017
  static fromJson(jsonObject?: any): BackendProcessingConfig | undefined {
2005
2018
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -2008,6 +2021,7 @@ export class BackendProcessingConfig {
2008
2021
  result.url = jsonObject["url"]
2009
2022
  result.httpHeaders = jsonObject["httpHeaders"]
2010
2023
  result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
2024
+ result.timeoutConnection = jsonObject["timeoutConnection"]
2011
2025
 
2012
2026
  return result
2013
2027
  }
@@ -2018,6 +2032,8 @@ export class LivenessParams {
2018
2032
  checkMLI?: boolean
2019
2033
  checkHolo?: boolean
2020
2034
  checkED?: boolean
2035
+ checkBlackAndWhiteCopy?: boolean
2036
+ checkDynaprint?: boolean
2021
2037
 
2022
2038
  static fromJson(jsonObject?: any): LivenessParams | undefined {
2023
2039
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -2027,6 +2043,8 @@ export class LivenessParams {
2027
2043
  result.checkMLI = jsonObject["checkMLI"]
2028
2044
  result.checkHolo = jsonObject["checkHolo"]
2029
2045
  result.checkED = jsonObject["checkED"]
2046
+ result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
2047
+ result.checkDynaprint = jsonObject["checkDynaprint"]
2030
2048
 
2031
2049
  return result
2032
2050
  }
@@ -2048,6 +2066,7 @@ export class AuthenticityParams {
2048
2066
  checkPhotoEmbedding?: boolean
2049
2067
  checkPhotoComparison?: boolean
2050
2068
  checkLetterScreen?: boolean
2069
+ checkSecurityText?: boolean
2051
2070
 
2052
2071
  static fromJson(jsonObject?: any): AuthenticityParams | undefined {
2053
2072
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -2068,6 +2087,7 @@ export class AuthenticityParams {
2068
2087
  result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
2069
2088
  result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
2070
2089
  result.checkLetterScreen = jsonObject["checkLetterScreen"]
2090
+ result.checkSecurityText = jsonObject["checkSecurityText"]
2071
2091
 
2072
2092
  return result
2073
2093
  }
@@ -2100,11 +2120,16 @@ export class ProcessParams {
2100
2120
  shouldReturnPackageForReprocess?: boolean
2101
2121
  disablePerforationOCR?: boolean
2102
2122
  respectImageQuality?: boolean
2123
+ strictImageQuality?: boolean
2103
2124
  splitNames?: boolean
2104
2125
  useFaceApi?: boolean
2105
2126
  useAuthenticityCheck?: boolean
2106
2127
  checkHologram?: boolean
2107
2128
  generateNumericCodes?: boolean
2129
+ strictBarcodeDigitalSignatureCheck?: boolean
2130
+ selectLongestNames?: boolean
2131
+ generateDTCVC?: boolean
2132
+ strictDLCategoryExpiry?: boolean
2108
2133
  barcodeParserType?: number
2109
2134
  perspectiveAngle?: number
2110
2135
  minDPI?: number
@@ -2123,7 +2148,6 @@ export class ProcessParams {
2123
2148
  dateFormat?: string
2124
2149
  scenario?: string
2125
2150
  captureButtonScenario?: string
2126
- sessionLogFolder?: string
2127
2151
  timeout?: number
2128
2152
  timeoutFromFirstDetect?: number
2129
2153
  timeoutFromFirstDocType?: number
@@ -2174,11 +2198,16 @@ export class ProcessParams {
2174
2198
  result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
2175
2199
  result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
2176
2200
  result.respectImageQuality = jsonObject["respectImageQuality"]
2201
+ result.strictImageQuality = jsonObject["strictImageQuality"]
2177
2202
  result.splitNames = jsonObject["splitNames"]
2178
2203
  result.useFaceApi = jsonObject["useFaceApi"]
2179
2204
  result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
2180
2205
  result.checkHologram = jsonObject["checkHologram"]
2181
2206
  result.generateNumericCodes = jsonObject["generateNumericCodes"]
2207
+ result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
2208
+ result.selectLongestNames = jsonObject["selectLongestNames"]
2209
+ result.generateDTCVC = jsonObject["generateDTCVC"]
2210
+ result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
2182
2211
  result.barcodeParserType = jsonObject["barcodeParserType"]
2183
2212
  result.perspectiveAngle = jsonObject["perspectiveAngle"]
2184
2213
  result.minDPI = jsonObject["minDPI"]
@@ -2197,7 +2226,6 @@ export class ProcessParams {
2197
2226
  result.dateFormat = jsonObject["dateFormat"]
2198
2227
  result.scenario = jsonObject["scenario"]
2199
2228
  result.captureButtonScenario = jsonObject["captureButtonScenario"]
2200
- result.sessionLogFolder = jsonObject["sessionLogFolder"]
2201
2229
  result.timeout = jsonObject["timeout"]
2202
2230
  result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
2203
2231
  result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
@@ -2345,6 +2373,8 @@ export class Customization {
2345
2373
  cameraFrameBorderWidth?: number
2346
2374
  cameraFrameLineLength?: number
2347
2375
  cameraFrameOffsetWidth?: number
2376
+ nextPageAnimationStartDelay?: number
2377
+ nextPageAnimationEndDelay?: number
2348
2378
  cameraFrameShapeType?: number
2349
2379
  status?: string
2350
2380
  resultStatus?: string
@@ -2358,6 +2388,7 @@ export class Customization {
2358
2388
  activityIndicatorColor?: number
2359
2389
  statusBackgroundColor?: number
2360
2390
  cameraPreviewBackgroundColor?: number
2391
+ backgroundMaskColor?: number
2361
2392
  statusPositionMultiplier?: number
2362
2393
  resultStatusPositionMultiplier?: number
2363
2394
  toolbarSize?: number
@@ -2411,6 +2442,8 @@ export class Customization {
2411
2442
  result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
2412
2443
  result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
2413
2444
  result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
2445
+ result.nextPageAnimationStartDelay = jsonObject["nextPageAnimationStartDelay"]
2446
+ result.nextPageAnimationEndDelay = jsonObject["nextPageAnimationEndDelay"]
2414
2447
  result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
2415
2448
  result.status = jsonObject["status"]
2416
2449
  result.resultStatus = jsonObject["resultStatus"]
@@ -2424,6 +2457,7 @@ export class Customization {
2424
2457
  result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
2425
2458
  result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
2426
2459
  result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
2460
+ result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
2427
2461
  result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
2428
2462
  result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
2429
2463
  result.toolbarSize = jsonObject["toolbarSize"]
@@ -2629,6 +2663,27 @@ export class EIDDataGroups {
2629
2663
  }
2630
2664
  }
2631
2665
 
2666
+ export class DTCDataGroup {
2667
+ DG17?: boolean
2668
+ DG18?: boolean
2669
+ DG22?: boolean
2670
+ DG23?: boolean
2671
+ DG24?: boolean
2672
+
2673
+ static fromJson(jsonObject?: any): DTCDataGroup | undefined {
2674
+ if (jsonObject == null || jsonObject == undefined) return undefined
2675
+ const result = new DTCDataGroup
2676
+
2677
+ result.DG17 = jsonObject["DG17"]
2678
+ result.DG18 = jsonObject["DG18"]
2679
+ result.DG22 = jsonObject["DG22"]
2680
+ result.DG23 = jsonObject["DG23"]
2681
+ result.DG24 = jsonObject["DG24"]
2682
+
2683
+ return result
2684
+ }
2685
+ }
2686
+
2632
2687
  export class RFIDScenario {
2633
2688
  paceStaticBinding?: boolean
2634
2689
  onlineTA?: boolean
@@ -2664,6 +2719,10 @@ export class RFIDScenario {
2664
2719
  applyAmendments?: boolean
2665
2720
  autoSettings?: boolean
2666
2721
  proceedReadingAlways?: boolean
2722
+ readDTC?: boolean
2723
+ mrzStrictCheck?: boolean
2724
+ loadCRLFromRemote?: boolean
2725
+ independentSODStatus?: boolean
2667
2726
  readingBuffer?: number
2668
2727
  onlineTAToSignDataType?: number
2669
2728
  defaultReadingBufferSize?: number
@@ -2679,9 +2738,11 @@ export class RFIDScenario {
2679
2738
  mrz?: string
2680
2739
  eSignPINDefault?: string
2681
2740
  eSignPINNewValue?: string
2741
+ cardAccess?: string
2682
2742
  eDLDataGroups?: EDLDataGroups
2683
2743
  ePassportDataGroups?: EPassportDataGroups
2684
2744
  eIDDataGroups?: EIDDataGroups
2745
+ dtcDataGroups?: DTCDataGroup
2685
2746
 
2686
2747
  static fromJson(jsonObject?: any): RFIDScenario | undefined {
2687
2748
  if (jsonObject == null || jsonObject == undefined) return undefined
@@ -2721,6 +2782,10 @@ export class RFIDScenario {
2721
2782
  result.applyAmendments = jsonObject["applyAmendments"]
2722
2783
  result.autoSettings = jsonObject["autoSettings"]
2723
2784
  result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
2785
+ result.readDTC = jsonObject["readDTC"]
2786
+ result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
2787
+ result.loadCRLFromRemote = jsonObject["loadCRLFromRemote"]
2788
+ result.independentSODStatus = jsonObject["independentSODStatus"]
2724
2789
  result.readingBuffer = jsonObject["readingBuffer"]
2725
2790
  result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
2726
2791
  result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
@@ -2736,9 +2801,11 @@ export class RFIDScenario {
2736
2801
  result.mrz = jsonObject["mrz"]
2737
2802
  result.eSignPINDefault = jsonObject["eSignPINDefault"]
2738
2803
  result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
2804
+ result.cardAccess = jsonObject["cardAccess"]
2739
2805
  result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
2740
2806
  result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
2741
2807
  result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
2808
+ result.dtcDataGroups = DTCDataGroup.fromJson(jsonObject["dtcDataGroups"])
2742
2809
 
2743
2810
  return result
2744
2811
  }
@@ -3113,6 +3180,7 @@ export const eRPRM_ResultType = {
3113
3180
  RPRM_RESULT_TYPE_STATUS: 33,
3114
3181
  RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: 34,
3115
3182
  RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
3183
+ RFID_RESULT_TYPE_RFID_DTC_VC: 109,
3116
3184
  }
3117
3185
 
3118
3186
  export const FrameShapeType = {
@@ -3243,6 +3311,7 @@ export const DocumentReaderErrorCodes = {
3243
3311
  FINALIZE_FAILED: 28,
3244
3312
  CAMERA_NO_PERMISSION: 29,
3245
3313
  CAMERA_NOT_AVAILABLE: 30,
3314
+ CANNOT_USE_CAMERA_IN_SCENARIO: 40,
3246
3315
  NATIVE_JAVA_EXCEPTION: 1000,
3247
3316
  BACKEND_ONLINE_PROCESSING: 303,
3248
3317
  WRONG_INPUT: 400,
@@ -3273,6 +3342,7 @@ export const ScenarioIdentifier = {
3273
3342
  SCENARIO_OCR_FREE: "OcrFree",
3274
3343
  SCENARIO_CREDIT_CARD: "CreditCard",
3275
3344
  SCENARIO_CAPTURE: "Capture",
3345
+ SCENARIO_DTC: "DTC",
3276
3346
  }
3277
3347
 
3278
3348
  export const eRFID_AccessControl_ProcedureType = {
@@ -3360,6 +3430,7 @@ export const ViewContentMode = {
3360
3430
 
3361
3431
  export const BarcodeResult = {
3362
3432
  NO_ERR: 0,
3433
+ INVALID_RESULT: 140,
3363
3434
  NULL_PTR_ERR: -6001,
3364
3435
  BAD_ARG_ERR: -6002,
3365
3436
  SIZE_ERR: -6003,
@@ -3391,6 +3462,17 @@ export const BarcodeResult = {
3391
3462
  IPDECODE_ERROR_LOADING_DEV_TABLE: -4512,
3392
3463
  }
3393
3464
 
3465
+ export const eRFID_Application_Type = {
3466
+ ePASSPORT: 1,
3467
+ eID: 2,
3468
+ eSIGN: 3,
3469
+ eDL: 4,
3470
+ LDS2_TRAVEL_RECORDS: 5,
3471
+ LDS2_VISA_RECORDS: 6,
3472
+ LDS2_ADD_BIOMETRICS: 7,
3473
+ eDTC_PC: 8,
3474
+ }
3475
+
3394
3476
  export const eSignManagementAction = {
3395
3477
  smaUndefined: 0,
3396
3478
  smaCreatePIN: 1,
@@ -3444,12 +3526,15 @@ export const eCheckDiagnose = {
3444
3526
  FALSE_LUMINISCENCE_IN_BLANK: 55,
3445
3527
  BAD_AREA_IN_AXIAL: 60,
3446
3528
  FALSE_IPI_PARAMETERS: 65,
3529
+ ENCRYPTED_IPI_NOT_FOUND: 66,
3530
+ ENCRYPTED_IPI_DATA_DONT_MATCH: 67,
3447
3531
  FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
3448
3532
  FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
3449
3533
  FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82,
3450
3534
  FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83,
3451
3535
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
3452
3536
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
3537
+ CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
3453
3538
  OVI_IR_INVISIBLE: 90,
3454
3539
  OVI_INSUFFICIENT_AREA: 91,
3455
3540
  OVI_COLOR_INVARIABLE: 92,
@@ -3484,6 +3569,7 @@ export const eCheckDiagnose = {
3484
3569
  BARCODE_SIZE_PARAMS_ERROR: 142,
3485
3570
  NOT_ALL_BARCODES_READ: 143,
3486
3571
  GLARES_IN_BARCODE_AREA: 144,
3572
+ CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: 145,
3487
3573
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
3488
3574
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
3489
3575
  PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
@@ -3513,6 +3599,8 @@ export const eCheckDiagnose = {
3513
3599
  OCR_QUALITY_INVALID_FONT: 221,
3514
3600
  OCR_QUALITY_INVALID_BACKGROUND: 222,
3515
3601
  LAS_INK_INVALID_LINES_FREQUENCY: 230,
3602
+ DOC_LIVENESS_DOCUMENT_NOT_LIVE: 238,
3603
+ CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
3516
3604
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
3517
3605
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
3518
3606
  ICAO_IDB_BASE_32_ERROR: 243,
@@ -3820,6 +3908,7 @@ export const eImageQualityCheckType = {
3820
3908
  IQC_PORTRAIT: 7,
3821
3909
  IQC_HANDWRITTEN: 8,
3822
3910
  IQC_BRIGHTNESS: 9,
3911
+ IQC_OCCLUSION: 10,
3823
3912
  }
3824
3913
 
3825
3914
  export const MRZFormat = {
@@ -3907,6 +3996,8 @@ export const eRPRM_SecurityFeatureType = {
3907
3996
  SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
3908
3997
  SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
3909
3998
  SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
3999
+ SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
4000
+ SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
3910
4001
  }
3911
4002
 
3912
4003
  export const OnlineMode = {
@@ -4287,6 +4378,11 @@ export const eRFID_DataFile_Type = {
4287
4378
  DFT_PASSPORT_SOD: 21,
4288
4379
  DFT_PASSPORT_CVCA: 22,
4289
4380
  DFT_PASSPORT_COM: 23,
4381
+ DFT_DTC_DG17: 57,
4382
+ DFT_DTC_DG18: 58,
4383
+ DFT_DTC_DG22: 62,
4384
+ DFT_DTC_DG23: 63,
4385
+ DFT_DTC_DG24: 64,
4290
4386
  DFT_ID_DG1: 101,
4291
4387
  DFT_ID_DG2: 102,
4292
4388
  DFT_ID_DG3: 103,
@@ -4640,6 +4736,9 @@ export const eVisualFieldType = {
4640
4736
  FT_DOCUMENT_DISCRIMINATOR: 334,
4641
4737
  FT_DATA_DISCRIMINATOR: 335,
4642
4738
  FT_ISO_ISSUER_ID_NUMBER: 336,
4739
+ FT_DTC_VERSION: 337,
4740
+ FT_DTC_ID: 338,
4741
+ FT_DTC_DATE_OF_EXPIRY: 339,
4643
4742
  FT_GNIB_NUMBER: 340,
4644
4743
  FT_DEPT_NUMBER: 341,
4645
4744
  FT_TELEX_CODE: 342,
@@ -4992,6 +5091,9 @@ export const eVisualFieldType = {
4992
5091
  FT_METHOD_OF_TESTING: 689,
4993
5092
  FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
4994
5093
  FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
5094
+ FT_EF_CARD_ACCESS: 692,
5095
+ FT_SHORT_FLIGHT_NUMBER: 693,
5096
+ FT_AIRLINE_CODE: 694,
4995
5097
  }
4996
5098
 
4997
5099
  export const DocReaderOrientation = {
@@ -5225,6 +5327,7 @@ export const Enum = {
5225
5327
  eRFID_Password_Type,
5226
5328
  ViewContentMode,
5227
5329
  BarcodeResult,
5330
+ eRFID_Application_Type,
5228
5331
  eSignManagementAction,
5229
5332
  eCheckDiagnose,
5230
5333
  RFIDDelegate,
@@ -5266,8 +5369,6 @@ export const Enum = {
5266
5369
  export default class DocumentReader {
5267
5370
  static getDocumentReaderIsReady(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5268
5371
  static getDocumentReaderStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5269
- static isAuthenticatorAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5270
- static isBlePermissionsGranted(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5271
5372
  static getRfidSessionStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5272
5373
  static setRfidSessionStatus(status: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5273
5374
  static getTag(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
@@ -5307,13 +5408,16 @@ export default class DocumentReader {
5307
5408
  static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5308
5409
  static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5309
5410
  static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5310
- static startBluetoothService(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5411
+ static connectBluetoothDevice(btDeviceName: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5311
5412
  static setLocalizationDictionary(dictionary: Record<string, string>, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5312
5413
  static getLicense(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5313
5414
  static getAvailableScenarios(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5314
5415
  static getIsRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5416
+ static isAuthenticatorRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5417
+ static isAuthenticatorAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5315
5418
  static getDocReaderVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5316
5419
  static getDocReaderDocumentsDatabase(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5317
5420
  static finalizePackage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5421
+ static endBackendTransaction(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5318
5422
  static getTranslation(className: string, value: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
5319
5423
  }