@regulaforensics/document-reader-webclient 9.3.756-rc → 9.3.757-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 +80 -23
- 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
|
/**
|
|
@@ -9212,6 +9231,18 @@ export declare interface ProcessParams {
|
|
|
9212
9231
|
* @memberof ProcessParams
|
|
9213
9232
|
*/
|
|
9214
9233
|
'bsiTr03135'?: BsiTr03135;
|
|
9234
|
+
/**
|
|
9235
|
+
* When disabled, date of expiry doesn\'t affect the MRZ and text statuses.
|
|
9236
|
+
* @type {boolean}
|
|
9237
|
+
* @memberof ProcessParams
|
|
9238
|
+
*/
|
|
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;
|
|
9215
9246
|
}
|
|
9216
9247
|
|
|
9217
9248
|
/**
|
|
@@ -9464,6 +9495,24 @@ export declare interface ProcessSystemInfo {
|
|
|
9464
9495
|
'recaptcha_token'?: string;
|
|
9465
9496
|
}
|
|
9466
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
|
+
|
|
9467
9516
|
/**
|
|
9468
9517
|
*
|
|
9469
9518
|
* @export
|
|
@@ -11877,71 +11926,71 @@ export declare interface RfidValidity {
|
|
|
11877
11926
|
*/
|
|
11878
11927
|
export declare enum Scenario {
|
|
11879
11928
|
/**
|
|
11880
|
-
*
|
|
11929
|
+
* Scenario for obtaining MRZ data
|
|
11881
11930
|
*/
|
|
11882
11931
|
MRZ = "Mrz",
|
|
11883
11932
|
/**
|
|
11884
|
-
*
|
|
11933
|
+
* Scenario for obtaining barcode data
|
|
11885
11934
|
*/
|
|
11886
11935
|
BARCODE = "Barcode",
|
|
11887
11936
|
/**
|
|
11888
|
-
*
|
|
11937
|
+
* Scenario for detecting document boundaries
|
|
11889
11938
|
*/
|
|
11890
11939
|
LOCATE = "Locate",
|
|
11891
11940
|
/**
|
|
11892
|
-
*
|
|
11941
|
+
* Scenario for obtaining visual zone OCR results
|
|
11893
11942
|
*/
|
|
11894
11943
|
OCR = "Ocr",
|
|
11895
11944
|
/**
|
|
11896
|
-
*
|
|
11945
|
+
* Scenario for document type recognition
|
|
11897
11946
|
*/
|
|
11898
11947
|
DOCTYPE = "DocType",
|
|
11899
11948
|
/**
|
|
11900
|
-
*
|
|
11949
|
+
* Scenario for obtaining MRZ and/or barcode data
|
|
11901
11950
|
*/
|
|
11902
11951
|
MRZ_OR_BARCODE = "MrzOrBarcode",
|
|
11903
11952
|
/**
|
|
11904
|
-
*
|
|
11953
|
+
* Scenario for detecting document boundaries and/or obtaining MRZ data
|
|
11905
11954
|
*/
|
|
11906
11955
|
MRZ_OR_LOCATE = "MrzOrLocate",
|
|
11907
11956
|
/**
|
|
11908
|
-
*
|
|
11957
|
+
* Scenario for detecting document boundaries and obtaining MRZ data
|
|
11909
11958
|
*/
|
|
11910
11959
|
MRZ_AND_LOCATE = "MrzAndLocate",
|
|
11911
11960
|
/**
|
|
11912
|
-
*
|
|
11961
|
+
* Scenario for detecting the document boundaries and obtaining barcode data
|
|
11913
11962
|
*/
|
|
11914
11963
|
BARCODE_AND_LOCATE = "BarcodeAndLocate",
|
|
11915
11964
|
/**
|
|
11916
|
-
*
|
|
11965
|
+
* Scenario for obtaining MRZ data or visual zone OCR results
|
|
11917
11966
|
*/
|
|
11918
11967
|
MRZ_OR_OCR = "MrzOrOcr",
|
|
11919
11968
|
/**
|
|
11920
|
-
*
|
|
11969
|
+
* Scenario for obtaining MRZ or barcode or visual zone OCR results
|
|
11921
11970
|
*/
|
|
11922
11971
|
MRZ_OR_BARCODE_OR_OCR = "MrzOrBarcodeOrOcr",
|
|
11923
11972
|
/**
|
|
11924
|
-
*
|
|
11973
|
+
* Scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results
|
|
11925
11974
|
*/
|
|
11926
11975
|
LOCATE_VISUAL_AND_MRZ_OR_OCR = "LocateVisual_And_MrzOrOcr",
|
|
11927
11976
|
/**
|
|
11928
|
-
*
|
|
11977
|
+
* Scenario for obtaining all document data
|
|
11929
11978
|
*/
|
|
11930
11979
|
FULL_PROCESS = "FullProcess",
|
|
11931
11980
|
/**
|
|
11932
|
-
*
|
|
11981
|
+
* Scenario for obtaining all document data and document authentication
|
|
11933
11982
|
*/
|
|
11934
11983
|
FULL_AUTH = "FullAuth",
|
|
11935
11984
|
/**
|
|
11936
|
-
*
|
|
11985
|
+
* Scenario for obtaining data from registration stamps
|
|
11937
11986
|
*/
|
|
11938
11987
|
RUS_STAMP = "RusStamp",
|
|
11939
11988
|
/**
|
|
11940
|
-
*
|
|
11989
|
+
* Scenario for obtaining OCR results of any image
|
|
11941
11990
|
*/
|
|
11942
11991
|
OCR_FREE = "OcrFree",
|
|
11943
11992
|
/**
|
|
11944
|
-
*
|
|
11993
|
+
* Scenario for obtaining bank card data
|
|
11945
11994
|
*/
|
|
11946
11995
|
CREDIT_CARD = "CreditCard",
|
|
11947
11996
|
/**
|
|
@@ -11949,13 +11998,17 @@ export declare enum Scenario {
|
|
|
11949
11998
|
*/
|
|
11950
11999
|
CAPTURE = "Capture",
|
|
11951
12000
|
/**
|
|
11952
|
-
*
|
|
12001
|
+
* Scenario for Digital Travel Credentials (DTC-VC) data processing
|
|
11953
12002
|
*/
|
|
11954
12003
|
DTC = "DTC",
|
|
11955
12004
|
/**
|
|
11956
|
-
*
|
|
12005
|
+
* Scenario for RFID chip processing
|
|
11957
12006
|
*/
|
|
11958
|
-
RFID = "RFID"
|
|
12007
|
+
RFID = "RFID",
|
|
12008
|
+
/**
|
|
12009
|
+
* Scenario for mDL processing
|
|
12010
|
+
*/
|
|
12011
|
+
MDL = "mDL"
|
|
11959
12012
|
}
|
|
11960
12013
|
|
|
11961
12014
|
export declare class SecurityFeatureChecks implements AuthenticityCheckResult {
|
|
@@ -12269,7 +12322,11 @@ export declare enum SecurityFeatureType {
|
|
|
12269
12322
|
/**
|
|
12270
12323
|
* External vs ghost portrait comparison
|
|
12271
12324
|
*/
|
|
12272
|
-
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61
|
|
12325
|
+
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61,
|
|
12326
|
+
/**
|
|
12327
|
+
* Signature presence
|
|
12328
|
+
*/
|
|
12329
|
+
SIGNATURE_PRESENCE = 62
|
|
12273
12330
|
}
|
|
12274
12331
|
|
|
12275
12332
|
/**
|