@regulaforensics/react-native-document-reader-api 6.9.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +692 -0
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +2198 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +535 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.kt +11 -0
- package/android/src/main/java/com/regula/documentreader/Utils.kt +261 -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 +2 -2
- package/example/index.js +1 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +8 -4
- package/example/ios/Podfile +2 -21
- package/example/package-lock.json +3444 -2439
- package/example/package.json +28 -28
- package/example/react-native.config.js +5 -0
- package/index.d.ts +1375 -446
- package/index.js +843 -272
- package/ios/RGLWConfig.h +48 -0
- package/ios/RGLWConfig.m +1312 -0
- package/ios/RGLWJSONConstructor.h +173 -69
- package/ios/RGLWJSONConstructor.m +1832 -786
- package/ios/RNRegulaDocumentReader.h +10 -9
- package/ios/RNRegulaDocumentReader.m +388 -587
- 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"]
|
|
@@ -652,10 +638,7 @@ export class DocumentReaderBarcodeField {
|
|
|
652
638
|
result.status = jsonObject["status"]
|
|
653
639
|
result.pageIndex = jsonObject["pageIndex"]
|
|
654
640
|
result.pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"])
|
|
655
|
-
result.data = []
|
|
656
|
-
if (jsonObject["data"] != null)
|
|
657
|
-
for (const i in jsonObject["data"])
|
|
658
|
-
result.data.push(jsonObject["data"][i])
|
|
641
|
+
result.data = jsonObject["data"]
|
|
659
642
|
|
|
660
643
|
return result
|
|
661
644
|
}
|
|
@@ -741,6 +724,21 @@ export class PKDCertificate {
|
|
|
741
724
|
}
|
|
742
725
|
}
|
|
743
726
|
|
|
727
|
+
export class TccParams {
|
|
728
|
+
static fromJson(jsonObject) {
|
|
729
|
+
if (jsonObject == null) return null
|
|
730
|
+
const result = new TccParams()
|
|
731
|
+
|
|
732
|
+
result.serviceUrlTA = jsonObject["serviceUrlTA"]
|
|
733
|
+
result.serviceUrlPA = jsonObject["serviceUrlPA"]
|
|
734
|
+
result.pfxCertUrl = jsonObject["pfxCertUrl"]
|
|
735
|
+
result.pfxPassPhrase = jsonObject["pfxPassPhrase"]
|
|
736
|
+
result.pfxCert = jsonObject["pfxCert"]
|
|
737
|
+
|
|
738
|
+
return result
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
744
742
|
export class ImageInputParam {
|
|
745
743
|
static fromJson(jsonObject) {
|
|
746
744
|
if (jsonObject == null) return null
|
|
@@ -761,10 +759,7 @@ export class PAResourcesIssuer {
|
|
|
761
759
|
if (jsonObject == null) return null
|
|
762
760
|
const result = new PAResourcesIssuer()
|
|
763
761
|
|
|
764
|
-
result.data = []
|
|
765
|
-
if (jsonObject["data"] != null)
|
|
766
|
-
for (const i in jsonObject["data"])
|
|
767
|
-
result.data.push(jsonObject["data"][i])
|
|
762
|
+
result.data = jsonObject["data"]
|
|
768
763
|
result.friendlyName = jsonObject["friendlyName"]
|
|
769
764
|
result.attributes = []
|
|
770
765
|
if (jsonObject["attributes"] != null)
|
|
@@ -792,10 +787,7 @@ export class TAChallenge {
|
|
|
792
787
|
if (jsonObject == null) return null
|
|
793
788
|
const result = new TAChallenge()
|
|
794
789
|
|
|
795
|
-
result.data = []
|
|
796
|
-
if (jsonObject["data"] != null)
|
|
797
|
-
for (const i in jsonObject["data"])
|
|
798
|
-
result.data.push(jsonObject["data"][i])
|
|
790
|
+
result.data = jsonObject["data"]
|
|
799
791
|
result.auxPCD = jsonObject["auxPCD"]
|
|
800
792
|
result.challengePICC = jsonObject["challengePICC"]
|
|
801
793
|
result.hashPK = jsonObject["hashPK"]
|
|
@@ -908,10 +900,7 @@ export class ImageInputData {
|
|
|
908
900
|
result.width = jsonObject["width"]
|
|
909
901
|
result.height = jsonObject["height"]
|
|
910
902
|
result.bitmap = jsonObject["bitmap"]
|
|
911
|
-
result.imgBytes = []
|
|
912
|
-
if (jsonObject["imgBytes"] != null)
|
|
913
|
-
for (const i in jsonObject["imgBytes"])
|
|
914
|
-
result.imgBytes.push(jsonObject["imgBytes"][i])
|
|
903
|
+
result.imgBytes = jsonObject["imgBytes"]
|
|
915
904
|
|
|
916
905
|
return result
|
|
917
906
|
}
|
|
@@ -999,137 +988,114 @@ export class DocumentReaderValidity {
|
|
|
999
988
|
}
|
|
1000
989
|
}
|
|
1001
990
|
|
|
1002
|
-
export class
|
|
991
|
+
export class OnlineProcessingConfig {
|
|
1003
992
|
static fromJson(jsonObject) {
|
|
1004
993
|
if (jsonObject == null) return null
|
|
1005
|
-
const result = new
|
|
994
|
+
const result = new OnlineProcessingConfig()
|
|
1006
995
|
|
|
1007
|
-
result.url = jsonObject["url"]
|
|
1008
996
|
result.mode = jsonObject["mode"]
|
|
1009
|
-
result.
|
|
1010
|
-
result.
|
|
1011
|
-
result.
|
|
1012
|
-
result.
|
|
1013
|
-
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1014
|
-
result.proxyType = jsonObject["proxyType"]
|
|
997
|
+
result.url = jsonObject["url"]
|
|
998
|
+
result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
|
|
999
|
+
result.imageFormat = jsonObject["imageFormat"]
|
|
1000
|
+
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1015
1001
|
|
|
1016
1002
|
return result
|
|
1017
1003
|
}
|
|
1018
1004
|
}
|
|
1019
1005
|
|
|
1020
|
-
export class
|
|
1006
|
+
export class DocReaderConfig {
|
|
1021
1007
|
static fromJson(jsonObject) {
|
|
1022
1008
|
if (jsonObject == null) return null
|
|
1023
|
-
const result = new
|
|
1009
|
+
const result = new DocReaderConfig()
|
|
1024
1010
|
|
|
1025
|
-
result.
|
|
1026
|
-
result.
|
|
1027
|
-
result.
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1011
|
+
result.license = jsonObject["license"]
|
|
1012
|
+
result.customDb = jsonObject["customDb"]
|
|
1013
|
+
result.databasePath = jsonObject["databasePath"]
|
|
1014
|
+
result.licenseUpdate = jsonObject["licenseUpdate"]
|
|
1015
|
+
result.delayedNNLoad = jsonObject["delayedNNLoad"]
|
|
1016
|
+
result.blackList = jsonObject["blackList"]
|
|
1031
1017
|
|
|
1032
1018
|
return result
|
|
1033
1019
|
}
|
|
1034
1020
|
}
|
|
1035
1021
|
|
|
1036
|
-
export class
|
|
1022
|
+
export class ScannerConfig {
|
|
1037
1023
|
static fromJson(jsonObject) {
|
|
1038
1024
|
if (jsonObject == null) return null
|
|
1039
|
-
const result = new
|
|
1025
|
+
const result = new ScannerConfig()
|
|
1040
1026
|
|
|
1041
|
-
result.
|
|
1042
|
-
result.
|
|
1043
|
-
result.
|
|
1044
|
-
result.
|
|
1045
|
-
result.
|
|
1046
|
-
result.moireCheck = jsonObject["moireCheck"]
|
|
1047
|
-
result.expectedPass = []
|
|
1048
|
-
if (jsonObject["expectedPass"] != null)
|
|
1049
|
-
for (const i in jsonObject["expectedPass"])
|
|
1050
|
-
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1051
|
-
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1052
|
-
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1027
|
+
result.scenario = jsonObject["scenario"]
|
|
1028
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1029
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1030
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1031
|
+
result.cameraId = jsonObject["cameraId"]
|
|
1053
1032
|
|
|
1054
1033
|
return result
|
|
1055
1034
|
}
|
|
1056
1035
|
}
|
|
1057
1036
|
|
|
1058
|
-
export class
|
|
1037
|
+
export class RecognizeConfig {
|
|
1059
1038
|
static fromJson(jsonObject) {
|
|
1060
1039
|
if (jsonObject == null) return null
|
|
1061
|
-
const result = new
|
|
1040
|
+
const result = new RecognizeConfig()
|
|
1062
1041
|
|
|
1063
|
-
result.
|
|
1064
|
-
result.
|
|
1042
|
+
result.scenario = jsonObject["scenario"]
|
|
1043
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1044
|
+
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1045
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1046
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1047
|
+
result.image = jsonObject["image"]
|
|
1048
|
+
result.data = jsonObject["data"]
|
|
1049
|
+
result.images = []
|
|
1050
|
+
if (jsonObject["images"] != null)
|
|
1051
|
+
for (const i in jsonObject["images"])
|
|
1052
|
+
result.images.push(jsonObject["images"][i])
|
|
1053
|
+
result.imageInputData = []
|
|
1054
|
+
if (jsonObject["imageInputData"] != null)
|
|
1055
|
+
for (const i in jsonObject["imageInputData"])
|
|
1056
|
+
result.imageInputData.push(ImageInputData.fromJson(jsonObject["imageInputData"][i]))
|
|
1065
1057
|
|
|
1066
1058
|
return result
|
|
1067
1059
|
}
|
|
1068
1060
|
}
|
|
1069
1061
|
|
|
1070
|
-
export class
|
|
1062
|
+
export class License {
|
|
1071
1063
|
static fromJson(jsonObject) {
|
|
1072
1064
|
if (jsonObject == null) return null
|
|
1073
|
-
const result = new
|
|
1065
|
+
const result = new License()
|
|
1074
1066
|
|
|
1075
|
-
result.
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1067
|
+
result.expiryDate = jsonObject["expiryDate"]
|
|
1068
|
+
result.countryFilter = []
|
|
1069
|
+
if (jsonObject["countryFilter"] != null)
|
|
1070
|
+
for (const i in jsonObject["countryFilter"])
|
|
1071
|
+
result.countryFilter.push(jsonObject["countryFilter"][i])
|
|
1072
|
+
result.isRfidAvailable = jsonObject["isRfidAvailable"]
|
|
1079
1073
|
|
|
1080
1074
|
return result
|
|
1081
1075
|
}
|
|
1082
1076
|
}
|
|
1083
1077
|
|
|
1084
|
-
export class
|
|
1078
|
+
export class DocReaderVersion {
|
|
1085
1079
|
static fromJson(jsonObject) {
|
|
1086
1080
|
if (jsonObject == null) return null
|
|
1087
|
-
const result = new
|
|
1081
|
+
const result = new DocReaderVersion()
|
|
1088
1082
|
|
|
1089
|
-
result.
|
|
1090
|
-
result.
|
|
1091
|
-
result.
|
|
1092
|
-
result.
|
|
1093
|
-
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1083
|
+
result.api = jsonObject["api"]
|
|
1084
|
+
result.core = jsonObject["core"]
|
|
1085
|
+
result.coreMode = jsonObject["coreMode"]
|
|
1086
|
+
result.database = DocReaderDocumentsDatabase.fromJson(jsonObject["database"])
|
|
1094
1087
|
|
|
1095
1088
|
return result
|
|
1096
1089
|
}
|
|
1097
1090
|
}
|
|
1098
1091
|
|
|
1099
|
-
export class
|
|
1092
|
+
export class TransactionInfo {
|
|
1100
1093
|
static fromJson(jsonObject) {
|
|
1101
1094
|
if (jsonObject == null) return null
|
|
1102
|
-
const result = new
|
|
1095
|
+
const result = new TransactionInfo()
|
|
1103
1096
|
|
|
1104
|
-
result.
|
|
1105
|
-
result.
|
|
1106
|
-
result.extPortrait = jsonObject["extPortrait"]
|
|
1107
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1108
|
-
result.cameraId = jsonObject["cameraId"]
|
|
1109
|
-
|
|
1110
|
-
return result
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
export class RecognizeConfig {
|
|
1115
|
-
static fromJson(jsonObject) {
|
|
1116
|
-
if (jsonObject == null) return null
|
|
1117
|
-
const result = new RecognizeConfig()
|
|
1118
|
-
|
|
1119
|
-
result.scenario = jsonObject["scenario"]
|
|
1120
|
-
result.livePortrait = jsonObject["livePortrait"]
|
|
1121
|
-
result.extPortrait = jsonObject["extPortrait"]
|
|
1122
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1123
|
-
result.image = jsonObject["image"]
|
|
1124
|
-
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1125
|
-
result.images = []
|
|
1126
|
-
if (jsonObject["images"] != null)
|
|
1127
|
-
for (const i in jsonObject["images"])
|
|
1128
|
-
result.images.push(jsonObject["images"][i])
|
|
1129
|
-
result.imageInputData = []
|
|
1130
|
-
if (jsonObject["imageInputData"] != null)
|
|
1131
|
-
for (const i in jsonObject["imageInputData"])
|
|
1132
|
-
result.imageInputData.push(ImageInputData.fromJson(jsonObject["imageInputData"][i]))
|
|
1097
|
+
result.transactionId = jsonObject["transactionId"]
|
|
1098
|
+
result.tag = jsonObject["tag"]
|
|
1133
1099
|
|
|
1134
1100
|
return result
|
|
1135
1101
|
}
|
|
@@ -1214,15 +1180,11 @@ export class DocumentReaderResults {
|
|
|
1214
1180
|
if (jsonObject == null) return null
|
|
1215
1181
|
const result = new DocumentReaderResults()
|
|
1216
1182
|
|
|
1217
|
-
result.videoCaptureSessionId = jsonObject["videoCaptureSessionId"]
|
|
1218
1183
|
result.chipPage = jsonObject["chipPage"]
|
|
1219
|
-
result.irElapsedTime = jsonObject["irElapsedTime"]
|
|
1220
1184
|
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1221
1185
|
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1222
1186
|
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
1223
1187
|
result.morePagesAvailable = jsonObject["morePagesAvailable"]
|
|
1224
|
-
result.rfidResult = jsonObject["rfidResult"]
|
|
1225
|
-
result.highResolution = jsonObject["highResolution"]
|
|
1226
1188
|
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
1227
1189
|
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
1228
1190
|
result.documentPosition = []
|
|
@@ -1242,17 +1204,602 @@ export class DocumentReaderResults {
|
|
|
1242
1204
|
for (const i in jsonObject["imageQuality"])
|
|
1243
1205
|
result.imageQuality.push(ImageQualityGroup.fromJson(jsonObject["imageQuality"][i]))
|
|
1244
1206
|
result.rawResult = jsonObject["rawResult"]
|
|
1245
|
-
result.documentReaderNotification = DocumentReaderNotification.fromJson(jsonObject["documentReaderNotification"])
|
|
1246
1207
|
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1247
1208
|
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1248
1209
|
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1249
|
-
result.ppmIn = jsonObject["ppmIn"]
|
|
1250
1210
|
result.documentType = []
|
|
1251
1211
|
if (jsonObject["documentType"] != null)
|
|
1252
1212
|
for (const i in jsonObject["documentType"])
|
|
1253
1213
|
result.documentType.push(DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i]))
|
|
1254
1214
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1255
1215
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1216
|
+
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1217
|
+
|
|
1218
|
+
return result
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export class CameraSize {
|
|
1223
|
+
static fromJson(jsonObject) {
|
|
1224
|
+
if (jsonObject == null) return null
|
|
1225
|
+
const result = new CameraSize()
|
|
1226
|
+
|
|
1227
|
+
result.width = jsonObject["width"]
|
|
1228
|
+
result.height = jsonObject["height"]
|
|
1229
|
+
|
|
1230
|
+
return result
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
export class Functionality {
|
|
1235
|
+
static fromJson(jsonObject) {
|
|
1236
|
+
if (jsonObject == null) return null
|
|
1237
|
+
const result = new Functionality()
|
|
1238
|
+
|
|
1239
|
+
result.pictureOnBoundsReady = jsonObject["pictureOnBoundsReady"]
|
|
1240
|
+
result.showTorchButton = jsonObject["showTorchButton"]
|
|
1241
|
+
result.showCloseButton = jsonObject["showCloseButton"]
|
|
1242
|
+
result.videoCaptureMotionControl = jsonObject["videoCaptureMotionControl"]
|
|
1243
|
+
result.showCaptureButton = jsonObject["showCaptureButton"]
|
|
1244
|
+
result.showChangeFrameButton = jsonObject["showChangeFrameButton"]
|
|
1245
|
+
result.showSkipNextPageButton = jsonObject["showSkipNextPageButton"]
|
|
1246
|
+
result.useAuthenticator = jsonObject["useAuthenticator"]
|
|
1247
|
+
result.skipFocusingFrames = jsonObject["skipFocusingFrames"]
|
|
1248
|
+
result.showCameraSwitchButton = jsonObject["showCameraSwitchButton"]
|
|
1249
|
+
result.displayMetadata = jsonObject["displayMetadata"]
|
|
1250
|
+
result.isZoomEnabled = jsonObject["isZoomEnabled"]
|
|
1251
|
+
result.isCameraTorchCheckDisabled = jsonObject["isCameraTorchCheckDisabled"]
|
|
1252
|
+
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1253
|
+
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1254
|
+
result.singleResult = jsonObject["singleResult"]
|
|
1255
|
+
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1256
|
+
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1257
|
+
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
1258
|
+
result.forcePagesCount = jsonObject["forcePagesCount"]
|
|
1259
|
+
result.orientation = jsonObject["orientation"]
|
|
1260
|
+
result.captureMode = jsonObject["captureMode"]
|
|
1261
|
+
result.cameraMode = jsonObject["cameraMode"]
|
|
1262
|
+
result.cameraPositionIOS = jsonObject["cameraPositionIOS"]
|
|
1263
|
+
result.cameraFrame = jsonObject["cameraFrame"]
|
|
1264
|
+
result.btDeviceName = jsonObject["btDeviceName"]
|
|
1265
|
+
result.zoomFactor = jsonObject["zoomFactor"]
|
|
1266
|
+
result.exposure = jsonObject["exposure"]
|
|
1267
|
+
result.excludedCamera2Models = []
|
|
1268
|
+
if (jsonObject["excludedCamera2Models"] != null)
|
|
1269
|
+
for (const i in jsonObject["excludedCamera2Models"])
|
|
1270
|
+
result.excludedCamera2Models.push(jsonObject["excludedCamera2Models"][i])
|
|
1271
|
+
result.cameraSize = CameraSize.fromJson(jsonObject["cameraSize"])
|
|
1272
|
+
result.videoSessionPreset = jsonObject["videoSessionPreset"]
|
|
1273
|
+
|
|
1274
|
+
return result
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
export class GlaresCheckParams {
|
|
1279
|
+
static fromJson(jsonObject) {
|
|
1280
|
+
if (jsonObject == null) return null
|
|
1281
|
+
const result = new GlaresCheckParams()
|
|
1282
|
+
|
|
1283
|
+
result.imgMarginPart = jsonObject["imgMarginPart"]
|
|
1284
|
+
result.maxGlaringPart = jsonObject["maxGlaringPart"]
|
|
1285
|
+
|
|
1286
|
+
return result
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
export class ImageQA {
|
|
1291
|
+
static fromJson(jsonObject) {
|
|
1292
|
+
if (jsonObject == null) return null
|
|
1293
|
+
const result = new ImageQA()
|
|
1294
|
+
|
|
1295
|
+
result.dpiThreshold = jsonObject["dpiThreshold"]
|
|
1296
|
+
result.angleThreshold = jsonObject["angleThreshold"]
|
|
1297
|
+
result.focusCheck = jsonObject["focusCheck"]
|
|
1298
|
+
result.glaresCheck = jsonObject["glaresCheck"]
|
|
1299
|
+
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1300
|
+
result.colornessCheck = jsonObject["colornessCheck"]
|
|
1301
|
+
result.screenCapture = jsonObject["screenCapture"]
|
|
1302
|
+
result.expectedPass = []
|
|
1303
|
+
if (jsonObject["expectedPass"] != null)
|
|
1304
|
+
for (const i in jsonObject["expectedPass"])
|
|
1305
|
+
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1306
|
+
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1307
|
+
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1308
|
+
|
|
1309
|
+
return result
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export class RFIDParams {
|
|
1314
|
+
static fromJson(jsonObject) {
|
|
1315
|
+
if (jsonObject == null) return null
|
|
1316
|
+
const result = new RFIDParams()
|
|
1317
|
+
|
|
1318
|
+
result.paIgnoreNotificationCodes = []
|
|
1319
|
+
if (jsonObject["paIgnoreNotificationCodes"] != null)
|
|
1320
|
+
for (const i in jsonObject["paIgnoreNotificationCodes"])
|
|
1321
|
+
result.paIgnoreNotificationCodes.push(jsonObject["paIgnoreNotificationCodes"][i])
|
|
1322
|
+
|
|
1323
|
+
return result
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
export class FaceApiSearchParams {
|
|
1328
|
+
static fromJson(jsonObject) {
|
|
1329
|
+
if (jsonObject == null) return null
|
|
1330
|
+
const result = new FaceApiSearchParams()
|
|
1331
|
+
|
|
1332
|
+
result.limit = jsonObject["limit"]
|
|
1333
|
+
result.threshold = jsonObject["threshold"]
|
|
1334
|
+
result.groupIds = []
|
|
1335
|
+
if (jsonObject["groupIds"] != null)
|
|
1336
|
+
for (const i in jsonObject["groupIds"])
|
|
1337
|
+
result.groupIds.push(jsonObject["groupIds"][i])
|
|
1338
|
+
|
|
1339
|
+
return result
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
export class FaceApiParams {
|
|
1344
|
+
static fromJson(jsonObject) {
|
|
1345
|
+
if (jsonObject == null) return null
|
|
1346
|
+
const result = new FaceApiParams()
|
|
1347
|
+
|
|
1348
|
+
result.url = jsonObject["url"]
|
|
1349
|
+
result.mode = jsonObject["mode"]
|
|
1350
|
+
result.threshold = jsonObject["threshold"]
|
|
1351
|
+
result.searchParams = FaceApiSearchParams.fromJson(jsonObject["searchParams"])
|
|
1352
|
+
result.serviceTimeout = jsonObject["serviceTimeout"]
|
|
1353
|
+
result.proxy = jsonObject["proxy"]
|
|
1354
|
+
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1355
|
+
result.proxyType = jsonObject["proxyType"]
|
|
1356
|
+
|
|
1357
|
+
return result
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
export class BackendProcessingConfig {
|
|
1362
|
+
static fromJson(jsonObject) {
|
|
1363
|
+
if (jsonObject == null) return null
|
|
1364
|
+
const result = new BackendProcessingConfig()
|
|
1365
|
+
|
|
1366
|
+
result.url = jsonObject["url"]
|
|
1367
|
+
result.httpHeaders = jsonObject["httpHeaders"]
|
|
1368
|
+
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1369
|
+
|
|
1370
|
+
return result
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export class LivenessParams {
|
|
1375
|
+
static fromJson(jsonObject) {
|
|
1376
|
+
if (jsonObject == null) return null
|
|
1377
|
+
const result = new LivenessParams()
|
|
1378
|
+
|
|
1379
|
+
result.checkOVI = jsonObject["checkOVI"]
|
|
1380
|
+
result.checkMLI = jsonObject["checkMLI"]
|
|
1381
|
+
result.checkHolo = jsonObject["checkHolo"]
|
|
1382
|
+
result.checkED = jsonObject["checkED"]
|
|
1383
|
+
|
|
1384
|
+
return result
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
export class AuthenticityParams {
|
|
1389
|
+
static fromJson(jsonObject) {
|
|
1390
|
+
if (jsonObject == null) return null
|
|
1391
|
+
const result = new AuthenticityParams()
|
|
1392
|
+
|
|
1393
|
+
result.useLivenessCheck = jsonObject["useLivenessCheck"]
|
|
1394
|
+
result.livenessParams = LivenessParams.fromJson(jsonObject["livenessParams"])
|
|
1395
|
+
result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]
|
|
1396
|
+
result.checkIRB900 = jsonObject["checkIRB900"]
|
|
1397
|
+
result.checkImagePatterns = jsonObject["checkImagePatterns"]
|
|
1398
|
+
result.checkFibers = jsonObject["checkFibers"]
|
|
1399
|
+
result.checkExtMRZ = jsonObject["checkExtMRZ"]
|
|
1400
|
+
result.checkExtOCR = jsonObject["checkExtOCR"]
|
|
1401
|
+
result.checkAxial = jsonObject["checkAxial"]
|
|
1402
|
+
result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]
|
|
1403
|
+
result.checkIRVisibility = jsonObject["checkIRVisibility"]
|
|
1404
|
+
result.checkIPI = jsonObject["checkIPI"]
|
|
1405
|
+
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1406
|
+
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1407
|
+
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1408
|
+
|
|
1409
|
+
return result
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export class ProcessParams {
|
|
1414
|
+
static fromJson(jsonObject) {
|
|
1415
|
+
if (jsonObject == null) return null
|
|
1416
|
+
const result = new ProcessParams()
|
|
1417
|
+
|
|
1418
|
+
result.multipageProcessing = jsonObject["multipageProcessing"]
|
|
1419
|
+
result.logs = jsonObject["logs"]
|
|
1420
|
+
result.debugSaveImages = jsonObject["debugSaveImages"]
|
|
1421
|
+
result.debugSaveLogs = jsonObject["debugSaveLogs"]
|
|
1422
|
+
result.returnUncroppedImage = jsonObject["returnUncroppedImage"]
|
|
1423
|
+
result.uvTorchEnabled = jsonObject["uvTorchEnabled"]
|
|
1424
|
+
result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"]
|
|
1425
|
+
result.disableFocusingCheck = jsonObject["disableFocusingCheck"]
|
|
1426
|
+
result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"]
|
|
1427
|
+
result.doublePageSpread = jsonObject["doublePageSpread"]
|
|
1428
|
+
result.manualCrop = jsonObject["manualCrop"]
|
|
1429
|
+
result.integralImage = jsonObject["integralImage"]
|
|
1430
|
+
result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"]
|
|
1431
|
+
result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"]
|
|
1432
|
+
result.depersonalizeLog = jsonObject["depersonalizeLog"]
|
|
1433
|
+
result.generateDoublePageSpreadImage = jsonObject["generateDoublePageSpreadImage"]
|
|
1434
|
+
result.alreadyCropped = jsonObject["alreadyCropped"]
|
|
1435
|
+
result.matchTextFieldMask = jsonObject["matchTextFieldMask"]
|
|
1436
|
+
result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"]
|
|
1437
|
+
result.noGraphics = jsonObject["noGraphics"]
|
|
1438
|
+
result.multiDocOnImage = jsonObject["multiDocOnImage"]
|
|
1439
|
+
result.forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"]
|
|
1440
|
+
result.parseBarcodes = jsonObject["parseBarcodes"]
|
|
1441
|
+
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
1442
|
+
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
1443
|
+
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
1444
|
+
result.splitNames = jsonObject["splitNames"]
|
|
1445
|
+
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1446
|
+
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1447
|
+
result.checkHologram = jsonObject["checkHologram"]
|
|
1448
|
+
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1449
|
+
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1450
|
+
result.minDPI = jsonObject["minDPI"]
|
|
1451
|
+
result.imageDpiOutMax = jsonObject["imageDpiOutMax"]
|
|
1452
|
+
result.forceDocFormat = jsonObject["forceDocFormat"]
|
|
1453
|
+
result.shiftExpiryDate = jsonObject["shiftExpiryDate"]
|
|
1454
|
+
result.minimalHolderAge = jsonObject["minimalHolderAge"]
|
|
1455
|
+
result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"]
|
|
1456
|
+
result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]
|
|
1457
|
+
result.processAuth = jsonObject["processAuth"]
|
|
1458
|
+
result.convertCase = jsonObject["convertCase"]
|
|
1459
|
+
result.measureSystem = jsonObject["measureSystem"]
|
|
1460
|
+
result.forceDocID = jsonObject["forceDocID"]
|
|
1461
|
+
result.dateFormat = jsonObject["dateFormat"]
|
|
1462
|
+
result.scenario = jsonObject["scenario"]
|
|
1463
|
+
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
1464
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1465
|
+
result.timeout = jsonObject["timeout"]
|
|
1466
|
+
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
1467
|
+
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
1468
|
+
result.documentAreaMin = jsonObject["documentAreaMin"]
|
|
1469
|
+
result.documentIDList = []
|
|
1470
|
+
if (jsonObject["documentIDList"] != null)
|
|
1471
|
+
for (const i in jsonObject["documentIDList"])
|
|
1472
|
+
result.documentIDList.push(jsonObject["documentIDList"][i])
|
|
1473
|
+
result.barcodeTypes = []
|
|
1474
|
+
if (jsonObject["barcodeTypes"] != null)
|
|
1475
|
+
for (const i in jsonObject["barcodeTypes"])
|
|
1476
|
+
result.barcodeTypes.push(jsonObject["barcodeTypes"][i])
|
|
1477
|
+
result.fieldTypesFilter = []
|
|
1478
|
+
if (jsonObject["fieldTypesFilter"] != null)
|
|
1479
|
+
for (const i in jsonObject["fieldTypesFilter"])
|
|
1480
|
+
result.fieldTypesFilter.push(jsonObject["fieldTypesFilter"][i])
|
|
1481
|
+
result.resultTypeOutput = []
|
|
1482
|
+
if (jsonObject["resultTypeOutput"] != null)
|
|
1483
|
+
for (const i in jsonObject["resultTypeOutput"])
|
|
1484
|
+
result.resultTypeOutput.push(jsonObject["resultTypeOutput"][i])
|
|
1485
|
+
result.documentGroupFilter = []
|
|
1486
|
+
if (jsonObject["documentGroupFilter"] != null)
|
|
1487
|
+
for (const i in jsonObject["documentGroupFilter"])
|
|
1488
|
+
result.documentGroupFilter.push(jsonObject["documentGroupFilter"][i])
|
|
1489
|
+
result.lcidIgnoreFilter = []
|
|
1490
|
+
if (jsonObject["lcidIgnoreFilter"] != null)
|
|
1491
|
+
for (const i in jsonObject["lcidIgnoreFilter"])
|
|
1492
|
+
result.lcidIgnoreFilter.push(jsonObject["lcidIgnoreFilter"][i])
|
|
1493
|
+
result.lcidFilter = []
|
|
1494
|
+
if (jsonObject["lcidFilter"] != null)
|
|
1495
|
+
for (const i in jsonObject["lcidFilter"])
|
|
1496
|
+
result.lcidFilter.push(jsonObject["lcidFilter"][i])
|
|
1497
|
+
result.mrzFormatsFilter = []
|
|
1498
|
+
if (jsonObject["mrzFormatsFilter"] != null)
|
|
1499
|
+
for (const i in jsonObject["mrzFormatsFilter"])
|
|
1500
|
+
result.mrzFormatsFilter.push(jsonObject["mrzFormatsFilter"][i])
|
|
1501
|
+
result.imageQA = ImageQA.fromJson(jsonObject["imageQA"])
|
|
1502
|
+
result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"])
|
|
1503
|
+
result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"])
|
|
1504
|
+
result.backendProcessingConfig = BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"])
|
|
1505
|
+
result.authenticityParams = AuthenticityParams.fromJson(jsonObject["authenticityParams"])
|
|
1506
|
+
result.customParams = jsonObject["customParams"]
|
|
1507
|
+
|
|
1508
|
+
return result
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
export class Font {
|
|
1513
|
+
static fromJson(jsonObject) {
|
|
1514
|
+
if (jsonObject == null) return null
|
|
1515
|
+
const result = new Font()
|
|
1516
|
+
|
|
1517
|
+
result.name = jsonObject["name"]
|
|
1518
|
+
result.size = jsonObject["size"]
|
|
1519
|
+
result.style = jsonObject["style"]
|
|
1520
|
+
|
|
1521
|
+
return result
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
export class CustomizationColors {
|
|
1526
|
+
static fromJson(jsonObject) {
|
|
1527
|
+
if (jsonObject == null) return null
|
|
1528
|
+
const result = new CustomizationColors()
|
|
1529
|
+
|
|
1530
|
+
result.rfidProcessingScreenBackground = jsonObject["rfidProcessingScreenBackground"]
|
|
1531
|
+
result.rfidProcessingScreenHintLabelText = jsonObject["rfidProcessingScreenHintLabelText"]
|
|
1532
|
+
result.rfidProcessingScreenHintLabelBackground = jsonObject["rfidProcessingScreenHintLabelBackground"]
|
|
1533
|
+
result.rfidProcessingScreenProgressLabelText = jsonObject["rfidProcessingScreenProgressLabelText"]
|
|
1534
|
+
result.rfidProcessingScreenProgressBar = jsonObject["rfidProcessingScreenProgressBar"]
|
|
1535
|
+
result.rfidProcessingScreenProgressBarBackground = jsonObject["rfidProcessingScreenProgressBarBackground"]
|
|
1536
|
+
result.rfidProcessingScreenResultLabelText = jsonObject["rfidProcessingScreenResultLabelText"]
|
|
1537
|
+
|
|
1538
|
+
return result
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
export class CustomizationFonts {
|
|
1543
|
+
static fromJson(jsonObject) {
|
|
1544
|
+
if (jsonObject == null) return null
|
|
1545
|
+
const result = new CustomizationFonts()
|
|
1546
|
+
|
|
1547
|
+
result.rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"])
|
|
1548
|
+
result.rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"])
|
|
1549
|
+
result.rfidProcessingScreenResultLabel = Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"])
|
|
1550
|
+
|
|
1551
|
+
return result
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export class CustomizationImages {
|
|
1556
|
+
static fromJson(jsonObject) {
|
|
1557
|
+
if (jsonObject == null) return null
|
|
1558
|
+
const result = new CustomizationImages()
|
|
1559
|
+
|
|
1560
|
+
result.rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"]
|
|
1561
|
+
|
|
1562
|
+
return result
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export class Customization {
|
|
1567
|
+
static fromJson(jsonObject) {
|
|
1568
|
+
if (jsonObject == null) return null
|
|
1569
|
+
const result = new Customization()
|
|
1570
|
+
|
|
1571
|
+
result.showStatusMessages = jsonObject["showStatusMessages"]
|
|
1572
|
+
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
|
|
1573
|
+
result.showHelpAnimation = jsonObject["showHelpAnimation"]
|
|
1574
|
+
result.showNextPageAnimation = jsonObject["showNextPageAnimation"]
|
|
1575
|
+
result.showBackgroundMask = jsonObject["showBackgroundMask"]
|
|
1576
|
+
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
1577
|
+
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
1578
|
+
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
1579
|
+
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
1580
|
+
result.status = jsonObject["status"]
|
|
1581
|
+
result.resultStatus = jsonObject["resultStatus"]
|
|
1582
|
+
result.cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"]
|
|
1583
|
+
result.cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"]
|
|
1584
|
+
result.statusTextColor = jsonObject["statusTextColor"]
|
|
1585
|
+
result.resultStatusTextColor = jsonObject["resultStatusTextColor"]
|
|
1586
|
+
result.resultStatusBackgroundColor = jsonObject["resultStatusBackgroundColor"]
|
|
1587
|
+
result.multipageButtonBackgroundColor = jsonObject["multipageButtonBackgroundColor"]
|
|
1588
|
+
result.tintColor = jsonObject["tintColor"]
|
|
1589
|
+
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
1590
|
+
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
1591
|
+
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
1592
|
+
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
1593
|
+
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
1594
|
+
result.toolbarSize = jsonObject["toolbarSize"]
|
|
1595
|
+
result.backgroundMaskAlpha = jsonObject["backgroundMaskAlpha"]
|
|
1596
|
+
result.customStatusPositionMultiplier = jsonObject["customStatusPositionMultiplier"]
|
|
1597
|
+
result.livenessAnimationPositionMultiplier = jsonObject["livenessAnimationPositionMultiplier"]
|
|
1598
|
+
result.cameraFrameVerticalPositionMultiplier = jsonObject["cameraFrameVerticalPositionMultiplier"]
|
|
1599
|
+
result.cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"]
|
|
1600
|
+
result.cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"]
|
|
1601
|
+
result.cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"]
|
|
1602
|
+
result.multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"]
|
|
1603
|
+
result.multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"]
|
|
1604
|
+
result.borderBackgroundImage = jsonObject["borderBackgroundImage"]
|
|
1605
|
+
result.helpAnimationImage = jsonObject["helpAnimationImage"]
|
|
1606
|
+
result.closeButtonImage = jsonObject["closeButtonImage"]
|
|
1607
|
+
result.captureButtonImage = jsonObject["captureButtonImage"]
|
|
1608
|
+
result.cameraSwitchButtonImage = jsonObject["cameraSwitchButtonImage"]
|
|
1609
|
+
result.torchButtonOnImage = jsonObject["torchButtonOnImage"]
|
|
1610
|
+
result.torchButtonOffImage = jsonObject["torchButtonOffImage"]
|
|
1611
|
+
result.changeFrameButtonExpandImage = jsonObject["changeFrameButtonExpandImage"]
|
|
1612
|
+
result.changeFrameButtonCollapseImage = jsonObject["changeFrameButtonCollapseImage"]
|
|
1613
|
+
result.livenessAnimationImage = jsonObject["livenessAnimationImage"]
|
|
1614
|
+
result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"])
|
|
1615
|
+
result.resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"])
|
|
1616
|
+
result.customLabelStatus = jsonObject["customLabelStatus"]
|
|
1617
|
+
result.cameraFrameLineCap = jsonObject["cameraFrameLineCap"]
|
|
1618
|
+
result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]
|
|
1619
|
+
result.helpAnimationImageContentMode = jsonObject["helpAnimationImageContentMode"]
|
|
1620
|
+
result.multipageAnimationFrontImageContentMode = jsonObject["multipageAnimationFrontImageContentMode"]
|
|
1621
|
+
result.multipageAnimationBackImageContentMode = jsonObject["multipageAnimationBackImageContentMode"]
|
|
1622
|
+
result.livenessAnimationImageContentMode = jsonObject["livenessAnimationImageContentMode"]
|
|
1623
|
+
result.borderBackgroundImageContentMode = jsonObject["borderBackgroundImageContentMode"]
|
|
1624
|
+
result.helpAnimationImageMatrix = []
|
|
1625
|
+
if (jsonObject["helpAnimationImageMatrix"] != null)
|
|
1626
|
+
for (const i in jsonObject["helpAnimationImageMatrix"])
|
|
1627
|
+
result.helpAnimationImageMatrix.push(jsonObject["helpAnimationImageMatrix"][i])
|
|
1628
|
+
result.multipageAnimationFrontImageMatrix = []
|
|
1629
|
+
if (jsonObject["multipageAnimationFrontImageMatrix"] != null)
|
|
1630
|
+
for (const i in jsonObject["multipageAnimationFrontImageMatrix"])
|
|
1631
|
+
result.multipageAnimationFrontImageMatrix.push(jsonObject["multipageAnimationFrontImageMatrix"][i])
|
|
1632
|
+
result.multipageAnimationBackImageMatrix = []
|
|
1633
|
+
if (jsonObject["multipageAnimationBackImageMatrix"] != null)
|
|
1634
|
+
for (const i in jsonObject["multipageAnimationBackImageMatrix"])
|
|
1635
|
+
result.multipageAnimationBackImageMatrix.push(jsonObject["multipageAnimationBackImageMatrix"][i])
|
|
1636
|
+
result.livenessAnimationImageMatrix = []
|
|
1637
|
+
if (jsonObject["livenessAnimationImageMatrix"] != null)
|
|
1638
|
+
for (const i in jsonObject["livenessAnimationImageMatrix"])
|
|
1639
|
+
result.livenessAnimationImageMatrix.push(jsonObject["livenessAnimationImageMatrix"][i])
|
|
1640
|
+
result.borderBackgroundImageMatrix = []
|
|
1641
|
+
if (jsonObject["borderBackgroundImageMatrix"] != null)
|
|
1642
|
+
for (const i in jsonObject["borderBackgroundImageMatrix"])
|
|
1643
|
+
result.borderBackgroundImageMatrix.push(jsonObject["borderBackgroundImageMatrix"][i])
|
|
1644
|
+
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
1645
|
+
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
1646
|
+
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
1647
|
+
|
|
1648
|
+
return result
|
|
1649
|
+
}
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export class EDLDataGroups {
|
|
1653
|
+
static fromJson(jsonObject) {
|
|
1654
|
+
if (jsonObject == null) return null
|
|
1655
|
+
const result = new EDLDataGroups()
|
|
1656
|
+
|
|
1657
|
+
result.DG1 = jsonObject["DG1"]
|
|
1658
|
+
result.DG2 = jsonObject["DG2"]
|
|
1659
|
+
result.DG3 = jsonObject["DG3"]
|
|
1660
|
+
result.DG4 = jsonObject["DG4"]
|
|
1661
|
+
result.DG5 = jsonObject["DG5"]
|
|
1662
|
+
result.DG6 = jsonObject["DG6"]
|
|
1663
|
+
result.DG7 = jsonObject["DG7"]
|
|
1664
|
+
result.DG8 = jsonObject["DG8"]
|
|
1665
|
+
result.DG9 = jsonObject["DG9"]
|
|
1666
|
+
result.DG10 = jsonObject["DG10"]
|
|
1667
|
+
result.DG11 = jsonObject["DG11"]
|
|
1668
|
+
result.DG12 = jsonObject["DG12"]
|
|
1669
|
+
result.DG13 = jsonObject["DG13"]
|
|
1670
|
+
result.DG14 = jsonObject["DG14"]
|
|
1671
|
+
|
|
1672
|
+
return result
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
export class EPassportDataGroups {
|
|
1677
|
+
static fromJson(jsonObject) {
|
|
1678
|
+
if (jsonObject == null) return null
|
|
1679
|
+
const result = new EPassportDataGroups()
|
|
1680
|
+
|
|
1681
|
+
result.DG1 = jsonObject["DG1"]
|
|
1682
|
+
result.DG2 = jsonObject["DG2"]
|
|
1683
|
+
result.DG3 = jsonObject["DG3"]
|
|
1684
|
+
result.DG4 = jsonObject["DG4"]
|
|
1685
|
+
result.DG5 = jsonObject["DG5"]
|
|
1686
|
+
result.DG6 = jsonObject["DG6"]
|
|
1687
|
+
result.DG7 = jsonObject["DG7"]
|
|
1688
|
+
result.DG8 = jsonObject["DG8"]
|
|
1689
|
+
result.DG9 = jsonObject["DG9"]
|
|
1690
|
+
result.DG10 = jsonObject["DG10"]
|
|
1691
|
+
result.DG11 = jsonObject["DG11"]
|
|
1692
|
+
result.DG12 = jsonObject["DG12"]
|
|
1693
|
+
result.DG13 = jsonObject["DG13"]
|
|
1694
|
+
result.DG14 = jsonObject["DG14"]
|
|
1695
|
+
result.DG15 = jsonObject["DG15"]
|
|
1696
|
+
result.DG16 = jsonObject["DG16"]
|
|
1697
|
+
|
|
1698
|
+
return result
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
export class EIDDataGroups {
|
|
1703
|
+
static fromJson(jsonObject) {
|
|
1704
|
+
if (jsonObject == null) return null
|
|
1705
|
+
const result = new EIDDataGroups()
|
|
1706
|
+
|
|
1707
|
+
result.DG1 = jsonObject["DG1"]
|
|
1708
|
+
result.DG2 = jsonObject["DG2"]
|
|
1709
|
+
result.DG3 = jsonObject["DG3"]
|
|
1710
|
+
result.DG4 = jsonObject["DG4"]
|
|
1711
|
+
result.DG5 = jsonObject["DG5"]
|
|
1712
|
+
result.DG6 = jsonObject["DG6"]
|
|
1713
|
+
result.DG7 = jsonObject["DG7"]
|
|
1714
|
+
result.DG8 = jsonObject["DG8"]
|
|
1715
|
+
result.DG9 = jsonObject["DG9"]
|
|
1716
|
+
result.DG10 = jsonObject["DG10"]
|
|
1717
|
+
result.DG11 = jsonObject["DG11"]
|
|
1718
|
+
result.DG12 = jsonObject["DG12"]
|
|
1719
|
+
result.DG13 = jsonObject["DG13"]
|
|
1720
|
+
result.DG14 = jsonObject["DG14"]
|
|
1721
|
+
result.DG15 = jsonObject["DG15"]
|
|
1722
|
+
result.DG16 = jsonObject["DG16"]
|
|
1723
|
+
result.DG17 = jsonObject["DG17"]
|
|
1724
|
+
result.DG18 = jsonObject["DG18"]
|
|
1725
|
+
result.DG19 = jsonObject["DG19"]
|
|
1726
|
+
result.DG20 = jsonObject["DG20"]
|
|
1727
|
+
result.DG21 = jsonObject["DG21"]
|
|
1728
|
+
|
|
1729
|
+
return result
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
export class RFIDScenario {
|
|
1734
|
+
static fromJson(jsonObject) {
|
|
1735
|
+
if (jsonObject == null) return null
|
|
1736
|
+
const result = new RFIDScenario()
|
|
1737
|
+
|
|
1738
|
+
result.paceStaticBinding = jsonObject["paceStaticBinding"]
|
|
1739
|
+
result.onlineTA = jsonObject["onlineTA"]
|
|
1740
|
+
result.writeEid = jsonObject["writeEid"]
|
|
1741
|
+
result.universalAccessRights = jsonObject["universalAccessRights"]
|
|
1742
|
+
result.authorizedRestrictedIdentification = jsonObject["authorizedRestrictedIdentification"]
|
|
1743
|
+
result.auxVerificationCommunityID = jsonObject["auxVerificationCommunityID"]
|
|
1744
|
+
result.auxVerificationDateOfBirth = jsonObject["auxVerificationDateOfBirth"]
|
|
1745
|
+
result.skipAA = jsonObject["skipAA"]
|
|
1746
|
+
result.strictProcessing = jsonObject["strictProcessing"]
|
|
1747
|
+
result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"]
|
|
1748
|
+
result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"]
|
|
1749
|
+
result.trustedPKD = jsonObject["trustedPKD"]
|
|
1750
|
+
result.passiveAuth = jsonObject["passiveAuth"]
|
|
1751
|
+
result.useSFI = jsonObject["useSFI"]
|
|
1752
|
+
result.readEPassport = jsonObject["readEPassport"]
|
|
1753
|
+
result.readEID = jsonObject["readEID"]
|
|
1754
|
+
result.readEDL = jsonObject["readEDL"]
|
|
1755
|
+
result.authorizedSTSignature = jsonObject["authorizedSTSignature"]
|
|
1756
|
+
result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"]
|
|
1757
|
+
result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"]
|
|
1758
|
+
result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"]
|
|
1759
|
+
result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"]
|
|
1760
|
+
result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"]
|
|
1761
|
+
result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"]
|
|
1762
|
+
result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"]
|
|
1763
|
+
result.authorizedVerifyCommunityID = jsonObject["authorizedVerifyCommunityID"]
|
|
1764
|
+
result.authorizedPrivilegedTerminal = jsonObject["authorizedPrivilegedTerminal"]
|
|
1765
|
+
result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"]
|
|
1766
|
+
result.authorizedPINManagement = jsonObject["authorizedPINManagement"]
|
|
1767
|
+
result.authorizedInstallCert = jsonObject["authorizedInstallCert"]
|
|
1768
|
+
result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"]
|
|
1769
|
+
result.applyAmendments = jsonObject["applyAmendments"]
|
|
1770
|
+
result.autoSettings = jsonObject["autoSettings"]
|
|
1771
|
+
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
1772
|
+
result.readingBuffer = jsonObject["readingBuffer"]
|
|
1773
|
+
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
1774
|
+
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
1775
|
+
result.signManagementAction = jsonObject["signManagementAction"]
|
|
1776
|
+
result.profilerType = jsonObject["profilerType"]
|
|
1777
|
+
result.authProcType = jsonObject["authProcType"]
|
|
1778
|
+
result.baseSMProcedure = jsonObject["baseSMProcedure"]
|
|
1779
|
+
result.pacePasswordType = jsonObject["pacePasswordType"]
|
|
1780
|
+
result.terminalType = jsonObject["terminalType"]
|
|
1781
|
+
result.password = jsonObject["password"]
|
|
1782
|
+
result.pkdPA = jsonObject["pkdPA"]
|
|
1783
|
+
result.pkdEAC = jsonObject["pkdEAC"]
|
|
1784
|
+
result.mrz = jsonObject["mrz"]
|
|
1785
|
+
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
1786
|
+
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
1787
|
+
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1788
|
+
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1789
|
+
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1790
|
+
|
|
1791
|
+
return result
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
export class PrepareProgress {
|
|
1796
|
+
static fromJson(jsonObject) {
|
|
1797
|
+
if (jsonObject == null) return null
|
|
1798
|
+
const result = new PrepareProgress()
|
|
1799
|
+
|
|
1800
|
+
result.downloadedBytes = jsonObject["downloadedBytes"]
|
|
1801
|
+
result.totalBytes = jsonObject["totalBytes"]
|
|
1802
|
+
result.progress = jsonObject["progress"]
|
|
1256
1803
|
|
|
1257
1804
|
return result
|
|
1258
1805
|
}
|
|
@@ -1291,6 +1838,16 @@ export const eRPRM_Authenticity = {
|
|
|
1291
1838
|
OCR: 4194304,
|
|
1292
1839
|
}
|
|
1293
1840
|
|
|
1841
|
+
export const CustomizationColor = {
|
|
1842
|
+
RFID_PROCESSING_SCREEN_BACKGROUND: "rfidProcessingScreenBackground",
|
|
1843
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT: "rfidProcessingScreenHintLabelText",
|
|
1844
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "rfidProcessingScreenHintLabelBackground",
|
|
1845
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "rfidProcessingScreenProgressLabelText",
|
|
1846
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR: "rfidProcessingScreenProgressBar",
|
|
1847
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: "rfidProcessingScreenProgressBarBackground",
|
|
1848
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "rfidProcessingScreenResultLabelText",
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1294
1851
|
export const eRFID_ErrorCodes = {
|
|
1295
1852
|
RFID_ERROR_NO_ERROR: 0x00000001,
|
|
1296
1853
|
RFID_ERROR_ALREADY_DONE: 0x00000002,
|
|
@@ -1603,11 +2160,6 @@ export const eRPRM_ResultType = {
|
|
|
1603
2160
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
1604
2161
|
}
|
|
1605
2162
|
|
|
1606
|
-
export const CameraTypes = {
|
|
1607
|
-
FRONT: "front",
|
|
1608
|
-
BACK: "back",
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
2163
|
export const FrameShapeType = {
|
|
1612
2164
|
LINE: 0,
|
|
1613
2165
|
CORNER: 1,
|
|
@@ -1620,6 +2172,12 @@ export const eRFID_BaudRate = {
|
|
|
1620
2172
|
rfbr_848: 8,
|
|
1621
2173
|
}
|
|
1622
2174
|
|
|
2175
|
+
export const LineCap = {
|
|
2176
|
+
BUTT: 0,
|
|
2177
|
+
ROUND: 1,
|
|
2178
|
+
SQUARE: 2,
|
|
2179
|
+
}
|
|
2180
|
+
|
|
1623
2181
|
export const eRPRM_FieldVerificationResult = {
|
|
1624
2182
|
RCF_DISABLED: 0,
|
|
1625
2183
|
RCF_VERIFIED: 1,
|
|
@@ -1650,11 +2208,13 @@ export const eProcessGLCommands = {
|
|
|
1650
2208
|
ePC_ProcMgr_ProcessImage: 12104,
|
|
1651
2209
|
ePC_ProcMgr_StartNewDocument: 12105,
|
|
1652
2210
|
ePC_ProcMgr_StartNewPage: 12106,
|
|
2211
|
+
ePC_ProcMgr_AddDataToPackage: 12121,
|
|
2212
|
+
ePC_ProcMgr_FinalizePackage: 12122,
|
|
2213
|
+
ePC_ProcMgr_CreateBackendTransaction: 12125,
|
|
1653
2214
|
ePC_ProcMgr_Unload: 12107,
|
|
1654
2215
|
ePC_ProcMgr_CheckDatabase: 12109,
|
|
1655
2216
|
ePC_ProcMgr_ComparePortraits: 12111,
|
|
1656
2217
|
ePC_RFID_SetTCCParams: 12522,
|
|
1657
|
-
ePC_RFID_SetReprocessingParams: 12523,
|
|
1658
2218
|
}
|
|
1659
2219
|
|
|
1660
2220
|
export const PKDResourceType = {
|
|
@@ -1723,6 +2283,11 @@ export const DocumentReaderErrorCodes = {
|
|
|
1723
2283
|
LICENSE_DATABASE_INCORRECT: 23,
|
|
1724
2284
|
INVALID_TCC_PARAMS: 24,
|
|
1725
2285
|
RFID_IN_PROGRESS: 25,
|
|
2286
|
+
START_BACKEND_PROCESSING: 26,
|
|
2287
|
+
ADD_DATA_TO_PACKAGE: 27,
|
|
2288
|
+
FINALIZE_FAILED: 28,
|
|
2289
|
+
CAMERA_NO_PERMISSION: 29,
|
|
2290
|
+
CAMERA_NOT_AVAILABLE: 30,
|
|
1726
2291
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
1727
2292
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
1728
2293
|
WRONG_INPUT: 400,
|
|
@@ -1742,6 +2307,7 @@ export const ScenarioIdentifier = {
|
|
|
1742
2307
|
SCENARIO_MRZ_OR_BARCODE: "MrzOrBarcode",
|
|
1743
2308
|
SCENARIO_MRZ_OR_LOCATE: "MrzOrLocate",
|
|
1744
2309
|
SCENARIO_MRZ_AND_LOCATE: "MrzAndLocate",
|
|
2310
|
+
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1745
2311
|
SCENARIO_MRZ_OR_OCR: "MrzOrOcr",
|
|
1746
2312
|
SCENARIO_MRZ_OR_BARCODE_OR_OCR: "MrzOrBarcodeOrOcr",
|
|
1747
2313
|
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: "LocateVisual_And_MrzOrOcr",
|
|
@@ -1752,7 +2318,6 @@ export const ScenarioIdentifier = {
|
|
|
1752
2318
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
1753
2319
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
1754
2320
|
SCENARIO_CAPTURE: "Capture",
|
|
1755
|
-
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1756
2321
|
}
|
|
1757
2322
|
|
|
1758
2323
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -1805,6 +2370,12 @@ export const eRFID_NotificationCodes = {
|
|
|
1805
2370
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
1806
2371
|
}
|
|
1807
2372
|
|
|
2373
|
+
export const CameraPosition = {
|
|
2374
|
+
UNSPECIFIED: 0,
|
|
2375
|
+
BACK: 1,
|
|
2376
|
+
FRONT: 2,
|
|
2377
|
+
}
|
|
2378
|
+
|
|
1808
2379
|
export const eRFID_Password_Type = {
|
|
1809
2380
|
PPT_UNKNOWN: 0,
|
|
1810
2381
|
PPT_MRZ: 1,
|
|
@@ -1815,6 +2386,23 @@ export const eRFID_Password_Type = {
|
|
|
1815
2386
|
PPT_SAI: 6,
|
|
1816
2387
|
}
|
|
1817
2388
|
|
|
2389
|
+
export const ViewContentMode = {
|
|
2390
|
+
UNKNOWN: -1,
|
|
2391
|
+
SCALE_TO_FILL: 0,
|
|
2392
|
+
SCALE_ASPECT_FIT: 1,
|
|
2393
|
+
SCALE_ASPECT_FILL: 2,
|
|
2394
|
+
REDRAW: 3,
|
|
2395
|
+
CENTER: 4,
|
|
2396
|
+
TOP: 5,
|
|
2397
|
+
BOTTOM: 6,
|
|
2398
|
+
LEFT: 7,
|
|
2399
|
+
RIGHT: 8,
|
|
2400
|
+
TOP_LEFT: 9,
|
|
2401
|
+
TOP_RIGHT: 10,
|
|
2402
|
+
BOTTOM_LEFT: 11,
|
|
2403
|
+
BOTTOM_RIGHT: 12,
|
|
2404
|
+
}
|
|
2405
|
+
|
|
1818
2406
|
export const BarcodeResult = {
|
|
1819
2407
|
NO_ERR: 0,
|
|
1820
2408
|
NULL_PTR_ERR: -6001,
|
|
@@ -1883,6 +2471,7 @@ export const eCheckDiagnose = {
|
|
|
1883
2471
|
INCORRECT_TEXT_COLOR: 26,
|
|
1884
2472
|
PHOTO_FALSE_LUMINISCENCE: 27,
|
|
1885
2473
|
TOO_MUCH_SHIFT: 28,
|
|
2474
|
+
CONTACT_CHIP_TYPE_MISMATCH: 29,
|
|
1886
2475
|
FIBERS_NOT_FOUND: 30,
|
|
1887
2476
|
TOO_MANY_OBJECTS: 31,
|
|
1888
2477
|
SPECKS_IN_UV: 33,
|
|
@@ -1968,6 +2557,12 @@ export const eCheckDiagnose = {
|
|
|
1968
2557
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
1969
2558
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
1970
2559
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
2560
|
+
ICAO_IDB_BASE_32_ERROR: 243,
|
|
2561
|
+
ICAO_IDB_ZIPPED_ERROR: 244,
|
|
2562
|
+
ICAO_IDB_MESSAGE_ZONE_EMPTY: 245,
|
|
2563
|
+
ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246,
|
|
2564
|
+
ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247,
|
|
2565
|
+
ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248,
|
|
1971
2566
|
LAST_DIAGNOSE_VALUE: 250,
|
|
1972
2567
|
}
|
|
1973
2568
|
|
|
@@ -1984,6 +2579,20 @@ export const TextProcessing = {
|
|
|
1984
2579
|
ocCapital: 3,
|
|
1985
2580
|
}
|
|
1986
2581
|
|
|
2582
|
+
export const AnimationImage = {
|
|
2583
|
+
UNKNOWN: 0,
|
|
2584
|
+
PASSPORT_SINGLE_PAGE: 1,
|
|
2585
|
+
PASSPORT_TWO_PAGES: 2,
|
|
2586
|
+
ID_FRONT: 3,
|
|
2587
|
+
ID_FRONT_MRZ: 4,
|
|
2588
|
+
ID_BACK: 5,
|
|
2589
|
+
ID_BACK_MRZ: 6,
|
|
2590
|
+
ID_BACK_BARCODE: 7,
|
|
2591
|
+
ID_BACK_BARCODE_MRZ: 8,
|
|
2592
|
+
BANK_CARD_FRONT: 9,
|
|
2593
|
+
BANK_CARD_BACK: 10,
|
|
2594
|
+
}
|
|
2595
|
+
|
|
1987
2596
|
export const ProcessingFinishedStatus = {
|
|
1988
2597
|
NOT_READY: 0,
|
|
1989
2598
|
READY: 1,
|
|
@@ -2228,6 +2837,10 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
2228
2837
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: 0x92000117,
|
|
2229
2838
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: 0x92000118,
|
|
2230
2839
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: 0x92000119,
|
|
2840
|
+
NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING: 0x90000250,
|
|
2841
|
+
NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: 0x90000251,
|
|
2842
|
+
NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: 0x00022019,
|
|
2843
|
+
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: 0x90000252,
|
|
2231
2844
|
}
|
|
2232
2845
|
|
|
2233
2846
|
export const eImageQualityCheckType = {
|
|
@@ -2240,6 +2853,7 @@ export const eImageQualityCheckType = {
|
|
|
2240
2853
|
IQC_SCREEN_CAPTURE: 6,
|
|
2241
2854
|
IQC_PORTRAIT: 7,
|
|
2242
2855
|
IQC_HANDWRITTEN: 8,
|
|
2856
|
+
IQC_BRIGHTNESS: 9,
|
|
2243
2857
|
}
|
|
2244
2858
|
|
|
2245
2859
|
export const MRZFormat = {
|
|
@@ -2321,6 +2935,12 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
2321
2935
|
SECURITY_FEATURE_TYPE_LAS_INK: 43,
|
|
2322
2936
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: 44,
|
|
2323
2937
|
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: 45,
|
|
2938
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_VS_BARCODE: 46,
|
|
2939
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47,
|
|
2940
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48,
|
|
2941
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
2942
|
+
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
2943
|
+
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
2324
2944
|
}
|
|
2325
2945
|
|
|
2326
2946
|
export const OnlineMode = {
|
|
@@ -2566,6 +3186,15 @@ export const diDocType = {
|
|
|
2566
3186
|
dtPassengerLocatorForm: 242,
|
|
2567
3187
|
}
|
|
2568
3188
|
|
|
3189
|
+
export const ButtonTag = {
|
|
3190
|
+
CLOSE: 1001,
|
|
3191
|
+
TORCH: 1002,
|
|
3192
|
+
CAPTURE: 1003,
|
|
3193
|
+
CHANGE_FRAME: 1004,
|
|
3194
|
+
SKIP: 1005,
|
|
3195
|
+
CAMERA_SWITCH: 1006,
|
|
3196
|
+
}
|
|
3197
|
+
|
|
2569
3198
|
export const HoloAnimationType = {
|
|
2570
3199
|
DocumentHoloAnimationUnknown: 0,
|
|
2571
3200
|
DocumentHoloAnimationTypeHorizontal: 1,
|
|
@@ -2584,6 +3213,12 @@ export const eRequestCommand = {
|
|
|
2584
3213
|
eReqCmd_WltToImage: 401,
|
|
2585
3214
|
}
|
|
2586
3215
|
|
|
3216
|
+
export const CustomizationFont = {
|
|
3217
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL: "rfidProcessingScreenHintLabel",
|
|
3218
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL: "rfidProcessingScreenProgressLabel",
|
|
3219
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL: "rfidProcessingScreenResultLabel",
|
|
3220
|
+
}
|
|
3221
|
+
|
|
2587
3222
|
export const ImageFormat = {
|
|
2588
3223
|
PNG: 0,
|
|
2589
3224
|
JPG: 1,
|
|
@@ -2601,6 +3236,7 @@ export const eGraphicFieldType = {
|
|
|
2601
3236
|
GF_GHOST_PORTRAIT: 210,
|
|
2602
3237
|
GF_STAMP: 211,
|
|
2603
3238
|
GF_PORTRAIT_OF_CHILD: 212,
|
|
3239
|
+
GF_CONTACT_CHIP: 213,
|
|
2604
3240
|
GF_OTHER: 250,
|
|
2605
3241
|
GF_FINGER_LEFT_THUMB: 300,
|
|
2606
3242
|
GF_FINGER_LEFT_INDEX: 301,
|
|
@@ -2615,7 +3251,23 @@ export const eGraphicFieldType = {
|
|
|
2615
3251
|
}
|
|
2616
3252
|
|
|
2617
3253
|
export const RegDeviceConfigType = {
|
|
2618
|
-
DEVICE_7310:
|
|
3254
|
+
DEVICE_7310: "DEVICE_7310",
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
export const CaptureSessionPreset = {
|
|
3258
|
+
UNKNOWN: -1,
|
|
3259
|
+
LOW: 0,
|
|
3260
|
+
MEDIUM: 1,
|
|
3261
|
+
HIGH: 2,
|
|
3262
|
+
PHOTO: 3,
|
|
3263
|
+
INPUT_PRIORITY: 4,
|
|
3264
|
+
PRESET_1280x720: 6,
|
|
3265
|
+
PRESET_1920x1080: 7,
|
|
3266
|
+
PRESET_3840x2160: 8,
|
|
3267
|
+
FRAME_960x540: 9,
|
|
3268
|
+
FRAME_1280x720: 10,
|
|
3269
|
+
PRESET_640x480: 12,
|
|
3270
|
+
PRESET_352x288: 13,
|
|
2619
3271
|
}
|
|
2620
3272
|
|
|
2621
3273
|
export const CameraMode = {
|
|
@@ -3363,6 +4015,9 @@ export const eVisualFieldType = {
|
|
|
3363
4015
|
FT_ADDRESS_COUNTY_TYPE: 678,
|
|
3364
4016
|
FT_ADDRESS_CITY_TYPE: 679,
|
|
3365
4017
|
FT_ADDRESS_BUILDING_TYPE: 680,
|
|
4018
|
+
FT_DATE_OF_RETIREMENT: 681,
|
|
4019
|
+
FT_DOCUMENT_STATUS: 682,
|
|
4020
|
+
FT_SIGNATURE: 683,
|
|
3366
4021
|
}
|
|
3367
4022
|
|
|
3368
4023
|
export const DocReaderOrientation = {
|
|
@@ -3406,7 +4061,7 @@ export const LCID = {
|
|
|
3406
4061
|
BANK_CARD_NUMBER: 10000,
|
|
3407
4062
|
BANK_CARD_VALID_THRU: 10001,
|
|
3408
4063
|
BELARUSIAN: 1059,
|
|
3409
|
-
|
|
4064
|
+
BENGALI_BANGLADESH: 2117,
|
|
3410
4065
|
BULGARIAN: 1026,
|
|
3411
4066
|
CATALAN: 1027,
|
|
3412
4067
|
CHINESE_HONGKONG_SAR: 3076,
|
|
@@ -3472,6 +4127,7 @@ export const LCID = {
|
|
|
3472
4127
|
LITHUANIAN: 1063,
|
|
3473
4128
|
MALAY_MALAYSIA: 1086,
|
|
3474
4129
|
MALAY_BRUNEI_DARUSSALAM: 2110,
|
|
4130
|
+
ASSAMESE: 1101,
|
|
3475
4131
|
MARATHI: 1102,
|
|
3476
4132
|
MONGOLIAN_CYRILIC: 1104,
|
|
3477
4133
|
NORWEGIAN_BOKMAL: 1044,
|
|
@@ -3518,6 +4174,7 @@ export const LCID = {
|
|
|
3518
4174
|
SYRIAC: 1114,
|
|
3519
4175
|
TAMIL: 1097,
|
|
3520
4176
|
TATAR: 1092,
|
|
4177
|
+
BENGALI_INDIA: 1093,
|
|
3521
4178
|
TELUGU: 1098,
|
|
3522
4179
|
THAI_THAILAND: 1054,
|
|
3523
4180
|
TURKISH: 1055,
|
|
@@ -3530,6 +4187,18 @@ export const LCID = {
|
|
|
3530
4187
|
VIETNAMESE: 1066,
|
|
3531
4188
|
CTC_SIMPLIFIED: 50001,
|
|
3532
4189
|
CTC_TRADITIONAL: 50002,
|
|
4190
|
+
MALTESE: 1082,
|
|
4191
|
+
BURMESE: 1109,
|
|
4192
|
+
KHMER: 1107,
|
|
4193
|
+
KARAKALPAK_LATIN: 10012,
|
|
4194
|
+
MALAYALAM: 1100,
|
|
4195
|
+
NEPALI: 1121,
|
|
4196
|
+
ORIYA: 1096,
|
|
4197
|
+
URDU_DETECTION: 10560,
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
export const CustomizationImage = {
|
|
4201
|
+
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
3533
4202
|
}
|
|
3534
4203
|
|
|
3535
4204
|
export const DocReaderFrame = {
|
|
@@ -3551,72 +4220,18 @@ export const eRPRM_Lights = {
|
|
|
3551
4220
|
RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
|
|
3552
4221
|
}
|
|
3553
4222
|
|
|
3554
|
-
export const LineCap = {
|
|
3555
|
-
Butt: 0,
|
|
3556
|
-
Round: 1,
|
|
3557
|
-
Square: 2,
|
|
3558
|
-
}
|
|
3559
|
-
|
|
3560
|
-
export const UIInterfaceOrientationMask = {
|
|
3561
|
-
Portrait: 0,
|
|
3562
|
-
LandscapeLeft: 1,
|
|
3563
|
-
LandscapeRight: 2,
|
|
3564
|
-
PortraitUpsideDown: 3,
|
|
3565
|
-
Landscape: 4,
|
|
3566
|
-
All: 5,
|
|
3567
|
-
AllButUpsideDown: 6,
|
|
3568
|
-
}
|
|
3569
|
-
|
|
3570
|
-
export const AVCaptureSessionPreset = {
|
|
3571
|
-
Low: 0,
|
|
3572
|
-
Medium: 1,
|
|
3573
|
-
High: 2,
|
|
3574
|
-
Photo: 3,
|
|
3575
|
-
InputPriority: 4,
|
|
3576
|
-
QHD960x540: 5,
|
|
3577
|
-
Hd1280x720: 6,
|
|
3578
|
-
Hd1920x1080: 7,
|
|
3579
|
-
Hd4K3840x2160: 8,
|
|
3580
|
-
IFrame960x540: 9,
|
|
3581
|
-
IFrame1280x720: 10,
|
|
3582
|
-
Qvga320x240: 11,
|
|
3583
|
-
Vga640x480: 12,
|
|
3584
|
-
Cif352x288: 13,
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
export const AVCaptureDevicePosition = {
|
|
3588
|
-
Front: 0,
|
|
3589
|
-
Back: 1,
|
|
3590
|
-
Unspecified: 2,
|
|
3591
|
-
}
|
|
3592
|
-
|
|
3593
|
-
export const UIViewContentMode = {
|
|
3594
|
-
ScaleToFill: 0,
|
|
3595
|
-
ScaleAspectFit: 1,
|
|
3596
|
-
ScaleAspectFill: 2,
|
|
3597
|
-
Redraw: 3,
|
|
3598
|
-
Center: 4,
|
|
3599
|
-
Top: 5,
|
|
3600
|
-
Bottom: 6,
|
|
3601
|
-
Left: 7,
|
|
3602
|
-
Right: 8,
|
|
3603
|
-
TopLeft: 9,
|
|
3604
|
-
TopRight: 10,
|
|
3605
|
-
BottomLeft: 11,
|
|
3606
|
-
BottomRight: 12,
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
4223
|
export const Enum = {
|
|
3610
4224
|
FontStyle,
|
|
3611
4225
|
eRPRM_Authenticity,
|
|
4226
|
+
CustomizationColor,
|
|
3612
4227
|
eRFID_ErrorCodes,
|
|
3613
4228
|
eLDS_ParsingErrorCodes,
|
|
3614
4229
|
eRFID_CertificateType,
|
|
3615
4230
|
RGLMeasureSystem,
|
|
3616
4231
|
eRPRM_ResultType,
|
|
3617
|
-
CameraTypes,
|
|
3618
4232
|
FrameShapeType,
|
|
3619
4233
|
eRFID_BaudRate,
|
|
4234
|
+
LineCap,
|
|
3620
4235
|
eRPRM_FieldVerificationResult,
|
|
3621
4236
|
DocReaderAction,
|
|
3622
4237
|
eProcessGLCommands,
|
|
@@ -3626,12 +4241,15 @@ export const Enum = {
|
|
|
3626
4241
|
ScenarioIdentifier,
|
|
3627
4242
|
eRFID_AccessControl_ProcedureType,
|
|
3628
4243
|
eRFID_NotificationCodes,
|
|
4244
|
+
CameraPosition,
|
|
3629
4245
|
eRFID_Password_Type,
|
|
4246
|
+
ViewContentMode,
|
|
3630
4247
|
BarcodeResult,
|
|
3631
4248
|
eSignManagementAction,
|
|
3632
4249
|
eCheckDiagnose,
|
|
3633
4250
|
RFIDDelegate,
|
|
3634
4251
|
TextProcessing,
|
|
4252
|
+
AnimationImage,
|
|
3635
4253
|
ProcessingFinishedStatus,
|
|
3636
4254
|
DocFormat,
|
|
3637
4255
|
eLDS_ParsingNotificationCodes,
|
|
@@ -3642,11 +4260,14 @@ export const Enum = {
|
|
|
3642
4260
|
OnlineMode,
|
|
3643
4261
|
eRFID_SDK_ProfilerType,
|
|
3644
4262
|
diDocType,
|
|
4263
|
+
ButtonTag,
|
|
3645
4264
|
HoloAnimationType,
|
|
3646
4265
|
eRequestCommand,
|
|
4266
|
+
CustomizationFont,
|
|
3647
4267
|
ImageFormat,
|
|
3648
4268
|
eGraphicFieldType,
|
|
3649
4269
|
RegDeviceConfigType,
|
|
4270
|
+
CaptureSessionPreset,
|
|
3650
4271
|
CameraMode,
|
|
3651
4272
|
CaptureMode,
|
|
3652
4273
|
eCheckResult,
|
|
@@ -3655,110 +4276,60 @@ export const Enum = {
|
|
|
3655
4276
|
eVisualFieldType,
|
|
3656
4277
|
DocReaderOrientation,
|
|
3657
4278
|
LCID,
|
|
4279
|
+
CustomizationImage,
|
|
3658
4280
|
DocReaderFrame,
|
|
3659
4281
|
eRPRM_Lights,
|
|
3660
|
-
LineCap,
|
|
3661
|
-
UIInterfaceOrientationMask,
|
|
3662
|
-
AVCaptureSessionPreset,
|
|
3663
|
-
AVCaptureDevicePosition,
|
|
3664
|
-
UIViewContentMode,
|
|
3665
4282
|
}
|
|
3666
4283
|
|
|
3667
4284
|
const DocumentReader = {}
|
|
3668
4285
|
|
|
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
4286
|
DocumentReader.getDocumentReaderIsReady = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderIsReady", [], successCallback, errorCallback)
|
|
3683
4287
|
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
4288
|
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
3701
|
-
DocumentReader.
|
|
4289
|
+
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isBlePermissionsGranted", [], successCallback, errorCallback)
|
|
4290
|
+
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidSessionStatus", [], successCallback, errorCallback)
|
|
4291
|
+
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidSessionStatus", [status], successCallback, errorCallback)
|
|
4292
|
+
DocumentReader.getTag = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTag", [], successCallback, errorCallback)
|
|
4293
|
+
DocumentReader.setTag = (tag, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setTag", [tag], successCallback, errorCallback)
|
|
4294
|
+
DocumentReader.getFunctionality = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getFunctionality", [], successCallback, errorCallback)
|
|
4295
|
+
DocumentReader.setFunctionality = (functionality, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setFunctionality", [functionality], successCallback, errorCallback)
|
|
4296
|
+
DocumentReader.getProcessParams = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getProcessParams", [], successCallback, errorCallback)
|
|
4297
|
+
DocumentReader.setProcessParams = (processParams, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setProcessParams", [processParams], successCallback, errorCallback)
|
|
4298
|
+
DocumentReader.getCustomization = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getCustomization", [], successCallback, errorCallback)
|
|
4299
|
+
DocumentReader.setCustomization = (customization, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setCustomization", [customization], successCallback, errorCallback)
|
|
3702
4300
|
DocumentReader.getRfidScenario = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidScenario", [], successCallback, errorCallback)
|
|
3703
|
-
DocumentReader.
|
|
3704
|
-
DocumentReader.
|
|
3705
|
-
DocumentReader.
|
|
3706
|
-
DocumentReader.
|
|
4301
|
+
DocumentReader.setRfidScenario = (rfidScenario, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidScenario", [rfidScenario], successCallback, errorCallback)
|
|
4302
|
+
DocumentReader.resetConfiguration = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "resetConfiguration", [], successCallback, errorCallback)
|
|
4303
|
+
DocumentReader.initializeReader = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReader", [config], successCallback, errorCallback)
|
|
4304
|
+
DocumentReader.initializeReaderWithBleDeviceConfig = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "initializeReaderWithBleDeviceConfig", [config], successCallback, errorCallback)
|
|
4305
|
+
DocumentReader.deinitializeReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "deinitializeReader", [], successCallback, errorCallback)
|
|
4306
|
+
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "prepareDatabase", [databaseType], successCallback, errorCallback)
|
|
3707
4307
|
DocumentReader.removeDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "removeDatabase", [], successCallback, errorCallback)
|
|
4308
|
+
DocumentReader.runAutoUpdate = (databaseId, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "runAutoUpdate", [databaseId], successCallback, errorCallback)
|
|
3708
4309
|
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
4310
|
DocumentReader.checkDatabaseUpdate = (databaseId, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "checkDatabaseUpdate", [databaseId], successCallback, errorCallback)
|
|
3719
4311
|
DocumentReader.scan = (config, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "scan", [config], successCallback, errorCallback)
|
|
3720
4312
|
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)
|
|
4313
|
+
DocumentReader.startNewPage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewPage", [], successCallback, errorCallback)
|
|
4314
|
+
DocumentReader.stopScanner = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopScanner", [], successCallback, errorCallback)
|
|
4315
|
+
DocumentReader.startRFIDReader = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startRFIDReader", [requestPACertificates, requestTACertificates, requestTASignature], successCallback, errorCallback)
|
|
4316
|
+
DocumentReader.readRFID = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "readRFID", [requestPACertificates, requestTACertificates, requestTASignature], successCallback, errorCallback)
|
|
4317
|
+
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "stopRFIDReader", [], successCallback, errorCallback)
|
|
3743
4318
|
DocumentReader.providePACertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "providePACertificates", [certificates], successCallback, errorCallback)
|
|
3744
4319
|
DocumentReader.provideTACertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "provideTACertificates", [certificates], successCallback, errorCallback)
|
|
3745
4320
|
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
4321
|
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)
|
|
4322
|
+
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
4323
|
+
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
4324
|
+
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
4325
|
+
DocumentReader.startBluetoothService = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startBluetoothService", [], successCallback, errorCallback)
|
|
4326
|
+
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLocalizationDictionary", [dictionary], successCallback, errorCallback)
|
|
4327
|
+
DocumentReader.getLicense = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getLicense", [], successCallback, errorCallback)
|
|
4328
|
+
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
|
4329
|
+
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getIsRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
4330
|
+
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderVersion", [], successCallback, errorCallback)
|
|
4331
|
+
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderDocumentsDatabase", [], successCallback, errorCallback)
|
|
4332
|
+
DocumentReader.finalizePackage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackage", [], successCallback, errorCallback)
|
|
4333
|
+
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTranslation", [className, value], successCallback, errorCallback)
|
|
3763
4334
|
|
|
3764
4335
|
export default DocumentReader
|