@regulaforensics/document-reader-webclient 9.3.755-nightly → 9.3.756-rc
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 +23 -80
- package/dist/index.js +93 -93
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -292,11 +292,7 @@ export declare enum AuthenticityResultType {
|
|
|
292
292
|
/**
|
|
293
293
|
* Encrypted IPI
|
|
294
294
|
*/
|
|
295
|
-
ENCRYPTED_IPI = 16777216
|
|
296
|
-
/**
|
|
297
|
-
* Document property check
|
|
298
|
-
*/
|
|
299
|
-
PROPERTY = 33554432
|
|
295
|
+
ENCRYPTED_IPI = 16777216
|
|
300
296
|
}
|
|
301
297
|
|
|
302
298
|
/**
|
|
@@ -401,18 +397,6 @@ export declare interface AuthParams {
|
|
|
401
397
|
* @memberof AuthParams
|
|
402
398
|
*/
|
|
403
399
|
'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;
|
|
416
400
|
}
|
|
417
401
|
|
|
418
402
|
/**
|
|
@@ -1400,10 +1384,7 @@ export declare enum CheckDiagnose {
|
|
|
1400
1384
|
CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246,
|
|
1401
1385
|
CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247,
|
|
1402
1386
|
CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248,
|
|
1403
|
-
CHD_INCORRECT_OBJECT_COLOR = 250
|
|
1404
|
-
PROPERTY_NO_SIGNATURE = 260,
|
|
1405
|
-
PROPERTY_TEXT_AS_SIGNATURE = 261,
|
|
1406
|
-
PROPERTY_FINGERPRINT_AS_SIGNATURE = 262
|
|
1387
|
+
CHD_INCORRECT_OBJECT_COLOR = 250
|
|
1407
1388
|
}
|
|
1408
1389
|
|
|
1409
1390
|
/**
|
|
@@ -9231,18 +9212,6 @@ export declare interface ProcessParams {
|
|
|
9231
9212
|
* @memberof ProcessParams
|
|
9232
9213
|
*/
|
|
9233
9214
|
'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;
|
|
9246
9215
|
}
|
|
9247
9216
|
|
|
9248
9217
|
/**
|
|
@@ -9495,24 +9464,6 @@ export declare interface ProcessSystemInfo {
|
|
|
9495
9464
|
'recaptcha_token'?: string;
|
|
9496
9465
|
}
|
|
9497
9466
|
|
|
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
|
-
|
|
9516
9467
|
/**
|
|
9517
9468
|
*
|
|
9518
9469
|
* @export
|
|
@@ -11926,71 +11877,71 @@ export declare interface RfidValidity {
|
|
|
11926
11877
|
*/
|
|
11927
11878
|
export declare enum Scenario {
|
|
11928
11879
|
/**
|
|
11929
|
-
*
|
|
11880
|
+
* Processing scenario for obtaining MRZ data
|
|
11930
11881
|
*/
|
|
11931
11882
|
MRZ = "Mrz",
|
|
11932
11883
|
/**
|
|
11933
|
-
*
|
|
11884
|
+
* Processing scenario for obtaining barcode data
|
|
11934
11885
|
*/
|
|
11935
11886
|
BARCODE = "Barcode",
|
|
11936
11887
|
/**
|
|
11937
|
-
*
|
|
11888
|
+
* Processing scenario for detecting document boundaries
|
|
11938
11889
|
*/
|
|
11939
11890
|
LOCATE = "Locate",
|
|
11940
11891
|
/**
|
|
11941
|
-
*
|
|
11892
|
+
* Processing scenario for obtaining visual zone OCR results
|
|
11942
11893
|
*/
|
|
11943
11894
|
OCR = "Ocr",
|
|
11944
11895
|
/**
|
|
11945
|
-
*
|
|
11896
|
+
* Processing scenario for document type recognition
|
|
11946
11897
|
*/
|
|
11947
11898
|
DOCTYPE = "DocType",
|
|
11948
11899
|
/**
|
|
11949
|
-
*
|
|
11900
|
+
* Processing scenario for obtaining MRZ and/or barcode data
|
|
11950
11901
|
*/
|
|
11951
11902
|
MRZ_OR_BARCODE = "MrzOrBarcode",
|
|
11952
11903
|
/**
|
|
11953
|
-
*
|
|
11904
|
+
* Processing scenario for detecting document boundaries and/or obtaining MRZ data
|
|
11954
11905
|
*/
|
|
11955
11906
|
MRZ_OR_LOCATE = "MrzOrLocate",
|
|
11956
11907
|
/**
|
|
11957
|
-
*
|
|
11908
|
+
* Processing scenario for detecting document boundaries and obtaining MRZ data
|
|
11958
11909
|
*/
|
|
11959
11910
|
MRZ_AND_LOCATE = "MrzAndLocate",
|
|
11960
11911
|
/**
|
|
11961
|
-
*
|
|
11912
|
+
* Processing scenario for detecting the document boundaries and obtaining barcode data
|
|
11962
11913
|
*/
|
|
11963
11914
|
BARCODE_AND_LOCATE = "BarcodeAndLocate",
|
|
11964
11915
|
/**
|
|
11965
|
-
*
|
|
11916
|
+
* Processing scenario for obtaining MRZ data or visual zone OCR results
|
|
11966
11917
|
*/
|
|
11967
11918
|
MRZ_OR_OCR = "MrzOrOcr",
|
|
11968
11919
|
/**
|
|
11969
|
-
*
|
|
11920
|
+
* Processing scenario for obtaining MRZ or barcode or visual zone OCR results
|
|
11970
11921
|
*/
|
|
11971
11922
|
MRZ_OR_BARCODE_OR_OCR = "MrzOrBarcodeOrOcr",
|
|
11972
11923
|
/**
|
|
11973
|
-
*
|
|
11924
|
+
* Processing scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results
|
|
11974
11925
|
*/
|
|
11975
11926
|
LOCATE_VISUAL_AND_MRZ_OR_OCR = "LocateVisual_And_MrzOrOcr",
|
|
11976
11927
|
/**
|
|
11977
|
-
*
|
|
11928
|
+
* Processing scenario for obtaining all document data
|
|
11978
11929
|
*/
|
|
11979
11930
|
FULL_PROCESS = "FullProcess",
|
|
11980
11931
|
/**
|
|
11981
|
-
*
|
|
11932
|
+
* Processing scenario for obtaining all document data and document authentication
|
|
11982
11933
|
*/
|
|
11983
11934
|
FULL_AUTH = "FullAuth",
|
|
11984
11935
|
/**
|
|
11985
|
-
*
|
|
11936
|
+
* Processing scenario for obtaining data from registration stamps
|
|
11986
11937
|
*/
|
|
11987
11938
|
RUS_STAMP = "RusStamp",
|
|
11988
11939
|
/**
|
|
11989
|
-
*
|
|
11940
|
+
* Processing scenario for obtaining OCR results of any image
|
|
11990
11941
|
*/
|
|
11991
11942
|
OCR_FREE = "OcrFree",
|
|
11992
11943
|
/**
|
|
11993
|
-
*
|
|
11944
|
+
* Processing scenario for obtaining bank card data
|
|
11994
11945
|
*/
|
|
11995
11946
|
CREDIT_CARD = "CreditCard",
|
|
11996
11947
|
/**
|
|
@@ -11998,17 +11949,13 @@ export declare enum Scenario {
|
|
|
11998
11949
|
*/
|
|
11999
11950
|
CAPTURE = "Capture",
|
|
12000
11951
|
/**
|
|
12001
|
-
*
|
|
11952
|
+
* Processing scenario for Digital Travel Credentials (DTC-VC) data processing
|
|
12002
11953
|
*/
|
|
12003
11954
|
DTC = "DTC",
|
|
12004
11955
|
/**
|
|
12005
|
-
*
|
|
11956
|
+
* Processing scenario for RFID chip processing
|
|
12006
11957
|
*/
|
|
12007
|
-
RFID = "RFID"
|
|
12008
|
-
/**
|
|
12009
|
-
* Scenario for mDL processing
|
|
12010
|
-
*/
|
|
12011
|
-
MDL = "mDL"
|
|
11958
|
+
RFID = "RFID"
|
|
12012
11959
|
}
|
|
12013
11960
|
|
|
12014
11961
|
export declare class SecurityFeatureChecks implements AuthenticityCheckResult {
|
|
@@ -12322,11 +12269,7 @@ export declare enum SecurityFeatureType {
|
|
|
12322
12269
|
/**
|
|
12323
12270
|
* External vs ghost portrait comparison
|
|
12324
12271
|
*/
|
|
12325
|
-
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61
|
|
12326
|
-
/**
|
|
12327
|
-
* Signature presence
|
|
12328
|
-
*/
|
|
12329
|
-
SIGNATURE_PRESENCE = 62
|
|
12272
|
+
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61
|
|
12330
12273
|
}
|
|
12331
12274
|
|
|
12332
12275
|
/**
|