@regulaforensics/document-reader-webclient 9.3.752-nightly → 9.3.755-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/dist/index.cjs +5 -5
- package/dist/index.d.ts +75 -24
- package/dist/index.js +93 -93
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -292,7 +292,11 @@ export declare enum AuthenticityResultType {
|
|
|
292
292
|
/**
|
|
293
293
|
* Encrypted IPI
|
|
294
294
|
*/
|
|
295
|
-
ENCRYPTED_IPI = 16777216
|
|
295
|
+
ENCRYPTED_IPI = 16777216,
|
|
296
|
+
/**
|
|
297
|
+
* Document property check
|
|
298
|
+
*/
|
|
299
|
+
PROPERTY = 33554432
|
|
296
300
|
}
|
|
297
301
|
|
|
298
302
|
/**
|
|
@@ -397,6 +401,18 @@ export declare interface AuthParams {
|
|
|
397
401
|
* @memberof AuthParams
|
|
398
402
|
*/
|
|
399
403
|
'checkSecurityText'?: boolean;
|
|
404
|
+
/**
|
|
405
|
+
* Set to true to enable detection of the document properties, such as holder\'s signature and other attributes.
|
|
406
|
+
* @type {boolean}
|
|
407
|
+
* @memberof AuthParams
|
|
408
|
+
*/
|
|
409
|
+
'checkProperties'?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {PropertiesParams}
|
|
413
|
+
* @memberof AuthParams
|
|
414
|
+
*/
|
|
415
|
+
'propertiesParams'?: PropertiesParams;
|
|
400
416
|
}
|
|
401
417
|
|
|
402
418
|
/**
|
|
@@ -1384,7 +1400,10 @@ export declare enum CheckDiagnose {
|
|
|
1384
1400
|
CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246,
|
|
1385
1401
|
CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247,
|
|
1386
1402
|
CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248,
|
|
1387
|
-
CHD_INCORRECT_OBJECT_COLOR = 250
|
|
1403
|
+
CHD_INCORRECT_OBJECT_COLOR = 250,
|
|
1404
|
+
PROPERTY_NO_SIGNATURE = 260,
|
|
1405
|
+
PROPERTY_TEXT_AS_SIGNATURE = 261,
|
|
1406
|
+
PROPERTY_FINGERPRINT_AS_SIGNATURE = 262
|
|
1388
1407
|
}
|
|
1389
1408
|
|
|
1390
1409
|
/**
|
|
@@ -9213,11 +9232,17 @@ export declare interface ProcessParams {
|
|
|
9213
9232
|
*/
|
|
9214
9233
|
'bsiTr03135'?: BsiTr03135;
|
|
9215
9234
|
/**
|
|
9216
|
-
* When disabled, date of expiry doesn\'t affect the
|
|
9235
|
+
* When disabled, date of expiry doesn\'t affect the MRZ and text statuses.
|
|
9217
9236
|
* @type {boolean}
|
|
9218
9237
|
* @memberof ProcessParams
|
|
9219
9238
|
*/
|
|
9220
9239
|
'strictExpiryDate'?: boolean;
|
|
9240
|
+
/**
|
|
9241
|
+
* This parameter is used to enable Visible Digital Seal check. Disabled by default.
|
|
9242
|
+
* @type {boolean}
|
|
9243
|
+
* @memberof ProcessParams
|
|
9244
|
+
*/
|
|
9245
|
+
'checkVDS'?: boolean;
|
|
9221
9246
|
}
|
|
9222
9247
|
|
|
9223
9248
|
/**
|
|
@@ -9470,6 +9495,24 @@ export declare interface ProcessSystemInfo {
|
|
|
9470
9495
|
'recaptcha_token'?: string;
|
|
9471
9496
|
}
|
|
9472
9497
|
|
|
9498
|
+
/**
|
|
9499
|
+
* NOTE: This file is auto generated by OpenAPI Generator.
|
|
9500
|
+
* Do not edit the file manually.
|
|
9501
|
+
*/
|
|
9502
|
+
/**
|
|
9503
|
+
*
|
|
9504
|
+
* @export
|
|
9505
|
+
* @interface PropertiesParams
|
|
9506
|
+
*/
|
|
9507
|
+
export declare interface PropertiesParams {
|
|
9508
|
+
/**
|
|
9509
|
+
* Set to true to enable detection of the document holder’s signature.
|
|
9510
|
+
* @type {boolean}
|
|
9511
|
+
* @memberof PropertiesParams
|
|
9512
|
+
*/
|
|
9513
|
+
'checkHoldersSignature'?: boolean;
|
|
9514
|
+
}
|
|
9515
|
+
|
|
9473
9516
|
/**
|
|
9474
9517
|
*
|
|
9475
9518
|
* @export
|
|
@@ -11883,71 +11926,71 @@ export declare interface RfidValidity {
|
|
|
11883
11926
|
*/
|
|
11884
11927
|
export declare enum Scenario {
|
|
11885
11928
|
/**
|
|
11886
|
-
*
|
|
11929
|
+
* Scenario for obtaining MRZ data
|
|
11887
11930
|
*/
|
|
11888
11931
|
MRZ = "Mrz",
|
|
11889
11932
|
/**
|
|
11890
|
-
*
|
|
11933
|
+
* Scenario for obtaining barcode data
|
|
11891
11934
|
*/
|
|
11892
11935
|
BARCODE = "Barcode",
|
|
11893
11936
|
/**
|
|
11894
|
-
*
|
|
11937
|
+
* Scenario for detecting document boundaries
|
|
11895
11938
|
*/
|
|
11896
11939
|
LOCATE = "Locate",
|
|
11897
11940
|
/**
|
|
11898
|
-
*
|
|
11941
|
+
* Scenario for obtaining visual zone OCR results
|
|
11899
11942
|
*/
|
|
11900
11943
|
OCR = "Ocr",
|
|
11901
11944
|
/**
|
|
11902
|
-
*
|
|
11945
|
+
* Scenario for document type recognition
|
|
11903
11946
|
*/
|
|
11904
11947
|
DOCTYPE = "DocType",
|
|
11905
11948
|
/**
|
|
11906
|
-
*
|
|
11949
|
+
* Scenario for obtaining MRZ and/or barcode data
|
|
11907
11950
|
*/
|
|
11908
11951
|
MRZ_OR_BARCODE = "MrzOrBarcode",
|
|
11909
11952
|
/**
|
|
11910
|
-
*
|
|
11953
|
+
* Scenario for detecting document boundaries and/or obtaining MRZ data
|
|
11911
11954
|
*/
|
|
11912
11955
|
MRZ_OR_LOCATE = "MrzOrLocate",
|
|
11913
11956
|
/**
|
|
11914
|
-
*
|
|
11957
|
+
* Scenario for detecting document boundaries and obtaining MRZ data
|
|
11915
11958
|
*/
|
|
11916
11959
|
MRZ_AND_LOCATE = "MrzAndLocate",
|
|
11917
11960
|
/**
|
|
11918
|
-
*
|
|
11961
|
+
* Scenario for detecting the document boundaries and obtaining barcode data
|
|
11919
11962
|
*/
|
|
11920
11963
|
BARCODE_AND_LOCATE = "BarcodeAndLocate",
|
|
11921
11964
|
/**
|
|
11922
|
-
*
|
|
11965
|
+
* Scenario for obtaining MRZ data or visual zone OCR results
|
|
11923
11966
|
*/
|
|
11924
11967
|
MRZ_OR_OCR = "MrzOrOcr",
|
|
11925
11968
|
/**
|
|
11926
|
-
*
|
|
11969
|
+
* Scenario for obtaining MRZ or barcode or visual zone OCR results
|
|
11927
11970
|
*/
|
|
11928
11971
|
MRZ_OR_BARCODE_OR_OCR = "MrzOrBarcodeOrOcr",
|
|
11929
11972
|
/**
|
|
11930
|
-
*
|
|
11973
|
+
* Scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results
|
|
11931
11974
|
*/
|
|
11932
11975
|
LOCATE_VISUAL_AND_MRZ_OR_OCR = "LocateVisual_And_MrzOrOcr",
|
|
11933
11976
|
/**
|
|
11934
|
-
*
|
|
11977
|
+
* Scenario for obtaining all document data
|
|
11935
11978
|
*/
|
|
11936
11979
|
FULL_PROCESS = "FullProcess",
|
|
11937
11980
|
/**
|
|
11938
|
-
*
|
|
11981
|
+
* Scenario for obtaining all document data and document authentication
|
|
11939
11982
|
*/
|
|
11940
11983
|
FULL_AUTH = "FullAuth",
|
|
11941
11984
|
/**
|
|
11942
|
-
*
|
|
11985
|
+
* Scenario for obtaining data from registration stamps
|
|
11943
11986
|
*/
|
|
11944
11987
|
RUS_STAMP = "RusStamp",
|
|
11945
11988
|
/**
|
|
11946
|
-
*
|
|
11989
|
+
* Scenario for obtaining OCR results of any image
|
|
11947
11990
|
*/
|
|
11948
11991
|
OCR_FREE = "OcrFree",
|
|
11949
11992
|
/**
|
|
11950
|
-
*
|
|
11993
|
+
* Scenario for obtaining bank card data
|
|
11951
11994
|
*/
|
|
11952
11995
|
CREDIT_CARD = "CreditCard",
|
|
11953
11996
|
/**
|
|
@@ -11955,13 +11998,17 @@ export declare enum Scenario {
|
|
|
11955
11998
|
*/
|
|
11956
11999
|
CAPTURE = "Capture",
|
|
11957
12000
|
/**
|
|
11958
|
-
*
|
|
12001
|
+
* Scenario for Digital Travel Credentials (DTC-VC) data processing
|
|
11959
12002
|
*/
|
|
11960
12003
|
DTC = "DTC",
|
|
11961
12004
|
/**
|
|
11962
|
-
*
|
|
12005
|
+
* Scenario for RFID chip processing
|
|
12006
|
+
*/
|
|
12007
|
+
RFID = "RFID",
|
|
12008
|
+
/**
|
|
12009
|
+
* Scenario for mDL processing
|
|
11963
12010
|
*/
|
|
11964
|
-
|
|
12011
|
+
MDL = "mDL"
|
|
11965
12012
|
}
|
|
11966
12013
|
|
|
11967
12014
|
export declare class SecurityFeatureChecks implements AuthenticityCheckResult {
|
|
@@ -12275,7 +12322,11 @@ export declare enum SecurityFeatureType {
|
|
|
12275
12322
|
/**
|
|
12276
12323
|
* External vs ghost portrait comparison
|
|
12277
12324
|
*/
|
|
12278
|
-
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61
|
|
12325
|
+
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61,
|
|
12326
|
+
/**
|
|
12327
|
+
* Signature presence
|
|
12328
|
+
*/
|
|
12329
|
+
SIGNATURE_PRESENCE = 62
|
|
12279
12330
|
}
|
|
12280
12331
|
|
|
12281
12332
|
/**
|