@regulaforensics/react-native-document-reader-api 7.5.762-nightly → 7.5.766-nightly
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/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +95 -45
- package/android/src/main/java/com/regula/documentreader/Config.kt +43 -2
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +27 -13
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +29 -23
- package/android/src/main/java/com/regula/documentreader/Utils.kt +7 -2
- package/example/package-lock.json +3972 -6735
- package/example/package.json +2 -2
- package/index.d.ts +116 -3
- package/index.js +80 -3
- package/ios/RGLWConfig.m +45 -0
- package/ios/RGLWJSONConstructor.h +3 -0
- package/ios/RGLWJSONConstructor.m +33 -2
- package/ios/RNRegulaDocumentReader.h +4 -1
- package/ios/RNRegulaDocumentReader.m +71 -24
- package/package.json +1 -1
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "7.5.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "7.5.766-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.5.791-nightly",
|
|
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",
|
package/index.d.ts
CHANGED
|
@@ -1540,6 +1540,7 @@ export class RecognizeConfig {
|
|
|
1540
1540
|
scenario?: string
|
|
1541
1541
|
onlineProcessingConfig?: OnlineProcessingConfig
|
|
1542
1542
|
oneShotIdentification?: boolean
|
|
1543
|
+
dtc?: string
|
|
1543
1544
|
livePortrait?: string
|
|
1544
1545
|
extPortrait?: string
|
|
1545
1546
|
image?: string
|
|
@@ -1554,6 +1555,7 @@ export class RecognizeConfig {
|
|
|
1554
1555
|
result.scenario = jsonObject["scenario"]
|
|
1555
1556
|
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1556
1557
|
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1558
|
+
result.dtc = jsonObject["dtc"]
|
|
1557
1559
|
result.livePortrait = jsonObject["livePortrait"]
|
|
1558
1560
|
result.extPortrait = jsonObject["extPortrait"]
|
|
1559
1561
|
result.image = jsonObject["image"]
|
|
@@ -1652,6 +1654,7 @@ export class DocumentReaderResults {
|
|
|
1652
1654
|
documentType?: DocumentReaderDocumentType[]
|
|
1653
1655
|
status?: DocumentReaderResultsStatus
|
|
1654
1656
|
vdsncData?: VDSNCData
|
|
1657
|
+
dtcData?: string
|
|
1655
1658
|
transactionInfo?: TransactionInfo
|
|
1656
1659
|
|
|
1657
1660
|
textFieldValueByType(fieldType, successCallback, errorCallback) {
|
|
@@ -1779,6 +1782,7 @@ export class DocumentReaderResults {
|
|
|
1779
1782
|
}
|
|
1780
1783
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1781
1784
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1785
|
+
result.dtcData = jsonObject["dtcData"]
|
|
1782
1786
|
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1783
1787
|
|
|
1784
1788
|
return result
|
|
@@ -2000,6 +2004,7 @@ export class BackendProcessingConfig {
|
|
|
2000
2004
|
url?: string
|
|
2001
2005
|
httpHeaders?: Record<string, string>
|
|
2002
2006
|
rfidServerSideChipVerification?: boolean
|
|
2007
|
+
timeoutConnection?: number
|
|
2003
2008
|
|
|
2004
2009
|
static fromJson(jsonObject?: any): BackendProcessingConfig | undefined {
|
|
2005
2010
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2008,6 +2013,7 @@ export class BackendProcessingConfig {
|
|
|
2008
2013
|
result.url = jsonObject["url"]
|
|
2009
2014
|
result.httpHeaders = jsonObject["httpHeaders"]
|
|
2010
2015
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
2016
|
+
result.timeoutConnection = jsonObject["timeoutConnection"]
|
|
2011
2017
|
|
|
2012
2018
|
return result
|
|
2013
2019
|
}
|
|
@@ -2100,11 +2106,15 @@ export class ProcessParams {
|
|
|
2100
2106
|
shouldReturnPackageForReprocess?: boolean
|
|
2101
2107
|
disablePerforationOCR?: boolean
|
|
2102
2108
|
respectImageQuality?: boolean
|
|
2109
|
+
strictImageQuality?: boolean
|
|
2103
2110
|
splitNames?: boolean
|
|
2104
2111
|
useFaceApi?: boolean
|
|
2105
2112
|
useAuthenticityCheck?: boolean
|
|
2106
2113
|
checkHologram?: boolean
|
|
2107
2114
|
generateNumericCodes?: boolean
|
|
2115
|
+
strictBarcodeDigitalSignatureCheck?: boolean
|
|
2116
|
+
selectLongestNames?: boolean
|
|
2117
|
+
generateDTCVC?: boolean
|
|
2108
2118
|
barcodeParserType?: number
|
|
2109
2119
|
perspectiveAngle?: number
|
|
2110
2120
|
minDPI?: number
|
|
@@ -2174,11 +2184,15 @@ export class ProcessParams {
|
|
|
2174
2184
|
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
2175
2185
|
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
2176
2186
|
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
2187
|
+
result.strictImageQuality = jsonObject["strictImageQuality"]
|
|
2177
2188
|
result.splitNames = jsonObject["splitNames"]
|
|
2178
2189
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
2179
2190
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
2180
2191
|
result.checkHologram = jsonObject["checkHologram"]
|
|
2181
2192
|
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
2193
|
+
result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
|
|
2194
|
+
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
2195
|
+
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
2182
2196
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2183
2197
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2184
2198
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2345,6 +2359,8 @@ export class Customization {
|
|
|
2345
2359
|
cameraFrameBorderWidth?: number
|
|
2346
2360
|
cameraFrameLineLength?: number
|
|
2347
2361
|
cameraFrameOffsetWidth?: number
|
|
2362
|
+
nextPageAnimationStartDelay?: number
|
|
2363
|
+
nextPageAnimationEndDelay?: number
|
|
2348
2364
|
cameraFrameShapeType?: number
|
|
2349
2365
|
status?: string
|
|
2350
2366
|
resultStatus?: string
|
|
@@ -2358,6 +2374,7 @@ export class Customization {
|
|
|
2358
2374
|
activityIndicatorColor?: number
|
|
2359
2375
|
statusBackgroundColor?: number
|
|
2360
2376
|
cameraPreviewBackgroundColor?: number
|
|
2377
|
+
backgroundMaskColor?: number
|
|
2361
2378
|
statusPositionMultiplier?: number
|
|
2362
2379
|
resultStatusPositionMultiplier?: number
|
|
2363
2380
|
toolbarSize?: number
|
|
@@ -2411,6 +2428,8 @@ export class Customization {
|
|
|
2411
2428
|
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
2412
2429
|
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
2413
2430
|
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
2431
|
+
result.nextPageAnimationStartDelay = jsonObject["nextPageAnimationStartDelay"]
|
|
2432
|
+
result.nextPageAnimationEndDelay = jsonObject["nextPageAnimationEndDelay"]
|
|
2414
2433
|
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
2415
2434
|
result.status = jsonObject["status"]
|
|
2416
2435
|
result.resultStatus = jsonObject["resultStatus"]
|
|
@@ -2424,6 +2443,7 @@ export class Customization {
|
|
|
2424
2443
|
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
2425
2444
|
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
2426
2445
|
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
2446
|
+
result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
|
|
2427
2447
|
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
2428
2448
|
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
2429
2449
|
result.toolbarSize = jsonObject["toolbarSize"]
|
|
@@ -2629,6 +2649,59 @@ export class EIDDataGroups {
|
|
|
2629
2649
|
}
|
|
2630
2650
|
}
|
|
2631
2651
|
|
|
2652
|
+
export class DTCDataGroups {
|
|
2653
|
+
DG1?: boolean
|
|
2654
|
+
DG2?: boolean
|
|
2655
|
+
DG3?: boolean
|
|
2656
|
+
DG4?: boolean
|
|
2657
|
+
DG5?: boolean
|
|
2658
|
+
DG6?: boolean
|
|
2659
|
+
DG7?: boolean
|
|
2660
|
+
DG8?: boolean
|
|
2661
|
+
DG9?: boolean
|
|
2662
|
+
DG10?: boolean
|
|
2663
|
+
DG11?: boolean
|
|
2664
|
+
DG12?: boolean
|
|
2665
|
+
DG13?: boolean
|
|
2666
|
+
DG14?: boolean
|
|
2667
|
+
DG15?: boolean
|
|
2668
|
+
DG16?: boolean
|
|
2669
|
+
DG17?: boolean
|
|
2670
|
+
DG18?: boolean
|
|
2671
|
+
DG22?: boolean
|
|
2672
|
+
DG23?: boolean
|
|
2673
|
+
DG24?: boolean
|
|
2674
|
+
|
|
2675
|
+
static fromJson(jsonObject?: any): DTCDataGroups | undefined {
|
|
2676
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2677
|
+
const result = new DTCDataGroups
|
|
2678
|
+
|
|
2679
|
+
result.DG1 = jsonObject["DG1"]
|
|
2680
|
+
result.DG2 = jsonObject["DG2"]
|
|
2681
|
+
result.DG3 = jsonObject["DG3"]
|
|
2682
|
+
result.DG4 = jsonObject["DG4"]
|
|
2683
|
+
result.DG5 = jsonObject["DG5"]
|
|
2684
|
+
result.DG6 = jsonObject["DG6"]
|
|
2685
|
+
result.DG7 = jsonObject["DG7"]
|
|
2686
|
+
result.DG8 = jsonObject["DG8"]
|
|
2687
|
+
result.DG9 = jsonObject["DG9"]
|
|
2688
|
+
result.DG10 = jsonObject["DG10"]
|
|
2689
|
+
result.DG11 = jsonObject["DG11"]
|
|
2690
|
+
result.DG12 = jsonObject["DG12"]
|
|
2691
|
+
result.DG13 = jsonObject["DG13"]
|
|
2692
|
+
result.DG14 = jsonObject["DG14"]
|
|
2693
|
+
result.DG15 = jsonObject["DG15"]
|
|
2694
|
+
result.DG16 = jsonObject["DG16"]
|
|
2695
|
+
result.DG17 = jsonObject["DG17"]
|
|
2696
|
+
result.DG18 = jsonObject["DG18"]
|
|
2697
|
+
result.DG22 = jsonObject["DG22"]
|
|
2698
|
+
result.DG23 = jsonObject["DG23"]
|
|
2699
|
+
result.DG24 = jsonObject["DG24"]
|
|
2700
|
+
|
|
2701
|
+
return result
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2632
2705
|
export class RFIDScenario {
|
|
2633
2706
|
paceStaticBinding?: boolean
|
|
2634
2707
|
onlineTA?: boolean
|
|
@@ -2664,6 +2737,8 @@ export class RFIDScenario {
|
|
|
2664
2737
|
applyAmendments?: boolean
|
|
2665
2738
|
autoSettings?: boolean
|
|
2666
2739
|
proceedReadingAlways?: boolean
|
|
2740
|
+
readDTC?: boolean
|
|
2741
|
+
mrzStrictCheck?: boolean
|
|
2667
2742
|
readingBuffer?: number
|
|
2668
2743
|
onlineTAToSignDataType?: number
|
|
2669
2744
|
defaultReadingBufferSize?: number
|
|
@@ -2679,9 +2754,11 @@ export class RFIDScenario {
|
|
|
2679
2754
|
mrz?: string
|
|
2680
2755
|
eSignPINDefault?: string
|
|
2681
2756
|
eSignPINNewValue?: string
|
|
2757
|
+
cardAccess?: string
|
|
2682
2758
|
eDLDataGroups?: EDLDataGroups
|
|
2683
2759
|
ePassportDataGroups?: EPassportDataGroups
|
|
2684
2760
|
eIDDataGroups?: EIDDataGroups
|
|
2761
|
+
dtcDataGroups?: DTCDataGroups
|
|
2685
2762
|
|
|
2686
2763
|
static fromJson(jsonObject?: any): RFIDScenario | undefined {
|
|
2687
2764
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2721,6 +2798,8 @@ export class RFIDScenario {
|
|
|
2721
2798
|
result.applyAmendments = jsonObject["applyAmendments"]
|
|
2722
2799
|
result.autoSettings = jsonObject["autoSettings"]
|
|
2723
2800
|
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
2801
|
+
result.readDTC = jsonObject["readDTC"]
|
|
2802
|
+
result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
|
|
2724
2803
|
result.readingBuffer = jsonObject["readingBuffer"]
|
|
2725
2804
|
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
2726
2805
|
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
@@ -2736,9 +2815,11 @@ export class RFIDScenario {
|
|
|
2736
2815
|
result.mrz = jsonObject["mrz"]
|
|
2737
2816
|
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
2738
2817
|
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
2818
|
+
result.cardAccess = jsonObject["cardAccess"]
|
|
2739
2819
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
2740
2820
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
2741
2821
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
2822
|
+
result.dtcDataGroups = DTCDataGroups.fromJson(jsonObject["dtcDataGroups"])
|
|
2742
2823
|
|
|
2743
2824
|
return result
|
|
2744
2825
|
}
|
|
@@ -3113,6 +3194,7 @@ export const eRPRM_ResultType = {
|
|
|
3113
3194
|
RPRM_RESULT_TYPE_STATUS: 33,
|
|
3114
3195
|
RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: 34,
|
|
3115
3196
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
3197
|
+
RFID_RESULT_TYPE_RFID_DTC_VC: 109,
|
|
3116
3198
|
}
|
|
3117
3199
|
|
|
3118
3200
|
export const FrameShapeType = {
|
|
@@ -3243,6 +3325,7 @@ export const DocumentReaderErrorCodes = {
|
|
|
3243
3325
|
FINALIZE_FAILED: 28,
|
|
3244
3326
|
CAMERA_NO_PERMISSION: 29,
|
|
3245
3327
|
CAMERA_NOT_AVAILABLE: 30,
|
|
3328
|
+
CANNOT_USE_CAMERA_IN_SCENARIO: 40,
|
|
3246
3329
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
3247
3330
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
3248
3331
|
WRONG_INPUT: 400,
|
|
@@ -3273,6 +3356,7 @@ export const ScenarioIdentifier = {
|
|
|
3273
3356
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
3274
3357
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
3275
3358
|
SCENARIO_CAPTURE: "Capture",
|
|
3359
|
+
SCENARIO_DTC: "DTC",
|
|
3276
3360
|
}
|
|
3277
3361
|
|
|
3278
3362
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -3391,6 +3475,17 @@ export const BarcodeResult = {
|
|
|
3391
3475
|
IPDECODE_ERROR_LOADING_DEV_TABLE: -4512,
|
|
3392
3476
|
}
|
|
3393
3477
|
|
|
3478
|
+
export const eRFID_Application_Type = {
|
|
3479
|
+
ePASSPORT: 1,
|
|
3480
|
+
eID: 2,
|
|
3481
|
+
eSIGN: 3,
|
|
3482
|
+
eDL: 4,
|
|
3483
|
+
LDS2_TRAVEL_RECORDS: 5,
|
|
3484
|
+
LDS2_VISA_RECORDS: 6,
|
|
3485
|
+
LDS2_ADD_BIOMETRICS: 7,
|
|
3486
|
+
eDTC_PC: 8,
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3394
3489
|
export const eSignManagementAction = {
|
|
3395
3490
|
smaUndefined: 0,
|
|
3396
3491
|
smaCreatePIN: 1,
|
|
@@ -3444,12 +3539,15 @@ export const eCheckDiagnose = {
|
|
|
3444
3539
|
FALSE_LUMINISCENCE_IN_BLANK: 55,
|
|
3445
3540
|
BAD_AREA_IN_AXIAL: 60,
|
|
3446
3541
|
FALSE_IPI_PARAMETERS: 65,
|
|
3542
|
+
ENCRYPTED_IPI_NOT_FOUND: 66,
|
|
3543
|
+
ENCRYPTED_IPI_DATA_DONT_MATCH: 67,
|
|
3447
3544
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
|
|
3448
3545
|
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
|
|
3449
3546
|
FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82,
|
|
3450
3547
|
FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83,
|
|
3451
3548
|
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
3452
3549
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
3550
|
+
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
|
|
3453
3551
|
OVI_IR_INVISIBLE: 90,
|
|
3454
3552
|
OVI_INSUFFICIENT_AREA: 91,
|
|
3455
3553
|
OVI_COLOR_INVARIABLE: 92,
|
|
@@ -3484,6 +3582,7 @@ export const eCheckDiagnose = {
|
|
|
3484
3582
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|
|
3485
3583
|
NOT_ALL_BARCODES_READ: 143,
|
|
3486
3584
|
GLARES_IN_BARCODE_AREA: 144,
|
|
3585
|
+
CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: 145,
|
|
3487
3586
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
|
|
3488
3587
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
|
|
3489
3588
|
PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
|
|
@@ -3513,6 +3612,7 @@ export const eCheckDiagnose = {
|
|
|
3513
3612
|
OCR_QUALITY_INVALID_FONT: 221,
|
|
3514
3613
|
OCR_QUALITY_INVALID_BACKGROUND: 222,
|
|
3515
3614
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
3615
|
+
CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
|
|
3516
3616
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
3517
3617
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
3518
3618
|
ICAO_IDB_BASE_32_ERROR: 243,
|
|
@@ -3907,6 +4007,8 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
3907
4007
|
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
3908
4008
|
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
3909
4009
|
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
4010
|
+
SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
|
|
4011
|
+
SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
3910
4012
|
}
|
|
3911
4013
|
|
|
3912
4014
|
export const OnlineMode = {
|
|
@@ -4287,6 +4389,11 @@ export const eRFID_DataFile_Type = {
|
|
|
4287
4389
|
DFT_PASSPORT_SOD: 21,
|
|
4288
4390
|
DFT_PASSPORT_CVCA: 22,
|
|
4289
4391
|
DFT_PASSPORT_COM: 23,
|
|
4392
|
+
DFT_DTC_DG17: 57,
|
|
4393
|
+
DFT_DTC_DG18: 58,
|
|
4394
|
+
DFT_DTC_DG22: 62,
|
|
4395
|
+
DFT_DTC_DG23: 63,
|
|
4396
|
+
DFT_DTC_DG24: 64,
|
|
4290
4397
|
DFT_ID_DG1: 101,
|
|
4291
4398
|
DFT_ID_DG2: 102,
|
|
4292
4399
|
DFT_ID_DG3: 103,
|
|
@@ -4640,6 +4747,9 @@ export const eVisualFieldType = {
|
|
|
4640
4747
|
FT_DOCUMENT_DISCRIMINATOR: 334,
|
|
4641
4748
|
FT_DATA_DISCRIMINATOR: 335,
|
|
4642
4749
|
FT_ISO_ISSUER_ID_NUMBER: 336,
|
|
4750
|
+
FT_DTC_VERSION: 337,
|
|
4751
|
+
FT_DTC_ID: 338,
|
|
4752
|
+
FT_DTC_DATE_OF_EXPIRY: 339,
|
|
4643
4753
|
FT_GNIB_NUMBER: 340,
|
|
4644
4754
|
FT_DEPT_NUMBER: 341,
|
|
4645
4755
|
FT_TELEX_CODE: 342,
|
|
@@ -4992,6 +5102,7 @@ export const eVisualFieldType = {
|
|
|
4992
5102
|
FT_METHOD_OF_TESTING: 689,
|
|
4993
5103
|
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
4994
5104
|
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
5105
|
+
FT_EF_CARD_ACCESS: 692,
|
|
4995
5106
|
}
|
|
4996
5107
|
|
|
4997
5108
|
export const DocReaderOrientation = {
|
|
@@ -5225,6 +5336,7 @@ export const Enum = {
|
|
|
5225
5336
|
eRFID_Password_Type,
|
|
5226
5337
|
ViewContentMode,
|
|
5227
5338
|
BarcodeResult,
|
|
5339
|
+
eRFID_Application_Type,
|
|
5228
5340
|
eSignManagementAction,
|
|
5229
5341
|
eCheckDiagnose,
|
|
5230
5342
|
RFIDDelegate,
|
|
@@ -5266,8 +5378,6 @@ export const Enum = {
|
|
|
5266
5378
|
export default class DocumentReader {
|
|
5267
5379
|
static getDocumentReaderIsReady(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5268
5380
|
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
5381
|
static getRfidSessionStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5272
5382
|
static setRfidSessionStatus(status: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5273
5383
|
static getTag(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
@@ -5307,13 +5417,16 @@ export default class DocumentReader {
|
|
|
5307
5417
|
static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5308
5418
|
static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5309
5419
|
static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5310
|
-
static
|
|
5420
|
+
static connectBluetoothDevice(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5311
5421
|
static setLocalizationDictionary(dictionary: Record<string, string>, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5312
5422
|
static getLicense(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5313
5423
|
static getAvailableScenarios(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5314
5424
|
static getIsRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5425
|
+
static isAuthenticatorRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5426
|
+
static isAuthenticatorAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5315
5427
|
static getDocReaderVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5316
5428
|
static getDocReaderDocumentsDatabase(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5317
5429
|
static finalizePackage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5430
|
+
static endBackendTransaction(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5318
5431
|
static getTranslation(className: string, value: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5319
5432
|
}
|
package/index.js
CHANGED
|
@@ -1042,6 +1042,7 @@ export class RecognizeConfig {
|
|
|
1042
1042
|
result.scenario = jsonObject["scenario"]
|
|
1043
1043
|
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1044
1044
|
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1045
|
+
result.dtc = jsonObject["dtc"]
|
|
1045
1046
|
result.livePortrait = jsonObject["livePortrait"]
|
|
1046
1047
|
result.extPortrait = jsonObject["extPortrait"]
|
|
1047
1048
|
result.image = jsonObject["image"]
|
|
@@ -1213,6 +1214,7 @@ export class DocumentReaderResults {
|
|
|
1213
1214
|
result.documentType.push(DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i]))
|
|
1214
1215
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1215
1216
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1217
|
+
result.dtcData = jsonObject["dtcData"]
|
|
1216
1218
|
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1217
1219
|
|
|
1218
1220
|
return result
|
|
@@ -1366,6 +1368,7 @@ export class BackendProcessingConfig {
|
|
|
1366
1368
|
result.url = jsonObject["url"]
|
|
1367
1369
|
result.httpHeaders = jsonObject["httpHeaders"]
|
|
1368
1370
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1371
|
+
result.timeoutConnection = jsonObject["timeoutConnection"]
|
|
1369
1372
|
|
|
1370
1373
|
return result
|
|
1371
1374
|
}
|
|
@@ -1441,11 +1444,15 @@ export class ProcessParams {
|
|
|
1441
1444
|
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
1442
1445
|
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
1443
1446
|
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
1447
|
+
result.strictImageQuality = jsonObject["strictImageQuality"]
|
|
1444
1448
|
result.splitNames = jsonObject["splitNames"]
|
|
1445
1449
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1446
1450
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1447
1451
|
result.checkHologram = jsonObject["checkHologram"]
|
|
1448
1452
|
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
1453
|
+
result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
|
|
1454
|
+
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
1455
|
+
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
1449
1456
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1450
1457
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1451
1458
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1581,6 +1588,8 @@ export class Customization {
|
|
|
1581
1588
|
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
1582
1589
|
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
1583
1590
|
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
1591
|
+
result.nextPageAnimationStartDelay = jsonObject["nextPageAnimationStartDelay"]
|
|
1592
|
+
result.nextPageAnimationEndDelay = jsonObject["nextPageAnimationEndDelay"]
|
|
1584
1593
|
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
1585
1594
|
result.status = jsonObject["status"]
|
|
1586
1595
|
result.resultStatus = jsonObject["resultStatus"]
|
|
@@ -1594,6 +1603,7 @@ export class Customization {
|
|
|
1594
1603
|
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
1595
1604
|
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
1596
1605
|
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
1606
|
+
result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
|
|
1597
1607
|
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
1598
1608
|
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
1599
1609
|
result.toolbarSize = jsonObject["toolbarSize"]
|
|
@@ -1735,6 +1745,37 @@ export class EIDDataGroups {
|
|
|
1735
1745
|
}
|
|
1736
1746
|
}
|
|
1737
1747
|
|
|
1748
|
+
export class DTCDataGroups {
|
|
1749
|
+
static fromJson(jsonObject) {
|
|
1750
|
+
if (jsonObject == null) return null
|
|
1751
|
+
const result = new DTCDataGroups()
|
|
1752
|
+
|
|
1753
|
+
result.DG1 = jsonObject["DG1"]
|
|
1754
|
+
result.DG2 = jsonObject["DG2"]
|
|
1755
|
+
result.DG3 = jsonObject["DG3"]
|
|
1756
|
+
result.DG4 = jsonObject["DG4"]
|
|
1757
|
+
result.DG5 = jsonObject["DG5"]
|
|
1758
|
+
result.DG6 = jsonObject["DG6"]
|
|
1759
|
+
result.DG7 = jsonObject["DG7"]
|
|
1760
|
+
result.DG8 = jsonObject["DG8"]
|
|
1761
|
+
result.DG9 = jsonObject["DG9"]
|
|
1762
|
+
result.DG10 = jsonObject["DG10"]
|
|
1763
|
+
result.DG11 = jsonObject["DG11"]
|
|
1764
|
+
result.DG12 = jsonObject["DG12"]
|
|
1765
|
+
result.DG13 = jsonObject["DG13"]
|
|
1766
|
+
result.DG14 = jsonObject["DG14"]
|
|
1767
|
+
result.DG15 = jsonObject["DG15"]
|
|
1768
|
+
result.DG16 = jsonObject["DG16"]
|
|
1769
|
+
result.DG17 = jsonObject["DG17"]
|
|
1770
|
+
result.DG18 = jsonObject["DG18"]
|
|
1771
|
+
result.DG22 = jsonObject["DG22"]
|
|
1772
|
+
result.DG23 = jsonObject["DG23"]
|
|
1773
|
+
result.DG24 = jsonObject["DG24"]
|
|
1774
|
+
|
|
1775
|
+
return result
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1738
1779
|
export class RFIDScenario {
|
|
1739
1780
|
static fromJson(jsonObject) {
|
|
1740
1781
|
if (jsonObject == null) return null
|
|
@@ -1774,6 +1815,8 @@ export class RFIDScenario {
|
|
|
1774
1815
|
result.applyAmendments = jsonObject["applyAmendments"]
|
|
1775
1816
|
result.autoSettings = jsonObject["autoSettings"]
|
|
1776
1817
|
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
1818
|
+
result.readDTC = jsonObject["readDTC"]
|
|
1819
|
+
result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
|
|
1777
1820
|
result.readingBuffer = jsonObject["readingBuffer"]
|
|
1778
1821
|
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
1779
1822
|
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
@@ -1789,9 +1832,11 @@ export class RFIDScenario {
|
|
|
1789
1832
|
result.mrz = jsonObject["mrz"]
|
|
1790
1833
|
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
1791
1834
|
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
1835
|
+
result.cardAccess = jsonObject["cardAccess"]
|
|
1792
1836
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1793
1837
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1794
1838
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1839
|
+
result.dtcDataGroups = DTCDataGroups.fromJson(jsonObject["dtcDataGroups"])
|
|
1795
1840
|
|
|
1796
1841
|
return result
|
|
1797
1842
|
}
|
|
@@ -2164,6 +2209,7 @@ export const eRPRM_ResultType = {
|
|
|
2164
2209
|
RPRM_RESULT_TYPE_STATUS: 33,
|
|
2165
2210
|
RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: 34,
|
|
2166
2211
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
2212
|
+
RFID_RESULT_TYPE_RFID_DTC_VC: 109,
|
|
2167
2213
|
}
|
|
2168
2214
|
|
|
2169
2215
|
export const FrameShapeType = {
|
|
@@ -2294,6 +2340,7 @@ export const DocumentReaderErrorCodes = {
|
|
|
2294
2340
|
FINALIZE_FAILED: 28,
|
|
2295
2341
|
CAMERA_NO_PERMISSION: 29,
|
|
2296
2342
|
CAMERA_NOT_AVAILABLE: 30,
|
|
2343
|
+
CANNOT_USE_CAMERA_IN_SCENARIO: 40,
|
|
2297
2344
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
2298
2345
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
2299
2346
|
WRONG_INPUT: 400,
|
|
@@ -2324,6 +2371,7 @@ export const ScenarioIdentifier = {
|
|
|
2324
2371
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
2325
2372
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
2326
2373
|
SCENARIO_CAPTURE: "Capture",
|
|
2374
|
+
SCENARIO_DTC: "DTC",
|
|
2327
2375
|
}
|
|
2328
2376
|
|
|
2329
2377
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -2442,6 +2490,17 @@ export const BarcodeResult = {
|
|
|
2442
2490
|
IPDECODE_ERROR_LOADING_DEV_TABLE: -4512,
|
|
2443
2491
|
}
|
|
2444
2492
|
|
|
2493
|
+
export const eRFID_Application_Type = {
|
|
2494
|
+
ePASSPORT: 1,
|
|
2495
|
+
eID: 2,
|
|
2496
|
+
eSIGN: 3,
|
|
2497
|
+
eDL: 4,
|
|
2498
|
+
LDS2_TRAVEL_RECORDS: 5,
|
|
2499
|
+
LDS2_VISA_RECORDS: 6,
|
|
2500
|
+
LDS2_ADD_BIOMETRICS: 7,
|
|
2501
|
+
eDTC_PC: 8,
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2445
2504
|
export const eSignManagementAction = {
|
|
2446
2505
|
smaUndefined: 0,
|
|
2447
2506
|
smaCreatePIN: 1,
|
|
@@ -2495,12 +2554,15 @@ export const eCheckDiagnose = {
|
|
|
2495
2554
|
FALSE_LUMINISCENCE_IN_BLANK: 55,
|
|
2496
2555
|
BAD_AREA_IN_AXIAL: 60,
|
|
2497
2556
|
FALSE_IPI_PARAMETERS: 65,
|
|
2557
|
+
ENCRYPTED_IPI_NOT_FOUND: 66,
|
|
2558
|
+
ENCRYPTED_IPI_DATA_DONT_MATCH: 67,
|
|
2498
2559
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
|
|
2499
2560
|
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
|
|
2500
2561
|
FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82,
|
|
2501
2562
|
FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83,
|
|
2502
2563
|
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
2503
2564
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
2565
|
+
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
|
|
2504
2566
|
OVI_IR_INVISIBLE: 90,
|
|
2505
2567
|
OVI_INSUFFICIENT_AREA: 91,
|
|
2506
2568
|
OVI_COLOR_INVARIABLE: 92,
|
|
@@ -2535,6 +2597,7 @@ export const eCheckDiagnose = {
|
|
|
2535
2597
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|
|
2536
2598
|
NOT_ALL_BARCODES_READ: 143,
|
|
2537
2599
|
GLARES_IN_BARCODE_AREA: 144,
|
|
2600
|
+
CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: 145,
|
|
2538
2601
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
|
|
2539
2602
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
|
|
2540
2603
|
PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
|
|
@@ -2564,6 +2627,7 @@ export const eCheckDiagnose = {
|
|
|
2564
2627
|
OCR_QUALITY_INVALID_FONT: 221,
|
|
2565
2628
|
OCR_QUALITY_INVALID_BACKGROUND: 222,
|
|
2566
2629
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
2630
|
+
CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
|
|
2567
2631
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
2568
2632
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
2569
2633
|
ICAO_IDB_BASE_32_ERROR: 243,
|
|
@@ -2958,6 +3022,8 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
2958
3022
|
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
2959
3023
|
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
2960
3024
|
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
3025
|
+
SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
|
|
3026
|
+
SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
2961
3027
|
}
|
|
2962
3028
|
|
|
2963
3029
|
export const OnlineMode = {
|
|
@@ -3338,6 +3404,11 @@ export const eRFID_DataFile_Type = {
|
|
|
3338
3404
|
DFT_PASSPORT_SOD: 21,
|
|
3339
3405
|
DFT_PASSPORT_CVCA: 22,
|
|
3340
3406
|
DFT_PASSPORT_COM: 23,
|
|
3407
|
+
DFT_DTC_DG17: 57,
|
|
3408
|
+
DFT_DTC_DG18: 58,
|
|
3409
|
+
DFT_DTC_DG22: 62,
|
|
3410
|
+
DFT_DTC_DG23: 63,
|
|
3411
|
+
DFT_DTC_DG24: 64,
|
|
3341
3412
|
DFT_ID_DG1: 101,
|
|
3342
3413
|
DFT_ID_DG2: 102,
|
|
3343
3414
|
DFT_ID_DG3: 103,
|
|
@@ -3691,6 +3762,9 @@ export const eVisualFieldType = {
|
|
|
3691
3762
|
FT_DOCUMENT_DISCRIMINATOR: 334,
|
|
3692
3763
|
FT_DATA_DISCRIMINATOR: 335,
|
|
3693
3764
|
FT_ISO_ISSUER_ID_NUMBER: 336,
|
|
3765
|
+
FT_DTC_VERSION: 337,
|
|
3766
|
+
FT_DTC_ID: 338,
|
|
3767
|
+
FT_DTC_DATE_OF_EXPIRY: 339,
|
|
3694
3768
|
FT_GNIB_NUMBER: 340,
|
|
3695
3769
|
FT_DEPT_NUMBER: 341,
|
|
3696
3770
|
FT_TELEX_CODE: 342,
|
|
@@ -4043,6 +4117,7 @@ export const eVisualFieldType = {
|
|
|
4043
4117
|
FT_METHOD_OF_TESTING: 689,
|
|
4044
4118
|
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
4045
4119
|
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
4120
|
+
FT_EF_CARD_ACCESS: 692,
|
|
4046
4121
|
}
|
|
4047
4122
|
|
|
4048
4123
|
export const DocReaderOrientation = {
|
|
@@ -4276,6 +4351,7 @@ export const Enum = {
|
|
|
4276
4351
|
eRFID_Password_Type,
|
|
4277
4352
|
ViewContentMode,
|
|
4278
4353
|
BarcodeResult,
|
|
4354
|
+
eRFID_Application_Type,
|
|
4279
4355
|
eSignManagementAction,
|
|
4280
4356
|
eCheckDiagnose,
|
|
4281
4357
|
RFIDDelegate,
|
|
@@ -4318,8 +4394,6 @@ const DocumentReader = {}
|
|
|
4318
4394
|
|
|
4319
4395
|
DocumentReader.getDocumentReaderIsReady = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderIsReady", [], successCallback, errorCallback)
|
|
4320
4396
|
DocumentReader.getDocumentReaderStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderStatus", [], successCallback, errorCallback)
|
|
4321
|
-
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
4322
|
-
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isBlePermissionsGranted", [], successCallback, errorCallback)
|
|
4323
4397
|
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidSessionStatus", [], successCallback, errorCallback)
|
|
4324
4398
|
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidSessionStatus", [status], successCallback, errorCallback)
|
|
4325
4399
|
DocumentReader.getTag = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTag", [], successCallback, errorCallback)
|
|
@@ -4359,14 +4433,17 @@ DocumentReader.setTCCParams = (params, successCallback, errorCallback) => RNRegu
|
|
|
4359
4433
|
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
4360
4434
|
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
4361
4435
|
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
4362
|
-
DocumentReader.
|
|
4436
|
+
DocumentReader.connectBluetoothDevice = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "connectBluetoothDevice", [], successCallback, errorCallback)
|
|
4363
4437
|
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLocalizationDictionary", [dictionary], successCallback, errorCallback)
|
|
4364
4438
|
DocumentReader.getLicense = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getLicense", [], successCallback, errorCallback)
|
|
4365
4439
|
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
|
4366
4440
|
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getIsRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
4441
|
+
DocumentReader.isAuthenticatorRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
4442
|
+
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
4367
4443
|
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderVersion", [], successCallback, errorCallback)
|
|
4368
4444
|
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderDocumentsDatabase", [], successCallback, errorCallback)
|
|
4369
4445
|
DocumentReader.finalizePackage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackage", [], successCallback, errorCallback)
|
|
4446
|
+
DocumentReader.endBackendTransaction = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "endBackendTransaction", [], successCallback, errorCallback)
|
|
4370
4447
|
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTranslation", [className, value], successCallback, errorCallback)
|
|
4371
4448
|
|
|
4372
4449
|
export default DocumentReader
|