@regulaforensics/ionic-native-document-reader 5.5.1 → 6.1.0
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/README.md +1 -1
- package/example/package.json +3 -3
- package/example/src/app/home/home.page.ts +22 -3
- package/index.d.ts +356 -23
- package/index.js +975 -620
- package/ngx/index.d.ts +356 -23
- package/ngx/index.js +975 -620
- package/ngx/index.metadata.json +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { IonicNativePlugin } from '@ionic-native/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare class DocumentReaderScenario {
|
|
4
|
-
uvTorch?: boolean;
|
|
5
|
-
seriesProcessMode?: boolean;
|
|
6
4
|
name?: string;
|
|
7
5
|
caption?: string;
|
|
8
6
|
description?: string;
|
|
9
7
|
static fromJson(jsonObject?: any): DocumentReaderScenario;
|
|
10
8
|
}
|
|
11
|
-
export declare class
|
|
9
|
+
export declare class CoreDetailedScenario {
|
|
12
10
|
uvTorch?: boolean;
|
|
13
11
|
frameOrientation?: number;
|
|
14
12
|
faceExt?: boolean;
|
|
@@ -22,7 +20,7 @@ export declare class DocumentReaderScenarioFull {
|
|
|
22
20
|
caption?: string;
|
|
23
21
|
description?: string;
|
|
24
22
|
manualCrop?: boolean;
|
|
25
|
-
static fromJson(jsonObject?: any):
|
|
23
|
+
static fromJson(jsonObject?: any): CoreDetailedScenario;
|
|
26
24
|
}
|
|
27
25
|
export declare class FaceMetaData {
|
|
28
26
|
ID?: number;
|
|
@@ -126,6 +124,7 @@ export declare class ImageQualityGroup {
|
|
|
126
124
|
count?: number;
|
|
127
125
|
result?: number;
|
|
128
126
|
imageQualityList?: ImageQuality[];
|
|
127
|
+
pageIndex?: number;
|
|
129
128
|
static fromJson(jsonObject?: any): ImageQualityGroup;
|
|
130
129
|
}
|
|
131
130
|
export declare class DocumentReaderDocumentType {
|
|
@@ -345,9 +344,22 @@ export declare class DocumentReaderAuthenticityElement {
|
|
|
345
344
|
export declare class DocumentReaderCompletion {
|
|
346
345
|
action?: number;
|
|
347
346
|
results?: DocumentReaderResults;
|
|
348
|
-
error?:
|
|
347
|
+
error?: DocumentReaderException;
|
|
349
348
|
static fromJson(jsonObject?: any): DocumentReaderCompletion;
|
|
350
349
|
}
|
|
350
|
+
export declare class RfidNotificationCompletion {
|
|
351
|
+
notification?: number;
|
|
352
|
+
value?: number;
|
|
353
|
+
static fromJson(jsonObject?: any): RfidNotificationCompletion;
|
|
354
|
+
}
|
|
355
|
+
export declare class DocumentReaderException {
|
|
356
|
+
errorCode?: number;
|
|
357
|
+
localizedMessage?: string;
|
|
358
|
+
message?: string;
|
|
359
|
+
string?: string;
|
|
360
|
+
stackTrace?: StackTraceElement[];
|
|
361
|
+
static fromJson(jsonObject?: any): DocumentReaderException;
|
|
362
|
+
}
|
|
351
363
|
export declare class Throwable {
|
|
352
364
|
localizedMessage?: string;
|
|
353
365
|
message?: string;
|
|
@@ -364,6 +376,88 @@ export declare class StackTraceElement {
|
|
|
364
376
|
string?: string;
|
|
365
377
|
static fromJson(jsonObject?: any): StackTraceElement;
|
|
366
378
|
}
|
|
379
|
+
export declare class PKDCertificate {
|
|
380
|
+
binaryData?: string;
|
|
381
|
+
resourceType?: number;
|
|
382
|
+
privateKey?: string;
|
|
383
|
+
static fromJson(jsonObject?: any): PKDCertificate;
|
|
384
|
+
}
|
|
385
|
+
export declare class ImageInputParam {
|
|
386
|
+
width?: number;
|
|
387
|
+
height?: number;
|
|
388
|
+
type?: number;
|
|
389
|
+
static fromJson(jsonObject?: any): ImageInputParam;
|
|
390
|
+
}
|
|
391
|
+
export declare class PAResourcesIssuer {
|
|
392
|
+
data?: any[];
|
|
393
|
+
friendlyName?: string;
|
|
394
|
+
attributes?: PAAttribute[];
|
|
395
|
+
static fromJson(jsonObject?: any): PAResourcesIssuer;
|
|
396
|
+
}
|
|
397
|
+
export declare class PAAttribute {
|
|
398
|
+
type?: string;
|
|
399
|
+
value?: string;
|
|
400
|
+
static fromJson(jsonObject?: any): PAAttribute;
|
|
401
|
+
}
|
|
402
|
+
export declare class TAChallenge {
|
|
403
|
+
data?: any[];
|
|
404
|
+
auxPCD?: string;
|
|
405
|
+
challengePICC?: string;
|
|
406
|
+
hashPK?: string;
|
|
407
|
+
idPICC?: string;
|
|
408
|
+
static fromJson(jsonObject?: any): TAChallenge;
|
|
409
|
+
}
|
|
410
|
+
export declare class DocumentReaderResultsStatus {
|
|
411
|
+
overallStatus?: number;
|
|
412
|
+
optical?: number;
|
|
413
|
+
detailsOptical?: DetailsOptical;
|
|
414
|
+
rfid?: number;
|
|
415
|
+
detailsRFID?: DetailsRFID;
|
|
416
|
+
portrait?: number;
|
|
417
|
+
stopList?: number;
|
|
418
|
+
static fromJson(jsonObject?: any): DocumentReaderResultsStatus;
|
|
419
|
+
}
|
|
420
|
+
export declare class DetailsOptical {
|
|
421
|
+
overallStatus?: number;
|
|
422
|
+
mrz?: number;
|
|
423
|
+
text?: number;
|
|
424
|
+
docType?: number;
|
|
425
|
+
security?: number;
|
|
426
|
+
imageQA?: number;
|
|
427
|
+
expiry?: number;
|
|
428
|
+
vds?: number;
|
|
429
|
+
pagesCount?: number;
|
|
430
|
+
static fromJson(jsonObject?: any): DetailsOptical;
|
|
431
|
+
}
|
|
432
|
+
export declare class DetailsRFID {
|
|
433
|
+
pa?: number;
|
|
434
|
+
ca?: number;
|
|
435
|
+
aa?: number;
|
|
436
|
+
ta?: number;
|
|
437
|
+
bac?: number;
|
|
438
|
+
pace?: number;
|
|
439
|
+
overallStatus?: number;
|
|
440
|
+
static fromJson(jsonObject?: any): DetailsRFID;
|
|
441
|
+
}
|
|
442
|
+
export declare class VDSNCData {
|
|
443
|
+
type?: string;
|
|
444
|
+
version?: number;
|
|
445
|
+
issuingCountry?: string;
|
|
446
|
+
message?: any;
|
|
447
|
+
signatureAlgorithm?: string;
|
|
448
|
+
signature?: BytesData;
|
|
449
|
+
certificate?: BytesData;
|
|
450
|
+
certificateChain?: CertificateChain[];
|
|
451
|
+
notifications?: number[];
|
|
452
|
+
static fromJson(jsonObject?: any): VDSNCData;
|
|
453
|
+
}
|
|
454
|
+
export declare class BytesData {
|
|
455
|
+
data?: string;
|
|
456
|
+
length?: number;
|
|
457
|
+
status?: number;
|
|
458
|
+
type?: number;
|
|
459
|
+
static fromJson(jsonObject?: any): BytesData;
|
|
460
|
+
}
|
|
367
461
|
export declare class DocumentReaderResults {
|
|
368
462
|
chipPage?: number;
|
|
369
463
|
overallResult?: number;
|
|
@@ -385,6 +479,8 @@ export declare class DocumentReaderResults {
|
|
|
385
479
|
authenticityResult?: DocumentReaderAuthenticityResult;
|
|
386
480
|
barcodeResult?: DocumentReaderBarcodeResult;
|
|
387
481
|
documentType?: DocumentReaderDocumentType[];
|
|
482
|
+
status?: DocumentReaderResultsStatus;
|
|
483
|
+
vdsncData?: VDSNCData;
|
|
388
484
|
getTextFieldValueByType?({ fieldType, lcid, source, original }: {
|
|
389
485
|
fieldType: number;
|
|
390
486
|
lcid?: number;
|
|
@@ -398,9 +494,10 @@ export declare class DocumentReaderResults {
|
|
|
398
494
|
light?: number;
|
|
399
495
|
pageIndex?: number;
|
|
400
496
|
}): string;
|
|
401
|
-
getQualityResult({ imageQualityCheckType, securityFeature }: {
|
|
497
|
+
getQualityResult({ imageQualityCheckType, securityFeature, pageIndex }: {
|
|
402
498
|
imageQualityCheckType: number;
|
|
403
499
|
securityFeature?: number;
|
|
500
|
+
pageIndex?: number;
|
|
404
501
|
}): number;
|
|
405
502
|
findByTypeAndLcid?(type: number, lcid: number): DocumentReaderTextField;
|
|
406
503
|
findBySource(field: DocumentReaderTextField, sourceType: number): DocumentReaderValue;
|
|
@@ -731,6 +828,24 @@ export declare const DocReaderOrientation: {
|
|
|
731
828
|
LANDSCAPE_LEFT: number;
|
|
732
829
|
LANDSCAPE_RIGHT: number;
|
|
733
830
|
};
|
|
831
|
+
export declare const DocumentReaderExceptionEnum: {
|
|
832
|
+
NATIVE_JAVA_EXCEPTION: number;
|
|
833
|
+
DOCUMENT_READER_STATE_EXCEPTION: number;
|
|
834
|
+
DOCUMENT_READER_WRONG_INPUT: number;
|
|
835
|
+
INITIALIZATION_FAILED: number;
|
|
836
|
+
DOCUMENT_READER_BLE_EXCEPTION: number;
|
|
837
|
+
DB_DOWNLOAD_ERROR: number;
|
|
838
|
+
LICENSE_ABSENT_OR_CORRUPTED: number;
|
|
839
|
+
LICENSE_INVALID_DATE: number;
|
|
840
|
+
LICENSE_INVALID_VERSION: number;
|
|
841
|
+
LICENSE_INVALID_DEVICE_ID: number;
|
|
842
|
+
LICENSE_INVALID_SYSTEM_OR_APP_ID: number;
|
|
843
|
+
LICENSE_NO_CAPABILITIES: number;
|
|
844
|
+
LICENSE_NO_AUTHENTICITY: number;
|
|
845
|
+
LICENSE_NO_DATABASE: number;
|
|
846
|
+
LICENSE_DATABASE_INCORRECT: number;
|
|
847
|
+
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
|
|
848
|
+
};
|
|
734
849
|
export declare const eCheckDiagnose: {
|
|
735
850
|
UNKNOWN: number;
|
|
736
851
|
PASS: number;
|
|
@@ -763,6 +878,7 @@ export declare const eCheckDiagnose: {
|
|
|
763
878
|
VISIBLE_ELEMENT_ABSENT: number;
|
|
764
879
|
ELEMENT_SHOULD_BE_COLORED: number;
|
|
765
880
|
ELEMENT_SHOULD_BE_GRAYSCALE: number;
|
|
881
|
+
PHOTO_WHITE_IR_DONT_MATCH: number;
|
|
766
882
|
UV_DULL_PAPER_MRZ: number;
|
|
767
883
|
FALSE_LUMINISCENCE_IN_MRZ: number;
|
|
768
884
|
UV_DULL_PAPER_PHOTO: number;
|
|
@@ -772,6 +888,7 @@ export declare const eCheckDiagnose: {
|
|
|
772
888
|
BAD_AREA_IN_AXIAL: number;
|
|
773
889
|
FALSE_IPI_PARAMETERS: number;
|
|
774
890
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: number;
|
|
891
|
+
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: number;
|
|
775
892
|
OVI_IR_INVISIBLE: number;
|
|
776
893
|
OVI_INSUFFICIENT_AREA: number;
|
|
777
894
|
OVI_COLOR_INVARIABLE: number;
|
|
@@ -782,6 +899,8 @@ export declare const eCheckDiagnose: {
|
|
|
782
899
|
HOLOGRAM_ELEMENT_ABSENT: number;
|
|
783
900
|
HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: number;
|
|
784
901
|
HOLOGRAM_ELEMENT_PRESENT: number;
|
|
902
|
+
HOLOGRAM_FRAMES_IS_ABSENT: number;
|
|
903
|
+
HOLOGRAM_HOLO_FIELD_IS_ABSENT: number;
|
|
785
904
|
PHOTO_PATTERN_INTERRUPTED: number;
|
|
786
905
|
PHOTO_PATTERN_SHIFTED: number;
|
|
787
906
|
PHOTO_PATTERN_DIFFERENT_COLORS: number;
|
|
@@ -806,12 +925,20 @@ export declare const eCheckDiagnose: {
|
|
|
806
925
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
|
|
807
926
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
|
|
808
927
|
PORTRAIT_COMPARISON_SERVICE_ERROR: number;
|
|
809
|
-
|
|
928
|
+
PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: number;
|
|
810
929
|
PORTRAIT_COMPARISON_NO_LIVE_PHOTO: number;
|
|
811
930
|
PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: number;
|
|
812
931
|
PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: number;
|
|
813
932
|
MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: number;
|
|
814
933
|
MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: number;
|
|
934
|
+
FINGERPRINTS_COMPARISON_MISMATCH: number;
|
|
935
|
+
HOLO_PHOTO_FACE_NOT_DETECTED: number;
|
|
936
|
+
HOLO_PHOTO_FACE_COMPARISON_FAILED: number;
|
|
937
|
+
HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT: number;
|
|
938
|
+
HOLO_ELEMENT_SHAPE_ERROR: number;
|
|
939
|
+
ALGORITHM_STEPS_ERROR: number;
|
|
940
|
+
HOLO_AREAS_NOT_LOADED: number;
|
|
941
|
+
FINISHED_BY_TIMEOUT: number;
|
|
815
942
|
LAST_DIAGNOSE_VALUE: number;
|
|
816
943
|
};
|
|
817
944
|
export declare const eCheckResult: {
|
|
@@ -851,6 +978,8 @@ export declare const eImageQualityCheckType: {
|
|
|
851
978
|
IQC_IMAGE_COLORNESS: number;
|
|
852
979
|
IQC_PERSPECTIVE: number;
|
|
853
980
|
IQC_BOUNDS: number;
|
|
981
|
+
IQC_SCREEN_CAPTURE: number;
|
|
982
|
+
IQC_PORTRAIT: number;
|
|
854
983
|
};
|
|
855
984
|
export declare const eProcessGLCommands: {
|
|
856
985
|
ePC_ProcMgr_SetLicense: number;
|
|
@@ -902,6 +1031,10 @@ export declare const eRFID_CertificateType: {
|
|
|
902
1031
|
CT_MLS: number;
|
|
903
1032
|
CT_DEV_LS: number;
|
|
904
1033
|
CT_DEF_LS: number;
|
|
1034
|
+
CT_BLS: number;
|
|
1035
|
+
CT_LDS2: number;
|
|
1036
|
+
CT_BCS: number;
|
|
1037
|
+
CT_BCSNC: number;
|
|
905
1038
|
};
|
|
906
1039
|
export declare const eRFID_DataFile_Type: {
|
|
907
1040
|
DFT_UNSPECIFIED: number;
|
|
@@ -984,6 +1117,10 @@ export declare const eRFID_DataFile_Type: {
|
|
|
984
1117
|
DFT_SESSION: number;
|
|
985
1118
|
DFT_LOGDATA: number;
|
|
986
1119
|
DFT_CHIP_PROPERTIES: number;
|
|
1120
|
+
DFT_SAM_DATA: number;
|
|
1121
|
+
DFT_SAM_DATA_MAX: number;
|
|
1122
|
+
DFT_VDS: number;
|
|
1123
|
+
DFT_VDSNC: number;
|
|
987
1124
|
DFT_USERDEFINED: number;
|
|
988
1125
|
getTranslation(value: number): string;
|
|
989
1126
|
};
|
|
@@ -1044,6 +1181,7 @@ export declare const eRFID_NotificationAndErrorCodes: {
|
|
|
1044
1181
|
RFID_ERROR_INVALID_PARAMETER: number;
|
|
1045
1182
|
RFID_ERROR_NOT_INITIALIZED: number;
|
|
1046
1183
|
RFID_Error_NotEnoughMemory: number;
|
|
1184
|
+
RFID_ERROR_NOT_ENOUGH_DATA: number;
|
|
1047
1185
|
RFID_ERROR_INVALID_DIRECTORY: number;
|
|
1048
1186
|
RFID_ERROR_UNKNOWN_COMMAND: number;
|
|
1049
1187
|
RFID_ERROR_FILE_IO_ERROR: number;
|
|
@@ -1122,6 +1260,22 @@ export declare const eRFID_NotificationAndErrorCodes: {
|
|
|
1122
1260
|
RFID_LAYER6_EXT_AUTH_FAILURE: number;
|
|
1123
1261
|
RFID_LAYER6_GENERAL_AUTH_FAILURE: number;
|
|
1124
1262
|
RFID_ERROR_FAILED: number;
|
|
1263
|
+
RFID_ERROR_CODES_LAYER_34_NO_ERROR: number;
|
|
1264
|
+
RFID_ERROR_CODES_LAYER_34_TIMEOUT: number;
|
|
1265
|
+
RFID_ERROR_CODES_LAYER_34_COLLISION: number;
|
|
1266
|
+
RFID_ERROR_CODES_LAYER_34_CRC: number;
|
|
1267
|
+
RFID_ERROR_CODES_LAYER_34_DATA_INTEGRITY: number;
|
|
1268
|
+
RFID_ERROR_CODES_LAYER_34_DATA_LENGTH: number;
|
|
1269
|
+
RFID_ERROR_CODES_LAYER_34_RFU: number;
|
|
1270
|
+
RFID_ERROR_CODES_LAYER_34_COLLISION_TOO_MANY: number;
|
|
1271
|
+
RFID_ERROR_CODES_LAYER_34_PROTOCOL_B: number;
|
|
1272
|
+
RFID_ERROR_CODES_LAYER_34_DATA_CONTENTS: number;
|
|
1273
|
+
RFID_ERROR_CODES_LAYER_34_PROTOCOL: number;
|
|
1274
|
+
RFID_ERROR_CODES_LAYER_34_GLOBAL_TIMEOUT: number;
|
|
1275
|
+
RFID_ERROR_CODES_LAYER_34_MIFARE_AUTH: number;
|
|
1276
|
+
RFID_ERROR_CODES_LAYER_34_SAM_ERROR: number;
|
|
1277
|
+
RFID_ERROR_CODES_LAYER_34_SAM_COLLISION: number;
|
|
1278
|
+
RFID_ERROR_CODES_LAYER_34_SAM_ACKNOWLEDGE: number;
|
|
1125
1279
|
getTranslation(value: number): string;
|
|
1126
1280
|
};
|
|
1127
1281
|
export declare const eRFID_Password_Type: {
|
|
@@ -1201,6 +1355,8 @@ export declare const eRPRM_ResultType: {
|
|
|
1201
1355
|
RPRM_RESULT_TYPE_DATABASE_CHECK: number;
|
|
1202
1356
|
RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO: number;
|
|
1203
1357
|
RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY: number;
|
|
1358
|
+
RPRM_RESULT_TYPE_IMAGES: number;
|
|
1359
|
+
RPRM_RESULT_TYPE_HOLO_PARAMS: number;
|
|
1204
1360
|
RPRM_RESULT_TYPE_DOCUMENT_POSITION: number;
|
|
1205
1361
|
RPRM_RESULT_TYPE_CUSTOM: number;
|
|
1206
1362
|
RFID_RESULT_TYPE_RFID_RAW_DATA: number;
|
|
@@ -1210,6 +1366,7 @@ export declare const eRPRM_ResultType: {
|
|
|
1210
1366
|
RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
|
|
1211
1367
|
RPRM_RESULT_TYPE_BARCODE_POSITION: number;
|
|
1212
1368
|
RPRM_RESULT_TYPE_MRZ_POSITION: number;
|
|
1369
|
+
RPRM_RESULT_TYPE_STATUS: number;
|
|
1213
1370
|
};
|
|
1214
1371
|
export declare const eRPRM_SecurityFeatureType: {
|
|
1215
1372
|
NONE: number;
|
|
@@ -1831,6 +1988,24 @@ export declare const eVisualFieldType: {
|
|
|
1831
1988
|
FT_CITIZENSHIP_STATUS: number;
|
|
1832
1989
|
FT_MILITARY_SERVICE_FROM: number;
|
|
1833
1990
|
FT_MILITARY_SERVICE_TO: number;
|
|
1991
|
+
FT_DLCLASSCODE_NT_FROM: number;
|
|
1992
|
+
FT_DLCLASSCODE_NT_TO: number;
|
|
1993
|
+
FT_DLCLASSCODE_NT_NOTES: number;
|
|
1994
|
+
FT_DLCLASSCODE_TN_FROM: number;
|
|
1995
|
+
FT_DLCLASSCODE_TN_TO: number;
|
|
1996
|
+
FT_DLCLASSCODE_TN_NOTES: number;
|
|
1997
|
+
FT_DLCLASSCODE_D3_FROM: number;
|
|
1998
|
+
FT_DLCLASSCODE_D3_TO: number;
|
|
1999
|
+
FT_DLCLASSCODE_D3_NOTES: number;
|
|
2000
|
+
FT_ALT_DATE_OF_EXPIRY: number;
|
|
2001
|
+
FT_DLCLASSCODE_CD_FROM: number;
|
|
2002
|
+
FT_DLCLASSCODE_CD_TO: number;
|
|
2003
|
+
FT_DLCLASSCODE_CD_NOTES: number;
|
|
2004
|
+
FT_PAYMENT_PERIOD_TO: number;
|
|
2005
|
+
FT_PAYMENT_PERIOD_FROM: number;
|
|
2006
|
+
FT_ISSUER_IDENTIFICATION_NUMBER: number;
|
|
2007
|
+
FT_VACCINATION_CERTIFICATE_IDENTIFIER: number;
|
|
2008
|
+
FT_FIRST_NAME: number;
|
|
1834
2009
|
getTranslation(value: number): string;
|
|
1835
2010
|
};
|
|
1836
2011
|
export declare const FontStyle: {
|
|
@@ -1843,6 +2018,11 @@ export declare const FrameShapeType: {
|
|
|
1843
2018
|
LINE: number;
|
|
1844
2019
|
CORNER: number;
|
|
1845
2020
|
};
|
|
2021
|
+
export declare const IRfidNotificationCompletion: {
|
|
2022
|
+
RFID_EVENT_CHIP_DETECTED: number;
|
|
2023
|
+
RFID_EVENT_READING_ERROR: number;
|
|
2024
|
+
RFID_EXTRA_ERROR_CODE: string;
|
|
2025
|
+
};
|
|
1846
2026
|
export declare const LCID: {
|
|
1847
2027
|
LATIN: number;
|
|
1848
2028
|
AFRIKAANS: number;
|
|
@@ -2003,6 +2183,11 @@ export declare const ProcessingFinishedStatus: {
|
|
|
2003
2183
|
READY: number;
|
|
2004
2184
|
TIMEOUT: number;
|
|
2005
2185
|
};
|
|
2186
|
+
export declare const RFIDDelegate: {
|
|
2187
|
+
NULL: number;
|
|
2188
|
+
NO_PA: number;
|
|
2189
|
+
FULL: number;
|
|
2190
|
+
};
|
|
2006
2191
|
export declare const RGLMeasureSystem: {
|
|
2007
2192
|
METRIC: number;
|
|
2008
2193
|
IMPERIAL: number;
|
|
@@ -2403,6 +2588,24 @@ export declare const Enum: {
|
|
|
2403
2588
|
LANDSCAPE_LEFT: number;
|
|
2404
2589
|
LANDSCAPE_RIGHT: number;
|
|
2405
2590
|
};
|
|
2591
|
+
DocumentReaderExceptionEnum: {
|
|
2592
|
+
NATIVE_JAVA_EXCEPTION: number;
|
|
2593
|
+
DOCUMENT_READER_STATE_EXCEPTION: number;
|
|
2594
|
+
DOCUMENT_READER_WRONG_INPUT: number;
|
|
2595
|
+
INITIALIZATION_FAILED: number;
|
|
2596
|
+
DOCUMENT_READER_BLE_EXCEPTION: number;
|
|
2597
|
+
DB_DOWNLOAD_ERROR: number;
|
|
2598
|
+
LICENSE_ABSENT_OR_CORRUPTED: number;
|
|
2599
|
+
LICENSE_INVALID_DATE: number;
|
|
2600
|
+
LICENSE_INVALID_VERSION: number;
|
|
2601
|
+
LICENSE_INVALID_DEVICE_ID: number;
|
|
2602
|
+
LICENSE_INVALID_SYSTEM_OR_APP_ID: number;
|
|
2603
|
+
LICENSE_NO_CAPABILITIES: number;
|
|
2604
|
+
LICENSE_NO_AUTHENTICITY: number;
|
|
2605
|
+
LICENSE_NO_DATABASE: number;
|
|
2606
|
+
LICENSE_DATABASE_INCORRECT: number;
|
|
2607
|
+
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
|
|
2608
|
+
};
|
|
2406
2609
|
eCheckDiagnose: {
|
|
2407
2610
|
UNKNOWN: number;
|
|
2408
2611
|
PASS: number;
|
|
@@ -2435,6 +2638,7 @@ export declare const Enum: {
|
|
|
2435
2638
|
VISIBLE_ELEMENT_ABSENT: number;
|
|
2436
2639
|
ELEMENT_SHOULD_BE_COLORED: number;
|
|
2437
2640
|
ELEMENT_SHOULD_BE_GRAYSCALE: number;
|
|
2641
|
+
PHOTO_WHITE_IR_DONT_MATCH: number;
|
|
2438
2642
|
UV_DULL_PAPER_MRZ: number;
|
|
2439
2643
|
FALSE_LUMINISCENCE_IN_MRZ: number;
|
|
2440
2644
|
UV_DULL_PAPER_PHOTO: number;
|
|
@@ -2444,6 +2648,7 @@ export declare const Enum: {
|
|
|
2444
2648
|
BAD_AREA_IN_AXIAL: number;
|
|
2445
2649
|
FALSE_IPI_PARAMETERS: number;
|
|
2446
2650
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: number;
|
|
2651
|
+
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: number;
|
|
2447
2652
|
OVI_IR_INVISIBLE: number;
|
|
2448
2653
|
OVI_INSUFFICIENT_AREA: number;
|
|
2449
2654
|
OVI_COLOR_INVARIABLE: number;
|
|
@@ -2454,6 +2659,8 @@ export declare const Enum: {
|
|
|
2454
2659
|
HOLOGRAM_ELEMENT_ABSENT: number;
|
|
2455
2660
|
HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: number;
|
|
2456
2661
|
HOLOGRAM_ELEMENT_PRESENT: number;
|
|
2662
|
+
HOLOGRAM_FRAMES_IS_ABSENT: number;
|
|
2663
|
+
HOLOGRAM_HOLO_FIELD_IS_ABSENT: number;
|
|
2457
2664
|
PHOTO_PATTERN_INTERRUPTED: number;
|
|
2458
2665
|
PHOTO_PATTERN_SHIFTED: number;
|
|
2459
2666
|
PHOTO_PATTERN_DIFFERENT_COLORS: number;
|
|
@@ -2478,12 +2685,20 @@ export declare const Enum: {
|
|
|
2478
2685
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
|
|
2479
2686
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
|
|
2480
2687
|
PORTRAIT_COMPARISON_SERVICE_ERROR: number;
|
|
2481
|
-
|
|
2688
|
+
PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: number;
|
|
2482
2689
|
PORTRAIT_COMPARISON_NO_LIVE_PHOTO: number;
|
|
2483
2690
|
PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: number;
|
|
2484
2691
|
PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: number;
|
|
2485
2692
|
MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: number;
|
|
2486
2693
|
MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: number;
|
|
2694
|
+
FINGERPRINTS_COMPARISON_MISMATCH: number;
|
|
2695
|
+
HOLO_PHOTO_FACE_NOT_DETECTED: number;
|
|
2696
|
+
HOLO_PHOTO_FACE_COMPARISON_FAILED: number;
|
|
2697
|
+
HOLO_PHOTO_FACE_GLARE_IN_CENTER_ABSENT: number;
|
|
2698
|
+
HOLO_ELEMENT_SHAPE_ERROR: number;
|
|
2699
|
+
ALGORITHM_STEPS_ERROR: number;
|
|
2700
|
+
HOLO_AREAS_NOT_LOADED: number;
|
|
2701
|
+
FINISHED_BY_TIMEOUT: number;
|
|
2487
2702
|
LAST_DIAGNOSE_VALUE: number;
|
|
2488
2703
|
};
|
|
2489
2704
|
eCheckResult: {
|
|
@@ -2523,6 +2738,8 @@ export declare const Enum: {
|
|
|
2523
2738
|
IQC_IMAGE_COLORNESS: number;
|
|
2524
2739
|
IQC_PERSPECTIVE: number;
|
|
2525
2740
|
IQC_BOUNDS: number;
|
|
2741
|
+
IQC_SCREEN_CAPTURE: number;
|
|
2742
|
+
IQC_PORTRAIT: number;
|
|
2526
2743
|
};
|
|
2527
2744
|
eProcessGLCommands: {
|
|
2528
2745
|
ePC_ProcMgr_SetLicense: number;
|
|
@@ -2574,6 +2791,10 @@ export declare const Enum: {
|
|
|
2574
2791
|
CT_MLS: number;
|
|
2575
2792
|
CT_DEV_LS: number;
|
|
2576
2793
|
CT_DEF_LS: number;
|
|
2794
|
+
CT_BLS: number;
|
|
2795
|
+
CT_LDS2: number;
|
|
2796
|
+
CT_BCS: number;
|
|
2797
|
+
CT_BCSNC: number;
|
|
2577
2798
|
};
|
|
2578
2799
|
eRFID_DataFile_Type: {
|
|
2579
2800
|
DFT_UNSPECIFIED: number;
|
|
@@ -2656,6 +2877,10 @@ export declare const Enum: {
|
|
|
2656
2877
|
DFT_SESSION: number;
|
|
2657
2878
|
DFT_LOGDATA: number;
|
|
2658
2879
|
DFT_CHIP_PROPERTIES: number;
|
|
2880
|
+
DFT_SAM_DATA: number;
|
|
2881
|
+
DFT_SAM_DATA_MAX: number;
|
|
2882
|
+
DFT_VDS: number;
|
|
2883
|
+
DFT_VDSNC: number;
|
|
2659
2884
|
DFT_USERDEFINED: number;
|
|
2660
2885
|
getTranslation(value: number): string;
|
|
2661
2886
|
};
|
|
@@ -2716,6 +2941,7 @@ export declare const Enum: {
|
|
|
2716
2941
|
RFID_ERROR_INVALID_PARAMETER: number;
|
|
2717
2942
|
RFID_ERROR_NOT_INITIALIZED: number;
|
|
2718
2943
|
RFID_Error_NotEnoughMemory: number;
|
|
2944
|
+
RFID_ERROR_NOT_ENOUGH_DATA: number;
|
|
2719
2945
|
RFID_ERROR_INVALID_DIRECTORY: number;
|
|
2720
2946
|
RFID_ERROR_UNKNOWN_COMMAND: number;
|
|
2721
2947
|
RFID_ERROR_FILE_IO_ERROR: number;
|
|
@@ -2794,6 +3020,22 @@ export declare const Enum: {
|
|
|
2794
3020
|
RFID_LAYER6_EXT_AUTH_FAILURE: number;
|
|
2795
3021
|
RFID_LAYER6_GENERAL_AUTH_FAILURE: number;
|
|
2796
3022
|
RFID_ERROR_FAILED: number;
|
|
3023
|
+
RFID_ERROR_CODES_LAYER_34_NO_ERROR: number;
|
|
3024
|
+
RFID_ERROR_CODES_LAYER_34_TIMEOUT: number;
|
|
3025
|
+
RFID_ERROR_CODES_LAYER_34_COLLISION: number;
|
|
3026
|
+
RFID_ERROR_CODES_LAYER_34_CRC: number;
|
|
3027
|
+
RFID_ERROR_CODES_LAYER_34_DATA_INTEGRITY: number;
|
|
3028
|
+
RFID_ERROR_CODES_LAYER_34_DATA_LENGTH: number;
|
|
3029
|
+
RFID_ERROR_CODES_LAYER_34_RFU: number;
|
|
3030
|
+
RFID_ERROR_CODES_LAYER_34_COLLISION_TOO_MANY: number;
|
|
3031
|
+
RFID_ERROR_CODES_LAYER_34_PROTOCOL_B: number;
|
|
3032
|
+
RFID_ERROR_CODES_LAYER_34_DATA_CONTENTS: number;
|
|
3033
|
+
RFID_ERROR_CODES_LAYER_34_PROTOCOL: number;
|
|
3034
|
+
RFID_ERROR_CODES_LAYER_34_GLOBAL_TIMEOUT: number;
|
|
3035
|
+
RFID_ERROR_CODES_LAYER_34_MIFARE_AUTH: number;
|
|
3036
|
+
RFID_ERROR_CODES_LAYER_34_SAM_ERROR: number;
|
|
3037
|
+
RFID_ERROR_CODES_LAYER_34_SAM_COLLISION: number;
|
|
3038
|
+
RFID_ERROR_CODES_LAYER_34_SAM_ACKNOWLEDGE: number;
|
|
2797
3039
|
getTranslation(value: number): string;
|
|
2798
3040
|
};
|
|
2799
3041
|
eRFID_Password_Type: {
|
|
@@ -2873,6 +3115,8 @@ export declare const Enum: {
|
|
|
2873
3115
|
RPRM_RESULT_TYPE_DATABASE_CHECK: number;
|
|
2874
3116
|
RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO: number;
|
|
2875
3117
|
RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY: number;
|
|
3118
|
+
RPRM_RESULT_TYPE_IMAGES: number;
|
|
3119
|
+
RPRM_RESULT_TYPE_HOLO_PARAMS: number;
|
|
2876
3120
|
RPRM_RESULT_TYPE_DOCUMENT_POSITION: number;
|
|
2877
3121
|
RPRM_RESULT_TYPE_CUSTOM: number;
|
|
2878
3122
|
RFID_RESULT_TYPE_RFID_RAW_DATA: number;
|
|
@@ -2882,6 +3126,7 @@ export declare const Enum: {
|
|
|
2882
3126
|
RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
|
|
2883
3127
|
RPRM_RESULT_TYPE_BARCODE_POSITION: number;
|
|
2884
3128
|
RPRM_RESULT_TYPE_MRZ_POSITION: number;
|
|
3129
|
+
RPRM_RESULT_TYPE_STATUS: number;
|
|
2885
3130
|
};
|
|
2886
3131
|
eRPRM_SecurityFeatureType: {
|
|
2887
3132
|
NONE: number;
|
|
@@ -3503,6 +3748,24 @@ export declare const Enum: {
|
|
|
3503
3748
|
FT_CITIZENSHIP_STATUS: number;
|
|
3504
3749
|
FT_MILITARY_SERVICE_FROM: number;
|
|
3505
3750
|
FT_MILITARY_SERVICE_TO: number;
|
|
3751
|
+
FT_DLCLASSCODE_NT_FROM: number;
|
|
3752
|
+
FT_DLCLASSCODE_NT_TO: number;
|
|
3753
|
+
FT_DLCLASSCODE_NT_NOTES: number;
|
|
3754
|
+
FT_DLCLASSCODE_TN_FROM: number;
|
|
3755
|
+
FT_DLCLASSCODE_TN_TO: number;
|
|
3756
|
+
FT_DLCLASSCODE_TN_NOTES: number;
|
|
3757
|
+
FT_DLCLASSCODE_D3_FROM: number;
|
|
3758
|
+
FT_DLCLASSCODE_D3_TO: number;
|
|
3759
|
+
FT_DLCLASSCODE_D3_NOTES: number;
|
|
3760
|
+
FT_ALT_DATE_OF_EXPIRY: number;
|
|
3761
|
+
FT_DLCLASSCODE_CD_FROM: number;
|
|
3762
|
+
FT_DLCLASSCODE_CD_TO: number;
|
|
3763
|
+
FT_DLCLASSCODE_CD_NOTES: number;
|
|
3764
|
+
FT_PAYMENT_PERIOD_TO: number;
|
|
3765
|
+
FT_PAYMENT_PERIOD_FROM: number;
|
|
3766
|
+
FT_ISSUER_IDENTIFICATION_NUMBER: number;
|
|
3767
|
+
FT_VACCINATION_CERTIFICATE_IDENTIFIER: number;
|
|
3768
|
+
FT_FIRST_NAME: number;
|
|
3506
3769
|
getTranslation(value: number): string;
|
|
3507
3770
|
};
|
|
3508
3771
|
FontStyle: {
|
|
@@ -3515,6 +3778,11 @@ export declare const Enum: {
|
|
|
3515
3778
|
LINE: number;
|
|
3516
3779
|
CORNER: number;
|
|
3517
3780
|
};
|
|
3781
|
+
IRfidNotificationCompletion: {
|
|
3782
|
+
RFID_EVENT_CHIP_DETECTED: number;
|
|
3783
|
+
RFID_EVENT_READING_ERROR: number;
|
|
3784
|
+
RFID_EXTRA_ERROR_CODE: string;
|
|
3785
|
+
};
|
|
3518
3786
|
LCID: {
|
|
3519
3787
|
LATIN: number;
|
|
3520
3788
|
AFRIKAANS: number;
|
|
@@ -3675,6 +3943,11 @@ export declare const Enum: {
|
|
|
3675
3943
|
READY: number;
|
|
3676
3944
|
TIMEOUT: number;
|
|
3677
3945
|
};
|
|
3946
|
+
RFIDDelegate: {
|
|
3947
|
+
NULL: number;
|
|
3948
|
+
NO_PA: number;
|
|
3949
|
+
FULL: number;
|
|
3950
|
+
};
|
|
3678
3951
|
RGLMeasureSystem: {
|
|
3679
3952
|
METRIC: number;
|
|
3680
3953
|
IMPERIAL: number;
|
|
@@ -3774,6 +4047,16 @@ export declare const Enum: {
|
|
|
3774
4047
|
* ```
|
|
3775
4048
|
*/
|
|
3776
4049
|
export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
4050
|
+
/**
|
|
4051
|
+
* Initially made for capacitor as it has no convenient way to read assets
|
|
4052
|
+
* Allows you to initialize document reader without reading license yourself.
|
|
4053
|
+
* License will be automatically read from
|
|
4054
|
+
* Android: "android/app/src/main/assets/regula.license"
|
|
4055
|
+
* iOS: "ios/App/App/regula.license"
|
|
4056
|
+
*
|
|
4057
|
+
* @return {Promise<any>} Returns a promise
|
|
4058
|
+
*/
|
|
4059
|
+
initializeReaderAutomatically(): Promise<any>;
|
|
3777
4060
|
/**
|
|
3778
4061
|
* Allows you to get the API version
|
|
3779
4062
|
*
|
|
@@ -3984,6 +4267,17 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
3984
4267
|
* @return {Promise<any>} Returns a promise
|
|
3985
4268
|
*/
|
|
3986
4269
|
getRfidSessionStatus(): Promise<any>;
|
|
4270
|
+
/**
|
|
4271
|
+
* Use this method to set RFID delegate on iOS to either null,
|
|
4272
|
+
* delegate with onRequestPACertificates callback or without
|
|
4273
|
+
*
|
|
4274
|
+
* @param {int} delegate use enum RFIDDelegate
|
|
4275
|
+
* NULL = 0
|
|
4276
|
+
* NO_PA = 1
|
|
4277
|
+
* FULL = 2
|
|
4278
|
+
* @return {Promise<any>} Returns a promise
|
|
4279
|
+
*/
|
|
4280
|
+
setRfidDelegate(delegate: any): Promise<any>;
|
|
3987
4281
|
/**
|
|
3988
4282
|
* Use this method to enable Core logs
|
|
3989
4283
|
*
|
|
@@ -3994,7 +4288,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
3994
4288
|
/**
|
|
3995
4289
|
* Allows to add a list of PKD certificates during initialization process which will be passed to Core
|
|
3996
4290
|
*
|
|
3997
|
-
* @param {
|
|
4291
|
+
* @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
|
|
3998
4292
|
* binaryData - base64 string
|
|
3999
4293
|
* resourceType - number
|
|
4000
4294
|
* privateKey(optional) - base64 string
|
|
@@ -4018,7 +4312,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4018
4312
|
/**
|
|
4019
4313
|
* Use this method to recognize images
|
|
4020
4314
|
*
|
|
4021
|
-
* @param {
|
|
4315
|
+
* @param {string[]} images Array of strings that are base64 representations of images
|
|
4022
4316
|
* @return {Promise<any>} Returns a promise
|
|
4023
4317
|
*/
|
|
4024
4318
|
recognizeImages(images: any): Observable<any>;
|
|
@@ -4039,7 +4333,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4039
4333
|
/**
|
|
4040
4334
|
* Use this method to set config
|
|
4041
4335
|
*
|
|
4042
|
-
* @param {
|
|
4336
|
+
* @param {object} config JsonObject with structure
|
|
4043
4337
|
* {functionality?: {name?: value1, name?: value2, ...},
|
|
4044
4338
|
* customization?: {name?: value3, name?: value4, ...},
|
|
4045
4339
|
* processParams?: {name?: value5, name?: value6, ...}}
|
|
@@ -4051,7 +4345,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4051
4345
|
/**
|
|
4052
4346
|
* Use this method to set an RFID scenario
|
|
4053
4347
|
*
|
|
4054
|
-
* @param {
|
|
4348
|
+
* @param {object} scenario JsonObject with structure {name?: value1,name?: value2, ...}
|
|
4055
4349
|
* name - string
|
|
4056
4350
|
* value - any
|
|
4057
4351
|
* @return {Promise<any>} Returns a promise
|
|
@@ -4085,6 +4379,43 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4085
4379
|
* @return {Promise<any>} Returns a promise
|
|
4086
4380
|
*/
|
|
4087
4381
|
setRfidSessionStatus(status: any): Promise<any>;
|
|
4382
|
+
/**
|
|
4383
|
+
* Use this method to send PACertificates to the chip after you`ve got a request for them
|
|
4384
|
+
*
|
|
4385
|
+
* @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
|
|
4386
|
+
* binaryData - base64 string
|
|
4387
|
+
* resourceType - number
|
|
4388
|
+
* privateKey(optional) - base64 string
|
|
4389
|
+
* @return {Promise<any>} Returns a promise
|
|
4390
|
+
*/
|
|
4391
|
+
providePACertificates(certificates: any): Promise<any>;
|
|
4392
|
+
/**
|
|
4393
|
+
* Use this method to send TACertificates to the chip after you`ve got a request for them
|
|
4394
|
+
*
|
|
4395
|
+
* @param {PKDCertificate[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
|
|
4396
|
+
* binaryData - base64 string
|
|
4397
|
+
* resourceType - number
|
|
4398
|
+
* privateKey(optional) - base64 string
|
|
4399
|
+
* @return {Promise<any>} Returns a promise
|
|
4400
|
+
*/
|
|
4401
|
+
provideTACertificates(certificates: any): Promise<any>;
|
|
4402
|
+
/**
|
|
4403
|
+
* Use this method to send TASignature to the chip after you`ve got a request for them
|
|
4404
|
+
*
|
|
4405
|
+
* @param {byte[]} certificates Array of jsonObjects with structure {binaryData: binaryData, resourceType: resourceType, privateKey: privateKey}
|
|
4406
|
+
* binaryData - base64 string
|
|
4407
|
+
* resourceType - number
|
|
4408
|
+
* privateKey(optional) - base64 string
|
|
4409
|
+
* @return {Promise<any>} Returns a promise
|
|
4410
|
+
*/
|
|
4411
|
+
provideTASignature(certificates: any): Promise<any>;
|
|
4412
|
+
/**
|
|
4413
|
+
* Use this method to parse results returned by the server when using an encrypted license
|
|
4414
|
+
*
|
|
4415
|
+
* @param {string} json results to parse
|
|
4416
|
+
* @return {Promise<any>} Returns a promise
|
|
4417
|
+
*/
|
|
4418
|
+
parseCoreResults(json: any): Promise<any>;
|
|
4088
4419
|
/**
|
|
4089
4420
|
* Use this method to initialize Document Reader with the path to the database
|
|
4090
4421
|
*
|
|
@@ -4093,14 +4424,19 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4093
4424
|
* @return {Promise<any>} Returns a promise
|
|
4094
4425
|
*/
|
|
4095
4426
|
initializeReaderWithDatabasePath(license: any, path: any): Promise<any>;
|
|
4427
|
+
/**
|
|
4428
|
+
* Use this method to initialize Document Reader with database binary
|
|
4429
|
+
*
|
|
4430
|
+
* @param {string} license License`s base64 representation
|
|
4431
|
+
* @param {string} db Database`s base64 representation
|
|
4432
|
+
* @return {Promise<any>} Returns a promise
|
|
4433
|
+
*/
|
|
4434
|
+
initializeReaderWithDatabase(license: any, db: any): Promise<any>;
|
|
4096
4435
|
/**
|
|
4097
4436
|
* Use this method to recognize an image frame
|
|
4098
4437
|
*
|
|
4099
4438
|
* @param {string} image Image`s base64 representation
|
|
4100
|
-
* @param {
|
|
4101
|
-
* value1 - number
|
|
4102
|
-
* value2 - number
|
|
4103
|
-
* value3 - number
|
|
4439
|
+
* @param {ImageInputParam} params Image input params
|
|
4104
4440
|
* @return {Promise<any>} Returns a promise
|
|
4105
4441
|
*/
|
|
4106
4442
|
recognizeImageFrame(image: any, params: any): Observable<any>;
|
|
@@ -4108,7 +4444,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4108
4444
|
* Use this method to recognize an image with options
|
|
4109
4445
|
*
|
|
4110
4446
|
* @param {string} image Image`s base64 representation
|
|
4111
|
-
* @param {
|
|
4447
|
+
* @param {object} options JsonObject with structure
|
|
4112
4448
|
* {functionality?: {name?: value1, name?: value2, ...},
|
|
4113
4449
|
* customization?: {name?: value3, name?: value4, ...},
|
|
4114
4450
|
* processParams?: {name?: value5, name?: value6, ...}}
|
|
@@ -4121,7 +4457,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4121
4457
|
* Use this method to recognize a stream of frames
|
|
4122
4458
|
*
|
|
4123
4459
|
* @param {string} byteString
|
|
4124
|
-
* @param {
|
|
4460
|
+
* @param {ImageInputParam} params Image input params
|
|
4125
4461
|
* @return {Promise<any>} Returns a promise
|
|
4126
4462
|
*/
|
|
4127
4463
|
recognizeVideoFrame(byteString: any, params: any): Observable<any>;
|
|
@@ -4129,7 +4465,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4129
4465
|
* Use this method to open the camera preview with the desired camera ID and options which will pass frames for recognition and return results in the completion block when they are ready
|
|
4130
4466
|
*
|
|
4131
4467
|
* @param {number} cameraID
|
|
4132
|
-
* @param {
|
|
4468
|
+
* @param {object} options JsonObject with structure
|
|
4133
4469
|
* {functionality?: {name?: value1, name?: value2, ...},
|
|
4134
4470
|
* customization?: {name?: value3, name?: value4, ...},
|
|
4135
4471
|
* processParams?: {name?: value5, name?: value6, ...}}
|
|
@@ -4142,10 +4478,7 @@ export declare class DocumentReaderOriginal extends IonicNativePlugin {
|
|
|
4142
4478
|
* Use this method to recognize images with parameters
|
|
4143
4479
|
*
|
|
4144
4480
|
* @param {string} image Image`s base64 representation
|
|
4145
|
-
* @param {
|
|
4146
|
-
* value1 - number
|
|
4147
|
-
* value2 - number
|
|
4148
|
-
* value3 - number
|
|
4481
|
+
* @param {ImageInputParam} params Image input params
|
|
4149
4482
|
* @return {Promise<any>} Returns a promise
|
|
4150
4483
|
*/
|
|
4151
4484
|
recognizeImageWithImageInputParams(image: any, params: any): Observable<any>;
|