@regulaforensics/cordova-plugin-document-reader-api 7.1.0 → 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/example/package.json +2 -2
- package/example/www/js/index.js +7 -6
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/Config.kt +9 -7
- package/src/android/DocumentReader.kt +15 -16
- package/src/android/JSONConstructor.kt +13 -2
- package/src/android/Utils.kt +21 -16
- package/src/android/build.gradle +1 -1
- package/src/ios/RGLWConfig.m +24 -37
- package/src/ios/RGLWDocumentReader.h +3 -3
- package/src/ios/RGLWDocumentReader.m +21 -28
- package/src/ios/RGLWJSONConstructor.m +30 -39
- package/www/DocumentReader.js +680 -214
package/www/DocumentReader.js
CHANGED
|
@@ -636,10 +636,7 @@ class DocumentReaderBarcodeField {
|
|
|
636
636
|
result.status = jsonObject["status"]
|
|
637
637
|
result.pageIndex = jsonObject["pageIndex"]
|
|
638
638
|
result.pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"])
|
|
639
|
-
result.data = []
|
|
640
|
-
if (jsonObject["data"] != null)
|
|
641
|
-
for (const i in jsonObject["data"])
|
|
642
|
-
result.data.push(jsonObject["data"][i])
|
|
639
|
+
result.data = jsonObject["data"]
|
|
643
640
|
|
|
644
641
|
return result
|
|
645
642
|
}
|
|
@@ -760,10 +757,7 @@ class PAResourcesIssuer {
|
|
|
760
757
|
if (jsonObject == null) return null
|
|
761
758
|
const result = new PAResourcesIssuer()
|
|
762
759
|
|
|
763
|
-
result.data = []
|
|
764
|
-
if (jsonObject["data"] != null)
|
|
765
|
-
for (const i in jsonObject["data"])
|
|
766
|
-
result.data.push(jsonObject["data"][i])
|
|
760
|
+
result.data = jsonObject["data"]
|
|
767
761
|
result.friendlyName = jsonObject["friendlyName"]
|
|
768
762
|
result.attributes = []
|
|
769
763
|
if (jsonObject["attributes"] != null)
|
|
@@ -791,10 +785,7 @@ class TAChallenge {
|
|
|
791
785
|
if (jsonObject == null) return null
|
|
792
786
|
const result = new TAChallenge()
|
|
793
787
|
|
|
794
|
-
result.data = []
|
|
795
|
-
if (jsonObject["data"] != null)
|
|
796
|
-
for (const i in jsonObject["data"])
|
|
797
|
-
result.data.push(jsonObject["data"][i])
|
|
788
|
+
result.data = jsonObject["data"]
|
|
798
789
|
result.auxPCD = jsonObject["auxPCD"]
|
|
799
790
|
result.challengePICC = jsonObject["challengePICC"]
|
|
800
791
|
result.hashPK = jsonObject["hashPK"]
|
|
@@ -907,10 +898,7 @@ class ImageInputData {
|
|
|
907
898
|
result.width = jsonObject["width"]
|
|
908
899
|
result.height = jsonObject["height"]
|
|
909
900
|
result.bitmap = jsonObject["bitmap"]
|
|
910
|
-
result.imgBytes = []
|
|
911
|
-
if (jsonObject["imgBytes"] != null)
|
|
912
|
-
for (const i in jsonObject["imgBytes"])
|
|
913
|
-
result.imgBytes.push(jsonObject["imgBytes"][i])
|
|
901
|
+
result.imgBytes = jsonObject["imgBytes"]
|
|
914
902
|
|
|
915
903
|
return result
|
|
916
904
|
}
|
|
@@ -998,128 +986,6 @@ class DocumentReaderValidity {
|
|
|
998
986
|
}
|
|
999
987
|
}
|
|
1000
988
|
|
|
1001
|
-
class FaceApiParams {
|
|
1002
|
-
static fromJson(jsonObject) {
|
|
1003
|
-
if (jsonObject == null) return null
|
|
1004
|
-
const result = new FaceApiParams()
|
|
1005
|
-
|
|
1006
|
-
result.url = jsonObject["url"]
|
|
1007
|
-
result.mode = jsonObject["mode"]
|
|
1008
|
-
result.searchParams = Search.fromJson(jsonObject["searchParams"])
|
|
1009
|
-
result.threshold = jsonObject["threshold"]
|
|
1010
|
-
result.serviceTimeout = jsonObject["serviceTimeout"]
|
|
1011
|
-
result.proxy = jsonObject["proxy"]
|
|
1012
|
-
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1013
|
-
result.proxyType = jsonObject["proxyType"]
|
|
1014
|
-
|
|
1015
|
-
return result
|
|
1016
|
-
}
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
class Search {
|
|
1020
|
-
static fromJson(jsonObject) {
|
|
1021
|
-
if (jsonObject == null) return null
|
|
1022
|
-
const result = new Search()
|
|
1023
|
-
|
|
1024
|
-
result.limit = jsonObject["limit"]
|
|
1025
|
-
result.threshold = jsonObject["threshold"]
|
|
1026
|
-
result.groupIds = []
|
|
1027
|
-
if (jsonObject["groupIds"] != null)
|
|
1028
|
-
for (const i in jsonObject["groupIds"])
|
|
1029
|
-
result.groupIds.push(jsonObject["groupIds"][i])
|
|
1030
|
-
|
|
1031
|
-
return result
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
class AuthenticityParams {
|
|
1036
|
-
static fromJson(jsonObject) {
|
|
1037
|
-
if (jsonObject == null) return null
|
|
1038
|
-
const result = new AuthenticityParams()
|
|
1039
|
-
|
|
1040
|
-
result.useLivenessCheck = jsonObject["useLivenessCheck"]
|
|
1041
|
-
result.livenessParams = LivenessParams.fromJson(jsonObject["livenessParams"])
|
|
1042
|
-
result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]
|
|
1043
|
-
result.checkIRB900 = jsonObject["checkIRB900"]
|
|
1044
|
-
result.checkImagePatterns = jsonObject["checkImagePatterns"]
|
|
1045
|
-
result.checkFibers = jsonObject["checkFibers"]
|
|
1046
|
-
result.checkExtMRZ = jsonObject["checkExtMRZ"]
|
|
1047
|
-
result.checkExtOCR = jsonObject["checkExtOCR"]
|
|
1048
|
-
result.checkAxial = jsonObject["checkAxial"]
|
|
1049
|
-
result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]
|
|
1050
|
-
result.checkIRVisibility = jsonObject["checkIRVisibility"]
|
|
1051
|
-
result.checkIPI = jsonObject["checkIPI"]
|
|
1052
|
-
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1053
|
-
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1054
|
-
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1055
|
-
|
|
1056
|
-
return result
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
class LivenessParams {
|
|
1061
|
-
static fromJson(jsonObject) {
|
|
1062
|
-
if (jsonObject == null) return null
|
|
1063
|
-
const result = new LivenessParams()
|
|
1064
|
-
|
|
1065
|
-
result.checkOVI = jsonObject["checkOVI"]
|
|
1066
|
-
result.checkMLI = jsonObject["checkMLI"]
|
|
1067
|
-
result.checkHolo = jsonObject["checkHolo"]
|
|
1068
|
-
result.checkED = jsonObject["checkED"]
|
|
1069
|
-
|
|
1070
|
-
return result
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
class ImageQA {
|
|
1075
|
-
static fromJson(jsonObject) {
|
|
1076
|
-
if (jsonObject == null) return null
|
|
1077
|
-
const result = new ImageQA()
|
|
1078
|
-
|
|
1079
|
-
result.dpiThreshold = jsonObject["dpiThreshold"]
|
|
1080
|
-
result.angleThreshold = jsonObject["angleThreshold"]
|
|
1081
|
-
result.focusCheck = jsonObject["focusCheck"]
|
|
1082
|
-
result.glaresCheck = jsonObject["glaresCheck"]
|
|
1083
|
-
result.colornessCheck = jsonObject["colornessCheck"]
|
|
1084
|
-
result.screenCapture = jsonObject["screenCapture"]
|
|
1085
|
-
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1086
|
-
result.expectedPass = []
|
|
1087
|
-
if (jsonObject["expectedPass"] != null)
|
|
1088
|
-
for (const i in jsonObject["expectedPass"])
|
|
1089
|
-
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1090
|
-
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1091
|
-
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1092
|
-
|
|
1093
|
-
return result
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
class GlaresCheckParams {
|
|
1098
|
-
static fromJson(jsonObject) {
|
|
1099
|
-
if (jsonObject == null) return null
|
|
1100
|
-
const result = new GlaresCheckParams()
|
|
1101
|
-
|
|
1102
|
-
result.imgMarginPart = jsonObject["imgMarginPart"]
|
|
1103
|
-
result.maxGlaringPart = jsonObject["maxGlaringPart"]
|
|
1104
|
-
|
|
1105
|
-
return result
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
class RFIDParams {
|
|
1110
|
-
static fromJson(jsonObject) {
|
|
1111
|
-
if (jsonObject == null) return null
|
|
1112
|
-
const result = new RFIDParams()
|
|
1113
|
-
|
|
1114
|
-
result.paIgnoreNotificationCodes = []
|
|
1115
|
-
if (jsonObject["paIgnoreNotificationCodes"] != null)
|
|
1116
|
-
for (const i in jsonObject["paIgnoreNotificationCodes"])
|
|
1117
|
-
result.paIgnoreNotificationCodes.push(jsonObject["paIgnoreNotificationCodes"][i])
|
|
1118
|
-
|
|
1119
|
-
return result
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
989
|
class OnlineProcessingConfig {
|
|
1124
990
|
static fromJson(jsonObject) {
|
|
1125
991
|
if (jsonObject == null) return null
|
|
@@ -1127,7 +993,7 @@ class OnlineProcessingConfig {
|
|
|
1127
993
|
|
|
1128
994
|
result.mode = jsonObject["mode"]
|
|
1129
995
|
result.url = jsonObject["url"]
|
|
1130
|
-
result.processParam = jsonObject["processParam"]
|
|
996
|
+
result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
|
|
1131
997
|
result.imageFormat = jsonObject["imageFormat"]
|
|
1132
998
|
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1133
999
|
|
|
@@ -1278,6 +1144,592 @@ class DocumentReaderResults {
|
|
|
1278
1144
|
}
|
|
1279
1145
|
}
|
|
1280
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"]
|
|
1728
|
+
|
|
1729
|
+
return result
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1281
1733
|
// Enum
|
|
1282
1734
|
|
|
1283
1735
|
const FontStyle = {
|
|
@@ -1633,11 +2085,6 @@ const eRPRM_ResultType = {
|
|
|
1633
2085
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
1634
2086
|
}
|
|
1635
2087
|
|
|
1636
|
-
const CameraTypes = {
|
|
1637
|
-
FRONT: "front",
|
|
1638
|
-
BACK: "back",
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
2088
|
const FrameShapeType = {
|
|
1642
2089
|
LINE: 0,
|
|
1643
2090
|
CORNER: 1,
|
|
@@ -1650,6 +2097,12 @@ const eRFID_BaudRate = {
|
|
|
1650
2097
|
rfbr_848: 8,
|
|
1651
2098
|
}
|
|
1652
2099
|
|
|
2100
|
+
const LineCap = {
|
|
2101
|
+
BUTT: 0,
|
|
2102
|
+
ROUND: 1,
|
|
2103
|
+
SQUARE: 2,
|
|
2104
|
+
}
|
|
2105
|
+
|
|
1653
2106
|
const eRPRM_FieldVerificationResult = {
|
|
1654
2107
|
RCF_DISABLED: 0,
|
|
1655
2108
|
RCF_VERIFIED: 1,
|
|
@@ -1755,6 +2208,11 @@ const DocumentReaderErrorCodes = {
|
|
|
1755
2208
|
LICENSE_DATABASE_INCORRECT: 23,
|
|
1756
2209
|
INVALID_TCC_PARAMS: 24,
|
|
1757
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,
|
|
1758
2216
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
1759
2217
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
1760
2218
|
WRONG_INPUT: 400,
|
|
@@ -1837,6 +2295,12 @@ const eRFID_NotificationCodes = {
|
|
|
1837
2295
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
1838
2296
|
}
|
|
1839
2297
|
|
|
2298
|
+
const CameraPosition = {
|
|
2299
|
+
UNSPECIFIED: 0,
|
|
2300
|
+
BACK: 1,
|
|
2301
|
+
FRONT: 2,
|
|
2302
|
+
}
|
|
2303
|
+
|
|
1840
2304
|
const eRFID_Password_Type = {
|
|
1841
2305
|
PPT_UNKNOWN: 0,
|
|
1842
2306
|
PPT_MRZ: 1,
|
|
@@ -1847,6 +2311,23 @@ const eRFID_Password_Type = {
|
|
|
1847
2311
|
PPT_SAI: 6,
|
|
1848
2312
|
}
|
|
1849
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
|
+
|
|
1850
2331
|
const BarcodeResult = {
|
|
1851
2332
|
NO_ERR: 0,
|
|
1852
2333
|
NULL_PTR_ERR: -6001,
|
|
@@ -2001,6 +2482,12 @@ const eCheckDiagnose = {
|
|
|
2001
2482
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
2002
2483
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
2003
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,
|
|
2004
2491
|
LAST_DIAGNOSE_VALUE: 250,
|
|
2005
2492
|
}
|
|
2006
2493
|
|
|
@@ -2275,6 +2762,10 @@ const eLDS_ParsingNotificationCodes = {
|
|
|
2275
2762
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: 0x92000117,
|
|
2276
2763
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: 0x92000118,
|
|
2277
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,
|
|
2278
2769
|
}
|
|
2279
2770
|
|
|
2280
2771
|
const eImageQualityCheckType = {
|
|
@@ -2688,6 +3179,22 @@ const RegDeviceConfigType = {
|
|
|
2688
3179
|
DEVICE_7310: "DEVICE_7310",
|
|
2689
3180
|
}
|
|
2690
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,
|
|
3196
|
+
}
|
|
3197
|
+
|
|
2691
3198
|
const CameraMode = {
|
|
2692
3199
|
AUTO: 0,
|
|
2693
3200
|
CAMERA1: 1,
|
|
@@ -3435,6 +3942,7 @@ const eVisualFieldType = {
|
|
|
3435
3942
|
FT_ADDRESS_BUILDING_TYPE: 680,
|
|
3436
3943
|
FT_DATE_OF_RETIREMENT: 681,
|
|
3437
3944
|
FT_DOCUMENT_STATUS: 682,
|
|
3945
|
+
FT_SIGNATURE: 683,
|
|
3438
3946
|
}
|
|
3439
3947
|
|
|
3440
3948
|
const DocReaderOrientation = {
|
|
@@ -3637,61 +4145,6 @@ const eRPRM_Lights = {
|
|
|
3637
4145
|
RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
|
|
3638
4146
|
}
|
|
3639
4147
|
|
|
3640
|
-
const LineCap = {
|
|
3641
|
-
Butt: 0,
|
|
3642
|
-
Round: 1,
|
|
3643
|
-
Square: 2,
|
|
3644
|
-
}
|
|
3645
|
-
|
|
3646
|
-
const UIInterfaceOrientationMask = {
|
|
3647
|
-
Portrait: 0,
|
|
3648
|
-
LandscapeLeft: 1,
|
|
3649
|
-
LandscapeRight: 2,
|
|
3650
|
-
PortraitUpsideDown: 3,
|
|
3651
|
-
Landscape: 4,
|
|
3652
|
-
All: 5,
|
|
3653
|
-
AllButUpsideDown: 6,
|
|
3654
|
-
}
|
|
3655
|
-
|
|
3656
|
-
const AVCaptureSessionPreset = {
|
|
3657
|
-
Low: 0,
|
|
3658
|
-
Medium: 1,
|
|
3659
|
-
High: 2,
|
|
3660
|
-
Photo: 3,
|
|
3661
|
-
InputPriority: 4,
|
|
3662
|
-
QHD960x540: 5,
|
|
3663
|
-
Hd1280x720: 6,
|
|
3664
|
-
Hd1920x1080: 7,
|
|
3665
|
-
Hd4K3840x2160: 8,
|
|
3666
|
-
IFrame960x540: 9,
|
|
3667
|
-
IFrame1280x720: 10,
|
|
3668
|
-
Qvga320x240: 11,
|
|
3669
|
-
Vga640x480: 12,
|
|
3670
|
-
Cif352x288: 13,
|
|
3671
|
-
}
|
|
3672
|
-
|
|
3673
|
-
const AVCaptureDevicePosition = {
|
|
3674
|
-
Front: 0,
|
|
3675
|
-
Back: 1,
|
|
3676
|
-
Unspecified: 2,
|
|
3677
|
-
}
|
|
3678
|
-
|
|
3679
|
-
const UIViewContentMode = {
|
|
3680
|
-
ScaleToFill: 0,
|
|
3681
|
-
ScaleAspectFit: 1,
|
|
3682
|
-
ScaleAspectFill: 2,
|
|
3683
|
-
Redraw: 3,
|
|
3684
|
-
Center: 4,
|
|
3685
|
-
Top: 5,
|
|
3686
|
-
Bottom: 6,
|
|
3687
|
-
Left: 7,
|
|
3688
|
-
Right: 8,
|
|
3689
|
-
TopLeft: 9,
|
|
3690
|
-
TopRight: 10,
|
|
3691
|
-
BottomLeft: 11,
|
|
3692
|
-
BottomRight: 12,
|
|
3693
|
-
}
|
|
3694
|
-
|
|
3695
4148
|
const Enum = {
|
|
3696
4149
|
FontStyle,
|
|
3697
4150
|
eRPRM_Authenticity,
|
|
@@ -3701,9 +4154,9 @@ const Enum = {
|
|
|
3701
4154
|
eRFID_CertificateType,
|
|
3702
4155
|
RGLMeasureSystem,
|
|
3703
4156
|
eRPRM_ResultType,
|
|
3704
|
-
CameraTypes,
|
|
3705
4157
|
FrameShapeType,
|
|
3706
4158
|
eRFID_BaudRate,
|
|
4159
|
+
LineCap,
|
|
3707
4160
|
eRPRM_FieldVerificationResult,
|
|
3708
4161
|
DocReaderAction,
|
|
3709
4162
|
eProcessGLCommands,
|
|
@@ -3713,7 +4166,9 @@ const Enum = {
|
|
|
3713
4166
|
ScenarioIdentifier,
|
|
3714
4167
|
eRFID_AccessControl_ProcedureType,
|
|
3715
4168
|
eRFID_NotificationCodes,
|
|
4169
|
+
CameraPosition,
|
|
3716
4170
|
eRFID_Password_Type,
|
|
4171
|
+
ViewContentMode,
|
|
3717
4172
|
BarcodeResult,
|
|
3718
4173
|
eSignManagementAction,
|
|
3719
4174
|
eCheckDiagnose,
|
|
@@ -3737,6 +4192,7 @@ const Enum = {
|
|
|
3737
4192
|
ImageFormat,
|
|
3738
4193
|
eGraphicFieldType,
|
|
3739
4194
|
RegDeviceConfigType,
|
|
4195
|
+
CaptureSessionPreset,
|
|
3740
4196
|
CameraMode,
|
|
3741
4197
|
CaptureMode,
|
|
3742
4198
|
eCheckResult,
|
|
@@ -3748,11 +4204,6 @@ const Enum = {
|
|
|
3748
4204
|
CustomizationImage,
|
|
3749
4205
|
DocReaderFrame,
|
|
3750
4206
|
eRPRM_Lights,
|
|
3751
|
-
LineCap,
|
|
3752
|
-
UIInterfaceOrientationMask,
|
|
3753
|
-
AVCaptureSessionPreset,
|
|
3754
|
-
AVCaptureDevicePosition,
|
|
3755
|
-
UIViewContentMode,
|
|
3756
4207
|
}
|
|
3757
4208
|
|
|
3758
4209
|
const DocumentReader = {}
|
|
@@ -3773,6 +4224,7 @@ DocumentReader.getCustomization = (successCallback, errorCallback) => cordova.ex
|
|
|
3773
4224
|
DocumentReader.setCustomization = (customization, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setCustomization", customization])
|
|
3774
4225
|
DocumentReader.getRfidScenario = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getRfidScenario"])
|
|
3775
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"])
|
|
3776
4228
|
DocumentReader.initializeReader = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReader", config])
|
|
3777
4229
|
DocumentReader.initializeReaderWithBleDeviceConfig = (config, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["initializeReaderWithBleDeviceConfig", config])
|
|
3778
4230
|
DocumentReader.deinitializeReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["deinitializeReader"])
|
|
@@ -3786,8 +4238,8 @@ DocumentReader.recognize = (config, successCallback, errorCallback) => cordova.e
|
|
|
3786
4238
|
DocumentReader.startNewPage = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startNewPage"])
|
|
3787
4239
|
DocumentReader.stopScanner = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopScanner"])
|
|
3788
4240
|
DocumentReader.startRFIDReader = (requestPACertificates, requestTACertificates, requestTASignature, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["startRFIDReader", requestPACertificates, requestTACertificates, requestTASignature])
|
|
3789
|
-
DocumentReader.stopRFIDReader = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["stopRFIDReader"])
|
|
3790
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"])
|
|
3791
4243
|
DocumentReader.providePACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["providePACertificates", certificates])
|
|
3792
4244
|
DocumentReader.provideTACertificates = (certificates, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTACertificates", certificates])
|
|
3793
4245
|
DocumentReader.provideTASignature = (signature, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["provideTASignature", signature])
|
|
@@ -3802,8 +4254,8 @@ DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => cordo
|
|
|
3802
4254
|
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getIsRFIDAvailableForUse"])
|
|
3803
4255
|
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocReaderVersion"])
|
|
3804
4256
|
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getDocReaderDocumentsDatabase"])
|
|
3805
|
-
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTranslation", className, value])
|
|
3806
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])
|
|
3807
4259
|
|
|
3808
4260
|
DocumentReader.textFieldValueByType = (results, fieldType, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByType", results.rawResult, fieldType])
|
|
3809
4261
|
DocumentReader.textFieldValueByTypeLcid = (results, fieldType, lcid, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["textFieldValueByTypeLcid", results.rawResult, fieldType, lcid])
|
|
@@ -3885,13 +4337,6 @@ DocumentReaderPlugin.DocumentReaderRfidOrigin = DocumentReaderRfidOrigin
|
|
|
3885
4337
|
DocumentReaderPlugin.DocumentReaderTextSource = DocumentReaderTextSource
|
|
3886
4338
|
DocumentReaderPlugin.DocumentReaderSymbol = DocumentReaderSymbol
|
|
3887
4339
|
DocumentReaderPlugin.DocumentReaderValidity = DocumentReaderValidity
|
|
3888
|
-
DocumentReaderPlugin.FaceApiParams = FaceApiParams
|
|
3889
|
-
DocumentReaderPlugin.Search = Search
|
|
3890
|
-
DocumentReaderPlugin.AuthenticityParams = AuthenticityParams
|
|
3891
|
-
DocumentReaderPlugin.LivenessParams = LivenessParams
|
|
3892
|
-
DocumentReaderPlugin.ImageQA = ImageQA
|
|
3893
|
-
DocumentReaderPlugin.GlaresCheckParams = GlaresCheckParams
|
|
3894
|
-
DocumentReaderPlugin.RFIDParams = RFIDParams
|
|
3895
4340
|
DocumentReaderPlugin.OnlineProcessingConfig = OnlineProcessingConfig
|
|
3896
4341
|
DocumentReaderPlugin.DocReaderConfig = DocReaderConfig
|
|
3897
4342
|
DocumentReaderPlugin.ScannerConfig = ScannerConfig
|
|
@@ -3900,5 +4345,26 @@ DocumentReaderPlugin.License = License
|
|
|
3900
4345
|
DocumentReaderPlugin.DocReaderVersion = DocReaderVersion
|
|
3901
4346
|
DocumentReaderPlugin.TransactionInfo = TransactionInfo
|
|
3902
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
|
|
3903
4369
|
|
|
3904
4370
|
module.exports = DocumentReaderPlugin
|