@regulaforensics/cordova-plugin-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 -40
- package/example/README.md +32 -0
- package/example/config.xml +5 -1
- package/example/package.json +7 -10
- package/example/www/js/index.js +85 -159
- package/package.json +1 -1
- package/plugin.xml +8 -8
- package/src/android/BluetoothUtil.kt +78 -74
- package/src/android/Config.kt +692 -0
- package/src/android/DocumentReader.kt +524 -0
- package/src/android/JSONConstructor.kt +2198 -0
- package/src/android/Utils.kt +261 -0
- package/src/android/build.gradle +3 -3
- package/src/ios/RGLWConfig.h +48 -0
- package/src/ios/RGLWConfig.m +1312 -0
- package/src/ios/RGLWDocumentReader.h +14 -11
- package/src/ios/RGLWDocumentReader.m +384 -579
- package/src/ios/RGLWJSONConstructor.h +173 -69
- package/src/ios/RGLWJSONConstructor.m +1832 -786
- package/www/DocumentReader.js +869 -278
- package/src/android/DocumentReader.java +0 -1118
- package/src/android/Helpers.java +0 -259
- package/src/android/JSONConstructor.java +0 -1119
- package/src/android/RegulaConfig.java +0 -830
- package/src/ios/RGLWRegulaConfig.h +0 -26
- package/src/ios/RGLWRegulaConfig.m +0 -1152
package/www/DocumentReader.js
CHANGED
|
@@ -38,20 +38,6 @@ class Rect {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
class DocReaderFieldRect {
|
|
42
|
-
static fromJson(jsonObject) {
|
|
43
|
-
if (jsonObject == null) return null
|
|
44
|
-
const result = new DocReaderFieldRect()
|
|
45
|
-
|
|
46
|
-
result.bottom = jsonObject["bottom"]
|
|
47
|
-
result.top = jsonObject["top"]
|
|
48
|
-
result.left = jsonObject["left"]
|
|
49
|
-
result.right = jsonObject["right"]
|
|
50
|
-
|
|
51
|
-
return result
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
41
|
class DocumentReaderGraphicField {
|
|
56
42
|
static fromJson(jsonObject) {
|
|
57
43
|
if (jsonObject == null) return null
|
|
@@ -65,7 +51,7 @@ class DocumentReaderGraphicField {
|
|
|
65
51
|
result.fieldName = jsonObject["fieldName"]
|
|
66
52
|
result.lightName = jsonObject["lightName"]
|
|
67
53
|
result.value = jsonObject["value"]
|
|
68
|
-
result.fieldRect =
|
|
54
|
+
result.fieldRect = Rect.fromJson(jsonObject["fieldRect"])
|
|
69
55
|
|
|
70
56
|
return result
|
|
71
57
|
}
|
|
@@ -92,15 +78,10 @@ class DocumentReaderValue {
|
|
|
92
78
|
|
|
93
79
|
result.pageIndex = jsonObject["pageIndex"]
|
|
94
80
|
result.sourceType = jsonObject["sourceType"]
|
|
95
|
-
result.validity = jsonObject["validity"]
|
|
96
81
|
result.probability = jsonObject["probability"]
|
|
97
82
|
result.value = jsonObject["value"]
|
|
98
83
|
result.originalValue = jsonObject["originalValue"]
|
|
99
84
|
result.boundRect = Rect.fromJson(jsonObject["boundRect"])
|
|
100
|
-
result.comparison = {}
|
|
101
|
-
if (jsonObject["comparison"] != null)
|
|
102
|
-
for (const i in jsonObject["comparison"])
|
|
103
|
-
result.comparison[i] = jsonObject["comparison"][i]
|
|
104
85
|
result.originalSymbols = []
|
|
105
86
|
if (jsonObject["originalSymbols"] != null)
|
|
106
87
|
for (const i in jsonObject["originalSymbols"])
|
|
@@ -209,6 +190,10 @@ class ImageQuality {
|
|
|
209
190
|
result.featureType = jsonObject["featureType"]
|
|
210
191
|
result.result = jsonObject["result"]
|
|
211
192
|
result.type = jsonObject["type"]
|
|
193
|
+
result.boundRects = []
|
|
194
|
+
if (jsonObject["boundRects"] != null)
|
|
195
|
+
for (const i in jsonObject["boundRects"])
|
|
196
|
+
result.boundRects.push(Rect.fromJson(jsonObject["boundRects"][i]))
|
|
212
197
|
|
|
213
198
|
return result
|
|
214
199
|
}
|
|
@@ -330,6 +315,7 @@ class File {
|
|
|
330
315
|
|
|
331
316
|
result.readingTime = jsonObject["readingTime"]
|
|
332
317
|
result.type = jsonObject["type"]
|
|
318
|
+
result.typeName = jsonObject["typeName"]
|
|
333
319
|
result.pAStatus = jsonObject["pAStatus"]
|
|
334
320
|
result.readingStatus = jsonObject["readingStatus"]
|
|
335
321
|
result.fileID = jsonObject["fileID"]
|
|
@@ -650,10 +636,7 @@ class DocumentReaderBarcodeField {
|
|
|
650
636
|
result.status = jsonObject["status"]
|
|
651
637
|
result.pageIndex = jsonObject["pageIndex"]
|
|
652
638
|
result.pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"])
|
|
653
|
-
result.data = []
|
|
654
|
-
if (jsonObject["data"] != null)
|
|
655
|
-
for (const i in jsonObject["data"])
|
|
656
|
-
result.data.push(jsonObject["data"][i])
|
|
639
|
+
result.data = jsonObject["data"]
|
|
657
640
|
|
|
658
641
|
return result
|
|
659
642
|
}
|
|
@@ -739,6 +722,21 @@ class PKDCertificate {
|
|
|
739
722
|
}
|
|
740
723
|
}
|
|
741
724
|
|
|
725
|
+
class TccParams {
|
|
726
|
+
static fromJson(jsonObject) {
|
|
727
|
+
if (jsonObject == null) return null
|
|
728
|
+
const result = new TccParams()
|
|
729
|
+
|
|
730
|
+
result.serviceUrlTA = jsonObject["serviceUrlTA"]
|
|
731
|
+
result.serviceUrlPA = jsonObject["serviceUrlPA"]
|
|
732
|
+
result.pfxCertUrl = jsonObject["pfxCertUrl"]
|
|
733
|
+
result.pfxPassPhrase = jsonObject["pfxPassPhrase"]
|
|
734
|
+
result.pfxCert = jsonObject["pfxCert"]
|
|
735
|
+
|
|
736
|
+
return result
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
742
740
|
class ImageInputParam {
|
|
743
741
|
static fromJson(jsonObject) {
|
|
744
742
|
if (jsonObject == null) return null
|
|
@@ -759,10 +757,7 @@ class PAResourcesIssuer {
|
|
|
759
757
|
if (jsonObject == null) return null
|
|
760
758
|
const result = new PAResourcesIssuer()
|
|
761
759
|
|
|
762
|
-
result.data = []
|
|
763
|
-
if (jsonObject["data"] != null)
|
|
764
|
-
for (const i in jsonObject["data"])
|
|
765
|
-
result.data.push(jsonObject["data"][i])
|
|
760
|
+
result.data = jsonObject["data"]
|
|
766
761
|
result.friendlyName = jsonObject["friendlyName"]
|
|
767
762
|
result.attributes = []
|
|
768
763
|
if (jsonObject["attributes"] != null)
|
|
@@ -790,10 +785,7 @@ class TAChallenge {
|
|
|
790
785
|
if (jsonObject == null) return null
|
|
791
786
|
const result = new TAChallenge()
|
|
792
787
|
|
|
793
|
-
result.data = []
|
|
794
|
-
if (jsonObject["data"] != null)
|
|
795
|
-
for (const i in jsonObject["data"])
|
|
796
|
-
result.data.push(jsonObject["data"][i])
|
|
788
|
+
result.data = jsonObject["data"]
|
|
797
789
|
result.auxPCD = jsonObject["auxPCD"]
|
|
798
790
|
result.challengePICC = jsonObject["challengePICC"]
|
|
799
791
|
result.hashPK = jsonObject["hashPK"]
|
|
@@ -906,10 +898,7 @@ class ImageInputData {
|
|
|
906
898
|
result.width = jsonObject["width"]
|
|
907
899
|
result.height = jsonObject["height"]
|
|
908
900
|
result.bitmap = jsonObject["bitmap"]
|
|
909
|
-
result.imgBytes = []
|
|
910
|
-
if (jsonObject["imgBytes"] != null)
|
|
911
|
-
for (const i in jsonObject["imgBytes"])
|
|
912
|
-
result.imgBytes.push(jsonObject["imgBytes"][i])
|
|
901
|
+
result.imgBytes = jsonObject["imgBytes"]
|
|
913
902
|
|
|
914
903
|
return result
|
|
915
904
|
}
|
|
@@ -997,137 +986,114 @@ class DocumentReaderValidity {
|
|
|
997
986
|
}
|
|
998
987
|
}
|
|
999
988
|
|
|
1000
|
-
class
|
|
989
|
+
class OnlineProcessingConfig {
|
|
1001
990
|
static fromJson(jsonObject) {
|
|
1002
991
|
if (jsonObject == null) return null
|
|
1003
|
-
const result = new
|
|
992
|
+
const result = new OnlineProcessingConfig()
|
|
1004
993
|
|
|
1005
|
-
result.url = jsonObject["url"]
|
|
1006
994
|
result.mode = jsonObject["mode"]
|
|
1007
|
-
result.
|
|
1008
|
-
result.
|
|
1009
|
-
result.
|
|
1010
|
-
result.
|
|
1011
|
-
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1012
|
-
result.proxyType = jsonObject["proxyType"]
|
|
995
|
+
result.url = jsonObject["url"]
|
|
996
|
+
result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
|
|
997
|
+
result.imageFormat = jsonObject["imageFormat"]
|
|
998
|
+
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1013
999
|
|
|
1014
1000
|
return result
|
|
1015
1001
|
}
|
|
1016
1002
|
}
|
|
1017
1003
|
|
|
1018
|
-
class
|
|
1004
|
+
class DocReaderConfig {
|
|
1019
1005
|
static fromJson(jsonObject) {
|
|
1020
1006
|
if (jsonObject == null) return null
|
|
1021
|
-
const result = new
|
|
1007
|
+
const result = new DocReaderConfig()
|
|
1022
1008
|
|
|
1023
|
-
result.
|
|
1024
|
-
result.
|
|
1025
|
-
result.
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1009
|
+
result.license = jsonObject["license"]
|
|
1010
|
+
result.customDb = jsonObject["customDb"]
|
|
1011
|
+
result.databasePath = jsonObject["databasePath"]
|
|
1012
|
+
result.licenseUpdate = jsonObject["licenseUpdate"]
|
|
1013
|
+
result.delayedNNLoad = jsonObject["delayedNNLoad"]
|
|
1014
|
+
result.blackList = jsonObject["blackList"]
|
|
1029
1015
|
|
|
1030
1016
|
return result
|
|
1031
1017
|
}
|
|
1032
1018
|
}
|
|
1033
1019
|
|
|
1034
|
-
class
|
|
1020
|
+
class ScannerConfig {
|
|
1035
1021
|
static fromJson(jsonObject) {
|
|
1036
1022
|
if (jsonObject == null) return null
|
|
1037
|
-
const result = new
|
|
1023
|
+
const result = new ScannerConfig()
|
|
1038
1024
|
|
|
1039
|
-
result.
|
|
1040
|
-
result.
|
|
1041
|
-
result.
|
|
1042
|
-
result.
|
|
1043
|
-
result.
|
|
1044
|
-
result.moireCheck = jsonObject["moireCheck"]
|
|
1045
|
-
result.expectedPass = []
|
|
1046
|
-
if (jsonObject["expectedPass"] != null)
|
|
1047
|
-
for (const i in jsonObject["expectedPass"])
|
|
1048
|
-
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1049
|
-
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1050
|
-
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1025
|
+
result.scenario = jsonObject["scenario"]
|
|
1026
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1027
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1028
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1029
|
+
result.cameraId = jsonObject["cameraId"]
|
|
1051
1030
|
|
|
1052
1031
|
return result
|
|
1053
1032
|
}
|
|
1054
1033
|
}
|
|
1055
1034
|
|
|
1056
|
-
class
|
|
1035
|
+
class RecognizeConfig {
|
|
1057
1036
|
static fromJson(jsonObject) {
|
|
1058
1037
|
if (jsonObject == null) return null
|
|
1059
|
-
const result = new
|
|
1038
|
+
const result = new RecognizeConfig()
|
|
1060
1039
|
|
|
1061
|
-
result.
|
|
1062
|
-
result.
|
|
1040
|
+
result.scenario = jsonObject["scenario"]
|
|
1041
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1042
|
+
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1043
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1044
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1045
|
+
result.image = jsonObject["image"]
|
|
1046
|
+
result.data = jsonObject["data"]
|
|
1047
|
+
result.images = []
|
|
1048
|
+
if (jsonObject["images"] != null)
|
|
1049
|
+
for (const i in jsonObject["images"])
|
|
1050
|
+
result.images.push(jsonObject["images"][i])
|
|
1051
|
+
result.imageInputData = []
|
|
1052
|
+
if (jsonObject["imageInputData"] != null)
|
|
1053
|
+
for (const i in jsonObject["imageInputData"])
|
|
1054
|
+
result.imageInputData.push(ImageInputData.fromJson(jsonObject["imageInputData"][i]))
|
|
1063
1055
|
|
|
1064
1056
|
return result
|
|
1065
1057
|
}
|
|
1066
1058
|
}
|
|
1067
1059
|
|
|
1068
|
-
class
|
|
1060
|
+
class License {
|
|
1069
1061
|
static fromJson(jsonObject) {
|
|
1070
1062
|
if (jsonObject == null) return null
|
|
1071
|
-
const result = new
|
|
1063
|
+
const result = new License()
|
|
1072
1064
|
|
|
1073
|
-
result.
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1065
|
+
result.expiryDate = jsonObject["expiryDate"]
|
|
1066
|
+
result.countryFilter = []
|
|
1067
|
+
if (jsonObject["countryFilter"] != null)
|
|
1068
|
+
for (const i in jsonObject["countryFilter"])
|
|
1069
|
+
result.countryFilter.push(jsonObject["countryFilter"][i])
|
|
1070
|
+
result.isRfidAvailable = jsonObject["isRfidAvailable"]
|
|
1077
1071
|
|
|
1078
1072
|
return result
|
|
1079
1073
|
}
|
|
1080
1074
|
}
|
|
1081
1075
|
|
|
1082
|
-
class
|
|
1076
|
+
class DocReaderVersion {
|
|
1083
1077
|
static fromJson(jsonObject) {
|
|
1084
1078
|
if (jsonObject == null) return null
|
|
1085
|
-
const result = new
|
|
1079
|
+
const result = new DocReaderVersion()
|
|
1086
1080
|
|
|
1087
|
-
result.
|
|
1088
|
-
result.
|
|
1089
|
-
result.
|
|
1090
|
-
result.
|
|
1091
|
-
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1081
|
+
result.api = jsonObject["api"]
|
|
1082
|
+
result.core = jsonObject["core"]
|
|
1083
|
+
result.coreMode = jsonObject["coreMode"]
|
|
1084
|
+
result.database = DocReaderDocumentsDatabase.fromJson(jsonObject["database"])
|
|
1092
1085
|
|
|
1093
1086
|
return result
|
|
1094
1087
|
}
|
|
1095
1088
|
}
|
|
1096
1089
|
|
|
1097
|
-
class
|
|
1090
|
+
class TransactionInfo {
|
|
1098
1091
|
static fromJson(jsonObject) {
|
|
1099
1092
|
if (jsonObject == null) return null
|
|
1100
|
-
const result = new
|
|
1093
|
+
const result = new TransactionInfo()
|
|
1101
1094
|
|
|
1102
|
-
result.
|
|
1103
|
-
result.
|
|
1104
|
-
result.extPortrait = jsonObject["extPortrait"]
|
|
1105
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1106
|
-
result.cameraId = jsonObject["cameraId"]
|
|
1107
|
-
|
|
1108
|
-
return result
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
class RecognizeConfig {
|
|
1113
|
-
static fromJson(jsonObject) {
|
|
1114
|
-
if (jsonObject == null) return null
|
|
1115
|
-
const result = new RecognizeConfig()
|
|
1116
|
-
|
|
1117
|
-
result.scenario = jsonObject["scenario"]
|
|
1118
|
-
result.livePortrait = jsonObject["livePortrait"]
|
|
1119
|
-
result.extPortrait = jsonObject["extPortrait"]
|
|
1120
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1121
|
-
result.image = jsonObject["image"]
|
|
1122
|
-
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1123
|
-
result.images = []
|
|
1124
|
-
if (jsonObject["images"] != null)
|
|
1125
|
-
for (const i in jsonObject["images"])
|
|
1126
|
-
result.images.push(jsonObject["images"][i])
|
|
1127
|
-
result.imageInputData = []
|
|
1128
|
-
if (jsonObject["imageInputData"] != null)
|
|
1129
|
-
for (const i in jsonObject["imageInputData"])
|
|
1130
|
-
result.imageInputData.push(ImageInputData.fromJson(jsonObject["imageInputData"][i]))
|
|
1095
|
+
result.transactionId = jsonObject["transactionId"]
|
|
1096
|
+
result.tag = jsonObject["tag"]
|
|
1131
1097
|
|
|
1132
1098
|
return result
|
|
1133
1099
|
}
|
|
@@ -1139,15 +1105,11 @@ class DocumentReaderResults {
|
|
|
1139
1105
|
if (jsonObject == null) return null
|
|
1140
1106
|
const result = new DocumentReaderResults()
|
|
1141
1107
|
|
|
1142
|
-
result.videoCaptureSessionId = jsonObject["videoCaptureSessionId"]
|
|
1143
1108
|
result.chipPage = jsonObject["chipPage"]
|
|
1144
|
-
result.irElapsedTime = jsonObject["irElapsedTime"]
|
|
1145
1109
|
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1146
1110
|
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1147
1111
|
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
1148
1112
|
result.morePagesAvailable = jsonObject["morePagesAvailable"]
|
|
1149
|
-
result.rfidResult = jsonObject["rfidResult"]
|
|
1150
|
-
result.highResolution = jsonObject["highResolution"]
|
|
1151
1113
|
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
1152
1114
|
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
1153
1115
|
result.documentPosition = []
|
|
@@ -1167,17 +1129,602 @@ class DocumentReaderResults {
|
|
|
1167
1129
|
for (const i in jsonObject["imageQuality"])
|
|
1168
1130
|
result.imageQuality.push(ImageQualityGroup.fromJson(jsonObject["imageQuality"][i]))
|
|
1169
1131
|
result.rawResult = jsonObject["rawResult"]
|
|
1170
|
-
result.documentReaderNotification = DocumentReaderNotification.fromJson(jsonObject["documentReaderNotification"])
|
|
1171
1132
|
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1172
1133
|
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1173
1134
|
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1174
|
-
result.ppmIn = jsonObject["ppmIn"]
|
|
1175
1135
|
result.documentType = []
|
|
1176
1136
|
if (jsonObject["documentType"] != null)
|
|
1177
1137
|
for (const i in jsonObject["documentType"])
|
|
1178
1138
|
result.documentType.push(DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i]))
|
|
1179
1139
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1180
1140
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1141
|
+
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1142
|
+
|
|
1143
|
+
return result
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
class CameraSize {
|
|
1148
|
+
static fromJson(jsonObject) {
|
|
1149
|
+
if (jsonObject == null) return null
|
|
1150
|
+
const result = new CameraSize()
|
|
1151
|
+
|
|
1152
|
+
result.width = jsonObject["width"]
|
|
1153
|
+
result.height = jsonObject["height"]
|
|
1154
|
+
|
|
1155
|
+
return result
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
class Functionality {
|
|
1160
|
+
static fromJson(jsonObject) {
|
|
1161
|
+
if (jsonObject == null) return null
|
|
1162
|
+
const result = new Functionality()
|
|
1163
|
+
|
|
1164
|
+
result.pictureOnBoundsReady = jsonObject["pictureOnBoundsReady"]
|
|
1165
|
+
result.showTorchButton = jsonObject["showTorchButton"]
|
|
1166
|
+
result.showCloseButton = jsonObject["showCloseButton"]
|
|
1167
|
+
result.videoCaptureMotionControl = jsonObject["videoCaptureMotionControl"]
|
|
1168
|
+
result.showCaptureButton = jsonObject["showCaptureButton"]
|
|
1169
|
+
result.showChangeFrameButton = jsonObject["showChangeFrameButton"]
|
|
1170
|
+
result.showSkipNextPageButton = jsonObject["showSkipNextPageButton"]
|
|
1171
|
+
result.useAuthenticator = jsonObject["useAuthenticator"]
|
|
1172
|
+
result.skipFocusingFrames = jsonObject["skipFocusingFrames"]
|
|
1173
|
+
result.showCameraSwitchButton = jsonObject["showCameraSwitchButton"]
|
|
1174
|
+
result.displayMetadata = jsonObject["displayMetadata"]
|
|
1175
|
+
result.isZoomEnabled = jsonObject["isZoomEnabled"]
|
|
1176
|
+
result.isCameraTorchCheckDisabled = jsonObject["isCameraTorchCheckDisabled"]
|
|
1177
|
+
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1178
|
+
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1179
|
+
result.singleResult = jsonObject["singleResult"]
|
|
1180
|
+
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1181
|
+
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1182
|
+
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
1183
|
+
result.forcePagesCount = jsonObject["forcePagesCount"]
|
|
1184
|
+
result.orientation = jsonObject["orientation"]
|
|
1185
|
+
result.captureMode = jsonObject["captureMode"]
|
|
1186
|
+
result.cameraMode = jsonObject["cameraMode"]
|
|
1187
|
+
result.cameraPositionIOS = jsonObject["cameraPositionIOS"]
|
|
1188
|
+
result.cameraFrame = jsonObject["cameraFrame"]
|
|
1189
|
+
result.btDeviceName = jsonObject["btDeviceName"]
|
|
1190
|
+
result.zoomFactor = jsonObject["zoomFactor"]
|
|
1191
|
+
result.exposure = jsonObject["exposure"]
|
|
1192
|
+
result.excludedCamera2Models = []
|
|
1193
|
+
if (jsonObject["excludedCamera2Models"] != null)
|
|
1194
|
+
for (const i in jsonObject["excludedCamera2Models"])
|
|
1195
|
+
result.excludedCamera2Models.push(jsonObject["excludedCamera2Models"][i])
|
|
1196
|
+
result.cameraSize = CameraSize.fromJson(jsonObject["cameraSize"])
|
|
1197
|
+
result.videoSessionPreset = jsonObject["videoSessionPreset"]
|
|
1198
|
+
|
|
1199
|
+
return result
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
class GlaresCheckParams {
|
|
1204
|
+
static fromJson(jsonObject) {
|
|
1205
|
+
if (jsonObject == null) return null
|
|
1206
|
+
const result = new GlaresCheckParams()
|
|
1207
|
+
|
|
1208
|
+
result.imgMarginPart = jsonObject["imgMarginPart"]
|
|
1209
|
+
result.maxGlaringPart = jsonObject["maxGlaringPart"]
|
|
1210
|
+
|
|
1211
|
+
return result
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
class ImageQA {
|
|
1216
|
+
static fromJson(jsonObject) {
|
|
1217
|
+
if (jsonObject == null) return null
|
|
1218
|
+
const result = new ImageQA()
|
|
1219
|
+
|
|
1220
|
+
result.dpiThreshold = jsonObject["dpiThreshold"]
|
|
1221
|
+
result.angleThreshold = jsonObject["angleThreshold"]
|
|
1222
|
+
result.focusCheck = jsonObject["focusCheck"]
|
|
1223
|
+
result.glaresCheck = jsonObject["glaresCheck"]
|
|
1224
|
+
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1225
|
+
result.colornessCheck = jsonObject["colornessCheck"]
|
|
1226
|
+
result.screenCapture = jsonObject["screenCapture"]
|
|
1227
|
+
result.expectedPass = []
|
|
1228
|
+
if (jsonObject["expectedPass"] != null)
|
|
1229
|
+
for (const i in jsonObject["expectedPass"])
|
|
1230
|
+
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1231
|
+
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1232
|
+
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1233
|
+
|
|
1234
|
+
return result
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
class RFIDParams {
|
|
1239
|
+
static fromJson(jsonObject) {
|
|
1240
|
+
if (jsonObject == null) return null
|
|
1241
|
+
const result = new RFIDParams()
|
|
1242
|
+
|
|
1243
|
+
result.paIgnoreNotificationCodes = []
|
|
1244
|
+
if (jsonObject["paIgnoreNotificationCodes"] != null)
|
|
1245
|
+
for (const i in jsonObject["paIgnoreNotificationCodes"])
|
|
1246
|
+
result.paIgnoreNotificationCodes.push(jsonObject["paIgnoreNotificationCodes"][i])
|
|
1247
|
+
|
|
1248
|
+
return result
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
class FaceApiSearchParams {
|
|
1253
|
+
static fromJson(jsonObject) {
|
|
1254
|
+
if (jsonObject == null) return null
|
|
1255
|
+
const result = new FaceApiSearchParams()
|
|
1256
|
+
|
|
1257
|
+
result.limit = jsonObject["limit"]
|
|
1258
|
+
result.threshold = jsonObject["threshold"]
|
|
1259
|
+
result.groupIds = []
|
|
1260
|
+
if (jsonObject["groupIds"] != null)
|
|
1261
|
+
for (const i in jsonObject["groupIds"])
|
|
1262
|
+
result.groupIds.push(jsonObject["groupIds"][i])
|
|
1263
|
+
|
|
1264
|
+
return result
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
class FaceApiParams {
|
|
1269
|
+
static fromJson(jsonObject) {
|
|
1270
|
+
if (jsonObject == null) return null
|
|
1271
|
+
const result = new FaceApiParams()
|
|
1272
|
+
|
|
1273
|
+
result.url = jsonObject["url"]
|
|
1274
|
+
result.mode = jsonObject["mode"]
|
|
1275
|
+
result.threshold = jsonObject["threshold"]
|
|
1276
|
+
result.searchParams = FaceApiSearchParams.fromJson(jsonObject["searchParams"])
|
|
1277
|
+
result.serviceTimeout = jsonObject["serviceTimeout"]
|
|
1278
|
+
result.proxy = jsonObject["proxy"]
|
|
1279
|
+
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1280
|
+
result.proxyType = jsonObject["proxyType"]
|
|
1281
|
+
|
|
1282
|
+
return result
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
class BackendProcessingConfig {
|
|
1287
|
+
static fromJson(jsonObject) {
|
|
1288
|
+
if (jsonObject == null) return null
|
|
1289
|
+
const result = new BackendProcessingConfig()
|
|
1290
|
+
|
|
1291
|
+
result.url = jsonObject["url"]
|
|
1292
|
+
result.httpHeaders = jsonObject["httpHeaders"]
|
|
1293
|
+
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1294
|
+
|
|
1295
|
+
return result
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
class LivenessParams {
|
|
1300
|
+
static fromJson(jsonObject) {
|
|
1301
|
+
if (jsonObject == null) return null
|
|
1302
|
+
const result = new LivenessParams()
|
|
1303
|
+
|
|
1304
|
+
result.checkOVI = jsonObject["checkOVI"]
|
|
1305
|
+
result.checkMLI = jsonObject["checkMLI"]
|
|
1306
|
+
result.checkHolo = jsonObject["checkHolo"]
|
|
1307
|
+
result.checkED = jsonObject["checkED"]
|
|
1308
|
+
|
|
1309
|
+
return result
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
class AuthenticityParams {
|
|
1314
|
+
static fromJson(jsonObject) {
|
|
1315
|
+
if (jsonObject == null) return null
|
|
1316
|
+
const result = new AuthenticityParams()
|
|
1317
|
+
|
|
1318
|
+
result.useLivenessCheck = jsonObject["useLivenessCheck"]
|
|
1319
|
+
result.livenessParams = LivenessParams.fromJson(jsonObject["livenessParams"])
|
|
1320
|
+
result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]
|
|
1321
|
+
result.checkIRB900 = jsonObject["checkIRB900"]
|
|
1322
|
+
result.checkImagePatterns = jsonObject["checkImagePatterns"]
|
|
1323
|
+
result.checkFibers = jsonObject["checkFibers"]
|
|
1324
|
+
result.checkExtMRZ = jsonObject["checkExtMRZ"]
|
|
1325
|
+
result.checkExtOCR = jsonObject["checkExtOCR"]
|
|
1326
|
+
result.checkAxial = jsonObject["checkAxial"]
|
|
1327
|
+
result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]
|
|
1328
|
+
result.checkIRVisibility = jsonObject["checkIRVisibility"]
|
|
1329
|
+
result.checkIPI = jsonObject["checkIPI"]
|
|
1330
|
+
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1331
|
+
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1332
|
+
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1333
|
+
|
|
1334
|
+
return result
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
class ProcessParams {
|
|
1339
|
+
static fromJson(jsonObject) {
|
|
1340
|
+
if (jsonObject == null) return null
|
|
1341
|
+
const result = new ProcessParams()
|
|
1342
|
+
|
|
1343
|
+
result.multipageProcessing = jsonObject["multipageProcessing"]
|
|
1344
|
+
result.logs = jsonObject["logs"]
|
|
1345
|
+
result.debugSaveImages = jsonObject["debugSaveImages"]
|
|
1346
|
+
result.debugSaveLogs = jsonObject["debugSaveLogs"]
|
|
1347
|
+
result.returnUncroppedImage = jsonObject["returnUncroppedImage"]
|
|
1348
|
+
result.uvTorchEnabled = jsonObject["uvTorchEnabled"]
|
|
1349
|
+
result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"]
|
|
1350
|
+
result.disableFocusingCheck = jsonObject["disableFocusingCheck"]
|
|
1351
|
+
result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"]
|
|
1352
|
+
result.doublePageSpread = jsonObject["doublePageSpread"]
|
|
1353
|
+
result.manualCrop = jsonObject["manualCrop"]
|
|
1354
|
+
result.integralImage = jsonObject["integralImage"]
|
|
1355
|
+
result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"]
|
|
1356
|
+
result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"]
|
|
1357
|
+
result.depersonalizeLog = jsonObject["depersonalizeLog"]
|
|
1358
|
+
result.generateDoublePageSpreadImage = jsonObject["generateDoublePageSpreadImage"]
|
|
1359
|
+
result.alreadyCropped = jsonObject["alreadyCropped"]
|
|
1360
|
+
result.matchTextFieldMask = jsonObject["matchTextFieldMask"]
|
|
1361
|
+
result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"]
|
|
1362
|
+
result.noGraphics = jsonObject["noGraphics"]
|
|
1363
|
+
result.multiDocOnImage = jsonObject["multiDocOnImage"]
|
|
1364
|
+
result.forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"]
|
|
1365
|
+
result.parseBarcodes = jsonObject["parseBarcodes"]
|
|
1366
|
+
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
1367
|
+
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
1368
|
+
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
1369
|
+
result.splitNames = jsonObject["splitNames"]
|
|
1370
|
+
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1371
|
+
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1372
|
+
result.checkHologram = jsonObject["checkHologram"]
|
|
1373
|
+
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1374
|
+
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1375
|
+
result.minDPI = jsonObject["minDPI"]
|
|
1376
|
+
result.imageDpiOutMax = jsonObject["imageDpiOutMax"]
|
|
1377
|
+
result.forceDocFormat = jsonObject["forceDocFormat"]
|
|
1378
|
+
result.shiftExpiryDate = jsonObject["shiftExpiryDate"]
|
|
1379
|
+
result.minimalHolderAge = jsonObject["minimalHolderAge"]
|
|
1380
|
+
result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"]
|
|
1381
|
+
result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]
|
|
1382
|
+
result.processAuth = jsonObject["processAuth"]
|
|
1383
|
+
result.convertCase = jsonObject["convertCase"]
|
|
1384
|
+
result.measureSystem = jsonObject["measureSystem"]
|
|
1385
|
+
result.forceDocID = jsonObject["forceDocID"]
|
|
1386
|
+
result.dateFormat = jsonObject["dateFormat"]
|
|
1387
|
+
result.scenario = jsonObject["scenario"]
|
|
1388
|
+
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
1389
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1390
|
+
result.timeout = jsonObject["timeout"]
|
|
1391
|
+
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
1392
|
+
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
1393
|
+
result.documentAreaMin = jsonObject["documentAreaMin"]
|
|
1394
|
+
result.documentIDList = []
|
|
1395
|
+
if (jsonObject["documentIDList"] != null)
|
|
1396
|
+
for (const i in jsonObject["documentIDList"])
|
|
1397
|
+
result.documentIDList.push(jsonObject["documentIDList"][i])
|
|
1398
|
+
result.barcodeTypes = []
|
|
1399
|
+
if (jsonObject["barcodeTypes"] != null)
|
|
1400
|
+
for (const i in jsonObject["barcodeTypes"])
|
|
1401
|
+
result.barcodeTypes.push(jsonObject["barcodeTypes"][i])
|
|
1402
|
+
result.fieldTypesFilter = []
|
|
1403
|
+
if (jsonObject["fieldTypesFilter"] != null)
|
|
1404
|
+
for (const i in jsonObject["fieldTypesFilter"])
|
|
1405
|
+
result.fieldTypesFilter.push(jsonObject["fieldTypesFilter"][i])
|
|
1406
|
+
result.resultTypeOutput = []
|
|
1407
|
+
if (jsonObject["resultTypeOutput"] != null)
|
|
1408
|
+
for (const i in jsonObject["resultTypeOutput"])
|
|
1409
|
+
result.resultTypeOutput.push(jsonObject["resultTypeOutput"][i])
|
|
1410
|
+
result.documentGroupFilter = []
|
|
1411
|
+
if (jsonObject["documentGroupFilter"] != null)
|
|
1412
|
+
for (const i in jsonObject["documentGroupFilter"])
|
|
1413
|
+
result.documentGroupFilter.push(jsonObject["documentGroupFilter"][i])
|
|
1414
|
+
result.lcidIgnoreFilter = []
|
|
1415
|
+
if (jsonObject["lcidIgnoreFilter"] != null)
|
|
1416
|
+
for (const i in jsonObject["lcidIgnoreFilter"])
|
|
1417
|
+
result.lcidIgnoreFilter.push(jsonObject["lcidIgnoreFilter"][i])
|
|
1418
|
+
result.lcidFilter = []
|
|
1419
|
+
if (jsonObject["lcidFilter"] != null)
|
|
1420
|
+
for (const i in jsonObject["lcidFilter"])
|
|
1421
|
+
result.lcidFilter.push(jsonObject["lcidFilter"][i])
|
|
1422
|
+
result.mrzFormatsFilter = []
|
|
1423
|
+
if (jsonObject["mrzFormatsFilter"] != null)
|
|
1424
|
+
for (const i in jsonObject["mrzFormatsFilter"])
|
|
1425
|
+
result.mrzFormatsFilter.push(jsonObject["mrzFormatsFilter"][i])
|
|
1426
|
+
result.imageQA = ImageQA.fromJson(jsonObject["imageQA"])
|
|
1427
|
+
result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"])
|
|
1428
|
+
result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"])
|
|
1429
|
+
result.backendProcessingConfig = BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"])
|
|
1430
|
+
result.authenticityParams = AuthenticityParams.fromJson(jsonObject["authenticityParams"])
|
|
1431
|
+
result.customParams = jsonObject["customParams"]
|
|
1432
|
+
|
|
1433
|
+
return result
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
class Font {
|
|
1438
|
+
static fromJson(jsonObject) {
|
|
1439
|
+
if (jsonObject == null) return null
|
|
1440
|
+
const result = new Font()
|
|
1441
|
+
|
|
1442
|
+
result.name = jsonObject["name"]
|
|
1443
|
+
result.size = jsonObject["size"]
|
|
1444
|
+
result.style = jsonObject["style"]
|
|
1445
|
+
|
|
1446
|
+
return result
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
class CustomizationColors {
|
|
1451
|
+
static fromJson(jsonObject) {
|
|
1452
|
+
if (jsonObject == null) return null
|
|
1453
|
+
const result = new CustomizationColors()
|
|
1454
|
+
|
|
1455
|
+
result.rfidProcessingScreenBackground = jsonObject["rfidProcessingScreenBackground"]
|
|
1456
|
+
result.rfidProcessingScreenHintLabelText = jsonObject["rfidProcessingScreenHintLabelText"]
|
|
1457
|
+
result.rfidProcessingScreenHintLabelBackground = jsonObject["rfidProcessingScreenHintLabelBackground"]
|
|
1458
|
+
result.rfidProcessingScreenProgressLabelText = jsonObject["rfidProcessingScreenProgressLabelText"]
|
|
1459
|
+
result.rfidProcessingScreenProgressBar = jsonObject["rfidProcessingScreenProgressBar"]
|
|
1460
|
+
result.rfidProcessingScreenProgressBarBackground = jsonObject["rfidProcessingScreenProgressBarBackground"]
|
|
1461
|
+
result.rfidProcessingScreenResultLabelText = jsonObject["rfidProcessingScreenResultLabelText"]
|
|
1462
|
+
|
|
1463
|
+
return result
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
class CustomizationFonts {
|
|
1468
|
+
static fromJson(jsonObject) {
|
|
1469
|
+
if (jsonObject == null) return null
|
|
1470
|
+
const result = new CustomizationFonts()
|
|
1471
|
+
|
|
1472
|
+
result.rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"])
|
|
1473
|
+
result.rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"])
|
|
1474
|
+
result.rfidProcessingScreenResultLabel = Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"])
|
|
1475
|
+
|
|
1476
|
+
return result
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
class CustomizationImages {
|
|
1481
|
+
static fromJson(jsonObject) {
|
|
1482
|
+
if (jsonObject == null) return null
|
|
1483
|
+
const result = new CustomizationImages()
|
|
1484
|
+
|
|
1485
|
+
result.rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"]
|
|
1486
|
+
|
|
1487
|
+
return result
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
class Customization {
|
|
1492
|
+
static fromJson(jsonObject) {
|
|
1493
|
+
if (jsonObject == null) return null
|
|
1494
|
+
const result = new Customization()
|
|
1495
|
+
|
|
1496
|
+
result.showStatusMessages = jsonObject["showStatusMessages"]
|
|
1497
|
+
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
|
|
1498
|
+
result.showHelpAnimation = jsonObject["showHelpAnimation"]
|
|
1499
|
+
result.showNextPageAnimation = jsonObject["showNextPageAnimation"]
|
|
1500
|
+
result.showBackgroundMask = jsonObject["showBackgroundMask"]
|
|
1501
|
+
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
1502
|
+
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
1503
|
+
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
1504
|
+
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
1505
|
+
result.status = jsonObject["status"]
|
|
1506
|
+
result.resultStatus = jsonObject["resultStatus"]
|
|
1507
|
+
result.cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"]
|
|
1508
|
+
result.cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"]
|
|
1509
|
+
result.statusTextColor = jsonObject["statusTextColor"]
|
|
1510
|
+
result.resultStatusTextColor = jsonObject["resultStatusTextColor"]
|
|
1511
|
+
result.resultStatusBackgroundColor = jsonObject["resultStatusBackgroundColor"]
|
|
1512
|
+
result.multipageButtonBackgroundColor = jsonObject["multipageButtonBackgroundColor"]
|
|
1513
|
+
result.tintColor = jsonObject["tintColor"]
|
|
1514
|
+
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
1515
|
+
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
1516
|
+
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
1517
|
+
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
1518
|
+
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
1519
|
+
result.toolbarSize = jsonObject["toolbarSize"]
|
|
1520
|
+
result.backgroundMaskAlpha = jsonObject["backgroundMaskAlpha"]
|
|
1521
|
+
result.customStatusPositionMultiplier = jsonObject["customStatusPositionMultiplier"]
|
|
1522
|
+
result.livenessAnimationPositionMultiplier = jsonObject["livenessAnimationPositionMultiplier"]
|
|
1523
|
+
result.cameraFrameVerticalPositionMultiplier = jsonObject["cameraFrameVerticalPositionMultiplier"]
|
|
1524
|
+
result.cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"]
|
|
1525
|
+
result.cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"]
|
|
1526
|
+
result.cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"]
|
|
1527
|
+
result.multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"]
|
|
1528
|
+
result.multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"]
|
|
1529
|
+
result.borderBackgroundImage = jsonObject["borderBackgroundImage"]
|
|
1530
|
+
result.helpAnimationImage = jsonObject["helpAnimationImage"]
|
|
1531
|
+
result.closeButtonImage = jsonObject["closeButtonImage"]
|
|
1532
|
+
result.captureButtonImage = jsonObject["captureButtonImage"]
|
|
1533
|
+
result.cameraSwitchButtonImage = jsonObject["cameraSwitchButtonImage"]
|
|
1534
|
+
result.torchButtonOnImage = jsonObject["torchButtonOnImage"]
|
|
1535
|
+
result.torchButtonOffImage = jsonObject["torchButtonOffImage"]
|
|
1536
|
+
result.changeFrameButtonExpandImage = jsonObject["changeFrameButtonExpandImage"]
|
|
1537
|
+
result.changeFrameButtonCollapseImage = jsonObject["changeFrameButtonCollapseImage"]
|
|
1538
|
+
result.livenessAnimationImage = jsonObject["livenessAnimationImage"]
|
|
1539
|
+
result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"])
|
|
1540
|
+
result.resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"])
|
|
1541
|
+
result.customLabelStatus = jsonObject["customLabelStatus"]
|
|
1542
|
+
result.cameraFrameLineCap = jsonObject["cameraFrameLineCap"]
|
|
1543
|
+
result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]
|
|
1544
|
+
result.helpAnimationImageContentMode = jsonObject["helpAnimationImageContentMode"]
|
|
1545
|
+
result.multipageAnimationFrontImageContentMode = jsonObject["multipageAnimationFrontImageContentMode"]
|
|
1546
|
+
result.multipageAnimationBackImageContentMode = jsonObject["multipageAnimationBackImageContentMode"]
|
|
1547
|
+
result.livenessAnimationImageContentMode = jsonObject["livenessAnimationImageContentMode"]
|
|
1548
|
+
result.borderBackgroundImageContentMode = jsonObject["borderBackgroundImageContentMode"]
|
|
1549
|
+
result.helpAnimationImageMatrix = []
|
|
1550
|
+
if (jsonObject["helpAnimationImageMatrix"] != null)
|
|
1551
|
+
for (const i in jsonObject["helpAnimationImageMatrix"])
|
|
1552
|
+
result.helpAnimationImageMatrix.push(jsonObject["helpAnimationImageMatrix"][i])
|
|
1553
|
+
result.multipageAnimationFrontImageMatrix = []
|
|
1554
|
+
if (jsonObject["multipageAnimationFrontImageMatrix"] != null)
|
|
1555
|
+
for (const i in jsonObject["multipageAnimationFrontImageMatrix"])
|
|
1556
|
+
result.multipageAnimationFrontImageMatrix.push(jsonObject["multipageAnimationFrontImageMatrix"][i])
|
|
1557
|
+
result.multipageAnimationBackImageMatrix = []
|
|
1558
|
+
if (jsonObject["multipageAnimationBackImageMatrix"] != null)
|
|
1559
|
+
for (const i in jsonObject["multipageAnimationBackImageMatrix"])
|
|
1560
|
+
result.multipageAnimationBackImageMatrix.push(jsonObject["multipageAnimationBackImageMatrix"][i])
|
|
1561
|
+
result.livenessAnimationImageMatrix = []
|
|
1562
|
+
if (jsonObject["livenessAnimationImageMatrix"] != null)
|
|
1563
|
+
for (const i in jsonObject["livenessAnimationImageMatrix"])
|
|
1564
|
+
result.livenessAnimationImageMatrix.push(jsonObject["livenessAnimationImageMatrix"][i])
|
|
1565
|
+
result.borderBackgroundImageMatrix = []
|
|
1566
|
+
if (jsonObject["borderBackgroundImageMatrix"] != null)
|
|
1567
|
+
for (const i in jsonObject["borderBackgroundImageMatrix"])
|
|
1568
|
+
result.borderBackgroundImageMatrix.push(jsonObject["borderBackgroundImageMatrix"][i])
|
|
1569
|
+
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
1570
|
+
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
1571
|
+
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
1572
|
+
|
|
1573
|
+
return result
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
class EDLDataGroups {
|
|
1578
|
+
static fromJson(jsonObject) {
|
|
1579
|
+
if (jsonObject == null) return null
|
|
1580
|
+
const result = new EDLDataGroups()
|
|
1581
|
+
|
|
1582
|
+
result.DG1 = jsonObject["DG1"]
|
|
1583
|
+
result.DG2 = jsonObject["DG2"]
|
|
1584
|
+
result.DG3 = jsonObject["DG3"]
|
|
1585
|
+
result.DG4 = jsonObject["DG4"]
|
|
1586
|
+
result.DG5 = jsonObject["DG5"]
|
|
1587
|
+
result.DG6 = jsonObject["DG6"]
|
|
1588
|
+
result.DG7 = jsonObject["DG7"]
|
|
1589
|
+
result.DG8 = jsonObject["DG8"]
|
|
1590
|
+
result.DG9 = jsonObject["DG9"]
|
|
1591
|
+
result.DG10 = jsonObject["DG10"]
|
|
1592
|
+
result.DG11 = jsonObject["DG11"]
|
|
1593
|
+
result.DG12 = jsonObject["DG12"]
|
|
1594
|
+
result.DG13 = jsonObject["DG13"]
|
|
1595
|
+
result.DG14 = jsonObject["DG14"]
|
|
1596
|
+
|
|
1597
|
+
return result
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
class EPassportDataGroups {
|
|
1602
|
+
static fromJson(jsonObject) {
|
|
1603
|
+
if (jsonObject == null) return null
|
|
1604
|
+
const result = new EPassportDataGroups()
|
|
1605
|
+
|
|
1606
|
+
result.DG1 = jsonObject["DG1"]
|
|
1607
|
+
result.DG2 = jsonObject["DG2"]
|
|
1608
|
+
result.DG3 = jsonObject["DG3"]
|
|
1609
|
+
result.DG4 = jsonObject["DG4"]
|
|
1610
|
+
result.DG5 = jsonObject["DG5"]
|
|
1611
|
+
result.DG6 = jsonObject["DG6"]
|
|
1612
|
+
result.DG7 = jsonObject["DG7"]
|
|
1613
|
+
result.DG8 = jsonObject["DG8"]
|
|
1614
|
+
result.DG9 = jsonObject["DG9"]
|
|
1615
|
+
result.DG10 = jsonObject["DG10"]
|
|
1616
|
+
result.DG11 = jsonObject["DG11"]
|
|
1617
|
+
result.DG12 = jsonObject["DG12"]
|
|
1618
|
+
result.DG13 = jsonObject["DG13"]
|
|
1619
|
+
result.DG14 = jsonObject["DG14"]
|
|
1620
|
+
result.DG15 = jsonObject["DG15"]
|
|
1621
|
+
result.DG16 = jsonObject["DG16"]
|
|
1622
|
+
|
|
1623
|
+
return result
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
class EIDDataGroups {
|
|
1628
|
+
static fromJson(jsonObject) {
|
|
1629
|
+
if (jsonObject == null) return null
|
|
1630
|
+
const result = new EIDDataGroups()
|
|
1631
|
+
|
|
1632
|
+
result.DG1 = jsonObject["DG1"]
|
|
1633
|
+
result.DG2 = jsonObject["DG2"]
|
|
1634
|
+
result.DG3 = jsonObject["DG3"]
|
|
1635
|
+
result.DG4 = jsonObject["DG4"]
|
|
1636
|
+
result.DG5 = jsonObject["DG5"]
|
|
1637
|
+
result.DG6 = jsonObject["DG6"]
|
|
1638
|
+
result.DG7 = jsonObject["DG7"]
|
|
1639
|
+
result.DG8 = jsonObject["DG8"]
|
|
1640
|
+
result.DG9 = jsonObject["DG9"]
|
|
1641
|
+
result.DG10 = jsonObject["DG10"]
|
|
1642
|
+
result.DG11 = jsonObject["DG11"]
|
|
1643
|
+
result.DG12 = jsonObject["DG12"]
|
|
1644
|
+
result.DG13 = jsonObject["DG13"]
|
|
1645
|
+
result.DG14 = jsonObject["DG14"]
|
|
1646
|
+
result.DG15 = jsonObject["DG15"]
|
|
1647
|
+
result.DG16 = jsonObject["DG16"]
|
|
1648
|
+
result.DG17 = jsonObject["DG17"]
|
|
1649
|
+
result.DG18 = jsonObject["DG18"]
|
|
1650
|
+
result.DG19 = jsonObject["DG19"]
|
|
1651
|
+
result.DG20 = jsonObject["DG20"]
|
|
1652
|
+
result.DG21 = jsonObject["DG21"]
|
|
1653
|
+
|
|
1654
|
+
return result
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
class RFIDScenario {
|
|
1659
|
+
static fromJson(jsonObject) {
|
|
1660
|
+
if (jsonObject == null) return null
|
|
1661
|
+
const result = new RFIDScenario()
|
|
1662
|
+
|
|
1663
|
+
result.paceStaticBinding = jsonObject["paceStaticBinding"]
|
|
1664
|
+
result.onlineTA = jsonObject["onlineTA"]
|
|
1665
|
+
result.writeEid = jsonObject["writeEid"]
|
|
1666
|
+
result.universalAccessRights = jsonObject["universalAccessRights"]
|
|
1667
|
+
result.authorizedRestrictedIdentification = jsonObject["authorizedRestrictedIdentification"]
|
|
1668
|
+
result.auxVerificationCommunityID = jsonObject["auxVerificationCommunityID"]
|
|
1669
|
+
result.auxVerificationDateOfBirth = jsonObject["auxVerificationDateOfBirth"]
|
|
1670
|
+
result.skipAA = jsonObject["skipAA"]
|
|
1671
|
+
result.strictProcessing = jsonObject["strictProcessing"]
|
|
1672
|
+
result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"]
|
|
1673
|
+
result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"]
|
|
1674
|
+
result.trustedPKD = jsonObject["trustedPKD"]
|
|
1675
|
+
result.passiveAuth = jsonObject["passiveAuth"]
|
|
1676
|
+
result.useSFI = jsonObject["useSFI"]
|
|
1677
|
+
result.readEPassport = jsonObject["readEPassport"]
|
|
1678
|
+
result.readEID = jsonObject["readEID"]
|
|
1679
|
+
result.readEDL = jsonObject["readEDL"]
|
|
1680
|
+
result.authorizedSTSignature = jsonObject["authorizedSTSignature"]
|
|
1681
|
+
result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"]
|
|
1682
|
+
result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"]
|
|
1683
|
+
result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"]
|
|
1684
|
+
result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"]
|
|
1685
|
+
result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"]
|
|
1686
|
+
result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"]
|
|
1687
|
+
result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"]
|
|
1688
|
+
result.authorizedVerifyCommunityID = jsonObject["authorizedVerifyCommunityID"]
|
|
1689
|
+
result.authorizedPrivilegedTerminal = jsonObject["authorizedPrivilegedTerminal"]
|
|
1690
|
+
result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"]
|
|
1691
|
+
result.authorizedPINManagement = jsonObject["authorizedPINManagement"]
|
|
1692
|
+
result.authorizedInstallCert = jsonObject["authorizedInstallCert"]
|
|
1693
|
+
result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"]
|
|
1694
|
+
result.applyAmendments = jsonObject["applyAmendments"]
|
|
1695
|
+
result.autoSettings = jsonObject["autoSettings"]
|
|
1696
|
+
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
1697
|
+
result.readingBuffer = jsonObject["readingBuffer"]
|
|
1698
|
+
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
1699
|
+
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
1700
|
+
result.signManagementAction = jsonObject["signManagementAction"]
|
|
1701
|
+
result.profilerType = jsonObject["profilerType"]
|
|
1702
|
+
result.authProcType = jsonObject["authProcType"]
|
|
1703
|
+
result.baseSMProcedure = jsonObject["baseSMProcedure"]
|
|
1704
|
+
result.pacePasswordType = jsonObject["pacePasswordType"]
|
|
1705
|
+
result.terminalType = jsonObject["terminalType"]
|
|
1706
|
+
result.password = jsonObject["password"]
|
|
1707
|
+
result.pkdPA = jsonObject["pkdPA"]
|
|
1708
|
+
result.pkdEAC = jsonObject["pkdEAC"]
|
|
1709
|
+
result.mrz = jsonObject["mrz"]
|
|
1710
|
+
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
1711
|
+
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
1712
|
+
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1713
|
+
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1714
|
+
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1715
|
+
|
|
1716
|
+
return result
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
class PrepareProgress {
|
|
1721
|
+
static fromJson(jsonObject) {
|
|
1722
|
+
if (jsonObject == null) return null
|
|
1723
|
+
const result = new PrepareProgress()
|
|
1724
|
+
|
|
1725
|
+
result.downloadedBytes = jsonObject["downloadedBytes"]
|
|
1726
|
+
result.totalBytes = jsonObject["totalBytes"]
|
|
1727
|
+
result.progress = jsonObject["progress"]
|
|
1181
1728
|
|
|
1182
1729
|
return result
|
|
1183
1730
|
}
|
|
@@ -1216,6 +1763,16 @@ const eRPRM_Authenticity = {
|
|
|
1216
1763
|
OCR: 4194304,
|
|
1217
1764
|
}
|
|
1218
1765
|
|
|
1766
|
+
const CustomizationColor = {
|
|
1767
|
+
RFID_PROCESSING_SCREEN_BACKGROUND: "rfidProcessingScreenBackground",
|
|
1768
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT: "rfidProcessingScreenHintLabelText",
|
|
1769
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "rfidProcessingScreenHintLabelBackground",
|
|
1770
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "rfidProcessingScreenProgressLabelText",
|
|
1771
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR: "rfidProcessingScreenProgressBar",
|
|
1772
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: "rfidProcessingScreenProgressBarBackground",
|
|
1773
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "rfidProcessingScreenResultLabelText",
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1219
1776
|
const eRFID_ErrorCodes = {
|
|
1220
1777
|
RFID_ERROR_NO_ERROR: 0x00000001,
|
|
1221
1778
|
RFID_ERROR_ALREADY_DONE: 0x00000002,
|
|
@@ -1528,11 +2085,6 @@ const eRPRM_ResultType = {
|
|
|
1528
2085
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
1529
2086
|
}
|
|
1530
2087
|
|
|
1531
|
-
const CameraTypes = {
|
|
1532
|
-
FRONT: "front",
|
|
1533
|
-
BACK: "back",
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
2088
|
const FrameShapeType = {
|
|
1537
2089
|
LINE: 0,
|
|
1538
2090
|
CORNER: 1,
|
|
@@ -1545,6 +2097,12 @@ const eRFID_BaudRate = {
|
|
|
1545
2097
|
rfbr_848: 8,
|
|
1546
2098
|
}
|
|
1547
2099
|
|
|
2100
|
+
const LineCap = {
|
|
2101
|
+
BUTT: 0,
|
|
2102
|
+
ROUND: 1,
|
|
2103
|
+
SQUARE: 2,
|
|
2104
|
+
}
|
|
2105
|
+
|
|
1548
2106
|
const eRPRM_FieldVerificationResult = {
|
|
1549
2107
|
RCF_DISABLED: 0,
|
|
1550
2108
|
RCF_VERIFIED: 1,
|
|
@@ -1575,11 +2133,13 @@ const eProcessGLCommands = {
|
|
|
1575
2133
|
ePC_ProcMgr_ProcessImage: 12104,
|
|
1576
2134
|
ePC_ProcMgr_StartNewDocument: 12105,
|
|
1577
2135
|
ePC_ProcMgr_StartNewPage: 12106,
|
|
2136
|
+
ePC_ProcMgr_AddDataToPackage: 12121,
|
|
2137
|
+
ePC_ProcMgr_FinalizePackage: 12122,
|
|
2138
|
+
ePC_ProcMgr_CreateBackendTransaction: 12125,
|
|
1578
2139
|
ePC_ProcMgr_Unload: 12107,
|
|
1579
2140
|
ePC_ProcMgr_CheckDatabase: 12109,
|
|
1580
2141
|
ePC_ProcMgr_ComparePortraits: 12111,
|
|
1581
2142
|
ePC_RFID_SetTCCParams: 12522,
|
|
1582
|
-
ePC_RFID_SetReprocessingParams: 12523,
|
|
1583
2143
|
}
|
|
1584
2144
|
|
|
1585
2145
|
const PKDResourceType = {
|
|
@@ -1648,6 +2208,11 @@ const DocumentReaderErrorCodes = {
|
|
|
1648
2208
|
LICENSE_DATABASE_INCORRECT: 23,
|
|
1649
2209
|
INVALID_TCC_PARAMS: 24,
|
|
1650
2210
|
RFID_IN_PROGRESS: 25,
|
|
2211
|
+
START_BACKEND_PROCESSING: 26,
|
|
2212
|
+
ADD_DATA_TO_PACKAGE: 27,
|
|
2213
|
+
FINALIZE_FAILED: 28,
|
|
2214
|
+
CAMERA_NO_PERMISSION: 29,
|
|
2215
|
+
CAMERA_NOT_AVAILABLE: 30,
|
|
1651
2216
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
1652
2217
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
1653
2218
|
WRONG_INPUT: 400,
|
|
@@ -1667,6 +2232,7 @@ const ScenarioIdentifier = {
|
|
|
1667
2232
|
SCENARIO_MRZ_OR_BARCODE: "MrzOrBarcode",
|
|
1668
2233
|
SCENARIO_MRZ_OR_LOCATE: "MrzOrLocate",
|
|
1669
2234
|
SCENARIO_MRZ_AND_LOCATE: "MrzAndLocate",
|
|
2235
|
+
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1670
2236
|
SCENARIO_MRZ_OR_OCR: "MrzOrOcr",
|
|
1671
2237
|
SCENARIO_MRZ_OR_BARCODE_OR_OCR: "MrzOrBarcodeOrOcr",
|
|
1672
2238
|
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: "LocateVisual_And_MrzOrOcr",
|
|
@@ -1677,7 +2243,6 @@ const ScenarioIdentifier = {
|
|
|
1677
2243
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
1678
2244
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
1679
2245
|
SCENARIO_CAPTURE: "Capture",
|
|
1680
|
-
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
1681
2246
|
}
|
|
1682
2247
|
|
|
1683
2248
|
const eRFID_AccessControl_ProcedureType = {
|
|
@@ -1730,6 +2295,12 @@ const eRFID_NotificationCodes = {
|
|
|
1730
2295
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
1731
2296
|
}
|
|
1732
2297
|
|
|
2298
|
+
const CameraPosition = {
|
|
2299
|
+
UNSPECIFIED: 0,
|
|
2300
|
+
BACK: 1,
|
|
2301
|
+
FRONT: 2,
|
|
2302
|
+
}
|
|
2303
|
+
|
|
1733
2304
|
const eRFID_Password_Type = {
|
|
1734
2305
|
PPT_UNKNOWN: 0,
|
|
1735
2306
|
PPT_MRZ: 1,
|
|
@@ -1740,6 +2311,23 @@ const eRFID_Password_Type = {
|
|
|
1740
2311
|
PPT_SAI: 6,
|
|
1741
2312
|
}
|
|
1742
2313
|
|
|
2314
|
+
const ViewContentMode = {
|
|
2315
|
+
UNKNOWN: -1,
|
|
2316
|
+
SCALE_TO_FILL: 0,
|
|
2317
|
+
SCALE_ASPECT_FIT: 1,
|
|
2318
|
+
SCALE_ASPECT_FILL: 2,
|
|
2319
|
+
REDRAW: 3,
|
|
2320
|
+
CENTER: 4,
|
|
2321
|
+
TOP: 5,
|
|
2322
|
+
BOTTOM: 6,
|
|
2323
|
+
LEFT: 7,
|
|
2324
|
+
RIGHT: 8,
|
|
2325
|
+
TOP_LEFT: 9,
|
|
2326
|
+
TOP_RIGHT: 10,
|
|
2327
|
+
BOTTOM_LEFT: 11,
|
|
2328
|
+
BOTTOM_RIGHT: 12,
|
|
2329
|
+
}
|
|
2330
|
+
|
|
1743
2331
|
const BarcodeResult = {
|
|
1744
2332
|
NO_ERR: 0,
|
|
1745
2333
|
NULL_PTR_ERR: -6001,
|
|
@@ -1808,6 +2396,7 @@ const eCheckDiagnose = {
|
|
|
1808
2396
|
INCORRECT_TEXT_COLOR: 26,
|
|
1809
2397
|
PHOTO_FALSE_LUMINISCENCE: 27,
|
|
1810
2398
|
TOO_MUCH_SHIFT: 28,
|
|
2399
|
+
CONTACT_CHIP_TYPE_MISMATCH: 29,
|
|
1811
2400
|
FIBERS_NOT_FOUND: 30,
|
|
1812
2401
|
TOO_MANY_OBJECTS: 31,
|
|
1813
2402
|
SPECKS_IN_UV: 33,
|
|
@@ -1893,6 +2482,12 @@ const eCheckDiagnose = {
|
|
|
1893
2482
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
1894
2483
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
1895
2484
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
2485
|
+
ICAO_IDB_BASE_32_ERROR: 243,
|
|
2486
|
+
ICAO_IDB_ZIPPED_ERROR: 244,
|
|
2487
|
+
ICAO_IDB_MESSAGE_ZONE_EMPTY: 245,
|
|
2488
|
+
ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246,
|
|
2489
|
+
ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247,
|
|
2490
|
+
ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248,
|
|
1896
2491
|
LAST_DIAGNOSE_VALUE: 250,
|
|
1897
2492
|
}
|
|
1898
2493
|
|
|
@@ -1909,6 +2504,20 @@ const TextProcessing = {
|
|
|
1909
2504
|
ocCapital: 3,
|
|
1910
2505
|
}
|
|
1911
2506
|
|
|
2507
|
+
const AnimationImage = {
|
|
2508
|
+
UNKNOWN: 0,
|
|
2509
|
+
PASSPORT_SINGLE_PAGE: 1,
|
|
2510
|
+
PASSPORT_TWO_PAGES: 2,
|
|
2511
|
+
ID_FRONT: 3,
|
|
2512
|
+
ID_FRONT_MRZ: 4,
|
|
2513
|
+
ID_BACK: 5,
|
|
2514
|
+
ID_BACK_MRZ: 6,
|
|
2515
|
+
ID_BACK_BARCODE: 7,
|
|
2516
|
+
ID_BACK_BARCODE_MRZ: 8,
|
|
2517
|
+
BANK_CARD_FRONT: 9,
|
|
2518
|
+
BANK_CARD_BACK: 10,
|
|
2519
|
+
}
|
|
2520
|
+
|
|
1912
2521
|
const ProcessingFinishedStatus = {
|
|
1913
2522
|
NOT_READY: 0,
|
|
1914
2523
|
READY: 1,
|
|
@@ -2153,6 +2762,10 @@ const eLDS_ParsingNotificationCodes = {
|
|
|
2153
2762
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: 0x92000117,
|
|
2154
2763
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: 0x92000118,
|
|
2155
2764
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: 0x92000119,
|
|
2765
|
+
NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING: 0x90000250,
|
|
2766
|
+
NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: 0x90000251,
|
|
2767
|
+
NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: 0x00022019,
|
|
2768
|
+
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: 0x90000252,
|
|
2156
2769
|
}
|
|
2157
2770
|
|
|
2158
2771
|
const eImageQualityCheckType = {
|
|
@@ -2165,6 +2778,7 @@ const eImageQualityCheckType = {
|
|
|
2165
2778
|
IQC_SCREEN_CAPTURE: 6,
|
|
2166
2779
|
IQC_PORTRAIT: 7,
|
|
2167
2780
|
IQC_HANDWRITTEN: 8,
|
|
2781
|
+
IQC_BRIGHTNESS: 9,
|
|
2168
2782
|
}
|
|
2169
2783
|
|
|
2170
2784
|
const MRZFormat = {
|
|
@@ -2246,6 +2860,12 @@ const eRPRM_SecurityFeatureType = {
|
|
|
2246
2860
|
SECURITY_FEATURE_TYPE_LAS_INK: 43,
|
|
2247
2861
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: 44,
|
|
2248
2862
|
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: 45,
|
|
2863
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_VS_BARCODE: 46,
|
|
2864
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47,
|
|
2865
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48,
|
|
2866
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
2867
|
+
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
2868
|
+
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
2249
2869
|
}
|
|
2250
2870
|
|
|
2251
2871
|
const OnlineMode = {
|
|
@@ -2491,6 +3111,15 @@ const diDocType = {
|
|
|
2491
3111
|
dtPassengerLocatorForm: 242,
|
|
2492
3112
|
}
|
|
2493
3113
|
|
|
3114
|
+
const ButtonTag = {
|
|
3115
|
+
CLOSE: 1001,
|
|
3116
|
+
TORCH: 1002,
|
|
3117
|
+
CAPTURE: 1003,
|
|
3118
|
+
CHANGE_FRAME: 1004,
|
|
3119
|
+
SKIP: 1005,
|
|
3120
|
+
CAMERA_SWITCH: 1006,
|
|
3121
|
+
}
|
|
3122
|
+
|
|
2494
3123
|
const HoloAnimationType = {
|
|
2495
3124
|
DocumentHoloAnimationUnknown: 0,
|
|
2496
3125
|
DocumentHoloAnimationTypeHorizontal: 1,
|
|
@@ -2509,6 +3138,12 @@ const eRequestCommand = {
|
|
|
2509
3138
|
eReqCmd_WltToImage: 401,
|
|
2510
3139
|
}
|
|
2511
3140
|
|
|
3141
|
+
const CustomizationFont = {
|
|
3142
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL: "rfidProcessingScreenHintLabel",
|
|
3143
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL: "rfidProcessingScreenProgressLabel",
|
|
3144
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL: "rfidProcessingScreenResultLabel",
|
|
3145
|
+
}
|
|
3146
|
+
|
|
2512
3147
|
const ImageFormat = {
|
|
2513
3148
|
PNG: 0,
|
|
2514
3149
|
JPG: 1,
|
|
@@ -2526,6 +3161,7 @@ const eGraphicFieldType = {
|
|
|
2526
3161
|
GF_GHOST_PORTRAIT: 210,
|
|
2527
3162
|
GF_STAMP: 211,
|
|
2528
3163
|
GF_PORTRAIT_OF_CHILD: 212,
|
|
3164
|
+
GF_CONTACT_CHIP: 213,
|
|
2529
3165
|
GF_OTHER: 250,
|
|
2530
3166
|
GF_FINGER_LEFT_THUMB: 300,
|
|
2531
3167
|
GF_FINGER_LEFT_INDEX: 301,
|
|
@@ -2540,7 +3176,23 @@ const eGraphicFieldType = {
|
|
|
2540
3176
|
}
|
|
2541
3177
|
|
|
2542
3178
|
const RegDeviceConfigType = {
|
|
2543
|
-
DEVICE_7310:
|
|
3179
|
+
DEVICE_7310: "DEVICE_7310",
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
const CaptureSessionPreset = {
|
|
3183
|
+
UNKNOWN: -1,
|
|
3184
|
+
LOW: 0,
|
|
3185
|
+
MEDIUM: 1,
|
|
3186
|
+
HIGH: 2,
|
|
3187
|
+
PHOTO: 3,
|
|
3188
|
+
INPUT_PRIORITY: 4,
|
|
3189
|
+
PRESET_1280x720: 6,
|
|
3190
|
+
PRESET_1920x1080: 7,
|
|
3191
|
+
PRESET_3840x2160: 8,
|
|
3192
|
+
FRAME_960x540: 9,
|
|
3193
|
+
FRAME_1280x720: 10,
|
|
3194
|
+
PRESET_640x480: 12,
|
|
3195
|
+
PRESET_352x288: 13,
|
|
2544
3196
|
}
|
|
2545
3197
|
|
|
2546
3198
|
const CameraMode = {
|
|
@@ -3288,6 +3940,9 @@ const eVisualFieldType = {
|
|
|
3288
3940
|
FT_ADDRESS_COUNTY_TYPE: 678,
|
|
3289
3941
|
FT_ADDRESS_CITY_TYPE: 679,
|
|
3290
3942
|
FT_ADDRESS_BUILDING_TYPE: 680,
|
|
3943
|
+
FT_DATE_OF_RETIREMENT: 681,
|
|
3944
|
+
FT_DOCUMENT_STATUS: 682,
|
|
3945
|
+
FT_SIGNATURE: 683,
|
|
3291
3946
|
}
|
|
3292
3947
|
|
|
3293
3948
|
const DocReaderOrientation = {
|
|
@@ -3331,7 +3986,7 @@ const LCID = {
|
|
|
3331
3986
|
BANK_CARD_NUMBER: 10000,
|
|
3332
3987
|
BANK_CARD_VALID_THRU: 10001,
|
|
3333
3988
|
BELARUSIAN: 1059,
|
|
3334
|
-
|
|
3989
|
+
BENGALI_BANGLADESH: 2117,
|
|
3335
3990
|
BULGARIAN: 1026,
|
|
3336
3991
|
CATALAN: 1027,
|
|
3337
3992
|
CHINESE_HONGKONG_SAR: 3076,
|
|
@@ -3397,6 +4052,7 @@ const LCID = {
|
|
|
3397
4052
|
LITHUANIAN: 1063,
|
|
3398
4053
|
MALAY_MALAYSIA: 1086,
|
|
3399
4054
|
MALAY_BRUNEI_DARUSSALAM: 2110,
|
|
4055
|
+
ASSAMESE: 1101,
|
|
3400
4056
|
MARATHI: 1102,
|
|
3401
4057
|
MONGOLIAN_CYRILIC: 1104,
|
|
3402
4058
|
NORWEGIAN_BOKMAL: 1044,
|
|
@@ -3443,6 +4099,7 @@ const LCID = {
|
|
|
3443
4099
|
SYRIAC: 1114,
|
|
3444
4100
|
TAMIL: 1097,
|
|
3445
4101
|
TATAR: 1092,
|
|
4102
|
+
BENGALI_INDIA: 1093,
|
|
3446
4103
|
TELUGU: 1098,
|
|
3447
4104
|
THAI_THAILAND: 1054,
|
|
3448
4105
|
TURKISH: 1055,
|
|
@@ -3455,6 +4112,18 @@ const LCID = {
|
|
|
3455
4112
|
VIETNAMESE: 1066,
|
|
3456
4113
|
CTC_SIMPLIFIED: 50001,
|
|
3457
4114
|
CTC_TRADITIONAL: 50002,
|
|
4115
|
+
MALTESE: 1082,
|
|
4116
|
+
BURMESE: 1109,
|
|
4117
|
+
KHMER: 1107,
|
|
4118
|
+
KARAKALPAK_LATIN: 10012,
|
|
4119
|
+
MALAYALAM: 1100,
|
|
4120
|
+
NEPALI: 1121,
|
|
4121
|
+
ORIYA: 1096,
|
|
4122
|
+
URDU_DETECTION: 10560,
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
const CustomizationImage = {
|
|
4126
|
+
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
3458
4127
|
}
|
|
3459
4128
|
|
|
3460
4129
|
const DocReaderFrame = {
|
|
@@ -3476,72 +4145,18 @@ const eRPRM_Lights = {
|
|
|
3476
4145
|
RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
|
|
3477
4146
|
}
|
|
3478
4147
|
|
|
3479
|
-
const LineCap = {
|
|
3480
|
-
Butt: 0,
|
|
3481
|
-
Round: 1,
|
|
3482
|
-
Square: 2,
|
|
3483
|
-
}
|
|
3484
|
-
|
|
3485
|
-
const UIInterfaceOrientationMask = {
|
|
3486
|
-
Portrait: 0,
|
|
3487
|
-
LandscapeLeft: 1,
|
|
3488
|
-
LandscapeRight: 2,
|
|
3489
|
-
PortraitUpsideDown: 3,
|
|
3490
|
-
Landscape: 4,
|
|
3491
|
-
All: 5,
|
|
3492
|
-
AllButUpsideDown: 6,
|
|
3493
|
-
}
|
|
3494
|
-
|
|
3495
|
-
const AVCaptureSessionPreset = {
|
|
3496
|
-
Low: 0,
|
|
3497
|
-
Medium: 1,
|
|
3498
|
-
High: 2,
|
|
3499
|
-
Photo: 3,
|
|
3500
|
-
InputPriority: 4,
|
|
3501
|
-
QHD960x540: 5,
|
|
3502
|
-
Hd1280x720: 6,
|
|
3503
|
-
Hd1920x1080: 7,
|
|
3504
|
-
Hd4K3840x2160: 8,
|
|
3505
|
-
IFrame960x540: 9,
|
|
3506
|
-
IFrame1280x720: 10,
|
|
3507
|
-
Qvga320x240: 11,
|
|
3508
|
-
Vga640x480: 12,
|
|
3509
|
-
Cif352x288: 13,
|
|
3510
|
-
}
|
|
3511
|
-
|
|
3512
|
-
const AVCaptureDevicePosition = {
|
|
3513
|
-
Front: 0,
|
|
3514
|
-
Back: 1,
|
|
3515
|
-
Unspecified: 2,
|
|
3516
|
-
}
|
|
3517
|
-
|
|
3518
|
-
const UIViewContentMode = {
|
|
3519
|
-
ScaleToFill: 0,
|
|
3520
|
-
ScaleAspectFit: 1,
|
|
3521
|
-
ScaleAspectFill: 2,
|
|
3522
|
-
Redraw: 3,
|
|
3523
|
-
Center: 4,
|
|
3524
|
-
Top: 5,
|
|
3525
|
-
Bottom: 6,
|
|
3526
|
-
Left: 7,
|
|
3527
|
-
Right: 8,
|
|
3528
|
-
TopLeft: 9,
|
|
3529
|
-
TopRight: 10,
|
|
3530
|
-
BottomLeft: 11,
|
|
3531
|
-
BottomRight: 12,
|
|
3532
|
-
}
|
|
3533
|
-
|
|
3534
4148
|
const Enum = {
|
|
3535
4149
|
FontStyle,
|
|
3536
4150
|
eRPRM_Authenticity,
|
|
4151
|
+
CustomizationColor,
|
|
3537
4152
|
eRFID_ErrorCodes,
|
|
3538
4153
|
eLDS_ParsingErrorCodes,
|
|
3539
4154
|
eRFID_CertificateType,
|
|
3540
4155
|
RGLMeasureSystem,
|
|
3541
4156
|
eRPRM_ResultType,
|
|
3542
|
-
CameraTypes,
|
|
3543
4157
|
FrameShapeType,
|
|
3544
4158
|
eRFID_BaudRate,
|
|
4159
|
+
LineCap,
|
|
3545
4160
|
eRPRM_FieldVerificationResult,
|
|
3546
4161
|
DocReaderAction,
|
|
3547
4162
|
eProcessGLCommands,
|
|
@@ -3551,12 +4166,15 @@ const Enum = {
|
|
|
3551
4166
|
ScenarioIdentifier,
|
|
3552
4167
|
eRFID_AccessControl_ProcedureType,
|
|
3553
4168
|
eRFID_NotificationCodes,
|
|
4169
|
+
CameraPosition,
|
|
3554
4170
|
eRFID_Password_Type,
|
|
4171
|
+
ViewContentMode,
|
|
3555
4172
|
BarcodeResult,
|
|
3556
4173
|
eSignManagementAction,
|
|
3557
4174
|
eCheckDiagnose,
|
|
3558
4175
|
RFIDDelegate,
|
|
3559
4176
|
TextProcessing,
|
|
4177
|
+
AnimationImage,
|
|
3560
4178
|
ProcessingFinishedStatus,
|
|
3561
4179
|
DocFormat,
|
|
3562
4180
|
eLDS_ParsingNotificationCodes,
|
|
@@ -3567,11 +4185,14 @@ const Enum = {
|
|
|
3567
4185
|
OnlineMode,
|
|
3568
4186
|
eRFID_SDK_ProfilerType,
|
|
3569
4187
|
diDocType,
|
|
4188
|
+
ButtonTag,
|
|
3570
4189
|
HoloAnimationType,
|
|
3571
4190
|
eRequestCommand,
|
|
4191
|
+
CustomizationFont,
|
|
3572
4192
|
ImageFormat,
|
|
3573
4193
|
eGraphicFieldType,
|
|
3574
4194
|
RegDeviceConfigType,
|
|
4195
|
+
CaptureSessionPreset,
|
|
3575
4196
|
CameraMode,
|
|
3576
4197
|
CaptureMode,
|
|
3577
4198
|
eCheckResult,
|
|
@@ -3580,111 +4201,61 @@ const Enum = {
|
|
|
3580
4201
|
eVisualFieldType,
|
|
3581
4202
|
DocReaderOrientation,
|
|
3582
4203
|
LCID,
|
|
4204
|
+
CustomizationImage,
|
|
3583
4205
|
DocReaderFrame,
|
|
3584
4206
|
eRPRM_Lights,
|
|
3585
|
-
LineCap,
|
|
3586
|
-
UIInterfaceOrientationMask,
|
|
3587
|
-
AVCaptureSessionPreset,
|
|
3588
|
-
AVCaptureDevicePosition,
|
|
3589
|
-
UIViewContentMode,
|
|
3590
4207
|
}
|
|
3591
4208
|
|
|
3592
4209
|
const DocumentReader = {}
|
|
3593
4210
|
|
|
3594
|
-
DocumentReader.initializeReaderAutomatically = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderAutomatically"])
|
|
3595
|
-
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["isBlePermissionsGranted"])
|
|
3596
|
-
DocumentReader.startBluetoothService = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startBluetoothService"])
|
|
3597
|
-
DocumentReader.initializeReaderBleDeviceConfig = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderBleDeviceConfig"])
|
|
3598
|
-
DocumentReader.getTag = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTag"])
|
|
3599
|
-
DocumentReader.getAPIVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getAPIVersion"])
|
|
3600
|
-
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getAvailableScenarios"])
|
|
3601
|
-
DocumentReader.isRFIDAvailableForUse = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["isRFIDAvailableForUse"])
|
|
3602
|
-
DocumentReader.getCoreMode = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getCoreMode"])
|
|
3603
|
-
DocumentReader.getCoreVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getCoreVersion"])
|
|
3604
|
-
DocumentReader.getDatabaseDate = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseDate"])
|
|
3605
|
-
DocumentReader.getDatabaseID = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseID"])
|
|
3606
|
-
DocumentReader.getDatabaseVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseVersion"])
|
|
3607
4211
|
DocumentReader.getDocumentReaderIsReady = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocumentReaderIsReady"])
|
|
3608
4212
|
DocumentReader.getDocumentReaderStatus = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocumentReaderStatus"])
|
|
3609
|
-
DocumentReader.getDatabaseCountriesNumber = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseCountriesNumber"])
|
|
3610
|
-
DocumentReader.getDatabaseDocumentsNumber = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseDocumentsNumber"])
|
|
3611
|
-
DocumentReader.selectedScenario = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["selectedScenario"])
|
|
3612
|
-
DocumentReader.getSessionLogFolder = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getSessionLogFolder"])
|
|
3613
|
-
DocumentReader.getDatabaseDescription = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDatabaseDescription"])
|
|
3614
|
-
/**
|
|
3615
|
-
* @deprecated
|
|
3616
|
-
*/
|
|
3617
|
-
DocumentReader.showScanner = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["showScanner"])
|
|
3618
|
-
DocumentReader.startNewPage = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startNewPage"])
|
|
3619
|
-
DocumentReader.startNewSession = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startNewSession"])
|
|
3620
|
-
DocumentReader.startRFIDReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startRFIDReader"])
|
|
3621
|
-
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopRFIDReader"])
|
|
3622
|
-
DocumentReader.stopRFIDReaderWithErrorMessage = (message, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopRFIDReaderWithErrorMessage", message])
|
|
3623
|
-
DocumentReader.stopScanner = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopScanner"])
|
|
3624
|
-
DocumentReader.deinitializeReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["deinitializeReader"])
|
|
3625
4213
|
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["isAuthenticatorAvailableForUse"])
|
|
3626
|
-
DocumentReader.
|
|
4214
|
+
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["isBlePermissionsGranted"])
|
|
4215
|
+
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getRfidSessionStatus"])
|
|
4216
|
+
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidSessionStatus", status])
|
|
4217
|
+
DocumentReader.getTag = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTag"])
|
|
4218
|
+
DocumentReader.setTag = (tag, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setTag", tag])
|
|
4219
|
+
DocumentReader.getFunctionality = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getFunctionality"])
|
|
4220
|
+
DocumentReader.setFunctionality = (functionality, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setFunctionality", functionality])
|
|
4221
|
+
DocumentReader.getProcessParams = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getProcessParams"])
|
|
4222
|
+
DocumentReader.setProcessParams = (processParams, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setProcessParams", processParams])
|
|
4223
|
+
DocumentReader.getCustomization = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getCustomization"])
|
|
4224
|
+
DocumentReader.setCustomization = (customization, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setCustomization", customization])
|
|
3627
4225
|
DocumentReader.getRfidScenario = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getRfidScenario"])
|
|
3628
|
-
DocumentReader.
|
|
3629
|
-
DocumentReader.
|
|
3630
|
-
DocumentReader.
|
|
3631
|
-
DocumentReader.
|
|
4226
|
+
DocumentReader.setRfidScenario = (rfidScenario, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidScenario", rfidScenario])
|
|
4227
|
+
DocumentReader.resetConfiguration = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["resetConfiguration"])
|
|
4228
|
+
DocumentReader.initializeReader = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReader", config])
|
|
4229
|
+
DocumentReader.initializeReaderWithBleDeviceConfig = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderWithBleDeviceConfig", config])
|
|
4230
|
+
DocumentReader.deinitializeReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["deinitializeReader"])
|
|
4231
|
+
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["prepareDatabase", databaseType])
|
|
3632
4232
|
DocumentReader.removeDatabase = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["removeDatabase"])
|
|
4233
|
+
DocumentReader.runAutoUpdate = (databaseId, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["runAutoUpdate", databaseId])
|
|
3633
4234
|
DocumentReader.cancelDBUpdate = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["cancelDBUpdate"])
|
|
3634
|
-
DocumentReader.resetConfiguration = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["resetConfiguration"])
|
|
3635
|
-
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["clearPKDCertificates"])
|
|
3636
|
-
DocumentReader.readRFID = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["readRFID"])
|
|
3637
|
-
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getRfidSessionStatus"])
|
|
3638
|
-
DocumentReader.setRfidDelegate = (delegate, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidDelegate", delegate])
|
|
3639
|
-
DocumentReader.setEnableCoreLogs = (logs, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setEnableCoreLogs", logs])
|
|
3640
|
-
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["addPKDCertificates", certificates])
|
|
3641
|
-
DocumentReader.setCameraSessionIsPaused = (paused, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setCameraSessionIsPaused", paused])
|
|
3642
|
-
DocumentReader.setTag = (tag, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setTag", tag])
|
|
3643
4235
|
DocumentReader.checkDatabaseUpdate = (databaseId, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["checkDatabaseUpdate", databaseId])
|
|
3644
4236
|
DocumentReader.scan = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["scan", config])
|
|
3645
4237
|
DocumentReader.recognize = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognize", config])
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
DocumentReader.
|
|
3650
|
-
|
|
3651
|
-
* @deprecated
|
|
3652
|
-
*/
|
|
3653
|
-
DocumentReader.showScannerWithCameraID = (cameraID, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["showScannerWithCameraID", cameraID])
|
|
3654
|
-
DocumentReader.runAutoUpdate = (databaseType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["runAutoUpdate", databaseType])
|
|
3655
|
-
DocumentReader.setConfig = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setConfig", config])
|
|
3656
|
-
DocumentReader.setRfidScenario = (scenario, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidScenario", scenario])
|
|
3657
|
-
DocumentReader.initializeReader = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReader", config])
|
|
3658
|
-
DocumentReader.prepareDatabase = (databaseType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["prepareDatabase", databaseType])
|
|
3659
|
-
/**
|
|
3660
|
-
* @deprecated
|
|
3661
|
-
*/
|
|
3662
|
-
DocumentReader.recognizeImage = (image, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImage", image])
|
|
3663
|
-
/**
|
|
3664
|
-
* @deprecated
|
|
3665
|
-
*/
|
|
3666
|
-
DocumentReader.recognizeData = (data, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeData", data])
|
|
3667
|
-
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidSessionStatus", status])
|
|
4238
|
+
DocumentReader.startNewPage = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startNewPage"])
|
|
4239
|
+
DocumentReader.stopScanner = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopScanner"])
|
|
4240
|
+
DocumentReader.startRFIDReader = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startRFIDReader", requestPACertificates, requestTACertificates, requestTASignature])
|
|
4241
|
+
DocumentReader.readRFID = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["readRFID", requestPACertificates, requestTACertificates, requestTASignature])
|
|
4242
|
+
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopRFIDReader"])
|
|
3668
4243
|
DocumentReader.providePACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["providePACertificates", certificates])
|
|
3669
4244
|
DocumentReader.provideTACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTACertificates", certificates])
|
|
3670
4245
|
DocumentReader.provideTASignature = (signature, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTASignature", signature])
|
|
3671
|
-
DocumentReader.parseCoreResults = (json, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["parseCoreResults", json])
|
|
3672
4246
|
DocumentReader.setTCCParams = (params, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setTCCParams", params])
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
DocumentReader.
|
|
3677
|
-
DocumentReader.
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
DocumentReader.
|
|
3682
|
-
DocumentReader.
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
*/
|
|
3686
|
-
DocumentReader.recognizeImagesWithImageInputs = (images, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["recognizeImagesWithImageInputs", images])
|
|
3687
|
-
DocumentReader.setLanguage = (language, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setLanguage", language])
|
|
4247
|
+
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["addPKDCertificates", certificates])
|
|
4248
|
+
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["clearPKDCertificates"])
|
|
4249
|
+
DocumentReader.startNewSession = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startNewSession"])
|
|
4250
|
+
DocumentReader.startBluetoothService = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startBluetoothService"])
|
|
4251
|
+
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setLocalizationDictionary", dictionary])
|
|
4252
|
+
DocumentReader.getLicense = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getLicense"])
|
|
4253
|
+
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getAvailableScenarios"])
|
|
4254
|
+
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getIsRFIDAvailableForUse"])
|
|
4255
|
+
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocReaderVersion"])
|
|
4256
|
+
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocReaderDocumentsDatabase"])
|
|
4257
|
+
DocumentReader.finalizePackage = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["finalizePackage"])
|
|
4258
|
+
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTranslation", className, value])
|
|
3688
4259
|
|
|
3689
4260
|
DocumentReader.textFieldValueByType = (results, fieldType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByType", results.rawResult, fieldType])
|
|
3690
4261
|
DocumentReader.textFieldValueByTypeLcid = (results, fieldType, lcid, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeLcid", results.rawResult, fieldType, lcid])
|
|
@@ -3711,7 +4282,6 @@ DocumentReaderPlugin.Enum = Enum
|
|
|
3711
4282
|
|
|
3712
4283
|
DocumentReaderPlugin.DocumentReaderScenario = DocumentReaderScenario
|
|
3713
4284
|
DocumentReaderPlugin.Rect = Rect
|
|
3714
|
-
DocumentReaderPlugin.DocReaderFieldRect = DocReaderFieldRect
|
|
3715
4285
|
DocumentReaderPlugin.DocumentReaderGraphicField = DocumentReaderGraphicField
|
|
3716
4286
|
DocumentReaderPlugin.DocumentReaderGraphicResult = DocumentReaderGraphicResult
|
|
3717
4287
|
DocumentReaderPlugin.DocumentReaderValue = DocumentReaderValue
|
|
@@ -3750,6 +4320,7 @@ DocumentReaderPlugin.DocumentReaderCompletion = DocumentReaderCompletion
|
|
|
3750
4320
|
DocumentReaderPlugin.RfidNotificationCompletion = RfidNotificationCompletion
|
|
3751
4321
|
DocumentReaderPlugin.RegulaException = RegulaException
|
|
3752
4322
|
DocumentReaderPlugin.PKDCertificate = PKDCertificate
|
|
4323
|
+
DocumentReaderPlugin.TccParams = TccParams
|
|
3753
4324
|
DocumentReaderPlugin.ImageInputParam = ImageInputParam
|
|
3754
4325
|
DocumentReaderPlugin.PAResourcesIssuer = PAResourcesIssuer
|
|
3755
4326
|
DocumentReaderPlugin.PAAttribute = PAAttribute
|
|
@@ -3766,14 +4337,34 @@ DocumentReaderPlugin.DocumentReaderRfidOrigin = DocumentReaderRfidOrigin
|
|
|
3766
4337
|
DocumentReaderPlugin.DocumentReaderTextSource = DocumentReaderTextSource
|
|
3767
4338
|
DocumentReaderPlugin.DocumentReaderSymbol = DocumentReaderSymbol
|
|
3768
4339
|
DocumentReaderPlugin.DocumentReaderValidity = DocumentReaderValidity
|
|
3769
|
-
DocumentReaderPlugin.FaceApiParams = FaceApiParams
|
|
3770
|
-
DocumentReaderPlugin.Search = Search
|
|
3771
|
-
DocumentReaderPlugin.ImageQA = ImageQA
|
|
3772
|
-
DocumentReaderPlugin.GlaresCheckParams = GlaresCheckParams
|
|
3773
|
-
DocumentReaderPlugin.RFIDParams = RFIDParams
|
|
3774
4340
|
DocumentReaderPlugin.OnlineProcessingConfig = OnlineProcessingConfig
|
|
4341
|
+
DocumentReaderPlugin.DocReaderConfig = DocReaderConfig
|
|
3775
4342
|
DocumentReaderPlugin.ScannerConfig = ScannerConfig
|
|
3776
4343
|
DocumentReaderPlugin.RecognizeConfig = RecognizeConfig
|
|
4344
|
+
DocumentReaderPlugin.License = License
|
|
4345
|
+
DocumentReaderPlugin.DocReaderVersion = DocReaderVersion
|
|
4346
|
+
DocumentReaderPlugin.TransactionInfo = TransactionInfo
|
|
3777
4347
|
DocumentReaderPlugin.DocumentReaderResults = DocumentReaderResults
|
|
4348
|
+
DocumentReaderPlugin.CameraSize = CameraSize
|
|
4349
|
+
DocumentReaderPlugin.Functionality = Functionality
|
|
4350
|
+
DocumentReaderPlugin.GlaresCheckParams = GlaresCheckParams
|
|
4351
|
+
DocumentReaderPlugin.ImageQA = ImageQA
|
|
4352
|
+
DocumentReaderPlugin.RFIDParams = RFIDParams
|
|
4353
|
+
DocumentReaderPlugin.FaceApiSearchParams = FaceApiSearchParams
|
|
4354
|
+
DocumentReaderPlugin.FaceApiParams = FaceApiParams
|
|
4355
|
+
DocumentReaderPlugin.BackendProcessingConfig = BackendProcessingConfig
|
|
4356
|
+
DocumentReaderPlugin.LivenessParams = LivenessParams
|
|
4357
|
+
DocumentReaderPlugin.AuthenticityParams = AuthenticityParams
|
|
4358
|
+
DocumentReaderPlugin.ProcessParams = ProcessParams
|
|
4359
|
+
DocumentReaderPlugin.Font = Font
|
|
4360
|
+
DocumentReaderPlugin.CustomizationColors = CustomizationColors
|
|
4361
|
+
DocumentReaderPlugin.CustomizationFonts = CustomizationFonts
|
|
4362
|
+
DocumentReaderPlugin.CustomizationImages = CustomizationImages
|
|
4363
|
+
DocumentReaderPlugin.Customization = Customization
|
|
4364
|
+
DocumentReaderPlugin.EDLDataGroups = EDLDataGroups
|
|
4365
|
+
DocumentReaderPlugin.EPassportDataGroups = EPassportDataGroups
|
|
4366
|
+
DocumentReaderPlugin.EIDDataGroups = EIDDataGroups
|
|
4367
|
+
DocumentReaderPlugin.RFIDScenario = RFIDScenario
|
|
4368
|
+
DocumentReaderPlugin.PrepareProgress = PrepareProgress
|
|
3778
4369
|
|
|
3779
4370
|
module.exports = DocumentReaderPlugin
|