@regulaforensics/react-native-document-reader-api 6.9.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -42
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +10 -10
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +78 -74
- package/android/src/main/java/com/regula/documentreader/Config.kt +692 -0
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +2198 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +535 -0
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.kt +11 -0
- package/android/src/main/java/com/regula/documentreader/Utils.kt +261 -0
- package/example/App.tsx +97 -145
- package/example/README.md +37 -0
- package/example/android/app/build.gradle +1 -1
- package/example/android/app/src/main/java/com/regula/dr/fullrfid/MainApplication.java +0 -1
- package/example/android/app/src/main/res/values/styles.xml +1 -2
- package/example/android/build.gradle +2 -4
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +2 -2
- package/example/index.js +1 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +8 -4
- package/example/ios/Podfile +2 -21
- package/example/package-lock.json +3444 -2439
- package/example/package.json +28 -28
- package/example/react-native.config.js +5 -0
- package/index.d.ts +1375 -446
- package/index.js +843 -272
- package/ios/RGLWConfig.h +48 -0
- package/ios/RGLWConfig.m +1312 -0
- package/ios/RGLWJSONConstructor.h +173 -69
- package/ios/RGLWJSONConstructor.m +1832 -786
- package/ios/RNRegulaDocumentReader.h +10 -9
- package/ios/RNRegulaDocumentReader.m +388 -587
- package/package.json +1 -1
- package/android/src/main/java/com/regula/documentreader/Helpers.java +0 -259
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.java +0 -1119
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.java +0 -1153
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderPackage.java +0 -26
- package/android/src/main/java/com/regula/documentreader/RegulaConfig.java +0 -830
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -7
- package/example/Gemfile +0 -6
- package/example/Gemfile.lock +0 -98
- package/example/__tests__/App.test.tsx +0 -17
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -3
- package/example/jest.config.js +0 -3
- package/example/tsconfig.json +0 -3
- package/ios/RGLWRegulaConfig.h +0 -26
- package/ios/RGLWRegulaConfig.m +0 -1152
- package/ios/RNRegulaDocumentReader.xcodeproj/project.pbxproj +0 -304
- package/ios/RNRegulaDocumentReader.xcworkspace/contents.xcworkspacedata +0 -9
package/index.d.ts
CHANGED
|
@@ -57,25 +57,6 @@ export class Rect {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export class DocReaderFieldRect {
|
|
61
|
-
bottom?: number
|
|
62
|
-
top?: number
|
|
63
|
-
left?: number
|
|
64
|
-
right?: number
|
|
65
|
-
|
|
66
|
-
static fromJson(jsonObject?: any): DocReaderFieldRect | undefined {
|
|
67
|
-
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
68
|
-
const result = new DocReaderFieldRect
|
|
69
|
-
|
|
70
|
-
result.bottom = jsonObject["bottom"]
|
|
71
|
-
result.top = jsonObject["top"]
|
|
72
|
-
result.left = jsonObject["left"]
|
|
73
|
-
result.right = jsonObject["right"]
|
|
74
|
-
|
|
75
|
-
return result
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
60
|
export class DocumentReaderGraphicField {
|
|
80
61
|
sourceType?: number
|
|
81
62
|
fieldType?: number
|
|
@@ -85,7 +66,7 @@ export class DocumentReaderGraphicField {
|
|
|
85
66
|
fieldName?: string
|
|
86
67
|
lightName?: string
|
|
87
68
|
value?: string
|
|
88
|
-
fieldRect?:
|
|
69
|
+
fieldRect?: Rect
|
|
89
70
|
|
|
90
71
|
static fromJson(jsonObject?: any): DocumentReaderGraphicField | undefined {
|
|
91
72
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -99,7 +80,7 @@ export class DocumentReaderGraphicField {
|
|
|
99
80
|
result.fieldName = jsonObject["fieldName"]
|
|
100
81
|
result.lightName = jsonObject["lightName"]
|
|
101
82
|
result.value = jsonObject["value"]
|
|
102
|
-
result.fieldRect =
|
|
83
|
+
result.fieldRect = Rect.fromJson(jsonObject["fieldRect"])
|
|
103
84
|
|
|
104
85
|
return result
|
|
105
86
|
}
|
|
@@ -128,12 +109,10 @@ export class DocumentReaderGraphicResult {
|
|
|
128
109
|
export class DocumentReaderValue {
|
|
129
110
|
pageIndex?: number
|
|
130
111
|
sourceType?: number
|
|
131
|
-
validity?: number
|
|
132
112
|
probability?: number
|
|
133
113
|
value?: string
|
|
134
114
|
originalValue?: string
|
|
135
115
|
boundRect?: Rect
|
|
136
|
-
comparison?: Record<number, number>
|
|
137
116
|
originalSymbols?: DocumentReaderSymbol[]
|
|
138
117
|
rfidOrigin?: DocumentReaderRfidOrigin
|
|
139
118
|
|
|
@@ -143,17 +122,10 @@ export class DocumentReaderValue {
|
|
|
143
122
|
|
|
144
123
|
result.pageIndex = jsonObject["pageIndex"]
|
|
145
124
|
result.sourceType = jsonObject["sourceType"]
|
|
146
|
-
result.validity = jsonObject["validity"]
|
|
147
125
|
result.probability = jsonObject["probability"]
|
|
148
126
|
result.value = jsonObject["value"]
|
|
149
127
|
result.originalValue = jsonObject["originalValue"]
|
|
150
128
|
result.boundRect = Rect.fromJson(jsonObject["boundRect"])
|
|
151
|
-
result.comparison = {}
|
|
152
|
-
if (jsonObject["comparison"] != null) {
|
|
153
|
-
for (const i in jsonObject["comparison"]) {
|
|
154
|
-
result.comparison[i as unknown as number] = jsonObject["comparison"][i]
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
129
|
result.originalSymbols = []
|
|
158
130
|
if (jsonObject["originalSymbols"] != null) {
|
|
159
131
|
for (const i in jsonObject["originalSymbols"]) {
|
|
@@ -321,6 +293,7 @@ export class ImageQuality {
|
|
|
321
293
|
featureType?: number
|
|
322
294
|
result?: number
|
|
323
295
|
type?: number
|
|
296
|
+
boundRects?: Rect[]
|
|
324
297
|
|
|
325
298
|
static fromJson(jsonObject?: any): ImageQuality | undefined {
|
|
326
299
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -329,6 +302,14 @@ export class ImageQuality {
|
|
|
329
302
|
result.featureType = jsonObject["featureType"]
|
|
330
303
|
result.result = jsonObject["result"]
|
|
331
304
|
result.type = jsonObject["type"]
|
|
305
|
+
result.boundRects = []
|
|
306
|
+
if (jsonObject["boundRects"] != null) {
|
|
307
|
+
for (const i in jsonObject["boundRects"]) {
|
|
308
|
+
const item = Rect.fromJson(jsonObject["boundRects"][i])
|
|
309
|
+
if (item != undefined)
|
|
310
|
+
result.boundRects.push(item)
|
|
311
|
+
}
|
|
312
|
+
}
|
|
332
313
|
|
|
333
314
|
return result
|
|
334
315
|
}
|
|
@@ -491,6 +472,7 @@ export class SecurityObjectCertificates {
|
|
|
491
472
|
export class File {
|
|
492
473
|
readingTime?: number
|
|
493
474
|
type?: number
|
|
475
|
+
typeName?: string
|
|
494
476
|
pAStatus?: number
|
|
495
477
|
readingStatus?: number
|
|
496
478
|
fileID?: string
|
|
@@ -507,6 +489,7 @@ export class File {
|
|
|
507
489
|
|
|
508
490
|
result.readingTime = jsonObject["readingTime"]
|
|
509
491
|
result.type = jsonObject["type"]
|
|
492
|
+
result.typeName = jsonObject["typeName"]
|
|
510
493
|
result.pAStatus = jsonObject["pAStatus"]
|
|
511
494
|
result.readingStatus = jsonObject["readingStatus"]
|
|
512
495
|
result.fileID = jsonObject["fileID"]
|
|
@@ -989,7 +972,7 @@ export class DocumentReaderBarcodeField {
|
|
|
989
972
|
status?: number
|
|
990
973
|
pageIndex?: number
|
|
991
974
|
pdf417Info?: PDF417Info
|
|
992
|
-
data?:
|
|
975
|
+
data?: string
|
|
993
976
|
|
|
994
977
|
static fromJson(jsonObject?: any): DocumentReaderBarcodeField | undefined {
|
|
995
978
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -999,12 +982,7 @@ export class DocumentReaderBarcodeField {
|
|
|
999
982
|
result.status = jsonObject["status"]
|
|
1000
983
|
result.pageIndex = jsonObject["pageIndex"]
|
|
1001
984
|
result.pdf417Info = PDF417Info.fromJson(jsonObject["pdf417Info"])
|
|
1002
|
-
result.data = []
|
|
1003
|
-
if (jsonObject["data"] != null) {
|
|
1004
|
-
for (const i in jsonObject["data"]) {
|
|
1005
|
-
result.data.push(jsonObject["data"][i])
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
985
|
+
result.data = jsonObject["data"]
|
|
1008
986
|
|
|
1009
987
|
return result
|
|
1010
988
|
}
|
|
@@ -1117,6 +1095,27 @@ export class PKDCertificate {
|
|
|
1117
1095
|
}
|
|
1118
1096
|
}
|
|
1119
1097
|
|
|
1098
|
+
export class TccParams {
|
|
1099
|
+
serviceUrlTA?: string
|
|
1100
|
+
serviceUrlPA?: string
|
|
1101
|
+
pfxCertUrl?: string
|
|
1102
|
+
pfxPassPhrase?: string
|
|
1103
|
+
pfxCert?: string
|
|
1104
|
+
|
|
1105
|
+
static fromJson(jsonObject?: any): TccParams | undefined {
|
|
1106
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1107
|
+
const result = new TccParams
|
|
1108
|
+
|
|
1109
|
+
result.serviceUrlTA = jsonObject["serviceUrlTA"]
|
|
1110
|
+
result.serviceUrlPA = jsonObject["serviceUrlPA"]
|
|
1111
|
+
result.pfxCertUrl = jsonObject["pfxCertUrl"]
|
|
1112
|
+
result.pfxPassPhrase = jsonObject["pfxPassPhrase"]
|
|
1113
|
+
result.pfxCert = jsonObject["pfxCert"]
|
|
1114
|
+
|
|
1115
|
+
return result
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1120
1119
|
export class ImageInputParam {
|
|
1121
1120
|
width?: number
|
|
1122
1121
|
height?: number
|
|
@@ -1139,7 +1138,7 @@ export class ImageInputParam {
|
|
|
1139
1138
|
}
|
|
1140
1139
|
|
|
1141
1140
|
export class PAResourcesIssuer {
|
|
1142
|
-
data?:
|
|
1141
|
+
data?: string
|
|
1143
1142
|
friendlyName?: string
|
|
1144
1143
|
attributes?: PAAttribute[]
|
|
1145
1144
|
|
|
@@ -1147,12 +1146,7 @@ export class PAResourcesIssuer {
|
|
|
1147
1146
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1148
1147
|
const result = new PAResourcesIssuer
|
|
1149
1148
|
|
|
1150
|
-
result.data = []
|
|
1151
|
-
if (jsonObject["data"] != null) {
|
|
1152
|
-
for (const i in jsonObject["data"]) {
|
|
1153
|
-
result.data.push(jsonObject["data"][i])
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1149
|
+
result.data = jsonObject["data"]
|
|
1156
1150
|
result.friendlyName = jsonObject["friendlyName"]
|
|
1157
1151
|
result.attributes = []
|
|
1158
1152
|
if (jsonObject["attributes"] != null) {
|
|
@@ -1183,7 +1177,7 @@ export class PAAttribute {
|
|
|
1183
1177
|
}
|
|
1184
1178
|
|
|
1185
1179
|
export class TAChallenge {
|
|
1186
|
-
data?:
|
|
1180
|
+
data?: string
|
|
1187
1181
|
auxPCD?: string
|
|
1188
1182
|
challengePICC?: string
|
|
1189
1183
|
hashPK?: string
|
|
@@ -1193,12 +1187,7 @@ export class TAChallenge {
|
|
|
1193
1187
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1194
1188
|
const result = new TAChallenge
|
|
1195
1189
|
|
|
1196
|
-
result.data = []
|
|
1197
|
-
if (jsonObject["data"] != null) {
|
|
1198
|
-
for (const i in jsonObject["data"]) {
|
|
1199
|
-
result.data.push(jsonObject["data"][i])
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1190
|
+
result.data = jsonObject["data"]
|
|
1202
1191
|
result.auxPCD = jsonObject["auxPCD"]
|
|
1203
1192
|
result.challengePICC = jsonObject["challengePICC"]
|
|
1204
1193
|
result.hashPK = jsonObject["hashPK"]
|
|
@@ -1291,7 +1280,7 @@ export class VDSNCData {
|
|
|
1291
1280
|
type?: string
|
|
1292
1281
|
version?: number
|
|
1293
1282
|
issuingCountry?: string
|
|
1294
|
-
message?: any
|
|
1283
|
+
message?: Record<string, any>
|
|
1295
1284
|
signatureAlgorithm?: string
|
|
1296
1285
|
signature?: BytesData
|
|
1297
1286
|
certificate?: BytesData
|
|
@@ -1354,7 +1343,7 @@ export class ImageInputData {
|
|
|
1354
1343
|
width?: number
|
|
1355
1344
|
height?: number
|
|
1356
1345
|
bitmap?: string
|
|
1357
|
-
imgBytes?:
|
|
1346
|
+
imgBytes?: string
|
|
1358
1347
|
|
|
1359
1348
|
static fromJson(jsonObject?: any): ImageInputData | undefined {
|
|
1360
1349
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -1366,12 +1355,7 @@ export class ImageInputData {
|
|
|
1366
1355
|
result.width = jsonObject["width"]
|
|
1367
1356
|
result.height = jsonObject["height"]
|
|
1368
1357
|
result.bitmap = jsonObject["bitmap"]
|
|
1369
|
-
result.imgBytes = []
|
|
1370
|
-
if (jsonObject["imgBytes"] != null) {
|
|
1371
|
-
for (const i in jsonObject["imgBytes"]) {
|
|
1372
|
-
result.imgBytes.push(jsonObject["imgBytes"][i])
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1358
|
+
result.imgBytes = jsonObject["imgBytes"]
|
|
1375
1359
|
|
|
1376
1360
|
return result
|
|
1377
1361
|
}
|
|
@@ -1487,50 +1471,423 @@ export class DocumentReaderValidity {
|
|
|
1487
1471
|
}
|
|
1488
1472
|
}
|
|
1489
1473
|
|
|
1490
|
-
export class
|
|
1474
|
+
export class OnlineProcessingConfig {
|
|
1475
|
+
mode?: number
|
|
1491
1476
|
url?: string
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
serviceTimeout?: number
|
|
1496
|
-
proxy?: string
|
|
1497
|
-
proxyPassword?: string
|
|
1498
|
-
proxyType?: number
|
|
1477
|
+
processParam?: ProcessParams
|
|
1478
|
+
imageFormat?: number
|
|
1479
|
+
imageCompressionQuality?: number
|
|
1499
1480
|
|
|
1500
|
-
static fromJson(jsonObject?: any):
|
|
1481
|
+
static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined {
|
|
1501
1482
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1502
|
-
const result = new
|
|
1483
|
+
const result = new OnlineProcessingConfig
|
|
1503
1484
|
|
|
1504
|
-
result.url = jsonObject["url"]
|
|
1505
1485
|
result.mode = jsonObject["mode"]
|
|
1506
|
-
result.
|
|
1507
|
-
result.
|
|
1508
|
-
result.
|
|
1509
|
-
result.
|
|
1510
|
-
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1511
|
-
result.proxyType = jsonObject["proxyType"]
|
|
1486
|
+
result.url = jsonObject["url"]
|
|
1487
|
+
result.processParam = ProcessParams.fromJson(jsonObject["processParam"])
|
|
1488
|
+
result.imageFormat = jsonObject["imageFormat"]
|
|
1489
|
+
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1512
1490
|
|
|
1513
1491
|
return result
|
|
1514
1492
|
}
|
|
1515
1493
|
}
|
|
1516
1494
|
|
|
1517
|
-
export class
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1495
|
+
export class DocReaderConfig {
|
|
1496
|
+
license?: string
|
|
1497
|
+
customDb?: string
|
|
1498
|
+
databasePath?: string
|
|
1499
|
+
licenseUpdate?: boolean
|
|
1500
|
+
delayedNNLoad?: boolean
|
|
1501
|
+
blackList?: Record<string, string>
|
|
1521
1502
|
|
|
1522
|
-
static fromJson(jsonObject?: any):
|
|
1503
|
+
static fromJson(jsonObject?: any): DocReaderConfig | undefined {
|
|
1523
1504
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1524
|
-
const result = new
|
|
1505
|
+
const result = new DocReaderConfig
|
|
1525
1506
|
|
|
1526
|
-
result.
|
|
1527
|
-
result.
|
|
1528
|
-
result.
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1507
|
+
result.license = jsonObject["license"]
|
|
1508
|
+
result.customDb = jsonObject["customDb"]
|
|
1509
|
+
result.databasePath = jsonObject["databasePath"]
|
|
1510
|
+
result.licenseUpdate = jsonObject["licenseUpdate"]
|
|
1511
|
+
result.delayedNNLoad = jsonObject["delayedNNLoad"]
|
|
1512
|
+
result.blackList = jsonObject["blackList"]
|
|
1513
|
+
|
|
1514
|
+
return result
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
export class ScannerConfig {
|
|
1519
|
+
scenario?: string
|
|
1520
|
+
livePortrait?: string
|
|
1521
|
+
extPortrait?: string
|
|
1522
|
+
onlineProcessingConfig?: OnlineProcessingConfig
|
|
1523
|
+
cameraId?: number
|
|
1524
|
+
|
|
1525
|
+
static fromJson(jsonObject?: any): ScannerConfig | undefined {
|
|
1526
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1527
|
+
const result = new ScannerConfig
|
|
1528
|
+
|
|
1529
|
+
result.scenario = jsonObject["scenario"]
|
|
1530
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1531
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1532
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1533
|
+
result.cameraId = jsonObject["cameraId"]
|
|
1534
|
+
|
|
1535
|
+
return result
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
export class RecognizeConfig {
|
|
1540
|
+
scenario?: string
|
|
1541
|
+
onlineProcessingConfig?: OnlineProcessingConfig
|
|
1542
|
+
oneShotIdentification?: boolean
|
|
1543
|
+
livePortrait?: string
|
|
1544
|
+
extPortrait?: string
|
|
1545
|
+
image?: string
|
|
1546
|
+
data?: string
|
|
1547
|
+
images?: string[]
|
|
1548
|
+
imageInputData?: ImageInputData[]
|
|
1549
|
+
|
|
1550
|
+
static fromJson(jsonObject?: any): RecognizeConfig | undefined {
|
|
1551
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1552
|
+
const result = new RecognizeConfig
|
|
1553
|
+
|
|
1554
|
+
result.scenario = jsonObject["scenario"]
|
|
1555
|
+
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1556
|
+
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1557
|
+
result.livePortrait = jsonObject["livePortrait"]
|
|
1558
|
+
result.extPortrait = jsonObject["extPortrait"]
|
|
1559
|
+
result.image = jsonObject["image"]
|
|
1560
|
+
result.data = jsonObject["data"]
|
|
1561
|
+
result.images = []
|
|
1562
|
+
if (jsonObject["images"] != null) {
|
|
1563
|
+
for (const i in jsonObject["images"]) {
|
|
1564
|
+
result.images.push(jsonObject["images"][i])
|
|
1565
|
+
}
|
|
1566
|
+
}
|
|
1567
|
+
result.imageInputData = []
|
|
1568
|
+
if (jsonObject["imageInputData"] != null) {
|
|
1569
|
+
for (const i in jsonObject["imageInputData"]) {
|
|
1570
|
+
const item = ImageInputData.fromJson(jsonObject["imageInputData"][i])
|
|
1571
|
+
if (item != undefined)
|
|
1572
|
+
result.imageInputData.push(item)
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
return result
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
export class License {
|
|
1581
|
+
expiryDate?: string
|
|
1582
|
+
countryFilter?: string[]
|
|
1583
|
+
isRfidAvailable?: boolean
|
|
1584
|
+
|
|
1585
|
+
static fromJson(jsonObject?: any): License | undefined {
|
|
1586
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1587
|
+
const result = new License
|
|
1588
|
+
|
|
1589
|
+
result.expiryDate = jsonObject["expiryDate"]
|
|
1590
|
+
result.countryFilter = []
|
|
1591
|
+
if (jsonObject["countryFilter"] != null) {
|
|
1592
|
+
for (const i in jsonObject["countryFilter"]) {
|
|
1593
|
+
result.countryFilter.push(jsonObject["countryFilter"][i])
|
|
1532
1594
|
}
|
|
1533
1595
|
}
|
|
1596
|
+
result.isRfidAvailable = jsonObject["isRfidAvailable"]
|
|
1597
|
+
|
|
1598
|
+
return result
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
export class DocReaderVersion {
|
|
1603
|
+
api?: string
|
|
1604
|
+
core?: string
|
|
1605
|
+
coreMode?: string
|
|
1606
|
+
database?: DocReaderDocumentsDatabase
|
|
1607
|
+
|
|
1608
|
+
static fromJson(jsonObject?: any): DocReaderVersion | undefined {
|
|
1609
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1610
|
+
const result = new DocReaderVersion
|
|
1611
|
+
|
|
1612
|
+
result.api = jsonObject["api"]
|
|
1613
|
+
result.core = jsonObject["core"]
|
|
1614
|
+
result.coreMode = jsonObject["coreMode"]
|
|
1615
|
+
result.database = DocReaderDocumentsDatabase.fromJson(jsonObject["database"])
|
|
1616
|
+
|
|
1617
|
+
return result
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
export class TransactionInfo {
|
|
1622
|
+
transactionId?: string
|
|
1623
|
+
tag?: string
|
|
1624
|
+
|
|
1625
|
+
static fromJson(jsonObject?: any): TransactionInfo | undefined {
|
|
1626
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1627
|
+
const result = new TransactionInfo
|
|
1628
|
+
|
|
1629
|
+
result.transactionId = jsonObject["transactionId"]
|
|
1630
|
+
result.tag = jsonObject["tag"]
|
|
1631
|
+
|
|
1632
|
+
return result
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
export class DocumentReaderResults {
|
|
1637
|
+
chipPage?: number
|
|
1638
|
+
processingFinishedStatus?: number
|
|
1639
|
+
elapsedTime?: number
|
|
1640
|
+
elapsedTimeRFID?: number
|
|
1641
|
+
morePagesAvailable?: number
|
|
1642
|
+
graphicResult?: DocumentReaderGraphicResult
|
|
1643
|
+
textResult?: DocumentReaderTextResult
|
|
1644
|
+
documentPosition?: ElementPosition[]
|
|
1645
|
+
barcodePosition?: ElementPosition[]
|
|
1646
|
+
mrzPosition?: ElementPosition[]
|
|
1647
|
+
imageQuality?: ImageQualityGroup[]
|
|
1648
|
+
rawResult?: string
|
|
1649
|
+
rfidSessionData?: RFIDSessionData
|
|
1650
|
+
authenticityResult?: DocumentReaderAuthenticityResult
|
|
1651
|
+
barcodeResult?: DocumentReaderBarcodeResult
|
|
1652
|
+
documentType?: DocumentReaderDocumentType[]
|
|
1653
|
+
status?: DocumentReaderResultsStatus
|
|
1654
|
+
vdsncData?: VDSNCData
|
|
1655
|
+
transactionInfo?: TransactionInfo
|
|
1656
|
+
|
|
1657
|
+
textFieldValueByType(fieldType, successCallback, errorCallback) {
|
|
1658
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByType", [this.rawResult, fieldType], successCallback, errorCallback)
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
textFieldValueByTypeLcid(fieldType, lcid, successCallback, errorCallback) {
|
|
1662
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcid", [this.rawResult, fieldType, lcid], successCallback, errorCallback)
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
textFieldValueByTypeSource(fieldType, source, successCallback, errorCallback) {
|
|
1666
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
textFieldValueByTypeLcidSource(fieldType, lcid, source, successCallback, errorCallback) {
|
|
1670
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcidSource", [this.rawResult, fieldType, lcid, source], successCallback, errorCallback)
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
textFieldValueByTypeSourceOriginal(fieldType, source, original, successCallback, errorCallback) {
|
|
1674
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeSourceOriginal", [this.rawResult, fieldType, source, original], successCallback, errorCallback)
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
textFieldValueByTypeLcidSourceOriginal(fieldType, lcid, source, original, successCallback, errorCallback) {
|
|
1678
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcidSourceOriginal", [this.rawResult, fieldType, lcid, source, original], successCallback, errorCallback)
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
textFieldByType(fieldType, successCallback, errorCallback) {
|
|
1682
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldByType", [this.rawResult, fieldType], successCallback, errorCallback)
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
textFieldByTypeLcid(fieldType, lcid, successCallback, errorCallback) {
|
|
1686
|
+
RNRegulaDocumentReader.exec("DocumentReader", "textFieldByTypeLcid", [this.rawResult, fieldType, lcid], successCallback, errorCallback)
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
graphicFieldByTypeSource(fieldType, source, successCallback, errorCallback) {
|
|
1690
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
graphicFieldByTypeSourcePageIndex(fieldType, source, pageIndex, successCallback, errorCallback) {
|
|
1694
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex], successCallback, errorCallback)
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
graphicFieldByTypeSourcePageIndexLight(fieldType, source, pageIndex, light, successCallback, errorCallback) {
|
|
1698
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
graphicFieldImageByType(fieldType, successCallback, errorCallback) {
|
|
1702
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByType", [this.rawResult, fieldType], successCallback, errorCallback)
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
graphicFieldImageByTypeSource(fieldType, source, successCallback, errorCallback) {
|
|
1706
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
graphicFieldImageByTypeSourcePageIndex(fieldType, source, pageIndex, successCallback, errorCallback) {
|
|
1710
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex], successCallback, errorCallback)
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
graphicFieldImageByTypeSourcePageIndexLight(fieldType, source, pageIndex, light, successCallback, errorCallback) {
|
|
1714
|
+
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSourcePageIndexLight", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
containers(resultType, successCallback, errorCallback) {
|
|
1718
|
+
RNRegulaDocumentReader.exec("DocumentReader", "containers", [this.rawResult, resultType], successCallback, errorCallback)
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
encryptedContainers(successCallback, errorCallback) {
|
|
1722
|
+
RNRegulaDocumentReader.exec("DocumentReader", "encryptedContainers", [this.rawResult], successCallback, errorCallback)
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
static fromJson(jsonObject?: any): DocumentReaderResults | undefined {
|
|
1726
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1727
|
+
const result = new DocumentReaderResults
|
|
1728
|
+
|
|
1729
|
+
result.chipPage = jsonObject["chipPage"]
|
|
1730
|
+
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1731
|
+
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1732
|
+
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
1733
|
+
result.morePagesAvailable = jsonObject["morePagesAvailable"]
|
|
1734
|
+
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
1735
|
+
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
1736
|
+
result.documentPosition = []
|
|
1737
|
+
if (jsonObject["documentPosition"] != null) {
|
|
1738
|
+
for (const i in jsonObject["documentPosition"]) {
|
|
1739
|
+
const item = ElementPosition.fromJson(jsonObject["documentPosition"][i])
|
|
1740
|
+
if (item != undefined)
|
|
1741
|
+
result.documentPosition.push(item)
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
result.barcodePosition = []
|
|
1745
|
+
if (jsonObject["barcodePosition"] != null) {
|
|
1746
|
+
for (const i in jsonObject["barcodePosition"]) {
|
|
1747
|
+
const item = ElementPosition.fromJson(jsonObject["barcodePosition"][i])
|
|
1748
|
+
if (item != undefined)
|
|
1749
|
+
result.barcodePosition.push(item)
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
result.mrzPosition = []
|
|
1753
|
+
if (jsonObject["mrzPosition"] != null) {
|
|
1754
|
+
for (const i in jsonObject["mrzPosition"]) {
|
|
1755
|
+
const item = ElementPosition.fromJson(jsonObject["mrzPosition"][i])
|
|
1756
|
+
if (item != undefined)
|
|
1757
|
+
result.mrzPosition.push(item)
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
result.imageQuality = []
|
|
1761
|
+
if (jsonObject["imageQuality"] != null) {
|
|
1762
|
+
for (const i in jsonObject["imageQuality"]) {
|
|
1763
|
+
const item = ImageQualityGroup.fromJson(jsonObject["imageQuality"][i])
|
|
1764
|
+
if (item != undefined)
|
|
1765
|
+
result.imageQuality.push(item)
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
result.rawResult = jsonObject["rawResult"]
|
|
1769
|
+
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1770
|
+
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1771
|
+
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1772
|
+
result.documentType = []
|
|
1773
|
+
if (jsonObject["documentType"] != null) {
|
|
1774
|
+
for (const i in jsonObject["documentType"]) {
|
|
1775
|
+
const item = DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i])
|
|
1776
|
+
if (item != undefined)
|
|
1777
|
+
result.documentType.push(item)
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1781
|
+
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1782
|
+
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1783
|
+
|
|
1784
|
+
return result
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
export class CameraSize {
|
|
1789
|
+
width?: number
|
|
1790
|
+
height?: number
|
|
1791
|
+
|
|
1792
|
+
static fromJson(jsonObject?: any): CameraSize | undefined {
|
|
1793
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1794
|
+
const result = new CameraSize
|
|
1795
|
+
|
|
1796
|
+
result.width = jsonObject["width"]
|
|
1797
|
+
result.height = jsonObject["height"]
|
|
1798
|
+
|
|
1799
|
+
return result
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export class Functionality {
|
|
1804
|
+
pictureOnBoundsReady?: boolean
|
|
1805
|
+
showTorchButton?: boolean
|
|
1806
|
+
showCloseButton?: boolean
|
|
1807
|
+
videoCaptureMotionControl?: boolean
|
|
1808
|
+
showCaptureButton?: boolean
|
|
1809
|
+
showChangeFrameButton?: boolean
|
|
1810
|
+
showSkipNextPageButton?: boolean
|
|
1811
|
+
useAuthenticator?: boolean
|
|
1812
|
+
skipFocusingFrames?: boolean
|
|
1813
|
+
showCameraSwitchButton?: boolean
|
|
1814
|
+
displayMetadata?: boolean
|
|
1815
|
+
isZoomEnabled?: boolean
|
|
1816
|
+
isCameraTorchCheckDisabled?: boolean
|
|
1817
|
+
recordScanningProcess?: boolean
|
|
1818
|
+
manualMultipageMode?: boolean
|
|
1819
|
+
singleResult?: boolean
|
|
1820
|
+
showCaptureButtonDelayFromDetect?: number
|
|
1821
|
+
showCaptureButtonDelayFromStart?: number
|
|
1822
|
+
rfidTimeout?: number
|
|
1823
|
+
forcePagesCount?: number
|
|
1824
|
+
orientation?: number
|
|
1825
|
+
captureMode?: number
|
|
1826
|
+
cameraMode?: number
|
|
1827
|
+
cameraPositionIOS?: number
|
|
1828
|
+
cameraFrame?: string
|
|
1829
|
+
btDeviceName?: string
|
|
1830
|
+
zoomFactor?: number
|
|
1831
|
+
exposure?: number
|
|
1832
|
+
excludedCamera2Models?: string[]
|
|
1833
|
+
cameraSize?: CameraSize
|
|
1834
|
+
videoSessionPreset?: number
|
|
1835
|
+
|
|
1836
|
+
static fromJson(jsonObject?: any): Functionality | undefined {
|
|
1837
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1838
|
+
const result = new Functionality
|
|
1839
|
+
|
|
1840
|
+
result.pictureOnBoundsReady = jsonObject["pictureOnBoundsReady"]
|
|
1841
|
+
result.showTorchButton = jsonObject["showTorchButton"]
|
|
1842
|
+
result.showCloseButton = jsonObject["showCloseButton"]
|
|
1843
|
+
result.videoCaptureMotionControl = jsonObject["videoCaptureMotionControl"]
|
|
1844
|
+
result.showCaptureButton = jsonObject["showCaptureButton"]
|
|
1845
|
+
result.showChangeFrameButton = jsonObject["showChangeFrameButton"]
|
|
1846
|
+
result.showSkipNextPageButton = jsonObject["showSkipNextPageButton"]
|
|
1847
|
+
result.useAuthenticator = jsonObject["useAuthenticator"]
|
|
1848
|
+
result.skipFocusingFrames = jsonObject["skipFocusingFrames"]
|
|
1849
|
+
result.showCameraSwitchButton = jsonObject["showCameraSwitchButton"]
|
|
1850
|
+
result.displayMetadata = jsonObject["displayMetadata"]
|
|
1851
|
+
result.isZoomEnabled = jsonObject["isZoomEnabled"]
|
|
1852
|
+
result.isCameraTorchCheckDisabled = jsonObject["isCameraTorchCheckDisabled"]
|
|
1853
|
+
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1854
|
+
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1855
|
+
result.singleResult = jsonObject["singleResult"]
|
|
1856
|
+
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1857
|
+
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1858
|
+
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
1859
|
+
result.forcePagesCount = jsonObject["forcePagesCount"]
|
|
1860
|
+
result.orientation = jsonObject["orientation"]
|
|
1861
|
+
result.captureMode = jsonObject["captureMode"]
|
|
1862
|
+
result.cameraMode = jsonObject["cameraMode"]
|
|
1863
|
+
result.cameraPositionIOS = jsonObject["cameraPositionIOS"]
|
|
1864
|
+
result.cameraFrame = jsonObject["cameraFrame"]
|
|
1865
|
+
result.btDeviceName = jsonObject["btDeviceName"]
|
|
1866
|
+
result.zoomFactor = jsonObject["zoomFactor"]
|
|
1867
|
+
result.exposure = jsonObject["exposure"]
|
|
1868
|
+
result.excludedCamera2Models = []
|
|
1869
|
+
if (jsonObject["excludedCamera2Models"] != null) {
|
|
1870
|
+
for (const i in jsonObject["excludedCamera2Models"]) {
|
|
1871
|
+
result.excludedCamera2Models.push(jsonObject["excludedCamera2Models"][i])
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
result.cameraSize = CameraSize.fromJson(jsonObject["cameraSize"])
|
|
1875
|
+
result.videoSessionPreset = jsonObject["videoSessionPreset"]
|
|
1876
|
+
|
|
1877
|
+
return result
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
export class GlaresCheckParams {
|
|
1882
|
+
imgMarginPart?: number
|
|
1883
|
+
maxGlaringPart?: number
|
|
1884
|
+
|
|
1885
|
+
static fromJson(jsonObject?: any): GlaresCheckParams | undefined {
|
|
1886
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1887
|
+
const result = new GlaresCheckParams
|
|
1888
|
+
|
|
1889
|
+
result.imgMarginPart = jsonObject["imgMarginPart"]
|
|
1890
|
+
result.maxGlaringPart = jsonObject["maxGlaringPart"]
|
|
1534
1891
|
|
|
1535
1892
|
return result
|
|
1536
1893
|
}
|
|
@@ -1541,11 +1898,12 @@ export class ImageQA {
|
|
|
1541
1898
|
angleThreshold?: number
|
|
1542
1899
|
focusCheck?: boolean
|
|
1543
1900
|
glaresCheck?: boolean
|
|
1901
|
+
glaresCheckParams?: GlaresCheckParams
|
|
1544
1902
|
colornessCheck?: boolean
|
|
1545
|
-
|
|
1903
|
+
screenCapture?: boolean
|
|
1546
1904
|
expectedPass?: number[]
|
|
1547
|
-
glaresCheckParams?: GlaresCheckParams
|
|
1548
1905
|
documentPositionIndent?: number
|
|
1906
|
+
brightnessThreshold?: number
|
|
1549
1907
|
|
|
1550
1908
|
static fromJson(jsonObject?: any): ImageQA | undefined {
|
|
1551
1909
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -1555,31 +1913,17 @@ export class ImageQA {
|
|
|
1555
1913
|
result.angleThreshold = jsonObject["angleThreshold"]
|
|
1556
1914
|
result.focusCheck = jsonObject["focusCheck"]
|
|
1557
1915
|
result.glaresCheck = jsonObject["glaresCheck"]
|
|
1916
|
+
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1558
1917
|
result.colornessCheck = jsonObject["colornessCheck"]
|
|
1559
|
-
result.
|
|
1918
|
+
result.screenCapture = jsonObject["screenCapture"]
|
|
1560
1919
|
result.expectedPass = []
|
|
1561
1920
|
if (jsonObject["expectedPass"] != null) {
|
|
1562
1921
|
for (const i in jsonObject["expectedPass"]) {
|
|
1563
1922
|
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1564
1923
|
}
|
|
1565
1924
|
}
|
|
1566
|
-
result.glaresCheckParams = GlaresCheckParams.fromJson(jsonObject["glaresCheckParams"])
|
|
1567
1925
|
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1568
|
-
|
|
1569
|
-
return result
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
export class GlaresCheckParams {
|
|
1574
|
-
imgMarginPart?: number
|
|
1575
|
-
maxGlaringPart?: number
|
|
1576
|
-
|
|
1577
|
-
static fromJson(jsonObject?: any): GlaresCheckParams | undefined {
|
|
1578
|
-
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1579
|
-
const result = new GlaresCheckParams
|
|
1580
|
-
|
|
1581
|
-
result.imgMarginPart = jsonObject["imgMarginPart"]
|
|
1582
|
-
result.maxGlaringPart = jsonObject["maxGlaringPart"]
|
|
1926
|
+
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1583
1927
|
|
|
1584
1928
|
return result
|
|
1585
1929
|
}
|
|
@@ -1603,244 +1947,805 @@ export class RFIDParams {
|
|
|
1603
1947
|
}
|
|
1604
1948
|
}
|
|
1605
1949
|
|
|
1606
|
-
export class
|
|
1607
|
-
|
|
1950
|
+
export class FaceApiSearchParams {
|
|
1951
|
+
limit?: number
|
|
1952
|
+
threshold?: number
|
|
1953
|
+
groupIds?: number[]
|
|
1954
|
+
|
|
1955
|
+
static fromJson(jsonObject?: any): FaceApiSearchParams | undefined {
|
|
1956
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1957
|
+
const result = new FaceApiSearchParams
|
|
1958
|
+
|
|
1959
|
+
result.limit = jsonObject["limit"]
|
|
1960
|
+
result.threshold = jsonObject["threshold"]
|
|
1961
|
+
result.groupIds = []
|
|
1962
|
+
if (jsonObject["groupIds"] != null) {
|
|
1963
|
+
for (const i in jsonObject["groupIds"]) {
|
|
1964
|
+
result.groupIds.push(jsonObject["groupIds"][i])
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
return result
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
export class FaceApiParams {
|
|
1608
1973
|
url?: string
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1974
|
+
mode?: string
|
|
1975
|
+
threshold?: number
|
|
1976
|
+
searchParams?: FaceApiSearchParams
|
|
1977
|
+
serviceTimeout?: number
|
|
1978
|
+
proxy?: string
|
|
1979
|
+
proxyPassword?: string
|
|
1980
|
+
proxyType?: number
|
|
1612
1981
|
|
|
1613
|
-
static fromJson(jsonObject?: any):
|
|
1982
|
+
static fromJson(jsonObject?: any): FaceApiParams | undefined {
|
|
1614
1983
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1615
|
-
const result = new
|
|
1984
|
+
const result = new FaceApiParams
|
|
1616
1985
|
|
|
1986
|
+
result.url = jsonObject["url"]
|
|
1617
1987
|
result.mode = jsonObject["mode"]
|
|
1988
|
+
result.threshold = jsonObject["threshold"]
|
|
1989
|
+
result.searchParams = FaceApiSearchParams.fromJson(jsonObject["searchParams"])
|
|
1990
|
+
result.serviceTimeout = jsonObject["serviceTimeout"]
|
|
1991
|
+
result.proxy = jsonObject["proxy"]
|
|
1992
|
+
result.proxyPassword = jsonObject["proxyPassword"]
|
|
1993
|
+
result.proxyType = jsonObject["proxyType"]
|
|
1994
|
+
|
|
1995
|
+
return result
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export class BackendProcessingConfig {
|
|
2000
|
+
url?: string
|
|
2001
|
+
httpHeaders?: Record<string, string>
|
|
2002
|
+
rfidServerSideChipVerification?: boolean
|
|
2003
|
+
|
|
2004
|
+
static fromJson(jsonObject?: any): BackendProcessingConfig | undefined {
|
|
2005
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2006
|
+
const result = new BackendProcessingConfig
|
|
2007
|
+
|
|
1618
2008
|
result.url = jsonObject["url"]
|
|
1619
|
-
result.
|
|
1620
|
-
result.
|
|
1621
|
-
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
2009
|
+
result.httpHeaders = jsonObject["httpHeaders"]
|
|
2010
|
+
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1622
2011
|
|
|
1623
2012
|
return result
|
|
1624
2013
|
}
|
|
1625
2014
|
}
|
|
1626
2015
|
|
|
1627
|
-
export class
|
|
2016
|
+
export class LivenessParams {
|
|
2017
|
+
checkOVI?: boolean
|
|
2018
|
+
checkMLI?: boolean
|
|
2019
|
+
checkHolo?: boolean
|
|
2020
|
+
checkED?: boolean
|
|
2021
|
+
|
|
2022
|
+
static fromJson(jsonObject?: any): LivenessParams | undefined {
|
|
2023
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2024
|
+
const result = new LivenessParams
|
|
2025
|
+
|
|
2026
|
+
result.checkOVI = jsonObject["checkOVI"]
|
|
2027
|
+
result.checkMLI = jsonObject["checkMLI"]
|
|
2028
|
+
result.checkHolo = jsonObject["checkHolo"]
|
|
2029
|
+
result.checkED = jsonObject["checkED"]
|
|
2030
|
+
|
|
2031
|
+
return result
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
export class AuthenticityParams {
|
|
2036
|
+
useLivenessCheck?: boolean
|
|
2037
|
+
livenessParams?: LivenessParams
|
|
2038
|
+
checkUVLuminiscence?: boolean
|
|
2039
|
+
checkIRB900?: boolean
|
|
2040
|
+
checkImagePatterns?: boolean
|
|
2041
|
+
checkFibers?: boolean
|
|
2042
|
+
checkExtMRZ?: boolean
|
|
2043
|
+
checkExtOCR?: boolean
|
|
2044
|
+
checkAxial?: boolean
|
|
2045
|
+
checkBarcodeFormat?: boolean
|
|
2046
|
+
checkIRVisibility?: boolean
|
|
2047
|
+
checkIPI?: boolean
|
|
2048
|
+
checkPhotoEmbedding?: boolean
|
|
2049
|
+
checkPhotoComparison?: boolean
|
|
2050
|
+
checkLetterScreen?: boolean
|
|
2051
|
+
|
|
2052
|
+
static fromJson(jsonObject?: any): AuthenticityParams | undefined {
|
|
2053
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2054
|
+
const result = new AuthenticityParams
|
|
2055
|
+
|
|
2056
|
+
result.useLivenessCheck = jsonObject["useLivenessCheck"]
|
|
2057
|
+
result.livenessParams = LivenessParams.fromJson(jsonObject["livenessParams"])
|
|
2058
|
+
result.checkUVLuminiscence = jsonObject["checkUVLuminiscence"]
|
|
2059
|
+
result.checkIRB900 = jsonObject["checkIRB900"]
|
|
2060
|
+
result.checkImagePatterns = jsonObject["checkImagePatterns"]
|
|
2061
|
+
result.checkFibers = jsonObject["checkFibers"]
|
|
2062
|
+
result.checkExtMRZ = jsonObject["checkExtMRZ"]
|
|
2063
|
+
result.checkExtOCR = jsonObject["checkExtOCR"]
|
|
2064
|
+
result.checkAxial = jsonObject["checkAxial"]
|
|
2065
|
+
result.checkBarcodeFormat = jsonObject["checkBarcodeFormat"]
|
|
2066
|
+
result.checkIRVisibility = jsonObject["checkIRVisibility"]
|
|
2067
|
+
result.checkIPI = jsonObject["checkIPI"]
|
|
2068
|
+
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
2069
|
+
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
2070
|
+
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
2071
|
+
|
|
2072
|
+
return result
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
export class ProcessParams {
|
|
2077
|
+
multipageProcessing?: boolean
|
|
2078
|
+
logs?: boolean
|
|
2079
|
+
debugSaveImages?: boolean
|
|
2080
|
+
debugSaveLogs?: boolean
|
|
2081
|
+
returnUncroppedImage?: boolean
|
|
2082
|
+
uvTorchEnabled?: boolean
|
|
2083
|
+
debugSaveCroppedImages?: boolean
|
|
2084
|
+
disableFocusingCheck?: boolean
|
|
2085
|
+
debugSaveRFIDSession?: boolean
|
|
2086
|
+
doublePageSpread?: boolean
|
|
2087
|
+
manualCrop?: boolean
|
|
2088
|
+
integralImage?: boolean
|
|
2089
|
+
returnCroppedBarcode?: boolean
|
|
2090
|
+
checkRequiredTextFields?: boolean
|
|
2091
|
+
depersonalizeLog?: boolean
|
|
2092
|
+
generateDoublePageSpreadImage?: boolean
|
|
2093
|
+
alreadyCropped?: boolean
|
|
2094
|
+
matchTextFieldMask?: boolean
|
|
2095
|
+
updateOCRValidityByGlare?: boolean
|
|
2096
|
+
noGraphics?: boolean
|
|
2097
|
+
multiDocOnImage?: boolean
|
|
2098
|
+
forceReadMrzBeforeLocate?: boolean
|
|
2099
|
+
parseBarcodes?: boolean
|
|
2100
|
+
shouldReturnPackageForReprocess?: boolean
|
|
2101
|
+
disablePerforationOCR?: boolean
|
|
2102
|
+
respectImageQuality?: boolean
|
|
2103
|
+
splitNames?: boolean
|
|
2104
|
+
useFaceApi?: boolean
|
|
2105
|
+
useAuthenticityCheck?: boolean
|
|
2106
|
+
checkHologram?: boolean
|
|
2107
|
+
barcodeParserType?: number
|
|
2108
|
+
perspectiveAngle?: number
|
|
2109
|
+
minDPI?: number
|
|
2110
|
+
imageDpiOutMax?: number
|
|
2111
|
+
forceDocFormat?: number
|
|
2112
|
+
shiftExpiryDate?: number
|
|
2113
|
+
minimalHolderAge?: number
|
|
2114
|
+
imageOutputMaxHeight?: number
|
|
2115
|
+
imageOutputMaxWidth?: number
|
|
2116
|
+
processAuth?: number
|
|
2117
|
+
convertCase?: number
|
|
2118
|
+
measureSystem?: number
|
|
2119
|
+
forceDocID?: number
|
|
2120
|
+
dateFormat?: string
|
|
1628
2121
|
scenario?: string
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
2122
|
+
captureButtonScenario?: string
|
|
2123
|
+
sessionLogFolder?: string
|
|
2124
|
+
timeout?: number
|
|
2125
|
+
timeoutFromFirstDetect?: number
|
|
2126
|
+
timeoutFromFirstDocType?: number
|
|
2127
|
+
documentAreaMin?: number
|
|
2128
|
+
documentIDList?: number[]
|
|
2129
|
+
barcodeTypes?: number[]
|
|
2130
|
+
fieldTypesFilter?: number[]
|
|
2131
|
+
resultTypeOutput?: number[]
|
|
2132
|
+
documentGroupFilter?: number[]
|
|
2133
|
+
lcidIgnoreFilter?: number[]
|
|
2134
|
+
lcidFilter?: number[]
|
|
2135
|
+
mrzFormatsFilter?: string[]
|
|
2136
|
+
imageQA?: ImageQA
|
|
2137
|
+
rfidParams?: RFIDParams
|
|
2138
|
+
faceApiParams?: FaceApiParams
|
|
2139
|
+
backendProcessingConfig?: BackendProcessingConfig
|
|
2140
|
+
authenticityParams?: AuthenticityParams
|
|
2141
|
+
customParams?: Record<string, any>
|
|
2142
|
+
|
|
2143
|
+
static fromJson(jsonObject?: any): ProcessParams | undefined {
|
|
2144
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2145
|
+
const result = new ProcessParams
|
|
2146
|
+
|
|
2147
|
+
result.multipageProcessing = jsonObject["multipageProcessing"]
|
|
2148
|
+
result.logs = jsonObject["logs"]
|
|
2149
|
+
result.debugSaveImages = jsonObject["debugSaveImages"]
|
|
2150
|
+
result.debugSaveLogs = jsonObject["debugSaveLogs"]
|
|
2151
|
+
result.returnUncroppedImage = jsonObject["returnUncroppedImage"]
|
|
2152
|
+
result.uvTorchEnabled = jsonObject["uvTorchEnabled"]
|
|
2153
|
+
result.debugSaveCroppedImages = jsonObject["debugSaveCroppedImages"]
|
|
2154
|
+
result.disableFocusingCheck = jsonObject["disableFocusingCheck"]
|
|
2155
|
+
result.debugSaveRFIDSession = jsonObject["debugSaveRFIDSession"]
|
|
2156
|
+
result.doublePageSpread = jsonObject["doublePageSpread"]
|
|
2157
|
+
result.manualCrop = jsonObject["manualCrop"]
|
|
2158
|
+
result.integralImage = jsonObject["integralImage"]
|
|
2159
|
+
result.returnCroppedBarcode = jsonObject["returnCroppedBarcode"]
|
|
2160
|
+
result.checkRequiredTextFields = jsonObject["checkRequiredTextFields"]
|
|
2161
|
+
result.depersonalizeLog = jsonObject["depersonalizeLog"]
|
|
2162
|
+
result.generateDoublePageSpreadImage = jsonObject["generateDoublePageSpreadImage"]
|
|
2163
|
+
result.alreadyCropped = jsonObject["alreadyCropped"]
|
|
2164
|
+
result.matchTextFieldMask = jsonObject["matchTextFieldMask"]
|
|
2165
|
+
result.updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"]
|
|
2166
|
+
result.noGraphics = jsonObject["noGraphics"]
|
|
2167
|
+
result.multiDocOnImage = jsonObject["multiDocOnImage"]
|
|
2168
|
+
result.forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"]
|
|
2169
|
+
result.parseBarcodes = jsonObject["parseBarcodes"]
|
|
2170
|
+
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
2171
|
+
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
2172
|
+
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
2173
|
+
result.splitNames = jsonObject["splitNames"]
|
|
2174
|
+
result.useFaceApi = jsonObject["useFaceApi"]
|
|
2175
|
+
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
2176
|
+
result.checkHologram = jsonObject["checkHologram"]
|
|
2177
|
+
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2178
|
+
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2179
|
+
result.minDPI = jsonObject["minDPI"]
|
|
2180
|
+
result.imageDpiOutMax = jsonObject["imageDpiOutMax"]
|
|
2181
|
+
result.forceDocFormat = jsonObject["forceDocFormat"]
|
|
2182
|
+
result.shiftExpiryDate = jsonObject["shiftExpiryDate"]
|
|
2183
|
+
result.minimalHolderAge = jsonObject["minimalHolderAge"]
|
|
2184
|
+
result.imageOutputMaxHeight = jsonObject["imageOutputMaxHeight"]
|
|
2185
|
+
result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]
|
|
2186
|
+
result.processAuth = jsonObject["processAuth"]
|
|
2187
|
+
result.convertCase = jsonObject["convertCase"]
|
|
2188
|
+
result.measureSystem = jsonObject["measureSystem"]
|
|
2189
|
+
result.forceDocID = jsonObject["forceDocID"]
|
|
2190
|
+
result.dateFormat = jsonObject["dateFormat"]
|
|
2191
|
+
result.scenario = jsonObject["scenario"]
|
|
2192
|
+
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
2193
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
2194
|
+
result.timeout = jsonObject["timeout"]
|
|
2195
|
+
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
2196
|
+
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
2197
|
+
result.documentAreaMin = jsonObject["documentAreaMin"]
|
|
2198
|
+
result.documentIDList = []
|
|
2199
|
+
if (jsonObject["documentIDList"] != null) {
|
|
2200
|
+
for (const i in jsonObject["documentIDList"]) {
|
|
2201
|
+
result.documentIDList.push(jsonObject["documentIDList"][i])
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
result.barcodeTypes = []
|
|
2205
|
+
if (jsonObject["barcodeTypes"] != null) {
|
|
2206
|
+
for (const i in jsonObject["barcodeTypes"]) {
|
|
2207
|
+
result.barcodeTypes.push(jsonObject["barcodeTypes"][i])
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
result.fieldTypesFilter = []
|
|
2211
|
+
if (jsonObject["fieldTypesFilter"] != null) {
|
|
2212
|
+
for (const i in jsonObject["fieldTypesFilter"]) {
|
|
2213
|
+
result.fieldTypesFilter.push(jsonObject["fieldTypesFilter"][i])
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
result.resultTypeOutput = []
|
|
2217
|
+
if (jsonObject["resultTypeOutput"] != null) {
|
|
2218
|
+
for (const i in jsonObject["resultTypeOutput"]) {
|
|
2219
|
+
result.resultTypeOutput.push(jsonObject["resultTypeOutput"][i])
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
result.documentGroupFilter = []
|
|
2223
|
+
if (jsonObject["documentGroupFilter"] != null) {
|
|
2224
|
+
for (const i in jsonObject["documentGroupFilter"]) {
|
|
2225
|
+
result.documentGroupFilter.push(jsonObject["documentGroupFilter"][i])
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
result.lcidIgnoreFilter = []
|
|
2229
|
+
if (jsonObject["lcidIgnoreFilter"] != null) {
|
|
2230
|
+
for (const i in jsonObject["lcidIgnoreFilter"]) {
|
|
2231
|
+
result.lcidIgnoreFilter.push(jsonObject["lcidIgnoreFilter"][i])
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
result.lcidFilter = []
|
|
2235
|
+
if (jsonObject["lcidFilter"] != null) {
|
|
2236
|
+
for (const i in jsonObject["lcidFilter"]) {
|
|
2237
|
+
result.lcidFilter.push(jsonObject["lcidFilter"][i])
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
result.mrzFormatsFilter = []
|
|
2241
|
+
if (jsonObject["mrzFormatsFilter"] != null) {
|
|
2242
|
+
for (const i in jsonObject["mrzFormatsFilter"]) {
|
|
2243
|
+
result.mrzFormatsFilter.push(jsonObject["mrzFormatsFilter"][i])
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
result.imageQA = ImageQA.fromJson(jsonObject["imageQA"])
|
|
2247
|
+
result.rfidParams = RFIDParams.fromJson(jsonObject["rfidParams"])
|
|
2248
|
+
result.faceApiParams = FaceApiParams.fromJson(jsonObject["faceApiParams"])
|
|
2249
|
+
result.backendProcessingConfig = BackendProcessingConfig.fromJson(jsonObject["backendProcessingConfig"])
|
|
2250
|
+
result.authenticityParams = AuthenticityParams.fromJson(jsonObject["authenticityParams"])
|
|
2251
|
+
result.customParams = jsonObject["customParams"]
|
|
2252
|
+
|
|
2253
|
+
return result
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
export class Font {
|
|
2258
|
+
name?: string
|
|
2259
|
+
size?: number
|
|
2260
|
+
style?: number
|
|
1633
2261
|
|
|
1634
|
-
static fromJson(jsonObject?: any):
|
|
2262
|
+
static fromJson(jsonObject?: any): Font | undefined {
|
|
1635
2263
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1636
|
-
const result = new
|
|
2264
|
+
const result = new Font
|
|
1637
2265
|
|
|
1638
|
-
result.
|
|
1639
|
-
result.
|
|
1640
|
-
result.
|
|
1641
|
-
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1642
|
-
result.cameraId = jsonObject["cameraId"]
|
|
2266
|
+
result.name = jsonObject["name"]
|
|
2267
|
+
result.size = jsonObject["size"]
|
|
2268
|
+
result.style = jsonObject["style"]
|
|
1643
2269
|
|
|
1644
2270
|
return result
|
|
1645
2271
|
}
|
|
1646
2272
|
}
|
|
1647
2273
|
|
|
1648
|
-
export class
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
imageInputData?: ImageInputData[]
|
|
2274
|
+
export class CustomizationColors {
|
|
2275
|
+
rfidProcessingScreenBackground?: number
|
|
2276
|
+
rfidProcessingScreenHintLabelText?: number
|
|
2277
|
+
rfidProcessingScreenHintLabelBackground?: number
|
|
2278
|
+
rfidProcessingScreenProgressLabelText?: number
|
|
2279
|
+
rfidProcessingScreenProgressBar?: number
|
|
2280
|
+
rfidProcessingScreenProgressBarBackground?: number
|
|
2281
|
+
rfidProcessingScreenResultLabelText?: number
|
|
1657
2282
|
|
|
1658
|
-
static fromJson(jsonObject?: any):
|
|
2283
|
+
static fromJson(jsonObject?: any): CustomizationColors | undefined {
|
|
1659
2284
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1660
|
-
const result = new
|
|
2285
|
+
const result = new CustomizationColors
|
|
1661
2286
|
|
|
1662
|
-
result.
|
|
1663
|
-
result.
|
|
1664
|
-
result.
|
|
1665
|
-
result.
|
|
1666
|
-
result.
|
|
1667
|
-
result.
|
|
1668
|
-
result.
|
|
1669
|
-
if (jsonObject["images"] != null) {
|
|
1670
|
-
for (const i in jsonObject["images"]) {
|
|
1671
|
-
result.images.push(jsonObject["images"][i])
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
result.imageInputData = []
|
|
1675
|
-
if (jsonObject["imageInputData"] != null) {
|
|
1676
|
-
for (const i in jsonObject["imageInputData"]) {
|
|
1677
|
-
const item = ImageInputData.fromJson(jsonObject["imageInputData"][i])
|
|
1678
|
-
if (item != undefined)
|
|
1679
|
-
result.imageInputData.push(item)
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
2287
|
+
result.rfidProcessingScreenBackground = jsonObject["rfidProcessingScreenBackground"]
|
|
2288
|
+
result.rfidProcessingScreenHintLabelText = jsonObject["rfidProcessingScreenHintLabelText"]
|
|
2289
|
+
result.rfidProcessingScreenHintLabelBackground = jsonObject["rfidProcessingScreenHintLabelBackground"]
|
|
2290
|
+
result.rfidProcessingScreenProgressLabelText = jsonObject["rfidProcessingScreenProgressLabelText"]
|
|
2291
|
+
result.rfidProcessingScreenProgressBar = jsonObject["rfidProcessingScreenProgressBar"]
|
|
2292
|
+
result.rfidProcessingScreenProgressBarBackground = jsonObject["rfidProcessingScreenProgressBarBackground"]
|
|
2293
|
+
result.rfidProcessingScreenResultLabelText = jsonObject["rfidProcessingScreenResultLabelText"]
|
|
1682
2294
|
|
|
1683
2295
|
return result
|
|
1684
2296
|
}
|
|
1685
2297
|
}
|
|
1686
2298
|
|
|
1687
|
-
export class
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
processingFinishedStatus?: number
|
|
1692
|
-
elapsedTime?: number
|
|
1693
|
-
elapsedTimeRFID?: number
|
|
1694
|
-
morePagesAvailable?: number
|
|
1695
|
-
rfidResult?: number
|
|
1696
|
-
highResolution?: boolean
|
|
1697
|
-
graphicResult?: DocumentReaderGraphicResult
|
|
1698
|
-
textResult?: DocumentReaderTextResult
|
|
1699
|
-
documentPosition?: ElementPosition[]
|
|
1700
|
-
barcodePosition?: ElementPosition[]
|
|
1701
|
-
mrzPosition?: ElementPosition[]
|
|
1702
|
-
imageQuality?: ImageQualityGroup[]
|
|
1703
|
-
rawResult?: string
|
|
1704
|
-
documentReaderNotification?: DocumentReaderNotification
|
|
1705
|
-
rfidSessionData?: RFIDSessionData
|
|
1706
|
-
authenticityResult?: DocumentReaderAuthenticityResult
|
|
1707
|
-
barcodeResult?: DocumentReaderBarcodeResult
|
|
1708
|
-
ppmIn?: number
|
|
1709
|
-
documentType?: DocumentReaderDocumentType[]
|
|
1710
|
-
status?: DocumentReaderResultsStatus
|
|
1711
|
-
vdsncData?: VDSNCData
|
|
2299
|
+
export class CustomizationFonts {
|
|
2300
|
+
rfidProcessingScreenHintLabel?: Font
|
|
2301
|
+
rfidProcessingScreenProgressLabel?: Font
|
|
2302
|
+
rfidProcessingScreenResultLabel?: Font
|
|
1712
2303
|
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
2304
|
+
static fromJson(jsonObject?: any): CustomizationFonts | undefined {
|
|
2305
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2306
|
+
const result = new CustomizationFonts
|
|
1716
2307
|
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
2308
|
+
result.rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"])
|
|
2309
|
+
result.rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"])
|
|
2310
|
+
result.rfidProcessingScreenResultLabel = Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"])
|
|
1720
2311
|
|
|
1721
|
-
|
|
1722
|
-
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
2312
|
+
return result
|
|
1723
2313
|
}
|
|
2314
|
+
}
|
|
1724
2315
|
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
}
|
|
2316
|
+
export class CustomizationImages {
|
|
2317
|
+
rfidProcessingScreenFailureImage?: string
|
|
1728
2318
|
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
2319
|
+
static fromJson(jsonObject?: any): CustomizationImages | undefined {
|
|
2320
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2321
|
+
const result = new CustomizationImages
|
|
1732
2322
|
|
|
1733
|
-
|
|
1734
|
-
RNRegulaDocumentReader.exec("DocumentReader", "textFieldValueByTypeLcidSourceOriginal", [this.rawResult, fieldType, lcid, source, original], successCallback, errorCallback)
|
|
1735
|
-
}
|
|
2323
|
+
result.rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"]
|
|
1736
2324
|
|
|
1737
|
-
|
|
1738
|
-
RNRegulaDocumentReader.exec("DocumentReader", "textFieldByType", [this.rawResult, fieldType], successCallback, errorCallback)
|
|
2325
|
+
return result
|
|
1739
2326
|
}
|
|
2327
|
+
}
|
|
1740
2328
|
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
2329
|
+
export class Customization {
|
|
2330
|
+
showStatusMessages?: boolean
|
|
2331
|
+
showResultStatusMessages?: boolean
|
|
2332
|
+
showHelpAnimation?: boolean
|
|
2333
|
+
showNextPageAnimation?: boolean
|
|
2334
|
+
showBackgroundMask?: boolean
|
|
2335
|
+
cameraFrameBorderWidth?: number
|
|
2336
|
+
cameraFrameLineLength?: number
|
|
2337
|
+
cameraFrameOffsetWidth?: number
|
|
2338
|
+
cameraFrameShapeType?: number
|
|
2339
|
+
status?: string
|
|
2340
|
+
resultStatus?: string
|
|
2341
|
+
cameraFrameDefaultColor?: number
|
|
2342
|
+
cameraFrameActiveColor?: number
|
|
2343
|
+
statusTextColor?: number
|
|
2344
|
+
resultStatusTextColor?: number
|
|
2345
|
+
resultStatusBackgroundColor?: number
|
|
2346
|
+
multipageButtonBackgroundColor?: number
|
|
2347
|
+
tintColor?: number
|
|
2348
|
+
activityIndicatorColor?: number
|
|
2349
|
+
statusBackgroundColor?: number
|
|
2350
|
+
cameraPreviewBackgroundColor?: number
|
|
2351
|
+
statusPositionMultiplier?: number
|
|
2352
|
+
resultStatusPositionMultiplier?: number
|
|
2353
|
+
toolbarSize?: number
|
|
2354
|
+
backgroundMaskAlpha?: number
|
|
2355
|
+
customStatusPositionMultiplier?: number
|
|
2356
|
+
livenessAnimationPositionMultiplier?: number
|
|
2357
|
+
cameraFrameVerticalPositionMultiplier?: number
|
|
2358
|
+
cameraFrameLandscapeAspectRatio?: number
|
|
2359
|
+
cameraFramePortraitAspectRatio?: number
|
|
2360
|
+
cameraFrameCornerRadius?: number
|
|
2361
|
+
multipageAnimationFrontImage?: string
|
|
2362
|
+
multipageAnimationBackImage?: string
|
|
2363
|
+
borderBackgroundImage?: string
|
|
2364
|
+
helpAnimationImage?: string
|
|
2365
|
+
closeButtonImage?: string
|
|
2366
|
+
captureButtonImage?: string
|
|
2367
|
+
cameraSwitchButtonImage?: string
|
|
2368
|
+
torchButtonOnImage?: string
|
|
2369
|
+
torchButtonOffImage?: string
|
|
2370
|
+
changeFrameButtonExpandImage?: string
|
|
2371
|
+
changeFrameButtonCollapseImage?: string
|
|
2372
|
+
livenessAnimationImage?: string
|
|
2373
|
+
statusTextFont?: Font
|
|
2374
|
+
resultStatusTextFont?: Font
|
|
2375
|
+
customLabelStatus?: string
|
|
2376
|
+
cameraFrameLineCap?: number
|
|
2377
|
+
uiCustomizationLayer?: Record<string, any>
|
|
2378
|
+
helpAnimationImageContentMode?: number
|
|
2379
|
+
multipageAnimationFrontImageContentMode?: number
|
|
2380
|
+
multipageAnimationBackImageContentMode?: number
|
|
2381
|
+
livenessAnimationImageContentMode?: number
|
|
2382
|
+
borderBackgroundImageContentMode?: number
|
|
2383
|
+
helpAnimationImageMatrix?: number[]
|
|
2384
|
+
multipageAnimationFrontImageMatrix?: number[]
|
|
2385
|
+
multipageAnimationBackImageMatrix?: number[]
|
|
2386
|
+
livenessAnimationImageMatrix?: number[]
|
|
2387
|
+
borderBackgroundImageMatrix?: number[]
|
|
2388
|
+
colors?: CustomizationColors
|
|
2389
|
+
fonts?: CustomizationFonts
|
|
2390
|
+
images?: CustomizationImages
|
|
2391
|
+
|
|
2392
|
+
static fromJson(jsonObject?: any): Customization | undefined {
|
|
2393
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2394
|
+
const result = new Customization
|
|
2395
|
+
|
|
2396
|
+
result.showStatusMessages = jsonObject["showStatusMessages"]
|
|
2397
|
+
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
|
|
2398
|
+
result.showHelpAnimation = jsonObject["showHelpAnimation"]
|
|
2399
|
+
result.showNextPageAnimation = jsonObject["showNextPageAnimation"]
|
|
2400
|
+
result.showBackgroundMask = jsonObject["showBackgroundMask"]
|
|
2401
|
+
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
2402
|
+
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
2403
|
+
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
2404
|
+
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
2405
|
+
result.status = jsonObject["status"]
|
|
2406
|
+
result.resultStatus = jsonObject["resultStatus"]
|
|
2407
|
+
result.cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"]
|
|
2408
|
+
result.cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"]
|
|
2409
|
+
result.statusTextColor = jsonObject["statusTextColor"]
|
|
2410
|
+
result.resultStatusTextColor = jsonObject["resultStatusTextColor"]
|
|
2411
|
+
result.resultStatusBackgroundColor = jsonObject["resultStatusBackgroundColor"]
|
|
2412
|
+
result.multipageButtonBackgroundColor = jsonObject["multipageButtonBackgroundColor"]
|
|
2413
|
+
result.tintColor = jsonObject["tintColor"]
|
|
2414
|
+
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
2415
|
+
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
2416
|
+
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
2417
|
+
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
2418
|
+
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
2419
|
+
result.toolbarSize = jsonObject["toolbarSize"]
|
|
2420
|
+
result.backgroundMaskAlpha = jsonObject["backgroundMaskAlpha"]
|
|
2421
|
+
result.customStatusPositionMultiplier = jsonObject["customStatusPositionMultiplier"]
|
|
2422
|
+
result.livenessAnimationPositionMultiplier = jsonObject["livenessAnimationPositionMultiplier"]
|
|
2423
|
+
result.cameraFrameVerticalPositionMultiplier = jsonObject["cameraFrameVerticalPositionMultiplier"]
|
|
2424
|
+
result.cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"]
|
|
2425
|
+
result.cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"]
|
|
2426
|
+
result.cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"]
|
|
2427
|
+
result.multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"]
|
|
2428
|
+
result.multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"]
|
|
2429
|
+
result.borderBackgroundImage = jsonObject["borderBackgroundImage"]
|
|
2430
|
+
result.helpAnimationImage = jsonObject["helpAnimationImage"]
|
|
2431
|
+
result.closeButtonImage = jsonObject["closeButtonImage"]
|
|
2432
|
+
result.captureButtonImage = jsonObject["captureButtonImage"]
|
|
2433
|
+
result.cameraSwitchButtonImage = jsonObject["cameraSwitchButtonImage"]
|
|
2434
|
+
result.torchButtonOnImage = jsonObject["torchButtonOnImage"]
|
|
2435
|
+
result.torchButtonOffImage = jsonObject["torchButtonOffImage"]
|
|
2436
|
+
result.changeFrameButtonExpandImage = jsonObject["changeFrameButtonExpandImage"]
|
|
2437
|
+
result.changeFrameButtonCollapseImage = jsonObject["changeFrameButtonCollapseImage"]
|
|
2438
|
+
result.livenessAnimationImage = jsonObject["livenessAnimationImage"]
|
|
2439
|
+
result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"])
|
|
2440
|
+
result.resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"])
|
|
2441
|
+
result.customLabelStatus = jsonObject["customLabelStatus"]
|
|
2442
|
+
result.cameraFrameLineCap = jsonObject["cameraFrameLineCap"]
|
|
2443
|
+
result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]
|
|
2444
|
+
result.helpAnimationImageContentMode = jsonObject["helpAnimationImageContentMode"]
|
|
2445
|
+
result.multipageAnimationFrontImageContentMode = jsonObject["multipageAnimationFrontImageContentMode"]
|
|
2446
|
+
result.multipageAnimationBackImageContentMode = jsonObject["multipageAnimationBackImageContentMode"]
|
|
2447
|
+
result.livenessAnimationImageContentMode = jsonObject["livenessAnimationImageContentMode"]
|
|
2448
|
+
result.borderBackgroundImageContentMode = jsonObject["borderBackgroundImageContentMode"]
|
|
2449
|
+
result.helpAnimationImageMatrix = []
|
|
2450
|
+
if (jsonObject["helpAnimationImageMatrix"] != null) {
|
|
2451
|
+
for (const i in jsonObject["helpAnimationImageMatrix"]) {
|
|
2452
|
+
result.helpAnimationImageMatrix.push(jsonObject["helpAnimationImageMatrix"][i])
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
result.multipageAnimationFrontImageMatrix = []
|
|
2456
|
+
if (jsonObject["multipageAnimationFrontImageMatrix"] != null) {
|
|
2457
|
+
for (const i in jsonObject["multipageAnimationFrontImageMatrix"]) {
|
|
2458
|
+
result.multipageAnimationFrontImageMatrix.push(jsonObject["multipageAnimationFrontImageMatrix"][i])
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
result.multipageAnimationBackImageMatrix = []
|
|
2462
|
+
if (jsonObject["multipageAnimationBackImageMatrix"] != null) {
|
|
2463
|
+
for (const i in jsonObject["multipageAnimationBackImageMatrix"]) {
|
|
2464
|
+
result.multipageAnimationBackImageMatrix.push(jsonObject["multipageAnimationBackImageMatrix"][i])
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
result.livenessAnimationImageMatrix = []
|
|
2468
|
+
if (jsonObject["livenessAnimationImageMatrix"] != null) {
|
|
2469
|
+
for (const i in jsonObject["livenessAnimationImageMatrix"]) {
|
|
2470
|
+
result.livenessAnimationImageMatrix.push(jsonObject["livenessAnimationImageMatrix"][i])
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
result.borderBackgroundImageMatrix = []
|
|
2474
|
+
if (jsonObject["borderBackgroundImageMatrix"] != null) {
|
|
2475
|
+
for (const i in jsonObject["borderBackgroundImageMatrix"]) {
|
|
2476
|
+
result.borderBackgroundImageMatrix.push(jsonObject["borderBackgroundImageMatrix"][i])
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
result.colors = CustomizationColors.fromJson(jsonObject["colors"])
|
|
2480
|
+
result.fonts = CustomizationFonts.fromJson(jsonObject["fonts"])
|
|
2481
|
+
result.images = CustomizationImages.fromJson(jsonObject["images"])
|
|
1744
2482
|
|
|
1745
|
-
|
|
1746
|
-
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
2483
|
+
return result
|
|
1747
2484
|
}
|
|
2485
|
+
}
|
|
1748
2486
|
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
2487
|
+
export class EDLDataGroups {
|
|
2488
|
+
DG1?: boolean
|
|
2489
|
+
DG2?: boolean
|
|
2490
|
+
DG3?: boolean
|
|
2491
|
+
DG4?: boolean
|
|
2492
|
+
DG5?: boolean
|
|
2493
|
+
DG6?: boolean
|
|
2494
|
+
DG7?: boolean
|
|
2495
|
+
DG8?: boolean
|
|
2496
|
+
DG9?: boolean
|
|
2497
|
+
DG10?: boolean
|
|
2498
|
+
DG11?: boolean
|
|
2499
|
+
DG12?: boolean
|
|
2500
|
+
DG13?: boolean
|
|
2501
|
+
DG14?: boolean
|
|
2502
|
+
|
|
2503
|
+
static fromJson(jsonObject?: any): EDLDataGroups | undefined {
|
|
2504
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2505
|
+
const result = new EDLDataGroups
|
|
2506
|
+
|
|
2507
|
+
result.DG1 = jsonObject["DG1"]
|
|
2508
|
+
result.DG2 = jsonObject["DG2"]
|
|
2509
|
+
result.DG3 = jsonObject["DG3"]
|
|
2510
|
+
result.DG4 = jsonObject["DG4"]
|
|
2511
|
+
result.DG5 = jsonObject["DG5"]
|
|
2512
|
+
result.DG6 = jsonObject["DG6"]
|
|
2513
|
+
result.DG7 = jsonObject["DG7"]
|
|
2514
|
+
result.DG8 = jsonObject["DG8"]
|
|
2515
|
+
result.DG9 = jsonObject["DG9"]
|
|
2516
|
+
result.DG10 = jsonObject["DG10"]
|
|
2517
|
+
result.DG11 = jsonObject["DG11"]
|
|
2518
|
+
result.DG12 = jsonObject["DG12"]
|
|
2519
|
+
result.DG13 = jsonObject["DG13"]
|
|
2520
|
+
result.DG14 = jsonObject["DG14"]
|
|
1752
2521
|
|
|
1753
|
-
|
|
1754
|
-
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldByTypeSourcePageIndex", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
|
|
2522
|
+
return result
|
|
1755
2523
|
}
|
|
2524
|
+
}
|
|
1756
2525
|
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
2526
|
+
export class EPassportDataGroups {
|
|
2527
|
+
DG1?: boolean
|
|
2528
|
+
DG2?: boolean
|
|
2529
|
+
DG3?: boolean
|
|
2530
|
+
DG4?: boolean
|
|
2531
|
+
DG5?: boolean
|
|
2532
|
+
DG6?: boolean
|
|
2533
|
+
DG7?: boolean
|
|
2534
|
+
DG8?: boolean
|
|
2535
|
+
DG9?: boolean
|
|
2536
|
+
DG10?: boolean
|
|
2537
|
+
DG11?: boolean
|
|
2538
|
+
DG12?: boolean
|
|
2539
|
+
DG13?: boolean
|
|
2540
|
+
DG14?: boolean
|
|
2541
|
+
DG15?: boolean
|
|
2542
|
+
DG16?: boolean
|
|
2543
|
+
|
|
2544
|
+
static fromJson(jsonObject?: any): EPassportDataGroups | undefined {
|
|
2545
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2546
|
+
const result = new EPassportDataGroups
|
|
2547
|
+
|
|
2548
|
+
result.DG1 = jsonObject["DG1"]
|
|
2549
|
+
result.DG2 = jsonObject["DG2"]
|
|
2550
|
+
result.DG3 = jsonObject["DG3"]
|
|
2551
|
+
result.DG4 = jsonObject["DG4"]
|
|
2552
|
+
result.DG5 = jsonObject["DG5"]
|
|
2553
|
+
result.DG6 = jsonObject["DG6"]
|
|
2554
|
+
result.DG7 = jsonObject["DG7"]
|
|
2555
|
+
result.DG8 = jsonObject["DG8"]
|
|
2556
|
+
result.DG9 = jsonObject["DG9"]
|
|
2557
|
+
result.DG10 = jsonObject["DG10"]
|
|
2558
|
+
result.DG11 = jsonObject["DG11"]
|
|
2559
|
+
result.DG12 = jsonObject["DG12"]
|
|
2560
|
+
result.DG13 = jsonObject["DG13"]
|
|
2561
|
+
result.DG14 = jsonObject["DG14"]
|
|
2562
|
+
result.DG15 = jsonObject["DG15"]
|
|
2563
|
+
result.DG16 = jsonObject["DG16"]
|
|
1760
2564
|
|
|
1761
|
-
|
|
1762
|
-
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSource", [this.rawResult, fieldType, source], successCallback, errorCallback)
|
|
2565
|
+
return result
|
|
1763
2566
|
}
|
|
2567
|
+
}
|
|
1764
2568
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
2569
|
+
export class EIDDataGroups {
|
|
2570
|
+
DG1?: boolean
|
|
2571
|
+
DG2?: boolean
|
|
2572
|
+
DG3?: boolean
|
|
2573
|
+
DG4?: boolean
|
|
2574
|
+
DG5?: boolean
|
|
2575
|
+
DG6?: boolean
|
|
2576
|
+
DG7?: boolean
|
|
2577
|
+
DG8?: boolean
|
|
2578
|
+
DG9?: boolean
|
|
2579
|
+
DG10?: boolean
|
|
2580
|
+
DG11?: boolean
|
|
2581
|
+
DG12?: boolean
|
|
2582
|
+
DG13?: boolean
|
|
2583
|
+
DG14?: boolean
|
|
2584
|
+
DG15?: boolean
|
|
2585
|
+
DG16?: boolean
|
|
2586
|
+
DG17?: boolean
|
|
2587
|
+
DG18?: boolean
|
|
2588
|
+
DG19?: boolean
|
|
2589
|
+
DG20?: boolean
|
|
2590
|
+
DG21?: boolean
|
|
2591
|
+
|
|
2592
|
+
static fromJson(jsonObject?: any): EIDDataGroups | undefined {
|
|
2593
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2594
|
+
const result = new EIDDataGroups
|
|
2595
|
+
|
|
2596
|
+
result.DG1 = jsonObject["DG1"]
|
|
2597
|
+
result.DG2 = jsonObject["DG2"]
|
|
2598
|
+
result.DG3 = jsonObject["DG3"]
|
|
2599
|
+
result.DG4 = jsonObject["DG4"]
|
|
2600
|
+
result.DG5 = jsonObject["DG5"]
|
|
2601
|
+
result.DG6 = jsonObject["DG6"]
|
|
2602
|
+
result.DG7 = jsonObject["DG7"]
|
|
2603
|
+
result.DG8 = jsonObject["DG8"]
|
|
2604
|
+
result.DG9 = jsonObject["DG9"]
|
|
2605
|
+
result.DG10 = jsonObject["DG10"]
|
|
2606
|
+
result.DG11 = jsonObject["DG11"]
|
|
2607
|
+
result.DG12 = jsonObject["DG12"]
|
|
2608
|
+
result.DG13 = jsonObject["DG13"]
|
|
2609
|
+
result.DG14 = jsonObject["DG14"]
|
|
2610
|
+
result.DG15 = jsonObject["DG15"]
|
|
2611
|
+
result.DG16 = jsonObject["DG16"]
|
|
2612
|
+
result.DG17 = jsonObject["DG17"]
|
|
2613
|
+
result.DG18 = jsonObject["DG18"]
|
|
2614
|
+
result.DG19 = jsonObject["DG19"]
|
|
2615
|
+
result.DG20 = jsonObject["DG20"]
|
|
2616
|
+
result.DG21 = jsonObject["DG21"]
|
|
1768
2617
|
|
|
1769
|
-
|
|
1770
|
-
RNRegulaDocumentReader.exec("DocumentReader", "graphicFieldImageByTypeSourcePageIndexLight", [this.rawResult, fieldType, source, pageIndex, light], successCallback, errorCallback)
|
|
2618
|
+
return result
|
|
1771
2619
|
}
|
|
2620
|
+
}
|
|
1772
2621
|
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
2622
|
+
export class RFIDScenario {
|
|
2623
|
+
paceStaticBinding?: boolean
|
|
2624
|
+
onlineTA?: boolean
|
|
2625
|
+
writeEid?: boolean
|
|
2626
|
+
universalAccessRights?: boolean
|
|
2627
|
+
authorizedRestrictedIdentification?: boolean
|
|
2628
|
+
auxVerificationCommunityID?: boolean
|
|
2629
|
+
auxVerificationDateOfBirth?: boolean
|
|
2630
|
+
skipAA?: boolean
|
|
2631
|
+
strictProcessing?: boolean
|
|
2632
|
+
pkdDSCertPriority?: boolean
|
|
2633
|
+
pkdUseExternalCSCA?: boolean
|
|
2634
|
+
trustedPKD?: boolean
|
|
2635
|
+
passiveAuth?: boolean
|
|
2636
|
+
useSFI?: boolean
|
|
2637
|
+
readEPassport?: boolean
|
|
2638
|
+
readEID?: boolean
|
|
2639
|
+
readEDL?: boolean
|
|
2640
|
+
authorizedSTSignature?: boolean
|
|
2641
|
+
authorizedSTQSignature?: boolean
|
|
2642
|
+
authorizedWriteDG17?: boolean
|
|
2643
|
+
authorizedWriteDG18?: boolean
|
|
2644
|
+
authorizedWriteDG19?: boolean
|
|
2645
|
+
authorizedWriteDG20?: boolean
|
|
2646
|
+
authorizedWriteDG21?: boolean
|
|
2647
|
+
authorizedVerifyAge?: boolean
|
|
2648
|
+
authorizedVerifyCommunityID?: boolean
|
|
2649
|
+
authorizedPrivilegedTerminal?: boolean
|
|
2650
|
+
authorizedCANAllowed?: boolean
|
|
2651
|
+
authorizedPINManagement?: boolean
|
|
2652
|
+
authorizedInstallCert?: boolean
|
|
2653
|
+
authorizedInstallQCert?: boolean
|
|
2654
|
+
applyAmendments?: boolean
|
|
2655
|
+
autoSettings?: boolean
|
|
2656
|
+
proceedReadingAlways?: boolean
|
|
2657
|
+
readingBuffer?: number
|
|
2658
|
+
onlineTAToSignDataType?: number
|
|
2659
|
+
defaultReadingBufferSize?: number
|
|
2660
|
+
signManagementAction?: number
|
|
2661
|
+
profilerType?: number
|
|
2662
|
+
authProcType?: number
|
|
2663
|
+
baseSMProcedure?: number
|
|
2664
|
+
pacePasswordType?: number
|
|
2665
|
+
terminalType?: number
|
|
2666
|
+
password?: string
|
|
2667
|
+
pkdPA?: string
|
|
2668
|
+
pkdEAC?: string
|
|
2669
|
+
mrz?: string
|
|
2670
|
+
eSignPINDefault?: string
|
|
2671
|
+
eSignPINNewValue?: string
|
|
2672
|
+
eDLDataGroups?: EDLDataGroups
|
|
2673
|
+
ePassportDataGroups?: EPassportDataGroups
|
|
2674
|
+
eIDDataGroups?: EIDDataGroups
|
|
2675
|
+
|
|
2676
|
+
static fromJson(jsonObject?: any): RFIDScenario | undefined {
|
|
2677
|
+
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2678
|
+
const result = new RFIDScenario
|
|
2679
|
+
|
|
2680
|
+
result.paceStaticBinding = jsonObject["paceStaticBinding"]
|
|
2681
|
+
result.onlineTA = jsonObject["onlineTA"]
|
|
2682
|
+
result.writeEid = jsonObject["writeEid"]
|
|
2683
|
+
result.universalAccessRights = jsonObject["universalAccessRights"]
|
|
2684
|
+
result.authorizedRestrictedIdentification = jsonObject["authorizedRestrictedIdentification"]
|
|
2685
|
+
result.auxVerificationCommunityID = jsonObject["auxVerificationCommunityID"]
|
|
2686
|
+
result.auxVerificationDateOfBirth = jsonObject["auxVerificationDateOfBirth"]
|
|
2687
|
+
result.skipAA = jsonObject["skipAA"]
|
|
2688
|
+
result.strictProcessing = jsonObject["strictProcessing"]
|
|
2689
|
+
result.pkdDSCertPriority = jsonObject["pkdDSCertPriority"]
|
|
2690
|
+
result.pkdUseExternalCSCA = jsonObject["pkdUseExternalCSCA"]
|
|
2691
|
+
result.trustedPKD = jsonObject["trustedPKD"]
|
|
2692
|
+
result.passiveAuth = jsonObject["passiveAuth"]
|
|
2693
|
+
result.useSFI = jsonObject["useSFI"]
|
|
2694
|
+
result.readEPassport = jsonObject["readEPassport"]
|
|
2695
|
+
result.readEID = jsonObject["readEID"]
|
|
2696
|
+
result.readEDL = jsonObject["readEDL"]
|
|
2697
|
+
result.authorizedSTSignature = jsonObject["authorizedSTSignature"]
|
|
2698
|
+
result.authorizedSTQSignature = jsonObject["authorizedSTQSignature"]
|
|
2699
|
+
result.authorizedWriteDG17 = jsonObject["authorizedWriteDG17"]
|
|
2700
|
+
result.authorizedWriteDG18 = jsonObject["authorizedWriteDG18"]
|
|
2701
|
+
result.authorizedWriteDG19 = jsonObject["authorizedWriteDG19"]
|
|
2702
|
+
result.authorizedWriteDG20 = jsonObject["authorizedWriteDG20"]
|
|
2703
|
+
result.authorizedWriteDG21 = jsonObject["authorizedWriteDG21"]
|
|
2704
|
+
result.authorizedVerifyAge = jsonObject["authorizedVerifyAge"]
|
|
2705
|
+
result.authorizedVerifyCommunityID = jsonObject["authorizedVerifyCommunityID"]
|
|
2706
|
+
result.authorizedPrivilegedTerminal = jsonObject["authorizedPrivilegedTerminal"]
|
|
2707
|
+
result.authorizedCANAllowed = jsonObject["authorizedCANAllowed"]
|
|
2708
|
+
result.authorizedPINManagement = jsonObject["authorizedPINManagement"]
|
|
2709
|
+
result.authorizedInstallCert = jsonObject["authorizedInstallCert"]
|
|
2710
|
+
result.authorizedInstallQCert = jsonObject["authorizedInstallQCert"]
|
|
2711
|
+
result.applyAmendments = jsonObject["applyAmendments"]
|
|
2712
|
+
result.autoSettings = jsonObject["autoSettings"]
|
|
2713
|
+
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
2714
|
+
result.readingBuffer = jsonObject["readingBuffer"]
|
|
2715
|
+
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
2716
|
+
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
2717
|
+
result.signManagementAction = jsonObject["signManagementAction"]
|
|
2718
|
+
result.profilerType = jsonObject["profilerType"]
|
|
2719
|
+
result.authProcType = jsonObject["authProcType"]
|
|
2720
|
+
result.baseSMProcedure = jsonObject["baseSMProcedure"]
|
|
2721
|
+
result.pacePasswordType = jsonObject["pacePasswordType"]
|
|
2722
|
+
result.terminalType = jsonObject["terminalType"]
|
|
2723
|
+
result.password = jsonObject["password"]
|
|
2724
|
+
result.pkdPA = jsonObject["pkdPA"]
|
|
2725
|
+
result.pkdEAC = jsonObject["pkdEAC"]
|
|
2726
|
+
result.mrz = jsonObject["mrz"]
|
|
2727
|
+
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
2728
|
+
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
2729
|
+
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
2730
|
+
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
2731
|
+
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1776
2732
|
|
|
1777
|
-
|
|
1778
|
-
RNRegulaDocumentReader.exec("DocumentReader", "encryptedContainers", [this.rawResult], successCallback, errorCallback)
|
|
2733
|
+
return result
|
|
1779
2734
|
}
|
|
2735
|
+
}
|
|
1780
2736
|
|
|
1781
|
-
|
|
2737
|
+
export class PrepareProgress {
|
|
2738
|
+
downloadedBytes?: number
|
|
2739
|
+
totalBytes?: number
|
|
2740
|
+
progress?: number
|
|
2741
|
+
|
|
2742
|
+
static fromJson(jsonObject?: any): PrepareProgress | undefined {
|
|
1782
2743
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
1783
|
-
const result = new
|
|
2744
|
+
const result = new PrepareProgress
|
|
1784
2745
|
|
|
1785
|
-
result.
|
|
1786
|
-
result.
|
|
1787
|
-
result.
|
|
1788
|
-
result.processingFinishedStatus = jsonObject["processingFinishedStatus"]
|
|
1789
|
-
result.elapsedTime = jsonObject["elapsedTime"]
|
|
1790
|
-
result.elapsedTimeRFID = jsonObject["elapsedTimeRFID"]
|
|
1791
|
-
result.morePagesAvailable = jsonObject["morePagesAvailable"]
|
|
1792
|
-
result.rfidResult = jsonObject["rfidResult"]
|
|
1793
|
-
result.highResolution = jsonObject["highResolution"]
|
|
1794
|
-
result.graphicResult = DocumentReaderGraphicResult.fromJson(jsonObject["graphicResult"])
|
|
1795
|
-
result.textResult = DocumentReaderTextResult.fromJson(jsonObject["textResult"])
|
|
1796
|
-
result.documentPosition = []
|
|
1797
|
-
if (jsonObject["documentPosition"] != null) {
|
|
1798
|
-
for (const i in jsonObject["documentPosition"]) {
|
|
1799
|
-
const item = ElementPosition.fromJson(jsonObject["documentPosition"][i])
|
|
1800
|
-
if (item != undefined)
|
|
1801
|
-
result.documentPosition.push(item)
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
result.barcodePosition = []
|
|
1805
|
-
if (jsonObject["barcodePosition"] != null) {
|
|
1806
|
-
for (const i in jsonObject["barcodePosition"]) {
|
|
1807
|
-
const item = ElementPosition.fromJson(jsonObject["barcodePosition"][i])
|
|
1808
|
-
if (item != undefined)
|
|
1809
|
-
result.barcodePosition.push(item)
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
result.mrzPosition = []
|
|
1813
|
-
if (jsonObject["mrzPosition"] != null) {
|
|
1814
|
-
for (const i in jsonObject["mrzPosition"]) {
|
|
1815
|
-
const item = ElementPosition.fromJson(jsonObject["mrzPosition"][i])
|
|
1816
|
-
if (item != undefined)
|
|
1817
|
-
result.mrzPosition.push(item)
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
result.imageQuality = []
|
|
1821
|
-
if (jsonObject["imageQuality"] != null) {
|
|
1822
|
-
for (const i in jsonObject["imageQuality"]) {
|
|
1823
|
-
const item = ImageQualityGroup.fromJson(jsonObject["imageQuality"][i])
|
|
1824
|
-
if (item != undefined)
|
|
1825
|
-
result.imageQuality.push(item)
|
|
1826
|
-
}
|
|
1827
|
-
}
|
|
1828
|
-
result.rawResult = jsonObject["rawResult"]
|
|
1829
|
-
result.documentReaderNotification = DocumentReaderNotification.fromJson(jsonObject["documentReaderNotification"])
|
|
1830
|
-
result.rfidSessionData = RFIDSessionData.fromJson(jsonObject["rfidSessionData"])
|
|
1831
|
-
result.authenticityResult = DocumentReaderAuthenticityResult.fromJson(jsonObject["authenticityResult"])
|
|
1832
|
-
result.barcodeResult = DocumentReaderBarcodeResult.fromJson(jsonObject["barcodeResult"])
|
|
1833
|
-
result.ppmIn = jsonObject["ppmIn"]
|
|
1834
|
-
result.documentType = []
|
|
1835
|
-
if (jsonObject["documentType"] != null) {
|
|
1836
|
-
for (const i in jsonObject["documentType"]) {
|
|
1837
|
-
const item = DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i])
|
|
1838
|
-
if (item != undefined)
|
|
1839
|
-
result.documentType.push(item)
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1843
|
-
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
2746
|
+
result.downloadedBytes = jsonObject["downloadedBytes"]
|
|
2747
|
+
result.totalBytes = jsonObject["totalBytes"]
|
|
2748
|
+
result.progress = jsonObject["progress"]
|
|
1844
2749
|
|
|
1845
2750
|
return result
|
|
1846
2751
|
}
|
|
@@ -1877,6 +2782,16 @@ export const eRPRM_Authenticity = {
|
|
|
1877
2782
|
OCR: 4194304,
|
|
1878
2783
|
}
|
|
1879
2784
|
|
|
2785
|
+
export const CustomizationColor = {
|
|
2786
|
+
RFID_PROCESSING_SCREEN_BACKGROUND: "rfidProcessingScreenBackground",
|
|
2787
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_TEXT: "rfidProcessingScreenHintLabelText",
|
|
2788
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL_BACKGROUND: "rfidProcessingScreenHintLabelBackground",
|
|
2789
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL_TEXT: "rfidProcessingScreenProgressLabelText",
|
|
2790
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR: "rfidProcessingScreenProgressBar",
|
|
2791
|
+
RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: "rfidProcessingScreenProgressBarBackground",
|
|
2792
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "rfidProcessingScreenResultLabelText",
|
|
2793
|
+
}
|
|
2794
|
+
|
|
1880
2795
|
export const eRFID_ErrorCodes = {
|
|
1881
2796
|
RFID_ERROR_NO_ERROR: 0x00000001,
|
|
1882
2797
|
RFID_ERROR_ALREADY_DONE: 0x00000002,
|
|
@@ -2189,11 +3104,6 @@ export const eRPRM_ResultType = {
|
|
|
2189
3104
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
2190
3105
|
}
|
|
2191
3106
|
|
|
2192
|
-
export const CameraTypes = {
|
|
2193
|
-
FRONT: "front",
|
|
2194
|
-
BACK: "back",
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
3107
|
export const FrameShapeType = {
|
|
2198
3108
|
LINE: 0,
|
|
2199
3109
|
CORNER: 1,
|
|
@@ -2206,6 +3116,12 @@ export const eRFID_BaudRate = {
|
|
|
2206
3116
|
rfbr_848: 8,
|
|
2207
3117
|
}
|
|
2208
3118
|
|
|
3119
|
+
export const LineCap = {
|
|
3120
|
+
BUTT: 0,
|
|
3121
|
+
ROUND: 1,
|
|
3122
|
+
SQUARE: 2,
|
|
3123
|
+
}
|
|
3124
|
+
|
|
2209
3125
|
export const eRPRM_FieldVerificationResult = {
|
|
2210
3126
|
RCF_DISABLED: 0,
|
|
2211
3127
|
RCF_VERIFIED: 1,
|
|
@@ -2236,11 +3152,13 @@ export const eProcessGLCommands = {
|
|
|
2236
3152
|
ePC_ProcMgr_ProcessImage: 12104,
|
|
2237
3153
|
ePC_ProcMgr_StartNewDocument: 12105,
|
|
2238
3154
|
ePC_ProcMgr_StartNewPage: 12106,
|
|
3155
|
+
ePC_ProcMgr_AddDataToPackage: 12121,
|
|
3156
|
+
ePC_ProcMgr_FinalizePackage: 12122,
|
|
3157
|
+
ePC_ProcMgr_CreateBackendTransaction: 12125,
|
|
2239
3158
|
ePC_ProcMgr_Unload: 12107,
|
|
2240
3159
|
ePC_ProcMgr_CheckDatabase: 12109,
|
|
2241
3160
|
ePC_ProcMgr_ComparePortraits: 12111,
|
|
2242
3161
|
ePC_RFID_SetTCCParams: 12522,
|
|
2243
|
-
ePC_RFID_SetReprocessingParams: 12523,
|
|
2244
3162
|
}
|
|
2245
3163
|
|
|
2246
3164
|
export const PKDResourceType = {
|
|
@@ -2309,6 +3227,11 @@ export const DocumentReaderErrorCodes = {
|
|
|
2309
3227
|
LICENSE_DATABASE_INCORRECT: 23,
|
|
2310
3228
|
INVALID_TCC_PARAMS: 24,
|
|
2311
3229
|
RFID_IN_PROGRESS: 25,
|
|
3230
|
+
START_BACKEND_PROCESSING: 26,
|
|
3231
|
+
ADD_DATA_TO_PACKAGE: 27,
|
|
3232
|
+
FINALIZE_FAILED: 28,
|
|
3233
|
+
CAMERA_NO_PERMISSION: 29,
|
|
3234
|
+
CAMERA_NOT_AVAILABLE: 30,
|
|
2312
3235
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
2313
3236
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
2314
3237
|
WRONG_INPUT: 400,
|
|
@@ -2328,6 +3251,7 @@ export const ScenarioIdentifier = {
|
|
|
2328
3251
|
SCENARIO_MRZ_OR_BARCODE: "MrzOrBarcode",
|
|
2329
3252
|
SCENARIO_MRZ_OR_LOCATE: "MrzOrLocate",
|
|
2330
3253
|
SCENARIO_MRZ_AND_LOCATE: "MrzAndLocate",
|
|
3254
|
+
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
2331
3255
|
SCENARIO_MRZ_OR_OCR: "MrzOrOcr",
|
|
2332
3256
|
SCENARIO_MRZ_OR_BARCODE_OR_OCR: "MrzOrBarcodeOrOcr",
|
|
2333
3257
|
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: "LocateVisual_And_MrzOrOcr",
|
|
@@ -2338,7 +3262,6 @@ export const ScenarioIdentifier = {
|
|
|
2338
3262
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
2339
3263
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
2340
3264
|
SCENARIO_CAPTURE: "Capture",
|
|
2341
|
-
SCENARIO_BARCODE_AND_LOCATE: "BarcodeAndLocate",
|
|
2342
3265
|
}
|
|
2343
3266
|
|
|
2344
3267
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -2391,6 +3314,12 @@ export const eRFID_NotificationCodes = {
|
|
|
2391
3314
|
RFID_NOTIFICATION_BIOMETRICS_EMPTY_PLACEHOLDER: 0x000F0000,
|
|
2392
3315
|
}
|
|
2393
3316
|
|
|
3317
|
+
export const CameraPosition = {
|
|
3318
|
+
UNSPECIFIED: 0,
|
|
3319
|
+
BACK: 1,
|
|
3320
|
+
FRONT: 2,
|
|
3321
|
+
}
|
|
3322
|
+
|
|
2394
3323
|
export const eRFID_Password_Type = {
|
|
2395
3324
|
PPT_UNKNOWN: 0,
|
|
2396
3325
|
PPT_MRZ: 1,
|
|
@@ -2401,6 +3330,23 @@ export const eRFID_Password_Type = {
|
|
|
2401
3330
|
PPT_SAI: 6,
|
|
2402
3331
|
}
|
|
2403
3332
|
|
|
3333
|
+
export const ViewContentMode = {
|
|
3334
|
+
UNKNOWN: -1,
|
|
3335
|
+
SCALE_TO_FILL: 0,
|
|
3336
|
+
SCALE_ASPECT_FIT: 1,
|
|
3337
|
+
SCALE_ASPECT_FILL: 2,
|
|
3338
|
+
REDRAW: 3,
|
|
3339
|
+
CENTER: 4,
|
|
3340
|
+
TOP: 5,
|
|
3341
|
+
BOTTOM: 6,
|
|
3342
|
+
LEFT: 7,
|
|
3343
|
+
RIGHT: 8,
|
|
3344
|
+
TOP_LEFT: 9,
|
|
3345
|
+
TOP_RIGHT: 10,
|
|
3346
|
+
BOTTOM_LEFT: 11,
|
|
3347
|
+
BOTTOM_RIGHT: 12,
|
|
3348
|
+
}
|
|
3349
|
+
|
|
2404
3350
|
export const BarcodeResult = {
|
|
2405
3351
|
NO_ERR: 0,
|
|
2406
3352
|
NULL_PTR_ERR: -6001,
|
|
@@ -2469,6 +3415,7 @@ export const eCheckDiagnose = {
|
|
|
2469
3415
|
INCORRECT_TEXT_COLOR: 26,
|
|
2470
3416
|
PHOTO_FALSE_LUMINISCENCE: 27,
|
|
2471
3417
|
TOO_MUCH_SHIFT: 28,
|
|
3418
|
+
CONTACT_CHIP_TYPE_MISMATCH: 29,
|
|
2472
3419
|
FIBERS_NOT_FOUND: 30,
|
|
2473
3420
|
TOO_MANY_OBJECTS: 31,
|
|
2474
3421
|
SPECKS_IN_UV: 33,
|
|
@@ -2554,6 +3501,12 @@ export const eCheckDiagnose = {
|
|
|
2554
3501
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
2555
3502
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
2556
3503
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
3504
|
+
ICAO_IDB_BASE_32_ERROR: 243,
|
|
3505
|
+
ICAO_IDB_ZIPPED_ERROR: 244,
|
|
3506
|
+
ICAO_IDB_MESSAGE_ZONE_EMPTY: 245,
|
|
3507
|
+
ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246,
|
|
3508
|
+
ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247,
|
|
3509
|
+
ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248,
|
|
2557
3510
|
LAST_DIAGNOSE_VALUE: 250,
|
|
2558
3511
|
}
|
|
2559
3512
|
|
|
@@ -2570,6 +3523,20 @@ export const TextProcessing = {
|
|
|
2570
3523
|
ocCapital: 3,
|
|
2571
3524
|
}
|
|
2572
3525
|
|
|
3526
|
+
export const AnimationImage = {
|
|
3527
|
+
UNKNOWN: 0,
|
|
3528
|
+
PASSPORT_SINGLE_PAGE: 1,
|
|
3529
|
+
PASSPORT_TWO_PAGES: 2,
|
|
3530
|
+
ID_FRONT: 3,
|
|
3531
|
+
ID_FRONT_MRZ: 4,
|
|
3532
|
+
ID_BACK: 5,
|
|
3533
|
+
ID_BACK_MRZ: 6,
|
|
3534
|
+
ID_BACK_BARCODE: 7,
|
|
3535
|
+
ID_BACK_BARCODE_MRZ: 8,
|
|
3536
|
+
BANK_CARD_FRONT: 9,
|
|
3537
|
+
BANK_CARD_BACK: 10,
|
|
3538
|
+
}
|
|
3539
|
+
|
|
2573
3540
|
export const ProcessingFinishedStatus = {
|
|
2574
3541
|
NOT_READY: 0,
|
|
2575
3542
|
READY: 1,
|
|
@@ -2814,6 +3781,10 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
2814
3781
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_CANT_FIND_CSCA: 0x92000117,
|
|
2815
3782
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_REVOKED: 0x92000118,
|
|
2816
3783
|
NTF_LDS_AUTH_ML_SIGNER_INFO_CERTIFICATE_SIGNATURE_INVALID: 0x92000119,
|
|
3784
|
+
NTF_LDS_ICAO_CERTIFICATE_CHAIN_COUNTRY_NON_MATCHING: 0x90000250,
|
|
3785
|
+
NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: 0x90000251,
|
|
3786
|
+
NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: 0x00022019,
|
|
3787
|
+
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: 0x90000252,
|
|
2817
3788
|
}
|
|
2818
3789
|
|
|
2819
3790
|
export const eImageQualityCheckType = {
|
|
@@ -2826,6 +3797,7 @@ export const eImageQualityCheckType = {
|
|
|
2826
3797
|
IQC_SCREEN_CAPTURE: 6,
|
|
2827
3798
|
IQC_PORTRAIT: 7,
|
|
2828
3799
|
IQC_HANDWRITTEN: 8,
|
|
3800
|
+
IQC_BRIGHTNESS: 9,
|
|
2829
3801
|
}
|
|
2830
3802
|
|
|
2831
3803
|
export const MRZFormat = {
|
|
@@ -2907,6 +3879,12 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
2907
3879
|
SECURITY_FEATURE_TYPE_LAS_INK: 43,
|
|
2908
3880
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: 44,
|
|
2909
3881
|
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: 45,
|
|
3882
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_VS_BARCODE: 46,
|
|
3883
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47,
|
|
3884
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48,
|
|
3885
|
+
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
3886
|
+
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
3887
|
+
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
2910
3888
|
}
|
|
2911
3889
|
|
|
2912
3890
|
export const OnlineMode = {
|
|
@@ -3152,6 +4130,15 @@ export const diDocType = {
|
|
|
3152
4130
|
dtPassengerLocatorForm: 242,
|
|
3153
4131
|
}
|
|
3154
4132
|
|
|
4133
|
+
export const ButtonTag = {
|
|
4134
|
+
CLOSE: 1001,
|
|
4135
|
+
TORCH: 1002,
|
|
4136
|
+
CAPTURE: 1003,
|
|
4137
|
+
CHANGE_FRAME: 1004,
|
|
4138
|
+
SKIP: 1005,
|
|
4139
|
+
CAMERA_SWITCH: 1006,
|
|
4140
|
+
}
|
|
4141
|
+
|
|
3155
4142
|
export const HoloAnimationType = {
|
|
3156
4143
|
DocumentHoloAnimationUnknown: 0,
|
|
3157
4144
|
DocumentHoloAnimationTypeHorizontal: 1,
|
|
@@ -3170,6 +4157,12 @@ export const eRequestCommand = {
|
|
|
3170
4157
|
eReqCmd_WltToImage: 401,
|
|
3171
4158
|
}
|
|
3172
4159
|
|
|
4160
|
+
export const CustomizationFont = {
|
|
4161
|
+
RFID_PROCESSING_SCREEN_HINT_LABEL: "rfidProcessingScreenHintLabel",
|
|
4162
|
+
RFID_PROCESSING_SCREEN_PROGRESS_LABEL: "rfidProcessingScreenProgressLabel",
|
|
4163
|
+
RFID_PROCESSING_SCREEN_RESULT_LABEL: "rfidProcessingScreenResultLabel",
|
|
4164
|
+
}
|
|
4165
|
+
|
|
3173
4166
|
export const ImageFormat = {
|
|
3174
4167
|
PNG: 0,
|
|
3175
4168
|
JPG: 1,
|
|
@@ -3187,6 +4180,7 @@ export const eGraphicFieldType = {
|
|
|
3187
4180
|
GF_GHOST_PORTRAIT: 210,
|
|
3188
4181
|
GF_STAMP: 211,
|
|
3189
4182
|
GF_PORTRAIT_OF_CHILD: 212,
|
|
4183
|
+
GF_CONTACT_CHIP: 213,
|
|
3190
4184
|
GF_OTHER: 250,
|
|
3191
4185
|
GF_FINGER_LEFT_THUMB: 300,
|
|
3192
4186
|
GF_FINGER_LEFT_INDEX: 301,
|
|
@@ -3201,7 +4195,23 @@ export const eGraphicFieldType = {
|
|
|
3201
4195
|
}
|
|
3202
4196
|
|
|
3203
4197
|
export const RegDeviceConfigType = {
|
|
3204
|
-
DEVICE_7310:
|
|
4198
|
+
DEVICE_7310: "DEVICE_7310",
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
export const CaptureSessionPreset = {
|
|
4202
|
+
UNKNOWN: -1,
|
|
4203
|
+
LOW: 0,
|
|
4204
|
+
MEDIUM: 1,
|
|
4205
|
+
HIGH: 2,
|
|
4206
|
+
PHOTO: 3,
|
|
4207
|
+
INPUT_PRIORITY: 4,
|
|
4208
|
+
PRESET_1280x720: 6,
|
|
4209
|
+
PRESET_1920x1080: 7,
|
|
4210
|
+
PRESET_3840x2160: 8,
|
|
4211
|
+
FRAME_960x540: 9,
|
|
4212
|
+
FRAME_1280x720: 10,
|
|
4213
|
+
PRESET_640x480: 12,
|
|
4214
|
+
PRESET_352x288: 13,
|
|
3205
4215
|
}
|
|
3206
4216
|
|
|
3207
4217
|
export const CameraMode = {
|
|
@@ -3949,6 +4959,9 @@ export const eVisualFieldType = {
|
|
|
3949
4959
|
FT_ADDRESS_COUNTY_TYPE: 678,
|
|
3950
4960
|
FT_ADDRESS_CITY_TYPE: 679,
|
|
3951
4961
|
FT_ADDRESS_BUILDING_TYPE: 680,
|
|
4962
|
+
FT_DATE_OF_RETIREMENT: 681,
|
|
4963
|
+
FT_DOCUMENT_STATUS: 682,
|
|
4964
|
+
FT_SIGNATURE: 683,
|
|
3952
4965
|
}
|
|
3953
4966
|
|
|
3954
4967
|
export const DocReaderOrientation = {
|
|
@@ -3992,7 +5005,7 @@ export const LCID = {
|
|
|
3992
5005
|
BANK_CARD_NUMBER: 10000,
|
|
3993
5006
|
BANK_CARD_VALID_THRU: 10001,
|
|
3994
5007
|
BELARUSIAN: 1059,
|
|
3995
|
-
|
|
5008
|
+
BENGALI_BANGLADESH: 2117,
|
|
3996
5009
|
BULGARIAN: 1026,
|
|
3997
5010
|
CATALAN: 1027,
|
|
3998
5011
|
CHINESE_HONGKONG_SAR: 3076,
|
|
@@ -4058,6 +5071,7 @@ export const LCID = {
|
|
|
4058
5071
|
LITHUANIAN: 1063,
|
|
4059
5072
|
MALAY_MALAYSIA: 1086,
|
|
4060
5073
|
MALAY_BRUNEI_DARUSSALAM: 2110,
|
|
5074
|
+
ASSAMESE: 1101,
|
|
4061
5075
|
MARATHI: 1102,
|
|
4062
5076
|
MONGOLIAN_CYRILIC: 1104,
|
|
4063
5077
|
NORWEGIAN_BOKMAL: 1044,
|
|
@@ -4104,6 +5118,7 @@ export const LCID = {
|
|
|
4104
5118
|
SYRIAC: 1114,
|
|
4105
5119
|
TAMIL: 1097,
|
|
4106
5120
|
TATAR: 1092,
|
|
5121
|
+
BENGALI_INDIA: 1093,
|
|
4107
5122
|
TELUGU: 1098,
|
|
4108
5123
|
THAI_THAILAND: 1054,
|
|
4109
5124
|
TURKISH: 1055,
|
|
@@ -4116,6 +5131,18 @@ export const LCID = {
|
|
|
4116
5131
|
VIETNAMESE: 1066,
|
|
4117
5132
|
CTC_SIMPLIFIED: 50001,
|
|
4118
5133
|
CTC_TRADITIONAL: 50002,
|
|
5134
|
+
MALTESE: 1082,
|
|
5135
|
+
BURMESE: 1109,
|
|
5136
|
+
KHMER: 1107,
|
|
5137
|
+
KARAKALPAK_LATIN: 10012,
|
|
5138
|
+
MALAYALAM: 1100,
|
|
5139
|
+
NEPALI: 1121,
|
|
5140
|
+
ORIYA: 1096,
|
|
5141
|
+
URDU_DETECTION: 10560,
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
export const CustomizationImage = {
|
|
5145
|
+
RFID_PROCESSING_SCREEN_FAILURE_IMAGE: "rfidProcessingScreenFailureImage",
|
|
4119
5146
|
}
|
|
4120
5147
|
|
|
4121
5148
|
export const DocReaderFrame = {
|
|
@@ -4137,72 +5164,18 @@ export const eRPRM_Lights = {
|
|
|
4137
5164
|
RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
|
|
4138
5165
|
}
|
|
4139
5166
|
|
|
4140
|
-
export const LineCap = {
|
|
4141
|
-
Butt: 0,
|
|
4142
|
-
Round: 1,
|
|
4143
|
-
Square: 2,
|
|
4144
|
-
}
|
|
4145
|
-
|
|
4146
|
-
export const UIInterfaceOrientationMask = {
|
|
4147
|
-
Portrait: 0,
|
|
4148
|
-
LandscapeLeft: 1,
|
|
4149
|
-
LandscapeRight: 2,
|
|
4150
|
-
PortraitUpsideDown: 3,
|
|
4151
|
-
Landscape: 4,
|
|
4152
|
-
All: 5,
|
|
4153
|
-
AllButUpsideDown: 6,
|
|
4154
|
-
}
|
|
4155
|
-
|
|
4156
|
-
export const AVCaptureSessionPreset = {
|
|
4157
|
-
Low: 0,
|
|
4158
|
-
Medium: 1,
|
|
4159
|
-
High: 2,
|
|
4160
|
-
Photo: 3,
|
|
4161
|
-
InputPriority: 4,
|
|
4162
|
-
QHD960x540: 5,
|
|
4163
|
-
Hd1280x720: 6,
|
|
4164
|
-
Hd1920x1080: 7,
|
|
4165
|
-
Hd4K3840x2160: 8,
|
|
4166
|
-
IFrame960x540: 9,
|
|
4167
|
-
IFrame1280x720: 10,
|
|
4168
|
-
Qvga320x240: 11,
|
|
4169
|
-
Vga640x480: 12,
|
|
4170
|
-
Cif352x288: 13,
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
export const AVCaptureDevicePosition = {
|
|
4174
|
-
Front: 0,
|
|
4175
|
-
Back: 1,
|
|
4176
|
-
Unspecified: 2,
|
|
4177
|
-
}
|
|
4178
|
-
|
|
4179
|
-
export const UIViewContentMode = {
|
|
4180
|
-
ScaleToFill: 0,
|
|
4181
|
-
ScaleAspectFit: 1,
|
|
4182
|
-
ScaleAspectFill: 2,
|
|
4183
|
-
Redraw: 3,
|
|
4184
|
-
Center: 4,
|
|
4185
|
-
Top: 5,
|
|
4186
|
-
Bottom: 6,
|
|
4187
|
-
Left: 7,
|
|
4188
|
-
Right: 8,
|
|
4189
|
-
TopLeft: 9,
|
|
4190
|
-
TopRight: 10,
|
|
4191
|
-
BottomLeft: 11,
|
|
4192
|
-
BottomRight: 12,
|
|
4193
|
-
}
|
|
4194
|
-
|
|
4195
5167
|
export const Enum = {
|
|
4196
5168
|
FontStyle,
|
|
4197
5169
|
eRPRM_Authenticity,
|
|
5170
|
+
CustomizationColor,
|
|
4198
5171
|
eRFID_ErrorCodes,
|
|
4199
5172
|
eLDS_ParsingErrorCodes,
|
|
4200
5173
|
eRFID_CertificateType,
|
|
4201
5174
|
RGLMeasureSystem,
|
|
4202
5175
|
eRPRM_ResultType,
|
|
4203
|
-
CameraTypes,
|
|
4204
5176
|
FrameShapeType,
|
|
4205
5177
|
eRFID_BaudRate,
|
|
5178
|
+
LineCap,
|
|
4206
5179
|
eRPRM_FieldVerificationResult,
|
|
4207
5180
|
DocReaderAction,
|
|
4208
5181
|
eProcessGLCommands,
|
|
@@ -4212,12 +5185,15 @@ export const Enum = {
|
|
|
4212
5185
|
ScenarioIdentifier,
|
|
4213
5186
|
eRFID_AccessControl_ProcedureType,
|
|
4214
5187
|
eRFID_NotificationCodes,
|
|
5188
|
+
CameraPosition,
|
|
4215
5189
|
eRFID_Password_Type,
|
|
5190
|
+
ViewContentMode,
|
|
4216
5191
|
BarcodeResult,
|
|
4217
5192
|
eSignManagementAction,
|
|
4218
5193
|
eCheckDiagnose,
|
|
4219
5194
|
RFIDDelegate,
|
|
4220
5195
|
TextProcessing,
|
|
5196
|
+
AnimationImage,
|
|
4221
5197
|
ProcessingFinishedStatus,
|
|
4222
5198
|
DocFormat,
|
|
4223
5199
|
eLDS_ParsingNotificationCodes,
|
|
@@ -4228,11 +5204,14 @@ export const Enum = {
|
|
|
4228
5204
|
OnlineMode,
|
|
4229
5205
|
eRFID_SDK_ProfilerType,
|
|
4230
5206
|
diDocType,
|
|
5207
|
+
ButtonTag,
|
|
4231
5208
|
HoloAnimationType,
|
|
4232
5209
|
eRequestCommand,
|
|
5210
|
+
CustomizationFont,
|
|
4233
5211
|
ImageFormat,
|
|
4234
5212
|
eGraphicFieldType,
|
|
4235
5213
|
RegDeviceConfigType,
|
|
5214
|
+
CaptureSessionPreset,
|
|
4236
5215
|
CameraMode,
|
|
4237
5216
|
CaptureMode,
|
|
4238
5217
|
eCheckResult,
|
|
@@ -4241,108 +5220,58 @@ export const Enum = {
|
|
|
4241
5220
|
eVisualFieldType,
|
|
4242
5221
|
DocReaderOrientation,
|
|
4243
5222
|
LCID,
|
|
5223
|
+
CustomizationImage,
|
|
4244
5224
|
DocReaderFrame,
|
|
4245
5225
|
eRPRM_Lights,
|
|
4246
|
-
LineCap,
|
|
4247
|
-
UIInterfaceOrientationMask,
|
|
4248
|
-
AVCaptureSessionPreset,
|
|
4249
|
-
AVCaptureDevicePosition,
|
|
4250
|
-
UIViewContentMode,
|
|
4251
5226
|
}
|
|
4252
5227
|
|
|
4253
5228
|
export default class DocumentReader {
|
|
4254
|
-
static initializeReaderAutomatically(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4255
|
-
static isBlePermissionsGranted(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4256
|
-
static startBluetoothService(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4257
|
-
static initializeReaderBleDeviceConfig(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4258
|
-
static getTag(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4259
|
-
static getAPIVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4260
|
-
static getAvailableScenarios(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4261
|
-
static isRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4262
|
-
static getCoreMode(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4263
|
-
static getCoreVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4264
|
-
static getDatabaseDate(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4265
|
-
static getDatabaseID(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4266
|
-
static getDatabaseVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4267
5229
|
static getDocumentReaderIsReady(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4268
5230
|
static getDocumentReaderStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4269
|
-
static getDatabaseCountriesNumber(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4270
|
-
static getDatabaseDocumentsNumber(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4271
|
-
static selectedScenario(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4272
|
-
static getSessionLogFolder(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4273
|
-
static getDatabaseDescription(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4274
|
-
/**
|
|
4275
|
-
* @deprecated
|
|
4276
|
-
*/
|
|
4277
|
-
static showScanner(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4278
|
-
static startNewPage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4279
|
-
static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4280
|
-
static startRFIDReader(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4281
|
-
static stopRFIDReader(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4282
|
-
static stopRFIDReaderWithErrorMessage(message: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4283
|
-
static stopScanner(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4284
|
-
static deinitializeReader(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4285
5231
|
static isAuthenticatorAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4286
|
-
static
|
|
5232
|
+
static isBlePermissionsGranted(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5233
|
+
static getRfidSessionStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5234
|
+
static setRfidSessionStatus(status: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5235
|
+
static getTag(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5236
|
+
static setTag(tag: string | null, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5237
|
+
static getFunctionality(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5238
|
+
static setFunctionality(functionality: Functionality, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5239
|
+
static getProcessParams(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5240
|
+
static setProcessParams(processParams: ProcessParams, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5241
|
+
static getCustomization(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5242
|
+
static setCustomization(customization: Customization, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4287
5243
|
static getRfidScenario(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4288
|
-
static
|
|
4289
|
-
static
|
|
4290
|
-
static
|
|
4291
|
-
static
|
|
5244
|
+
static setRfidScenario(rfidScenario: RFIDScenario, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5245
|
+
static resetConfiguration(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5246
|
+
static initializeReader(config: DocReaderConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5247
|
+
static initializeReaderWithBleDeviceConfig(config: DocReaderConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5248
|
+
static deinitializeReader(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5249
|
+
static prepareDatabase(databaseType: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4292
5250
|
static removeDatabase(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5251
|
+
static runAutoUpdate(databaseId: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4293
5252
|
static cancelDBUpdate(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4294
|
-
static resetConfiguration(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4295
|
-
static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4296
|
-
static readRFID(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4297
|
-
static getRfidSessionStatus(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4298
|
-
static setRfidDelegate(delegate: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4299
|
-
static setEnableCoreLogs(logs: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4300
|
-
static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4301
|
-
static setCameraSessionIsPaused(paused: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4302
|
-
static setTag(tag: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4303
5253
|
static checkDatabaseUpdate(databaseId: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4304
|
-
static scan(config:
|
|
4305
|
-
static recognize(config:
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
static
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
static showScannerWithCameraID(cameraID: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4314
|
-
static runAutoUpdate(databaseType: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4315
|
-
static setConfig(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4316
|
-
static setRfidScenario(scenario: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4317
|
-
static initializeReader(config: any, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4318
|
-
static prepareDatabase(databaseType: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4319
|
-
/**
|
|
4320
|
-
* @deprecated
|
|
4321
|
-
*/
|
|
4322
|
-
static recognizeImage(image: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4323
|
-
/**
|
|
4324
|
-
* @deprecated
|
|
4325
|
-
*/
|
|
4326
|
-
static recognizeData(data: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4327
|
-
static setRfidSessionStatus(status: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4328
|
-
static providePACertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4329
|
-
static provideTACertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5254
|
+
static scan(config: ScannerConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5255
|
+
static recognize(config: RecognizeConfig, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5256
|
+
static startNewPage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5257
|
+
static stopScanner(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5258
|
+
static startRFIDReader(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5259
|
+
static readRFID(requestPACertificates: boolean, requestTACertificates: boolean, requestTASignature: boolean, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5260
|
+
static stopRFIDReader(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5261
|
+
static providePACertificates(certificates: PKDCertificate[] | null, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5262
|
+
static provideTACertificates(certificates: PKDCertificate[] | null, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4330
5263
|
static provideTASignature(signature: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4331
|
-
static
|
|
4332
|
-
static
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
static
|
|
4337
|
-
static
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
static
|
|
4342
|
-
static
|
|
4343
|
-
|
|
4344
|
-
* @deprecated
|
|
4345
|
-
*/
|
|
4346
|
-
static recognizeImagesWithImageInputs(images: ImageInputData[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4347
|
-
static setLanguage(language: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5264
|
+
static setTCCParams(params: TccParams, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5265
|
+
static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5266
|
+
static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5267
|
+
static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5268
|
+
static startBluetoothService(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5269
|
+
static setLocalizationDictionary(dictionary: Record<string, string>, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5270
|
+
static getLicense(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5271
|
+
static getAvailableScenarios(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5272
|
+
static getIsRFIDAvailableForUse(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5273
|
+
static getDocReaderVersion(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5274
|
+
static getDocReaderDocumentsDatabase(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5275
|
+
static finalizePackage(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5276
|
+
static getTranslation(className: string, value: number, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
4348
5277
|
}
|