@regulaforensics/document-reader 9.2.577-nightly → 9.2.591-beta
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 +9 -2
- 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 +7 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +3 -1
- package/test/package-lock.json +1 -1
- package/www/capacitor/index.js +2 -2
- package/www/capacitor/params/process_params/ProcessParams.js +15 -6
- package/www/cordova.js +17 -6
- package/www/react-native/index.js +2 -2
- package/www/react-native/params/process_params/ProcessParams.js +15 -6
- package/www/types/index.d.ts +2 -2
- package/www/types/params/process_params/ProcessParams.d.ts +6 -1
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.591-beta'
|
|
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 'DocumentReaderBeta', '9.2.5881'
|
|
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/Beta"
|
|
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.12373'){
|
|
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/Beta"
|
|
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.12373'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -18,6 +18,7 @@ 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
|
|
21
22
|
import com.regula.documentreader.api.params.RfidScenario
|
|
22
23
|
import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
|
|
23
24
|
import com.regula.documentreader.api.params.rfid.dg.DataGroups
|
|
@@ -147,7 +148,11 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
147
148
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
148
149
|
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
149
150
|
"checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
|
|
150
|
-
"
|
|
151
|
+
"bsiTr03135" -> {
|
|
152
|
+
val temp = Bsi()
|
|
153
|
+
temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
|
|
154
|
+
processParams.bsiTr03135 = temp
|
|
155
|
+
}
|
|
151
156
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
152
157
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
153
158
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -237,7 +242,9 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
237
242
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
238
243
|
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
239
244
|
"checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
|
|
240
|
-
"
|
|
245
|
+
"bsiTr03135" to mapOf(
|
|
246
|
+
"generateResult" to processParams.bsiTr03135?.generateResult
|
|
247
|
+
).toJson(),
|
|
241
248
|
"measureSystem" to processParams.measureSystem,
|
|
242
249
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
243
250
|
"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.591-beta",
|
|
10
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.2.1451-rc",
|
|
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.591-beta",
|
|
22
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.2.1451-rc",
|
|
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.591-beta",
|
|
12
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.2.1451-rc",
|
|
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,7 +194,10 @@
|
|
|
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[@"
|
|
197
|
+
if (options[@"bsiTr03135"]) {
|
|
198
|
+
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
+
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
+
}
|
|
198
201
|
|
|
199
202
|
// Int
|
|
200
203
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -326,7 +329,9 @@
|
|
|
326
329
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
327
330
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
328
331
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
329
|
-
result[@"
|
|
332
|
+
if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
|
|
333
|
+
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
+
};
|
|
330
335
|
|
|
331
336
|
// Int
|
|
332
337
|
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.591-beta",
|
|
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.591-beta" 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="DocumentReaderBeta" spec="9.2.5881" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/json.tsx
CHANGED
|
@@ -108,7 +108,9 @@ export var processParams = {
|
|
|
108
108
|
"strictSecurityChecks": false,
|
|
109
109
|
"returnTransliteratedFields": true,
|
|
110
110
|
"checkCaptureProcessIntegrity": false,
|
|
111
|
-
"
|
|
111
|
+
"bsiTr03135": {
|
|
112
|
+
"generateResult": true
|
|
113
|
+
},
|
|
112
114
|
"measureSystem": 1,
|
|
113
115
|
"barcodeParserType": 3,
|
|
114
116
|
"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 } from './params/process_params/ProcessParams';
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } 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, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, 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 bsiTr03135() { return this._bsiTr03135; }
|
|
257
|
+
set bsiTr03135(val) {
|
|
258
|
+
this._bsiTr03135 = val;
|
|
259
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,7 +534,8 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
537
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
538
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
538
539
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
539
540
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
540
541
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -620,7 +621,7 @@ export class ProcessParams {
|
|
|
620
621
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
621
622
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
622
623
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
623
|
-
"
|
|
624
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
624
625
|
"measureSystem": this.measureSystem,
|
|
625
626
|
"barcodeParserType": this.barcodeParserType,
|
|
626
627
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -697,3 +698,11 @@ export const MrzDetectionModes = {
|
|
|
697
698
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
698
699
|
BLUR_BEFORE_BINARIZATION: 2
|
|
699
700
|
};
|
|
701
|
+
|
|
702
|
+
export class Bsi {
|
|
703
|
+
generateResult
|
|
704
|
+
|
|
705
|
+
constructor(options) {
|
|
706
|
+
this.generateResult = options?.generateResult;
|
|
707
|
+
}
|
|
708
|
+
}
|
package/www/cordova.js
CHANGED
|
@@ -468,6 +468,7 @@ __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),
|
|
471
472
|
/* harmony export */ BytesData: () => (/* reexport safe */ _results_visible_digital_seals_BytesData__WEBPACK_IMPORTED_MODULE_54__.BytesData),
|
|
472
473
|
/* harmony export */ CameraMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraMode),
|
|
473
474
|
/* harmony export */ CameraPosition: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_87__.CameraPosition),
|
|
@@ -4295,6 +4296,7 @@ class LivenessParams {
|
|
|
4295
4296
|
|
|
4296
4297
|
__webpack_require__.r(__webpack_exports__);
|
|
4297
4298
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4299
|
+
/* harmony export */ Bsi: () => (/* binding */ Bsi),
|
|
4298
4300
|
/* harmony export */ LogLevel: () => (/* binding */ LogLevel),
|
|
4299
4301
|
/* harmony export */ MRZFormat: () => (/* binding */ MRZFormat),
|
|
4300
4302
|
/* harmony export */ MeasureSystem: () => (/* binding */ MeasureSystem),
|
|
@@ -4563,10 +4565,10 @@ class ProcessParams {
|
|
|
4563
4565
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
4564
4566
|
}
|
|
4565
4567
|
|
|
4566
|
-
get
|
|
4567
|
-
set
|
|
4568
|
-
this.
|
|
4569
|
-
this._set({ "
|
|
4568
|
+
get bsiTr03135() { return this._bsiTr03135; }
|
|
4569
|
+
set bsiTr03135(val) {
|
|
4570
|
+
this._bsiTr03135 = val;
|
|
4571
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
4570
4572
|
}
|
|
4571
4573
|
|
|
4572
4574
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -4844,7 +4846,8 @@ class ProcessParams {
|
|
|
4844
4846
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
4845
4847
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
4846
4848
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
4847
|
-
|
|
4849
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
4850
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
4848
4851
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
4849
4852
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
4850
4853
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -4930,7 +4933,7 @@ class ProcessParams {
|
|
|
4930
4933
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
4931
4934
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
4932
4935
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
4933
|
-
"
|
|
4936
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
4934
4937
|
"measureSystem": this.measureSystem,
|
|
4935
4938
|
"barcodeParserType": this.barcodeParserType,
|
|
4936
4939
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -5008,6 +5011,14 @@ const MrzDetectionModes = {
|
|
|
5008
5011
|
BLUR_BEFORE_BINARIZATION: 2
|
|
5009
5012
|
};
|
|
5010
5013
|
|
|
5014
|
+
class Bsi {
|
|
5015
|
+
generateResult
|
|
5016
|
+
|
|
5017
|
+
constructor(options) {
|
|
5018
|
+
this.generateResult = options?.generateResult;
|
|
5019
|
+
}
|
|
5020
|
+
}
|
|
5021
|
+
|
|
5011
5022
|
|
|
5012
5023
|
/***/ },
|
|
5013
5024
|
|
|
@@ -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 } from './params/process_params/ProcessParams';
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } 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, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, FaceApiSearchParams };
|
|
110
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, 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 bsiTr03135() { return this._bsiTr03135; }
|
|
257
|
+
set bsiTr03135(val) {
|
|
258
|
+
this._bsiTr03135 = val;
|
|
259
|
+
this._set({ "bsiTr03135": {"generateResult": val?.generateResult} });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
@@ -534,7 +534,8 @@ export class ProcessParams {
|
|
|
534
534
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
535
535
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
536
536
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
537
|
-
|
|
537
|
+
if(jsonObject["bsiTr03135"] != null)
|
|
538
|
+
result.bsiTr03135 = new Bsi({generateResult: jsonObject["bsiTr03135"]["generateResult"]});
|
|
538
539
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
539
540
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
540
541
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -620,7 +621,7 @@ export class ProcessParams {
|
|
|
620
621
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
621
622
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
622
623
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
623
|
-
"
|
|
624
|
+
"bsiTr03135": {"generateResult": this.bsiTr03135?.generateResult},
|
|
624
625
|
"measureSystem": this.measureSystem,
|
|
625
626
|
"barcodeParserType": this.barcodeParserType,
|
|
626
627
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -697,3 +698,11 @@ export const MrzDetectionModes = {
|
|
|
697
698
|
RESIZE_BINARIZE_WINDOW: 1,
|
|
698
699
|
BLUR_BEFORE_BINARIZATION: 2
|
|
699
700
|
};
|
|
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 } from './params/process_params/ProcessParams';
|
|
100
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi } 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, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams,BackendProcessingConfig, FaceApiSearchParams };
|
|
108
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, Bsi, 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
|
+
bsiTr03135?: Bsi;
|
|
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,3 +486,8 @@ 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
|
+
|