@regulaforensics/react-native-document-reader-api 6.9.1 → 7.1.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/README.md +10 -42
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +10 -10
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +78 -74
- package/android/src/main/java/com/regula/documentreader/Config.kt +690 -0
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +2188 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +537 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.kt +11 -0
- package/android/src/main/java/com/regula/documentreader/Utils.kt +256 -0
- package/example/App.tsx +97 -145
- package/example/README.md +37 -0
- package/example/android/app/build.gradle +1 -1
- package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainApplication.java +0 -1
- package/example/android/app/src/main/res/values/styles.xml +1 -2
- package/example/android/build.gradle +2 -4
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +1 -1
- package/example/index.js +1 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +8 -4
- package/example/ios/Podfile +0 -1
- package/example/package-lock.json +3062 -2198
- package/example/package.json +24 -23
- package/index.d.ts +296 -135
- package/index.js +234 -115
- package/ios/RGLWConfig.h +48 -0
- package/ios/RGLWConfig.m +1325 -0
- package/ios/RGLWJSONConstructor.h +173 -69
- package/ios/RGLWJSONConstructor.m +1817 -762
- package/ios/RNRegulaDocumentReader.h +6 -5
- package/ios/RNRegulaDocumentReader.m +392 -584
- package/package.json +1 -1
- package/android/src/main/java/com/regula/documentreader/Helpers.java +0 -259
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.java +0 -1119
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.java +0 -1153
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.java +0 -26
- package/android/src/main/java/com/regula/documentreader/RegulaConfig.java +0 -830
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -7
- package/example/Gemfile +0 -6
- package/example/Gemfile.lock +0 -98
- package/example/__tests__/App.test.tsx +0 -17
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -3
- package/example/jest.config.js +0 -3
- package/example/tsconfig.json +0 -3
- package/ios/RGLWRegulaConfig.h +0 -26
- package/ios/RGLWRegulaConfig.m +0 -1152
- package/ios/RNRegulaDocumentReader.xcodeproj/project.pbxproj +0 -304
- package/ios/RNRegulaDocumentReader.xcworkspace/contents.xcworkspacedata +0 -9
package/index.js
CHANGED
|
@@ -40,20 +40,6 @@ export class Rect {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export class DocReaderFieldRect {
|
|
44
|
-
static fromJson(jsonObject) {
|
|
45
|
-
if (jsonObject == null) return null
|
|
46
|
-
const result = new DocReaderFieldRect()
|
|
47
|
-
|
|
48
|
-
result.bottom = jsonObject["bottom"]
|
|
49
|
-
result.top = jsonObject["top"]
|
|
50
|
-
result.left = jsonObject["left"]
|
|
51
|
-
result.right = jsonObject["right"]
|
|
52
|
-
|
|
53
|
-
return result
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
43
|
export class DocumentReaderGraphicField {
|
|
58
44
|
static fromJson(jsonObject) {
|
|
59
45
|
if (jsonObject == null) return null
|
|
@@ -67,7 +53,7 @@ export class DocumentReaderGraphicField {
|
|
|
67
53
|
result.fieldName = jsonObject["fieldName"]
|
|
68
54
|
result.lightName = jsonObject["lightName"]
|
|
69
55
|
result.value = jsonObject["value"]
|
|
70
|
-
result.fieldRect =
|
|
56
|
+
result.fieldRect = Rect.fromJson(jsonObject["fieldRect"])
|
|
71
57
|
|
|
72
58
|
return result
|
|
73
59
|
}
|
|
@@ -94,15 +80,10 @@ export class DocumentReaderValue {
|
|
|
94
80
|
|
|
95
81
|
result.pageIndex = jsonObject["pageIndex"]
|
|
96
82
|
result.sourceType = jsonObject["sourceType"]
|
|
97
|
-
result.validity = jsonObject["validity"]
|
|
98
83
|
result.probability = jsonObject["probability"]
|
|
99
84
|
result.value = jsonObject["value"]
|
|
100
85
|
result.originalValue = jsonObject["originalValue"]
|
|
101
86
|
result.boundRect = Rect.fromJson(jsonObject["boundRect"])
|
|
102
|
-
result.comparison = {}
|
|
103
|
-
if (jsonObject["comparison"] != null)
|
|
104
|
-
for (const i in jsonObject["comparison"])
|
|
105
|
-
result.comparison[i] = jsonObject["comparison"][i]
|
|
106
87
|
result.originalSymbols = []
|
|
107
88
|
if (jsonObject["originalSymbols"] != null)
|
|
108
89
|
for (const i in jsonObject["originalSymbols"])
|
|
@@ -211,6 +192,10 @@ export class ImageQuality {
|
|
|
211
192
|
result.featureType = jsonObject["featureType"]
|
|
212
193
|
result.result = jsonObject["result"]
|
|
213
194
|
result.type = jsonObject["type"]
|
|
195
|
+
result.boundRects = []
|
|
196
|
+
if (jsonObject["boundRects"] != null)
|
|
197
|
+
for (const i in jsonObject["boundRects"])
|
|
198
|
+
result.boundRects.push(Rect.fromJson(jsonObject["boundRects"][i]))
|
|
214
199
|
|
|
215
200
|
return result
|
|
216
201
|
}
|
|
@@ -332,6 +317,7 @@ export class File {
|
|
|
332
317
|
|
|
333
318
|
result.readingTime = jsonObject["readingTime"]
|
|
334
319
|
result.type = jsonObject["type"]
|
|
320
|
+
result.typeName = jsonObject["typeName"]
|
|
335
321
|
result.pAStatus = jsonObject["pAStatus"]
|
|
336
322
|
result.readingStatus = jsonObject["readingStatus"]
|
|
337
323
|
result.fileID = jsonObject["fileID"]
|
|
@@ -741,6 +727,21 @@ export class PKDCertificate {
|
|
|
741
727
|
}
|
|
742
728
|
}
|
|
743
729
|
|
|
730
|
+
export class TccParams {
|
|
731
|
+
static fromJson(jsonObject) {
|
|
732
|
+
if (jsonObject == null) return null
|
|
733
|
+
const result = new TccParams()
|
|
734
|
+
|
|
735
|
+
result.serviceUrlTA = jsonObject["serviceUrlTA"]
|
|
736
|
+
result.serviceUrlPA = jsonObject["serviceUrlPA"]
|
|
737
|
+
result.pfxCertUrl = jsonObject["pfxCertUrl"]
|
|
738
|
+
result.pfxPassPhrase = jsonObject["pfxPassPhrase"]
|
|
739
|
+
result.pfxCert = jsonObject["pfxCert"]
|
|
740
|
+
|
|
741
|
+
return result
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
|
|
744
745
|
export class ImageInputParam {
|
|
745
746
|
static fromJson(jsonObject) {
|
|
746
747
|
if (jsonObject == null) return null
|
|
@@ -1033,6 +1034,45 @@ export class Search {
|
|
|
1033
1034
|
}
|
|
1034
1035
|
}
|
|
1035
1036
|
|
|
1037
|
+
export class AuthenticityParams {
|
|
1038
|
+
static fromJson(jsonObject) {
|
|
1039
|
+
if (jsonObject == null) return null
|
|
1040
|
+
const result = new AuthenticityParams()
|
|
1041
|
+
|
|
1042
|
+
result.useLivenessCheck = jsonObject["useLivenessCheck"]
|
|
1043
|
+
result.livenessParams = LivenessParams.fromJson(jsonObject["livenessParams"])
|
|
1044
|
+
result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]
|
|
1045
|
+
result.checkIRB900 = jsonObject["checkIRB900"]
|
|
1046
|
+
result.checkImagePatterns = jsonObject["checkImagePatterns"]
|
|
1047
|
+
result.checkFibers = jsonObject["checkFibers"]
|
|
1048
|
+
result.checkExtMRZ = jsonObject["checkExtMRZ"]
|
|
1049
|
+
result.checkExtOCR = jsonObject["checkExtOCR"]
|
|
1050
|
+
result.checkAxial = jsonObject["checkAxial"]
|
|
1051
|
+
result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]
|
|
1052
|
+
result.checkIRVisibility = jsonObject["checkIRVisibility"]
|
|
1053
|
+
result.checkIPI = jsonObject["checkIPI"]
|
|
1054
|
+
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1055
|
+
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1056
|
+
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1057
|
+
|
|
1058
|
+
return result
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export class LivenessParams {
|
|
1063
|
+
static fromJson(jsonObject) {
|
|
1064
|
+
if (jsonObject == null) return null
|
|
1065
|
+
const result = new LivenessParams()
|
|
1066
|
+
|
|
1067
|
+
result.checkOVI = jsonObject["checkOVI"]
|
|
1068
|
+
result.checkMLI = jsonObject["checkMLI"]
|
|
1069
|
+
result.checkHolo = jsonObject["checkHolo"]
|
|
1070
|
+
result.checkED = jsonObject["checkED"]
|
|
1071
|
+
|
|
1072
|
+
return result
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1036
1076
|
export class ImageQA {
|
|
1037
1077
|
static fromJson(jsonObject) {
|
|
1038
1078
|
if (jsonObject == null) return null
|
|
@@ -1043,13 +1083,14 @@ export class ImageQA {
|
|
|
1043
1083
|
result.focusCheck = jsonObject["focusCheck"]
|
|
1044
1084
|
result.glaresCheck = jsonObject["glaresCheck"]
|
|
1045
1085
|
result.colornessCheck = jsonObject["colornessCheck"]
|
|
1046
|
-
result.
|
|
1086
|
+
result.screenCapture = jsonObject["screenCapture"]
|
|
1087
|
+
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1047
1088
|
result.expectedPass = []
|
|
1048
1089
|
if (jsonObject["expectedPass"] != null)
|
|
1049
1090
|
for (const i in jsonObject["expectedPass"])
|
|
1050
1091
|
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1051
1092
|
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1052
|
-
result.
|
|
1093
|
+
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1053
1094
|
|
|
1054
1095
|
return result
|
|
1055
1096
|
}
|
|
@@ -1096,6 +1137,22 @@ export class OnlineProcessingConfig {
|
|
|
1096
1137
|
}
|
|
1097
1138
|
}
|
|
1098
1139
|
|
|
1140
|
+
export class DocReaderConfig {
|
|
1141
|
+
static fromJson(jsonObject) {
|
|
1142
|
+
if (jsonObject == null) return null
|
|
1143
|
+
const result = new DocReaderConfig()
|
|
1144
|
+
|
|
1145
|
+
result.license = jsonObject["license"]
|
|
1146
|
+
result.customDb = jsonObject["customDb"]
|
|
1147
|
+
result.databasePath = jsonObject["databasePath"]
|
|
1148
|
+
result.licenseUpdate = jsonObject["licenseUpdate"]
|
|
1149
|
+
result.delayedNNLoad = jsonObject["delayedNNLoad"]
|
|
1150
|
+
result.blackList = jsonObject["blackList"]
|
|
1151
|
+
|
|
1152
|
+
return result
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1099
1156
|
export class ScannerConfig {
|
|
1100
1157
|
static fromJson(jsonObject) {
|
|
1101
1158
|
if (jsonObject == null) return null
|
|
@@ -1117,11 +1174,12 @@ export class RecognizeConfig {
|
|
|
1117
1174
|
const result = new RecognizeConfig()
|
|
1118
1175
|
|
|
1119
1176
|
result.scenario = jsonObject["scenario"]
|
|
1177
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1178
|
+
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1120
1179
|
result.livePortrait = jsonObject["livePortrait"]
|
|
1121
1180
|
result.extPortrait = jsonObject["extPortrait"]
|
|
1122
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1123
1181
|
result.image = jsonObject["image"]
|
|
1124
|
-
result.
|
|
1182
|
+
result.data = jsonObject["data"]
|
|
1125
1183
|
result.images = []
|
|
1126
1184
|
if (jsonObject["images"] != null)
|
|
1127
1185
|
for (const i in jsonObject["images"])
|
|
@@ -1135,6 +1193,48 @@ export class RecognizeConfig {
|
|
|
1135
1193
|
}
|
|
1136
1194
|
}
|
|
1137
1195
|
|
|
1196
|
+
export class License {
|
|
1197
|
+
static fromJson(jsonObject) {
|
|
1198
|
+
if (jsonObject == null) return null
|
|
1199
|
+
const result = new License()
|
|
1200
|
+
|
|
1201
|
+
result.expiryDate = jsonObject["expiryDate"]
|
|
1202
|
+
result.countryFilter = []
|
|
1203
|
+
if (jsonObject["countryFilter"] != null)
|
|
1204
|
+
for (const i in jsonObject["countryFilter"])
|
|
1205
|
+
result.countryFilter.push(jsonObject["countryFilter"][i])
|
|
1206
|
+
result.isRfidAvailable = jsonObject["isRfidAvailable"]
|
|
1207
|
+
|
|
1208
|
+
return result
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export class DocReaderVersion {
|
|
1213
|
+
static fromJson(jsonObject) {
|
|
1214
|
+
if (jsonObject == null) return null
|
|
1215
|
+
const result = new DocReaderVersion()
|
|
1216
|
+
|
|
1217
|
+
result.api = jsonObject["api"]
|
|
1218
|
+
result.core = jsonObject["core"]
|
|
1219
|
+
result.coreMode = jsonObject["coreMode"]
|
|
1220
|
+
result.database = DocReaderDocumentsDatabase.fromJson(jsonObject["database"])
|
|
1221
|
+
|
|
1222
|
+
return result
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
export class TransactionInfo {
|
|
1227
|
+
static fromJson(jsonObject) {
|
|
1228
|
+
if (jsonObject == null) return null
|
|
1229
|
+
const result = new TransactionInfo()
|
|
1230
|
+
|
|
1231
|
+
result.transactionId = jsonObject["transactionId"]
|
|
1232
|
+
result.tag = jsonObject["tag"]
|
|
1233
|
+
|
|
1234
|
+
return result
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1138
1238
|
export class DocumentReaderResults {
|
|
1139
1239
|
constructor() {
|
|
1140
1240
|
// temporary fix, otherwise rawResult can't be accessed in textFieldValueByType
|
|
@@ -1214,15 +1314,11 @@ export class DocumentReaderResults {
|
|
|
1214
1314
|
if (jsonObject == null) return null
|
|
1215
1315
|
const result = new DocumentReaderResults()
|
|
1216
1316
|
|
|
1217
|
-
result.videoCaptureSessionId = jsonObject["videoCaptureSessionId"]
|
|
1218
1317
|
result.chipPage = jsonObject["chipPage"]
|
|
1219
|
-
result.irElapsedTime = jsonObject["irElapsedTime"]
|
|
1220
1318
|
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1221
1319
|
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1222
1320
|
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
1223
1321
|
result.morePagesAvailable = jsonObject["morePagesAvailable"]
|
|
1224
|
-
result.rfidResult = jsonObject["rfidResult"]
|
|
1225
|
-
result.highResolution = jsonObject["highResolution"]
|
|
1226
1322
|
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
1227
1323
|
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
1228
1324
|
result.documentPosition = []
|
|
@@ -1242,17 +1338,16 @@ export class DocumentReaderResults {
|
|
|
1242
1338
|
for (const i in jsonObject["imageQuality"])
|
|
1243
1339
|
result.imageQuality.push(ImageQualityGroup.fromJson(jsonObject["imageQuality"][i]))
|
|
1244
1340
|
result.rawResult = jsonObject["rawResult"]
|
|
1245
|
-
result.documentReaderNotification = DocumentReaderNotification.fromJson(jsonObject["documentReaderNotification"])
|
|
1246
1341
|
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1247
1342
|
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1248
1343
|
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1249
|
-
result.ppmIn = jsonObject["ppmIn"]
|
|
1250
1344
|
result.documentType = []
|
|
1251
1345
|
if (jsonObject["documentType"] != null)
|
|
1252
1346
|
for (const i in jsonObject["documentType"])
|
|
1253
1347
|
result.documentType.push(DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i]))
|
|
1254
1348
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1255
1349
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1350
|
+
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1256
1351
|
|
|
1257
1352
|
return result
|
|
1258
1353
|
}
|
|
@@ -1291,6 +1386,16 @@ export const eRPRM_Authenticity = {
|
|
|
1291
1386
|
OCR: 4194304,
|
|
1292
1387
|
}
|
|
1293
1388
|
|
|
1389
|
+
export const CustomizationColor = {
|
|
1390
|
+
RFID_PROCESSING_SCREEN_BACKGROUND: "rfidProcessingScreenBackground",
|
|
1391
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT: "rfidProcessingScreenHintLabelText",
|
|
1392
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "rfidProcessingScreenHintLabelBackground",
|
|
1393
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "rfidProcessingScreenProgressLabelText",
|
|
1394
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR: "rfidProcessingScreenProgressBar",
|
|
1395
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: "rfidProcessingScreenProgressBarBackground",
|
|
1396
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "rfidProcessingScreenResultLabelText",
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1294
1399
|
export const eRFID_ErrorCodes = {
|
|
1295
1400
|
RFID_ERROR_NO_ERROR: 0x00000001,
|
|
1296
1401
|
RFID_ERROR_ALREADY_DONE: 0x00000002,
|
|
@@ -1650,11 +1755,13 @@ export const eProcessGLCommands = {
|
|
|
1650
1755
|
ePC_ProcMgr_ProcessImage: 12104,
|
|
1651
1756
|
ePC_ProcMgr_StartNewDocument: 12105,
|
|
1652
1757
|
ePC_ProcMgr_StartNewPage: 12106,
|
|
1758
|
+
ePC_ProcMgr_AddDataToPackage: 12121,
|
|
1759
|
+
ePC_ProcMgr_FinalizePackage: 12122,
|
|
1760
|
+
ePC_ProcMgr_CreateBackendTransaction: 12125,
|
|
1653
1761
|
ePC_ProcMgr_Unload: 12107,
|
|
1654
1762
|
ePC_ProcMgr_CheckDatabase: 12109,
|
|
1655
1763
|
ePC_ProcMgr_ComparePortraits: 12111,
|
|
1656
1764
|
ePC_RFID_SetTCCParams: 12522,
|
|
1657
|
-
ePC_RFID_SetReprocessingParams: 12523,
|
|
1658
1765
|
}
|
|
1659
1766
|
|
|
1660
1767
|
export const PKDResourceType = {
|
|
@@ -1742,6 +1849,7 @@ export const ScenarioIdentifier = {
|
|
|
1742
1849
|
SCENARIO_MRZ_OR_BARCODE: "MrzOrBarcode",
|
|
1743
1850
|
SCENARIO_MRZ_OR_LOCATE: "MrzOrLocate",
|
|
1744
1851
|
SCENARIO_MRZ_AND_LOCATE: "MrzAndLocate",
|
|
1852
|
+
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1745
1853
|
SCENARIO_MRZ_OR_OCR: "MrzOrOcr",
|
|
1746
1854
|
SCENARIO_MRZ_OR_BARCODE_OR_OCR: "MrzOrBarcodeOrOcr",
|
|
1747
1855
|
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: "LocateVisual_And_MrzOrOcr",
|
|
@@ -1752,7 +1860,6 @@ export const ScenarioIdentifier = {
|
|
|
1752
1860
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
1753
1861
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
1754
1862
|
SCENARIO_CAPTURE: "Capture",
|
|
1755
|
-
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1756
1863
|
}
|
|
1757
1864
|
|
|
1758
1865
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -1883,6 +1990,7 @@ export const eCheckDiagnose = {
|
|
|
1883
1990
|
INCORRECT_TEXT_COLOR: 26,
|
|
1884
1991
|
PHOTO_FALSE_LUMINISCENCE: 27,
|
|
1885
1992
|
TOO_MUCH_SHIFT: 28,
|
|
1993
|
+
CONTACT_CHIP_TYPE_MISMATCH: 29,
|
|
1886
1994
|
FIBERS_NOT_FOUND: 30,
|
|
1887
1995
|
TOO_MANY_OBJECTS: 31,
|
|
1888
1996
|
SPECKS_IN_UV: 33,
|
|
@@ -1984,6 +2092,20 @@ export const TextProcessing = {
|
|
|
1984
2092
|
ocCapital: 3,
|
|
1985
2093
|
}
|
|
1986
2094
|
|
|
2095
|
+
export const AnimationImage = {
|
|
2096
|
+
UNKNOWN: 0,
|
|
2097
|
+
PASSPORT_SINGLE_PAGE: 1,
|
|
2098
|
+
PASSPORT_TWO_PAGES: 2,
|
|
2099
|
+
ID_FRONT: 3,
|
|
2100
|
+
ID_FRONT_MRZ: 4,
|
|
2101
|
+
ID_BACK: 5,
|
|
2102
|
+
ID_BACK_MRZ: 6,
|
|
2103
|
+
ID_BACK_BARCODE: 7,
|
|
2104
|
+
ID_BACK_BARCODE_MRZ: 8,
|
|
2105
|
+
BANK_CARD_FRONT: 9,
|
|
2106
|
+
BANK_CARD_BACK: 10,
|
|
2107
|
+
}
|
|
2108
|
+
|
|
1987
2109
|
export const ProcessingFinishedStatus = {
|
|
1988
2110
|
NOT_READY: 0,
|
|
1989
2111
|
READY: 1,
|
|
@@ -2240,6 +2362,7 @@ export const eImageQualityCheckType = {
|
|
|
2240
2362
|
IQC_SCREEN_CAPTURE: 6,
|
|
2241
2363
|
IQC_PORTRAIT: 7,
|
|
2242
2364
|
IQC_HANDWRITTEN: 8,
|
|
2365
|
+
IQC_BRIGHTNESS: 9,
|
|
2243
2366
|
}
|
|
2244
2367
|
|
|
2245
2368
|
export const MRZFormat = {
|
|
@@ -2321,6 +2444,12 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
2321
2444
|
SECURITY_FEATURE_TYPE_LAS_INK: 43,
|
|
2322
2445
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: 44,
|
|
2323
2446
|
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: 45,
|
|
2447
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_VS_BARCODE: 46,
|
|
2448
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47,
|
|
2449
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48,
|
|
2450
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
2451
|
+
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
2452
|
+
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
2324
2453
|
}
|
|
2325
2454
|
|
|
2326
2455
|
export const OnlineMode = {
|
|
@@ -2566,6 +2695,15 @@ export const diDocType = {
|
|
|
2566
2695
|
dtPassengerLocatorForm: 242,
|
|
2567
2696
|
}
|
|
2568
2697
|
|
|
2698
|
+
export const ButtonTag = {
|
|
2699
|
+
CLOSE: 1001,
|
|
2700
|
+
TORCH: 1002,
|
|
2701
|
+
CAPTURE: 1003,
|
|
2702
|
+
CHANGE_FRAME: 1004,
|
|
2703
|
+
SKIP: 1005,
|
|
2704
|
+
CAMERA_SWITCH: 1006,
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2569
2707
|
export const HoloAnimationType = {
|
|
2570
2708
|
DocumentHoloAnimationUnknown: 0,
|
|
2571
2709
|
DocumentHoloAnimationTypeHorizontal: 1,
|
|
@@ -2584,6 +2722,12 @@ export const eRequestCommand = {
|
|
|
2584
2722
|
eReqCmd_WltToImage: 401,
|
|
2585
2723
|
}
|
|
2586
2724
|
|
|
2725
|
+
export const CustomizationFont = {
|
|
2726
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL: "rfidProcessingScreenHintLabel",
|
|
2727
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL: "rfidProcessingScreenProgressLabel",
|
|
2728
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL: "rfidProcessingScreenResultLabel",
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2587
2731
|
export const ImageFormat = {
|
|
2588
2732
|
PNG: 0,
|
|
2589
2733
|
JPG: 1,
|
|
@@ -2601,6 +2745,7 @@ export const eGraphicFieldType = {
|
|
|
2601
2745
|
GF_GHOST_PORTRAIT: 210,
|
|
2602
2746
|
GF_STAMP: 211,
|
|
2603
2747
|
GF_PORTRAIT_OF_CHILD: 212,
|
|
2748
|
+
GF_CONTACT_CHIP: 213,
|
|
2604
2749
|
GF_OTHER: 250,
|
|
2605
2750
|
GF_FINGER_LEFT_THUMB: 300,
|
|
2606
2751
|
GF_FINGER_LEFT_INDEX: 301,
|
|
@@ -2615,7 +2760,7 @@ export const eGraphicFieldType = {
|
|
|
2615
2760
|
}
|
|
2616
2761
|
|
|
2617
2762
|
export const RegDeviceConfigType = {
|
|
2618
|
-
DEVICE_7310:
|
|
2763
|
+
DEVICE_7310: "DEVICE_7310",
|
|
2619
2764
|
}
|
|
2620
2765
|
|
|
2621
2766
|
export const CameraMode = {
|
|
@@ -3363,6 +3508,8 @@ export const eVisualFieldType = {
|
|
|
3363
3508
|
FT_ADDRESS_COUNTY_TYPE: 678,
|
|
3364
3509
|
FT_ADDRESS_CITY_TYPE: 679,
|
|
3365
3510
|
FT_ADDRESS_BUILDING_TYPE: 680,
|
|
3511
|
+
FT_DATE_OF_RETIREMENT: 681,
|
|
3512
|
+
FT_DOCUMENT_STATUS: 682,
|
|
3366
3513
|
}
|
|
3367
3514
|
|
|
3368
3515
|
export const DocReaderOrientation = {
|
|
@@ -3406,7 +3553,7 @@ export const LCID = {
|
|
|
3406
3553
|
BANK_CARD_NUMBER: 10000,
|
|
3407
3554
|
BANK_CARD_VALID_THRU: 10001,
|
|
3408
3555
|
BELARUSIAN: 1059,
|
|
3409
|
-
|
|
3556
|
+
BENGALI_BANGLADESH: 2117,
|
|
3410
3557
|
BULGARIAN: 1026,
|
|
3411
3558
|
CATALAN: 1027,
|
|
3412
3559
|
CHINESE_HONGKONG_SAR: 3076,
|
|
@@ -3472,6 +3619,7 @@ export const LCID = {
|
|
|
3472
3619
|
LITHUANIAN: 1063,
|
|
3473
3620
|
MALAY_MALAYSIA: 1086,
|
|
3474
3621
|
MALAY_BRUNEI_DARUSSALAM: 2110,
|
|
3622
|
+
ASSAMESE: 1101,
|
|
3475
3623
|
MARATHI: 1102,
|
|
3476
3624
|
MONGOLIAN_CYRILIC: 1104,
|
|
3477
3625
|
NORWEGIAN_BOKMAL: 1044,
|
|
@@ -3518,6 +3666,7 @@ export const LCID = {
|
|
|
3518
3666
|
SYRIAC: 1114,
|
|
3519
3667
|
TAMIL: 1097,
|
|
3520
3668
|
TATAR: 1092,
|
|
3669
|
+
BENGALI_INDIA: 1093,
|
|
3521
3670
|
TELUGU: 1098,
|
|
3522
3671
|
THAI_THAILAND: 1054,
|
|
3523
3672
|
TURKISH: 1055,
|
|
@@ -3530,6 +3679,18 @@ export const LCID = {
|
|
|
3530
3679
|
VIETNAMESE: 1066,
|
|
3531
3680
|
CTC_SIMPLIFIED: 50001,
|
|
3532
3681
|
CTC_TRADITIONAL: 50002,
|
|
3682
|
+
MALTESE: 1082,
|
|
3683
|
+
BURMESE: 1109,
|
|
3684
|
+
KHMER: 1107,
|
|
3685
|
+
KARAKALPAK_LATIN: 10012,
|
|
3686
|
+
MALAYALAM: 1100,
|
|
3687
|
+
NEPALI: 1121,
|
|
3688
|
+
ORIYA: 1096,
|
|
3689
|
+
URDU_DETECTION: 10560,
|
|
3690
|
+
}
|
|
3691
|
+
|
|
3692
|
+
export const CustomizationImage = {
|
|
3693
|
+
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
3533
3694
|
}
|
|
3534
3695
|
|
|
3535
3696
|
export const DocReaderFrame = {
|
|
@@ -3609,6 +3770,7 @@ export const UIViewContentMode = {
|
|
|
3609
3770
|
export const Enum = {
|
|
3610
3771
|
FontStyle,
|
|
3611
3772
|
eRPRM_Authenticity,
|
|
3773
|
+
CustomizationColor,
|
|
3612
3774
|
eRFID_ErrorCodes,
|
|
3613
3775
|
eLDS_ParsingErrorCodes,
|
|
3614
3776
|
eRFID_CertificateType,
|
|
@@ -3632,6 +3794,7 @@ export const Enum = {
|
|
|
3632
3794
|
eCheckDiagnose,
|
|
3633
3795
|
RFIDDelegate,
|
|
3634
3796
|
TextProcessing,
|
|
3797
|
+
AnimationImage,
|
|
3635
3798
|
ProcessingFinishedStatus,
|
|
3636
3799
|
DocFormat,
|
|
3637
3800
|
eLDS_ParsingNotificationCodes,
|
|
@@ -3642,8 +3805,10 @@ export const Enum = {
|
|
|
3642
3805
|
OnlineMode,
|
|
3643
3806
|
eRFID_SDK_ProfilerType,
|
|
3644
3807
|
diDocType,
|
|
3808
|
+
ButtonTag,
|
|
3645
3809
|
HoloAnimationType,
|
|
3646
3810
|
eRequestCommand,
|
|
3811
|
+
CustomizationFont,
|
|
3647
3812
|
ImageFormat,
|
|
3648
3813
|
eGraphicFieldType,
|
|
3649
3814
|
RegDeviceConfigType,
|
|
@@ -3655,6 +3820,7 @@ export const Enum = {
|
|
|
3655
3820
|
eVisualFieldType,
|
|
3656
3821
|
DocReaderOrientation,
|
|
3657
3822
|
LCID,
|
|
3823
|
+
CustomizationImage,
|
|
3658
3824
|
DocReaderFrame,
|
|
3659
3825
|
eRPRM_Lights,
|
|
3660
3826
|
LineCap,
|
|
@@ -3666,99 +3832,52 @@ export const Enum = {
|
|
|
3666
3832
|
|
|
3667
3833
|
const DocumentReader = {}
|
|
3668
3834
|
|
|
3669
|
-
DocumentReader.initializeReaderAutomatically = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReaderAutomatically", [], successCallback, errorCallback)
|
|
3670
|
-
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isBlePermissionsGranted", [], successCallback, errorCallback)
|
|
3671
|
-
DocumentReader.startBluetoothService = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startBluetoothService", [], successCallback, errorCallback)
|
|
3672
|
-
DocumentReader.initializeReaderBleDeviceConfig = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReaderBleDeviceConfig", [], successCallback, errorCallback)
|
|
3673
|
-
DocumentReader.getTag = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTag", [], successCallback, errorCallback)
|
|
3674
|
-
DocumentReader.getAPIVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAPIVersion", [], successCallback, errorCallback)
|
|
3675
|
-
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
|
3676
|
-
DocumentReader.isRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
3677
|
-
DocumentReader.getCoreMode = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getCoreMode", [], successCallback, errorCallback)
|
|
3678
|
-
DocumentReader.getCoreVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getCoreVersion", [], successCallback, errorCallback)
|
|
3679
|
-
DocumentReader.getDatabaseDate = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseDate", [], successCallback, errorCallback)
|
|
3680
|
-
DocumentReader.getDatabaseID = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseID", [], successCallback, errorCallback)
|
|
3681
|
-
DocumentReader.getDatabaseVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseVersion", [], successCallback, errorCallback)
|
|
3682
3835
|
DocumentReader.getDocumentReaderIsReady = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderIsReady", [], successCallback, errorCallback)
|
|
3683
3836
|
DocumentReader.getDocumentReaderStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderStatus", [], successCallback, errorCallback)
|
|
3684
|
-
DocumentReader.getDatabaseCountriesNumber = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseCountriesNumber", [], successCallback, errorCallback)
|
|
3685
|
-
DocumentReader.getDatabaseDocumentsNumber = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseDocumentsNumber", [], successCallback, errorCallback)
|
|
3686
|
-
DocumentReader.selectedScenario = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "selectedScenario", [], successCallback, errorCallback)
|
|
3687
|
-
DocumentReader.getSessionLogFolder = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getSessionLogFolder", [], successCallback, errorCallback)
|
|
3688
|
-
DocumentReader.getDatabaseDescription = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDatabaseDescription", [], successCallback, errorCallback)
|
|
3689
|
-
/**
|
|
3690
|
-
* @deprecated
|
|
3691
|
-
*/
|
|
3692
|
-
DocumentReader.showScanner = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "showScanner", [], successCallback, errorCallback)
|
|
3693
|
-
DocumentReader.startNewPage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewPage", [], successCallback, errorCallback)
|
|
3694
|
-
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
3695
|
-
DocumentReader.startRFIDReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startRFIDReader", [], successCallback, errorCallback)
|
|
3696
|
-
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopRFIDReader", [], successCallback, errorCallback)
|
|
3697
|
-
DocumentReader.stopRFIDReaderWithErrorMessage = (message, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopRFIDReaderWithErrorMessage", [message], successCallback, errorCallback)
|
|
3698
|
-
DocumentReader.stopScanner = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopScanner", [], successCallback, errorCallback)
|
|
3699
|
-
DocumentReader.deinitializeReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "deinitializeReader", [], successCallback, errorCallback)
|
|
3700
3837
|
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
3701
|
-
DocumentReader.
|
|
3838
|
+
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isBlePermissionsGranted", [], successCallback, errorCallback)
|
|
3839
|
+
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidSessionStatus", [], successCallback, errorCallback)
|
|
3840
|
+
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidSessionStatus", [status], successCallback, errorCallback)
|
|
3841
|
+
DocumentReader.getTag = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTag", [], successCallback, errorCallback)
|
|
3842
|
+
DocumentReader.setTag = (tag, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setTag", [tag], successCallback, errorCallback)
|
|
3843
|
+
DocumentReader.getFunctionality = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getFunctionality", [], successCallback, errorCallback)
|
|
3844
|
+
DocumentReader.setFunctionality = (functionality, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setFunctionality", [functionality], successCallback, errorCallback)
|
|
3845
|
+
DocumentReader.getProcessParams = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getProcessParams", [], successCallback, errorCallback)
|
|
3846
|
+
DocumentReader.setProcessParams = (processParams, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setProcessParams", [processParams], successCallback, errorCallback)
|
|
3847
|
+
DocumentReader.getCustomization = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getCustomization", [], successCallback, errorCallback)
|
|
3848
|
+
DocumentReader.setCustomization = (customization, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setCustomization", [customization], successCallback, errorCallback)
|
|
3702
3849
|
DocumentReader.getRfidScenario = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidScenario", [], successCallback, errorCallback)
|
|
3703
|
-
DocumentReader.
|
|
3704
|
-
DocumentReader.
|
|
3705
|
-
DocumentReader.
|
|
3706
|
-
DocumentReader.
|
|
3850
|
+
DocumentReader.setRfidScenario = (rfidScenario, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidScenario", [rfidScenario], successCallback, errorCallback)
|
|
3851
|
+
DocumentReader.initializeReader = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReader", [config], successCallback, errorCallback)
|
|
3852
|
+
DocumentReader.initializeReaderWithBleDeviceConfig = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReaderWithBleDeviceConfig", [config], successCallback, errorCallback)
|
|
3853
|
+
DocumentReader.deinitializeReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "deinitializeReader", [], successCallback, errorCallback)
|
|
3854
|
+
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "prepareDatabase", [databaseType], successCallback, errorCallback)
|
|
3707
3855
|
DocumentReader.removeDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "removeDatabase", [], successCallback, errorCallback)
|
|
3856
|
+
DocumentReader.runAutoUpdate = (databaseId, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "runAutoUpdate", [databaseId], successCallback, errorCallback)
|
|
3708
3857
|
DocumentReader.cancelDBUpdate = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "cancelDBUpdate", [], successCallback, errorCallback)
|
|
3709
|
-
DocumentReader.resetConfiguration = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "resetConfiguration", [], successCallback, errorCallback)
|
|
3710
|
-
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
3711
|
-
DocumentReader.readRFID = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "readRFID", [], successCallback, errorCallback)
|
|
3712
|
-
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidSessionStatus", [], successCallback, errorCallback)
|
|
3713
|
-
DocumentReader.setRfidDelegate = (delegate, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidDelegate", [delegate], successCallback, errorCallback)
|
|
3714
|
-
DocumentReader.setEnableCoreLogs = (logs, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setEnableCoreLogs", [logs], successCallback, errorCallback)
|
|
3715
|
-
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
3716
|
-
DocumentReader.setCameraSessionIsPaused = (paused, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setCameraSessionIsPaused", [paused], successCallback, errorCallback)
|
|
3717
|
-
DocumentReader.setTag = (tag, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setTag", [tag], successCallback, errorCallback)
|
|
3718
3858
|
DocumentReader.checkDatabaseUpdate = (databaseId, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "checkDatabaseUpdate", [databaseId], successCallback, errorCallback)
|
|
3719
3859
|
DocumentReader.scan = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "scan", [config], successCallback, errorCallback)
|
|
3720
3860
|
DocumentReader.recognize = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "recognize", [config], successCallback, errorCallback)
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
DocumentReader.
|
|
3725
|
-
|
|
3726
|
-
* @deprecated
|
|
3727
|
-
*/
|
|
3728
|
-
DocumentReader.showScannerWithCameraID = (cameraID, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "showScannerWithCameraID", [cameraID], successCallback, errorCallback)
|
|
3729
|
-
DocumentReader.runAutoUpdate = (databaseType, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "runAutoUpdate", [databaseType], successCallback, errorCallback)
|
|
3730
|
-
DocumentReader.setConfig = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setConfig", [config], successCallback, errorCallback)
|
|
3731
|
-
DocumentReader.setRfidScenario = (scenario, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidScenario", [scenario], successCallback, errorCallback)
|
|
3732
|
-
DocumentReader.initializeReader = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReader", [config], successCallback, errorCallback)
|
|
3733
|
-
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "prepareDatabase", [databaseType], successCallback, errorCallback)
|
|
3734
|
-
/**
|
|
3735
|
-
* @deprecated
|
|
3736
|
-
*/
|
|
3737
|
-
DocumentReader.recognizeImage = (image, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "recognizeImage", [image], successCallback, errorCallback)
|
|
3738
|
-
/**
|
|
3739
|
-
* @deprecated
|
|
3740
|
-
*/
|
|
3741
|
-
DocumentReader.recognizeData = (data, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "recognizeData", [data], successCallback, errorCallback)
|
|
3742
|
-
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidSessionStatus", [status], successCallback, errorCallback)
|
|
3861
|
+
DocumentReader.startNewPage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewPage", [], successCallback, errorCallback)
|
|
3862
|
+
DocumentReader.stopScanner = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopScanner", [], successCallback, errorCallback)
|
|
3863
|
+
DocumentReader.startRFIDReader = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startRFIDReader", [requestPACertificates, requestTACertificates, requestTASignature], successCallback, errorCallback)
|
|
3864
|
+
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopRFIDReader", [], successCallback, errorCallback)
|
|
3865
|
+
DocumentReader.readRFID = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "readRFID", [requestPACertificates, requestTACertificates, requestTASignature], successCallback, errorCallback)
|
|
3743
3866
|
DocumentReader.providePACertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "providePACertificates", [certificates], successCallback, errorCallback)
|
|
3744
3867
|
DocumentReader.provideTACertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "provideTACertificates", [certificates], successCallback, errorCallback)
|
|
3745
3868
|
DocumentReader.provideTASignature = (signature, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "provideTASignature", [signature], successCallback, errorCallback)
|
|
3746
|
-
DocumentReader.parseCoreResults = (json, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "parseCoreResults", [json], successCallback, errorCallback)
|
|
3747
3869
|
DocumentReader.setTCCParams = (params, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setTCCParams", [params], successCallback, errorCallback)
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
DocumentReader.
|
|
3752
|
-
DocumentReader.
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
DocumentReader.
|
|
3757
|
-
DocumentReader.
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
*/
|
|
3761
|
-
DocumentReader.recognizeImagesWithImageInputs = (images, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "recognizeImagesWithImageInputs", [images], successCallback, errorCallback)
|
|
3762
|
-
DocumentReader.setLanguage = (language, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLanguage", [language], successCallback, errorCallback)
|
|
3870
|
+
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
3871
|
+
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
3872
|
+
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
3873
|
+
DocumentReader.startBluetoothService = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startBluetoothService", [], successCallback, errorCallback)
|
|
3874
|
+
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLocalizationDictionary", [dictionary], successCallback, errorCallback)
|
|
3875
|
+
DocumentReader.getLicense = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getLicense", [], successCallback, errorCallback)
|
|
3876
|
+
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
|
3877
|
+
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getIsRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
3878
|
+
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderVersion", [], successCallback, errorCallback)
|
|
3879
|
+
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderDocumentsDatabase", [], successCallback, errorCallback)
|
|
3880
|
+
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTranslation", [className, value], successCallback, errorCallback)
|
|
3881
|
+
DocumentReader.finalizePackage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackage", [], successCallback, errorCallback)
|
|
3763
3882
|
|
|
3764
3883
|
export default DocumentReader
|