@regulaforensics/document-reader 9.2.591-beta → 9.2.593-nightly
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/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +2 -9
- package/examples/capacitor/package.json +2 -2
- package/examples/ionic/package.json +2 -2
- package/examples/react_native/package.json +2 -2
- package/ios/RGLWConfig.m +2 -7
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +1 -3
- package/test/package-lock.json +1 -1
- package/www/capacitor/index.js +2 -2
- package/www/capacitor/params/process_params/ProcessParams.js +6 -15
- package/www/cordova.js +6 -17
- package/www/react-native/index.js +2 -2
- package/www/react-native/params/process_params/ProcessParams.js +6 -15
- package/www/types/index.d.ts +2 -2
- package/www/types/params/process_params/ProcessParams.d.ts +1 -6
package/RNDocumentReader.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNDocumentReader'
|
|
8
|
-
s.version = '9.2.
|
|
8
|
+
s.version = '9.2.593-nightly'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
|
|
19
|
-
s.dependency '
|
|
19
|
+
s.dependency 'DocumentReaderNightly', '9.2.5882'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.2.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.2.12374'){
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repositories {
|
|
2
2
|
maven {
|
|
3
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
3
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation('com.regula.documentreader:api:9.2.
|
|
9
|
+
implementation('com.regula.documentreader:api:9.2.12374'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -18,7 +18,6 @@ import com.regula.documentreader.api.params.ImageQA
|
|
|
18
18
|
import com.regula.documentreader.api.params.LivenessParams
|
|
19
19
|
import com.regula.documentreader.api.params.ParamsCustomization
|
|
20
20
|
import com.regula.documentreader.api.params.ProcessParam
|
|
21
|
-
import com.regula.documentreader.api.params.Bsi
|
|
22
21
|
import com.regula.documentreader.api.params.RfidScenario
|
|
23
22
|
import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
|
|
24
23
|
import com.regula.documentreader.api.params.rfid.dg.DataGroups
|
|
@@ -148,11 +147,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
148
147
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
149
148
|
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
150
149
|
"checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
|
|
151
|
-
"
|
|
152
|
-
val temp = Bsi()
|
|
153
|
-
temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
|
|
154
|
-
processParams.bsiTr03135 = temp
|
|
155
|
-
}
|
|
150
|
+
"bsiTr03135Results" -> processParams.bsiTr03135Results = v as Boolean
|
|
156
151
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
157
152
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
158
153
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -242,9 +237,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
242
237
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
243
238
|
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
244
239
|
"checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
|
|
245
|
-
"
|
|
246
|
-
"generateResult" to processParams.bsiTr03135?.generateResult
|
|
247
|
-
).toJson(),
|
|
240
|
+
"bsiTr03135Results" to processParams.bsiTr03135Results,
|
|
248
241
|
"measureSystem" to processParams.measureSystem,
|
|
249
242
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
250
243
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/document-reader": "9.2.
|
|
10
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
9
|
+
"@regulaforensics/document-reader": "9.2.593-nightly",
|
|
10
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
11
11
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
12
12
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
13
13
|
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"@ionic/cordova-builders": "^12.3.0",
|
|
19
19
|
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
20
20
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
21
|
-
"@regulaforensics/document-reader": "9.2.
|
|
22
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
21
|
+
"@regulaforensics/document-reader": "9.2.593-nightly",
|
|
22
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
23
23
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
24
24
|
"cordova-android": "^14.0.1",
|
|
25
25
|
"cordova-ios": "^7.1.1",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "9.2.
|
|
12
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "9.
|
|
11
|
+
"@regulaforensics/document-reader": "9.2.593-nightly",
|
|
12
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
13
13
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
14
14
|
"react-native": "^0.81.4",
|
|
15
15
|
"react-native-fs": "^2.20.0",
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -194,10 +194,7 @@
|
|
|
194
194
|
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
195
195
|
if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
|
|
196
196
|
if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
|
|
197
|
-
if (options[@"
|
|
198
|
-
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
-
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
-
}
|
|
197
|
+
if (options[@"bsiTr03135Results"]) processParams.bsiTr03135Results = options[@"bsiTr03135Results"];
|
|
201
198
|
|
|
202
199
|
// Int
|
|
203
200
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -329,9 +326,7 @@
|
|
|
329
326
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
330
327
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
331
328
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
332
|
-
|
|
333
|
-
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
-
};
|
|
329
|
+
result[@"bsiTr03135Results"] = processParams.bsiTr03135Results;
|
|
335
330
|
|
|
336
331
|
// Int
|
|
337
332
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.593-nightly",
|
|
4
4
|
"description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
|
|
5
5
|
"main": "www/react-native/index.js",
|
|
6
6
|
"module": "www/capacitor/index.js",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/document-reader" version="9.2.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="9.2.593-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<description>Cordova plugin for Regula Document Reader SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="
|
|
32
|
+
<pod name="DocumentReaderNightly" spec="9.2.5882" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/json.tsx
CHANGED
|
@@ -108,9 +108,7 @@ export var processParams = {
|
|
|
108
108
|
"strictSecurityChecks": false,
|
|
109
109
|
"returnTransliteratedFields": true,
|
|
110
110
|
"checkCaptureProcessIntegrity": false,
|
|
111
|
-
"
|
|
112
|
-
"generateResult": true
|
|
113
|
-
},
|
|
111
|
+
"bsiTr03135Results": true,
|
|
114
112
|
"measureSystem": 1,
|
|
115
113
|
"barcodeParserType": 3,
|
|
116
114
|
"perspectiveAngle": 4,
|
package/test/package-lock.json
CHANGED
package/www/capacitor/index.js
CHANGED
|
@@ -99,7 +99,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
99
99
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
100
100
|
|
|
101
101
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
102
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
103
103
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
104
104
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
105
105
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -107,7 +107,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
107
107
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
108
108
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
109
109
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
110
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes,
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
111
111
|
|
|
112
112
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
113
113
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -253,10 +253,10 @@ export class ProcessParams {
|
|
|
253
253
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
get
|
|
257
|
-
set
|
|
258
|
-
this.
|
|
259
|
-
this._set({ "
|
|
256
|
+
get bsiTr03135Results() { return this._bsiTr03135Results; }
|
|
257
|
+
set bsiTr03135Results(val) {
|
|
258
|
+
this._bsiTr03135Results = val;
|
|
259
|
+
this._set({ "bsiTr03135Results": val });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,8 +534,7 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
538
|
-
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
537
|
+
result._bsiTr03135Results = jsonObject["bsiTr03135Results"];
|
|
539
538
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
540
539
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
541
540
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -621,7 +620,7 @@ export class ProcessParams {
|
|
|
621
620
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
622
621
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
623
622
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
624
|
-
"
|
|
623
|
+
"bsiTr03135Results": this.bsiTr03135Results,
|
|
625
624
|
"measureSystem": this.measureSystem,
|
|
626
625
|
"barcodeParserType": this.barcodeParserType,
|
|
627
626
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -698,11 +697,3 @@ export const MrzDetectionModes = {
|
|
|
698
697
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
699
698
|
BLUR_BEFORE_BINARIZATION: 2
|
|
700
699
|
};
|
|
701
|
-
|
|
702
|
-
export class Bsi {
|
|
703
|
-
generateResult
|
|
704
|
-
|
|
705
|
-
constructor(options) {
|
|
706
|
-
this.generateResult = options?.generateResult;
|
|
707
|
-
}
|
|
708
|
-
}
|
package/www/cordova.js
CHANGED
|
@@ -468,7 +468,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
468
468
|
/* harmony export */ BarcodeResult: () => (/* reexport safe */ _results_barcode_BarcodeResult__WEBPACK_IMPORTED_MODULE_47__.BarcodeResult),
|
|
469
469
|
/* harmony export */ BarcodeStatus: () => (/* reexport safe */ _results_barcode_BarcodeStatus__WEBPACK_IMPORTED_MODULE_45__.BarcodeStatus),
|
|
470
470
|
/* harmony export */ BarcodeType: () => (/* reexport safe */ _results_barcode_BarcodeType__WEBPACK_IMPORTED_MODULE_46__.BarcodeType),
|
|
471
|
-
/* harmony export */ Bsi: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.Bsi),
|
|
472
471
|
/* harmony export */ BytesData: () => (/* reexport safe */ _results_visible_digital_seals_BytesData__WEBPACK_IMPORTED_MODULE_54__.BytesData),
|
|
473
472
|
/* harmony export */ CameraMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraMode),
|
|
474
473
|
/* harmony export */ CameraPosition: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraPosition),
|
|
@@ -4296,7 +4295,6 @@ class LivenessParams {
|
|
|
4296
4295
|
|
|
4297
4296
|
__webpack_require__.r(__webpack_exports__);
|
|
4298
4297
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4299
|
-
/* harmony export */ Bsi: () => (/* binding */ Bsi),
|
|
4300
4298
|
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
4301
4299
|
/* harmony export */ MRZFormat: () => (/* binding */ MRZFormat),
|
|
4302
4300
|
/* harmony export */ MeasureSystem: () => (/* binding */ MeasureSystem),
|
|
@@ -4565,10 +4563,10 @@ class ProcessParams {
|
|
|
4565
4563
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
4566
4564
|
}
|
|
4567
4565
|
|
|
4568
|
-
get
|
|
4569
|
-
set
|
|
4570
|
-
this.
|
|
4571
|
-
this._set({ "
|
|
4566
|
+
get bsiTr03135Results() { return this._bsiTr03135Results; }
|
|
4567
|
+
set bsiTr03135Results(val) {
|
|
4568
|
+
this._bsiTr03135Results = val;
|
|
4569
|
+
this._set({ "bsiTr03135Results": val });
|
|
4572
4570
|
}
|
|
4573
4571
|
|
|
4574
4572
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -4846,8 +4844,7 @@ class ProcessParams {
|
|
|
4846
4844
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
4847
4845
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
4848
4846
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
4849
|
-
|
|
4850
|
-
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
4847
|
+
result._bsiTr03135Results = jsonObject["bsiTr03135Results"];
|
|
4851
4848
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
4852
4849
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
4853
4850
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -4933,7 +4930,7 @@ class ProcessParams {
|
|
|
4933
4930
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
4934
4931
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
4935
4932
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
4936
|
-
"
|
|
4933
|
+
"bsiTr03135Results": this.bsiTr03135Results,
|
|
4937
4934
|
"measureSystem": this.measureSystem,
|
|
4938
4935
|
"barcodeParserType": this.barcodeParserType,
|
|
4939
4936
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -5011,14 +5008,6 @@ const MrzDetectionModes = {
|
|
|
5011
5008
|
BLUR_BEFORE_BINARIZATION: 2
|
|
5012
5009
|
};
|
|
5013
5010
|
|
|
5014
|
-
class Bsi {
|
|
5015
|
-
generateResult
|
|
5016
|
-
|
|
5017
|
-
constructor(options) {
|
|
5018
|
-
this.generateResult = options?.generateResult;
|
|
5019
|
-
}
|
|
5020
|
-
}
|
|
5021
|
-
|
|
5022
5011
|
|
|
5023
5012
|
/***/ },
|
|
5024
5013
|
|
|
@@ -99,7 +99,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
99
99
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
100
100
|
|
|
101
101
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
102
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
103
103
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
104
104
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
105
105
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -107,7 +107,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
107
107
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
108
108
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
109
109
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
110
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes,
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
111
111
|
|
|
112
112
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
113
113
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -253,10 +253,10 @@ export class ProcessParams {
|
|
|
253
253
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
get
|
|
257
|
-
set
|
|
258
|
-
this.
|
|
259
|
-
this._set({ "
|
|
256
|
+
get bsiTr03135Results() { return this._bsiTr03135Results; }
|
|
257
|
+
set bsiTr03135Results(val) {
|
|
258
|
+
this._bsiTr03135Results = val;
|
|
259
|
+
this._set({ "bsiTr03135Results": val });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,8 +534,7 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
538
|
-
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
537
|
+
result._bsiTr03135Results = jsonObject["bsiTr03135Results"];
|
|
539
538
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
540
539
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
541
540
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -621,7 +620,7 @@ export class ProcessParams {
|
|
|
621
620
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
622
621
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
623
622
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
624
|
-
"
|
|
623
|
+
"bsiTr03135Results": this.bsiTr03135Results,
|
|
625
624
|
"measureSystem": this.measureSystem,
|
|
626
625
|
"barcodeParserType": this.barcodeParserType,
|
|
627
626
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -698,11 +697,3 @@ export const MrzDetectionModes = {
|
|
|
698
697
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
699
698
|
BLUR_BEFORE_BINARIZATION: 2
|
|
700
699
|
};
|
|
701
|
-
|
|
702
|
-
export class Bsi {
|
|
703
|
-
generateResult
|
|
704
|
-
|
|
705
|
-
constructor(options) {
|
|
706
|
-
this.generateResult = options?.generateResult;
|
|
707
|
-
}
|
|
708
|
-
}
|
package/www/types/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
97
97
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
98
98
|
|
|
99
99
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
100
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes
|
|
100
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
101
101
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
102
102
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
103
103
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
@@ -105,7 +105,7 @@ import { ImageQA } from './params/process_params/ImageQA';
|
|
|
105
105
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
106
106
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
107
107
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
108
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes,
|
|
108
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams,BackendProcessingConfig, FaceApiSearchParams };
|
|
109
109
|
|
|
110
110
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
111
111
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -207,7 +207,7 @@ export declare class ProcessParams {
|
|
|
207
207
|
*/
|
|
208
208
|
returnTransliteratedFields?: boolean;
|
|
209
209
|
checkCaptureProcessIntegrity?: boolean;
|
|
210
|
-
|
|
210
|
+
bsiTr03135Results?: boolean;
|
|
211
211
|
/**
|
|
212
212
|
* There are documents that contain barcodes which data can be parsed only
|
|
213
213
|
* if document type verification is performed. The following property allows
|
|
@@ -486,8 +486,3 @@ export declare enum MrzDetectionModes {
|
|
|
486
486
|
RESIZE_BINARIZE_WINDOW = 1,
|
|
487
487
|
BLUR_BEFORE_BINARIZATION = 2,
|
|
488
488
|
}
|
|
489
|
-
|
|
490
|
-
export interface Bsi {
|
|
491
|
-
generateResult?: boolean
|
|
492
|
-
}
|
|
493
|
-
|