@regulaforensics/ionic-native-document-reader 6.8.1 → 6.9.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/example/package.json +3 -3
- package/example/src/app/home/home.page.ts +15 -8
- package/index.d.ts +230 -92
- package/index.js +264 -247
- package/ngx/index.d.ts +230 -92
- package/ngx/index.js +265 -248
- package/package.json +1 -1
- package/reactExample/package.json +3 -3
- package/reactExample/src/pages/Home.tsx +21 -14
package/ngx/index.d.ts
CHANGED
|
@@ -4,36 +4,17 @@ export declare class DocumentReaderScenario {
|
|
|
4
4
|
name?: string;
|
|
5
5
|
caption?: string;
|
|
6
6
|
description?: string;
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export declare class CoreDetailedScenario {
|
|
10
|
-
uvTorch?: boolean;
|
|
11
|
-
frameOrientation?: number;
|
|
12
|
-
faceExt?: boolean;
|
|
13
|
-
multiPageOff?: number;
|
|
14
|
-
seriesProcessMode?: boolean;
|
|
7
|
+
multiPageOff?: boolean;
|
|
15
8
|
frameKWHLandscape?: number;
|
|
16
9
|
frameKWHPortrait?: number;
|
|
17
10
|
frameKWHDoublePageSpreadPortrait?: number;
|
|
18
11
|
frameKWHDoublePageSpreadLandscape?: number;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
frameOrientation?: number;
|
|
13
|
+
uvTorch?: boolean;
|
|
14
|
+
faceExt?: boolean;
|
|
15
|
+
seriesProcessMode?: boolean;
|
|
22
16
|
manualCrop?: boolean;
|
|
23
|
-
static fromJson(jsonObject?: any):
|
|
24
|
-
}
|
|
25
|
-
export declare class FaceMetaData {
|
|
26
|
-
ID?: number;
|
|
27
|
-
rollAngle?: number;
|
|
28
|
-
bounds?: Bounds;
|
|
29
|
-
static fromJson(jsonObject?: any): FaceMetaData | undefined;
|
|
30
|
-
}
|
|
31
|
-
export declare class Bounds {
|
|
32
|
-
x?: number;
|
|
33
|
-
y?: number;
|
|
34
|
-
width?: number;
|
|
35
|
-
height?: number;
|
|
36
|
-
static fromJson(jsonObject?: any): Bounds | undefined;
|
|
17
|
+
static fromJson(jsonObject?: any): DocumentReaderScenario | undefined;
|
|
37
18
|
}
|
|
38
19
|
export declare class Rect {
|
|
39
20
|
bottom?: number;
|
|
@@ -52,7 +33,7 @@ export declare class DocReaderFieldRect {
|
|
|
52
33
|
export declare class DocumentReaderGraphicField {
|
|
53
34
|
sourceType?: number;
|
|
54
35
|
fieldType?: number;
|
|
55
|
-
|
|
36
|
+
light?: number;
|
|
56
37
|
pageIndex?: number;
|
|
57
38
|
originalPageIndex?: number;
|
|
58
39
|
fieldName?: string;
|
|
@@ -154,8 +135,6 @@ export declare class DocumentReaderDocumentType {
|
|
|
154
135
|
static fromJson(jsonObject?: any): DocumentReaderDocumentType | undefined;
|
|
155
136
|
}
|
|
156
137
|
export declare class DocumentReaderNotification {
|
|
157
|
-
code?: number;
|
|
158
|
-
value?: number;
|
|
159
138
|
notificationCode?: number;
|
|
160
139
|
dataFileType?: number;
|
|
161
140
|
progress?: number;
|
|
@@ -303,8 +282,15 @@ export declare class RFIDSessionData {
|
|
|
303
282
|
accessControls?: AccessControlProcedureType[];
|
|
304
283
|
applications?: Application[];
|
|
305
284
|
securityObjects?: SecurityObject[];
|
|
285
|
+
dataGroups?: number[];
|
|
286
|
+
dataFields?: DataField[];
|
|
306
287
|
static fromJson(jsonObject?: any): RFIDSessionData | undefined;
|
|
307
288
|
}
|
|
289
|
+
export declare class DataField {
|
|
290
|
+
data?: string;
|
|
291
|
+
fieldType?: number;
|
|
292
|
+
static fromJson(jsonObject?: any): DataField | undefined;
|
|
293
|
+
}
|
|
308
294
|
export declare class DocumentReaderAuthenticityCheck {
|
|
309
295
|
type?: number;
|
|
310
296
|
status?: number;
|
|
@@ -347,7 +333,7 @@ export declare class DocumentReaderAuthenticityElement {
|
|
|
347
333
|
export declare class DocumentReaderCompletion {
|
|
348
334
|
action?: number;
|
|
349
335
|
results?: DocumentReaderResults;
|
|
350
|
-
error?:
|
|
336
|
+
error?: RegulaException;
|
|
351
337
|
static fromJson(jsonObject?: any): DocumentReaderCompletion | undefined;
|
|
352
338
|
}
|
|
353
339
|
export declare class RfidNotificationCompletion {
|
|
@@ -355,10 +341,10 @@ export declare class RfidNotificationCompletion {
|
|
|
355
341
|
value?: number;
|
|
356
342
|
static fromJson(jsonObject?: any): RfidNotificationCompletion | undefined;
|
|
357
343
|
}
|
|
358
|
-
export declare class
|
|
344
|
+
export declare class RegulaException {
|
|
359
345
|
errorCode?: number;
|
|
360
346
|
message?: string;
|
|
361
|
-
static fromJson(jsonObject?: any):
|
|
347
|
+
static fromJson(jsonObject?: any): RegulaException | undefined;
|
|
362
348
|
}
|
|
363
349
|
export declare class PKDCertificate {
|
|
364
350
|
binaryData?: string;
|
|
@@ -461,6 +447,7 @@ export declare class DocReaderDocumentsDatabase {
|
|
|
461
447
|
databaseDescription?: string;
|
|
462
448
|
countriesNumber?: number;
|
|
463
449
|
documentsNumber?: number;
|
|
450
|
+
size?: number;
|
|
464
451
|
static fromJson(jsonObject?: any): DocReaderDocumentsDatabase | undefined;
|
|
465
452
|
}
|
|
466
453
|
export declare class DocumentReaderComparison {
|
|
@@ -493,6 +480,71 @@ export declare class DocumentReaderValidity {
|
|
|
493
480
|
status?: number;
|
|
494
481
|
static fromJson(jsonObject?: any): DocumentReaderValidity | undefined;
|
|
495
482
|
}
|
|
483
|
+
export declare class FaceApiParams {
|
|
484
|
+
url?: string;
|
|
485
|
+
mode?: string;
|
|
486
|
+
searchParams?: Search;
|
|
487
|
+
threshold?: number;
|
|
488
|
+
serviceTimeout?: number;
|
|
489
|
+
proxy?: string;
|
|
490
|
+
proxyPassword?: string;
|
|
491
|
+
proxyType?: number;
|
|
492
|
+
static fromJson(jsonObject?: any): FaceApiParams | undefined;
|
|
493
|
+
}
|
|
494
|
+
export declare class Search {
|
|
495
|
+
limit?: number;
|
|
496
|
+
threshold?: number;
|
|
497
|
+
groupIds?: number[];
|
|
498
|
+
static fromJson(jsonObject?: any): Search | undefined;
|
|
499
|
+
}
|
|
500
|
+
export declare class ImageQA {
|
|
501
|
+
dpiThreshold?: number;
|
|
502
|
+
angleThreshold?: number;
|
|
503
|
+
focusCheck?: boolean;
|
|
504
|
+
glaresCheck?: boolean;
|
|
505
|
+
colornessCheck?: boolean;
|
|
506
|
+
moireCheck?: boolean;
|
|
507
|
+
expectedPass?: number[];
|
|
508
|
+
glaresCheckParams?: GlaresCheckParams;
|
|
509
|
+
documentPositionIndent?: number;
|
|
510
|
+
static fromJson(jsonObject?: any): ImageQA | undefined;
|
|
511
|
+
}
|
|
512
|
+
export declare class GlaresCheckParams {
|
|
513
|
+
imgMarginPart?: number;
|
|
514
|
+
maxGlaringPart?: number;
|
|
515
|
+
static fromJson(jsonObject?: any): GlaresCheckParams | undefined;
|
|
516
|
+
}
|
|
517
|
+
export declare class RFIDParams {
|
|
518
|
+
paIgnoreNotificationCodes?: number[];
|
|
519
|
+
static fromJson(jsonObject?: any): RFIDParams | undefined;
|
|
520
|
+
}
|
|
521
|
+
export declare class OnlineProcessingConfig {
|
|
522
|
+
mode?: number;
|
|
523
|
+
url?: string;
|
|
524
|
+
processParam?: any;
|
|
525
|
+
imageFormat?: number;
|
|
526
|
+
imageCompressionQuality?: number;
|
|
527
|
+
static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined;
|
|
528
|
+
}
|
|
529
|
+
export declare class ScannerConfig {
|
|
530
|
+
scenario?: string;
|
|
531
|
+
livePortrait?: string;
|
|
532
|
+
extPortrait?: string;
|
|
533
|
+
onlineProcessingConfig?: OnlineProcessingConfig;
|
|
534
|
+
cameraId?: number;
|
|
535
|
+
static fromJson(jsonObject?: any): ScannerConfig | undefined;
|
|
536
|
+
}
|
|
537
|
+
export declare class RecognizeConfig {
|
|
538
|
+
scenario?: string;
|
|
539
|
+
livePortrait?: string;
|
|
540
|
+
extPortrait?: string;
|
|
541
|
+
onlineProcessingConfig?: OnlineProcessingConfig;
|
|
542
|
+
image?: string;
|
|
543
|
+
oneShotIdentification?: boolean;
|
|
544
|
+
images?: string[];
|
|
545
|
+
imageInputData?: ImageInputData[];
|
|
546
|
+
static fromJson(jsonObject?: any): RecognizeConfig | undefined;
|
|
547
|
+
}
|
|
496
548
|
export declare class DocumentReaderResults {
|
|
497
549
|
videoCaptureSessionId?: string;
|
|
498
550
|
chipPage?: number;
|
|
@@ -518,52 +570,6 @@ export declare class DocumentReaderResults {
|
|
|
518
570
|
documentType?: DocumentReaderDocumentType[];
|
|
519
571
|
status?: DocumentReaderResultsStatus;
|
|
520
572
|
vdsncData?: VDSNCData;
|
|
521
|
-
/**
|
|
522
|
-
* @deprecated Use DocumentReader.textFieldValueBy...()
|
|
523
|
-
*/
|
|
524
|
-
getTextFieldValueByType({ fieldType, lcid, source, original }: {
|
|
525
|
-
fieldType: number;
|
|
526
|
-
lcid?: number;
|
|
527
|
-
source?: number;
|
|
528
|
-
original?: boolean;
|
|
529
|
-
}): string | undefined;
|
|
530
|
-
/**
|
|
531
|
-
* @deprecated
|
|
532
|
-
*/
|
|
533
|
-
getTextFieldStatusByType(fieldType: number, lcid?: number): number;
|
|
534
|
-
/**
|
|
535
|
-
* @deprecated Use DocumentReader.graphicFieldImageBy...()
|
|
536
|
-
*/
|
|
537
|
-
getGraphicFieldImageByType({ fieldType, source, light, pageIndex }: {
|
|
538
|
-
fieldType: number;
|
|
539
|
-
source?: number;
|
|
540
|
-
light?: number;
|
|
541
|
-
pageIndex?: number;
|
|
542
|
-
}): string | undefined;
|
|
543
|
-
/**
|
|
544
|
-
* @deprecated
|
|
545
|
-
*/
|
|
546
|
-
getQualityResult({ imageQualityCheckType, securityFeature, pageIndex }: {
|
|
547
|
-
imageQualityCheckType: number;
|
|
548
|
-
securityFeature?: number;
|
|
549
|
-
pageIndex?: number;
|
|
550
|
-
}): number;
|
|
551
|
-
/**
|
|
552
|
-
* @deprecated
|
|
553
|
-
*/
|
|
554
|
-
findByTypeAndLcid(type: number, lcid?: number): DocumentReaderTextField | undefined;
|
|
555
|
-
/**
|
|
556
|
-
* @deprecated
|
|
557
|
-
*/
|
|
558
|
-
findBySource(field: DocumentReaderTextField, sourceType: number): DocumentReaderValue | undefined;
|
|
559
|
-
/**
|
|
560
|
-
* @deprecated Use DocumentReader.containers()
|
|
561
|
-
*/
|
|
562
|
-
getContainers(resultTypes: number[]): string | undefined;
|
|
563
|
-
/**
|
|
564
|
-
* @deprecated Use DocumentReader.encryptedContainers()
|
|
565
|
-
*/
|
|
566
|
-
getEncryptedContainers(): string | undefined;
|
|
567
573
|
static fromJson(jsonObject?: any): DocumentReaderResults | undefined;
|
|
568
574
|
}
|
|
569
575
|
export declare const FontStyle: {
|
|
@@ -594,7 +600,6 @@ export declare const eRPRM_Authenticity: {
|
|
|
594
600
|
OVI: number;
|
|
595
601
|
LIVENESS: number;
|
|
596
602
|
OCR: number;
|
|
597
|
-
UV: number;
|
|
598
603
|
};
|
|
599
604
|
export declare const eRFID_ErrorCodes: {
|
|
600
605
|
RFID_ERROR_NO_ERROR: number;
|
|
@@ -898,7 +903,10 @@ export declare const eRPRM_ResultType: {
|
|
|
898
903
|
RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
|
|
899
904
|
RPRM_RESULT_TYPE_BARCODE_POSITION: number;
|
|
900
905
|
RPRM_RESULT_TYPE_MRZ_POSITION: number;
|
|
906
|
+
RPRM_RESULT_TYPE_LIVE_PORTRAIT: number;
|
|
901
907
|
RPRM_RESULT_TYPE_STATUS: number;
|
|
908
|
+
RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
|
|
909
|
+
RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
|
|
902
910
|
};
|
|
903
911
|
export declare const CameraTypes: {
|
|
904
912
|
FRONT: string;
|
|
@@ -965,6 +973,40 @@ export declare const eRFID_AuthenticationProcedureType: {
|
|
|
965
973
|
aptAdvanced: number;
|
|
966
974
|
aptGeneral: number;
|
|
967
975
|
};
|
|
976
|
+
export declare const DocumentReaderErrorCodes: {
|
|
977
|
+
INITIALIZATION_CORE_ABSENT: number;
|
|
978
|
+
INITIALIZATION_FAILED: number;
|
|
979
|
+
INCORRECT_SCENARIO: number;
|
|
980
|
+
NO_RESULT: number;
|
|
981
|
+
REMOVE_DATABASE: number;
|
|
982
|
+
FETCHING_DATABASE: number;
|
|
983
|
+
DB_ID_NOT_FOUND: number;
|
|
984
|
+
DB_DESCRIPTION_NOT_FOUND: number;
|
|
985
|
+
SAVE_DB: number;
|
|
986
|
+
DOWNLOAD_DB_INCORRECT_CHECKSUM: number;
|
|
987
|
+
DB_DOWNLOAD: number;
|
|
988
|
+
LICENSE_ABSENT_OR_CORRUPTED: number;
|
|
989
|
+
LICENSE_INVALID_DATE: number;
|
|
990
|
+
LICENSE_INVALID_VERSION: number;
|
|
991
|
+
LICENSE_INVALID_DEVICE_ID: number;
|
|
992
|
+
LICENSE_INVALID_SYSTEM_OR_APP_ID: number;
|
|
993
|
+
LICENSE_NO_CAPABILITIES: number;
|
|
994
|
+
LICENSE_NO_AUTHENTICITY: number;
|
|
995
|
+
RECORD_PROCESS_INVALID_OUTPUT_URL: number;
|
|
996
|
+
LICENSE_ONLINE_ERROR: number;
|
|
997
|
+
LICENSE_NO_DATABASE: number;
|
|
998
|
+
LICENSE_DATABASE_INCORRECT: number;
|
|
999
|
+
INVALID_TCC_PARAMS: number;
|
|
1000
|
+
RFID_IN_PROGRESS: number;
|
|
1001
|
+
NATIVE_JAVA_EXCEPTION: number;
|
|
1002
|
+
BACKEND_ONLINE_PROCESSING: number;
|
|
1003
|
+
WRONG_INPUT: number;
|
|
1004
|
+
STATE_EXCEPTION: number;
|
|
1005
|
+
BLE_EXCEPTION: number;
|
|
1006
|
+
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
|
|
1007
|
+
APP_BACKGROUND: number;
|
|
1008
|
+
ONLINE_PROCESSING_WRONG_INPUT: number;
|
|
1009
|
+
};
|
|
968
1010
|
export declare const ScenarioIdentifier: {
|
|
969
1011
|
SCENARIO_MRZ: string;
|
|
970
1012
|
SCENARIO_BARCODE: string;
|
|
@@ -1162,6 +1204,7 @@ export declare const eCheckDiagnose: {
|
|
|
1162
1204
|
BARCODE_DATA_FORMAT_ERROR: number;
|
|
1163
1205
|
BARCODE_SIZE_PARAMS_ERROR: number;
|
|
1164
1206
|
NOT_ALL_BARCODES_READ: number;
|
|
1207
|
+
GLARES_IN_BARCODE_AREA: number;
|
|
1165
1208
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
|
|
1166
1209
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
|
|
1167
1210
|
PORTRAIT_COMPARISON_SERVICE_ERROR: number;
|
|
@@ -1191,8 +1234,9 @@ export declare const eCheckDiagnose: {
|
|
|
1191
1234
|
OCR_QUALITY_INVALID_FONT: number;
|
|
1192
1235
|
OCR_QUALITY_INVALID_BACKGROUND: number;
|
|
1193
1236
|
LAS_INK_INVALID_LINES_FREQUENCY: number;
|
|
1194
|
-
LAST_DIAGNOSE_VALUE: number;
|
|
1195
1237
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
|
|
1238
|
+
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
|
|
1239
|
+
LAST_DIAGNOSE_VALUE: number;
|
|
1196
1240
|
};
|
|
1197
1241
|
export declare const RFIDDelegate: {
|
|
1198
1242
|
NULL: number;
|
|
@@ -1487,9 +1531,10 @@ export declare const BarcodeType: {
|
|
|
1487
1531
|
DATAMATRIX: number;
|
|
1488
1532
|
ALL_1D: number;
|
|
1489
1533
|
CODE11: number;
|
|
1534
|
+
JABCODE: number;
|
|
1490
1535
|
};
|
|
1491
1536
|
export declare const eRPRM_SecurityFeatureType: {
|
|
1492
|
-
|
|
1537
|
+
NONE: number;
|
|
1493
1538
|
SECURITY_FEATURE_TYPE_BLANK: number;
|
|
1494
1539
|
SECURITY_FEATURE_TYPE_FILL: number;
|
|
1495
1540
|
SECURITY_FEATURE_TYPE_PHOTO: number;
|
|
@@ -1534,6 +1579,7 @@ export declare const eRPRM_SecurityFeatureType: {
|
|
|
1534
1579
|
SECURITY_FEATURE_TYPE_BARCODE_SIZE_CHECK: number;
|
|
1535
1580
|
SECURITY_FEATURE_TYPE_LAS_INK: number;
|
|
1536
1581
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: number;
|
|
1582
|
+
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: number;
|
|
1537
1583
|
};
|
|
1538
1584
|
export declare const OnlineMode: {
|
|
1539
1585
|
MANUAL: number;
|
|
@@ -2548,6 +2594,20 @@ export declare const eVisualFieldType: {
|
|
|
2548
2594
|
FT_DLCLASSCODE_EC1_NOTES: number;
|
|
2549
2595
|
FT_DLCLASSCODE_EC1_TO: number;
|
|
2550
2596
|
FT_PLACE_OF_BIRTH_CITY: number;
|
|
2597
|
+
FT_YEAR_OF_BIRTH: number;
|
|
2598
|
+
FT_YEAR_OF_EXPIRY: number;
|
|
2599
|
+
FT_GRANDFATHER_NAME_MATERNAL: number;
|
|
2600
|
+
FT_FIRST_SURNAME: number;
|
|
2601
|
+
FT_MONTH_OF_BIRTH: number;
|
|
2602
|
+
FT_ADDRESS_FLOOR_NUMBER: number;
|
|
2603
|
+
FT_ADDRESS_ENTRANCE: number;
|
|
2604
|
+
FT_ADDRESS_BLOCK_NUMBER: number;
|
|
2605
|
+
FT_ADDRESS_STREET_NUMBER: number;
|
|
2606
|
+
FT_ADDRESS_STREET_TYPE: number;
|
|
2607
|
+
FT_ADDRESS_CITY_SECTOR: number;
|
|
2608
|
+
FT_ADDRESS_COUNTY_TYPE: number;
|
|
2609
|
+
FT_ADDRESS_CITY_TYPE: number;
|
|
2610
|
+
FT_ADDRESS_BUILDING_TYPE: number;
|
|
2551
2611
|
};
|
|
2552
2612
|
export declare const DocReaderOrientation: {
|
|
2553
2613
|
ALL: number;
|
|
@@ -2810,7 +2870,6 @@ export declare const Enum: {
|
|
|
2810
2870
|
OVI: number;
|
|
2811
2871
|
LIVENESS: number;
|
|
2812
2872
|
OCR: number;
|
|
2813
|
-
UV: number;
|
|
2814
2873
|
};
|
|
2815
2874
|
eRFID_ErrorCodes: {
|
|
2816
2875
|
RFID_ERROR_NO_ERROR: number;
|
|
@@ -3114,7 +3173,10 @@ export declare const Enum: {
|
|
|
3114
3173
|
RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: number;
|
|
3115
3174
|
RPRM_RESULT_TYPE_BARCODE_POSITION: number;
|
|
3116
3175
|
RPRM_RESULT_TYPE_MRZ_POSITION: number;
|
|
3176
|
+
RPRM_RESULT_TYPE_LIVE_PORTRAIT: number;
|
|
3117
3177
|
RPRM_RESULT_TYPE_STATUS: number;
|
|
3178
|
+
RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: number;
|
|
3179
|
+
RPRM_RESULT_TYPE_EXT_PORTRAIT: number;
|
|
3118
3180
|
};
|
|
3119
3181
|
CameraTypes: {
|
|
3120
3182
|
FRONT: string;
|
|
@@ -3181,6 +3243,40 @@ export declare const Enum: {
|
|
|
3181
3243
|
aptAdvanced: number;
|
|
3182
3244
|
aptGeneral: number;
|
|
3183
3245
|
};
|
|
3246
|
+
DocumentReaderErrorCodes: {
|
|
3247
|
+
INITIALIZATION_CORE_ABSENT: number;
|
|
3248
|
+
INITIALIZATION_FAILED: number;
|
|
3249
|
+
INCORRECT_SCENARIO: number;
|
|
3250
|
+
NO_RESULT: number;
|
|
3251
|
+
REMOVE_DATABASE: number;
|
|
3252
|
+
FETCHING_DATABASE: number;
|
|
3253
|
+
DB_ID_NOT_FOUND: number;
|
|
3254
|
+
DB_DESCRIPTION_NOT_FOUND: number;
|
|
3255
|
+
SAVE_DB: number;
|
|
3256
|
+
DOWNLOAD_DB_INCORRECT_CHECKSUM: number;
|
|
3257
|
+
DB_DOWNLOAD: number;
|
|
3258
|
+
LICENSE_ABSENT_OR_CORRUPTED: number;
|
|
3259
|
+
LICENSE_INVALID_DATE: number;
|
|
3260
|
+
LICENSE_INVALID_VERSION: number;
|
|
3261
|
+
LICENSE_INVALID_DEVICE_ID: number;
|
|
3262
|
+
LICENSE_INVALID_SYSTEM_OR_APP_ID: number;
|
|
3263
|
+
LICENSE_NO_CAPABILITIES: number;
|
|
3264
|
+
LICENSE_NO_AUTHENTICITY: number;
|
|
3265
|
+
RECORD_PROCESS_INVALID_OUTPUT_URL: number;
|
|
3266
|
+
LICENSE_ONLINE_ERROR: number;
|
|
3267
|
+
LICENSE_NO_DATABASE: number;
|
|
3268
|
+
LICENSE_DATABASE_INCORRECT: number;
|
|
3269
|
+
INVALID_TCC_PARAMS: number;
|
|
3270
|
+
RFID_IN_PROGRESS: number;
|
|
3271
|
+
NATIVE_JAVA_EXCEPTION: number;
|
|
3272
|
+
BACKEND_ONLINE_PROCESSING: number;
|
|
3273
|
+
WRONG_INPUT: number;
|
|
3274
|
+
STATE_EXCEPTION: number;
|
|
3275
|
+
BLE_EXCEPTION: number;
|
|
3276
|
+
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED: number;
|
|
3277
|
+
APP_BACKGROUND: number;
|
|
3278
|
+
ONLINE_PROCESSING_WRONG_INPUT: number;
|
|
3279
|
+
};
|
|
3184
3280
|
ScenarioIdentifier: {
|
|
3185
3281
|
SCENARIO_MRZ: string;
|
|
3186
3282
|
SCENARIO_BARCODE: string;
|
|
@@ -3378,6 +3474,7 @@ export declare const Enum: {
|
|
|
3378
3474
|
BARCODE_DATA_FORMAT_ERROR: number;
|
|
3379
3475
|
BARCODE_SIZE_PARAMS_ERROR: number;
|
|
3380
3476
|
NOT_ALL_BARCODES_READ: number;
|
|
3477
|
+
GLARES_IN_BARCODE_AREA: number;
|
|
3381
3478
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: number;
|
|
3382
3479
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: number;
|
|
3383
3480
|
PORTRAIT_COMPARISON_SERVICE_ERROR: number;
|
|
@@ -3407,8 +3504,9 @@ export declare const Enum: {
|
|
|
3407
3504
|
OCR_QUALITY_INVALID_FONT: number;
|
|
3408
3505
|
OCR_QUALITY_INVALID_BACKGROUND: number;
|
|
3409
3506
|
LAS_INK_INVALID_LINES_FREQUENCY: number;
|
|
3410
|
-
LAST_DIAGNOSE_VALUE: number;
|
|
3411
3507
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: number;
|
|
3508
|
+
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: number;
|
|
3509
|
+
LAST_DIAGNOSE_VALUE: number;
|
|
3412
3510
|
};
|
|
3413
3511
|
RFIDDelegate: {
|
|
3414
3512
|
NULL: number;
|
|
@@ -3703,9 +3801,10 @@ export declare const Enum: {
|
|
|
3703
3801
|
DATAMATRIX: number;
|
|
3704
3802
|
ALL_1D: number;
|
|
3705
3803
|
CODE11: number;
|
|
3804
|
+
JABCODE: number;
|
|
3706
3805
|
};
|
|
3707
3806
|
eRPRM_SecurityFeatureType: {
|
|
3708
|
-
|
|
3807
|
+
NONE: number;
|
|
3709
3808
|
SECURITY_FEATURE_TYPE_BLANK: number;
|
|
3710
3809
|
SECURITY_FEATURE_TYPE_FILL: number;
|
|
3711
3810
|
SECURITY_FEATURE_TYPE_PHOTO: number;
|
|
@@ -3750,6 +3849,7 @@ export declare const Enum: {
|
|
|
3750
3849
|
SECURITY_FEATURE_TYPE_BARCODE_SIZE_CHECK: number;
|
|
3751
3850
|
SECURITY_FEATURE_TYPE_LAS_INK: number;
|
|
3752
3851
|
SECURITY_FEATURE_TYPE_LIVENESS_MLI: number;
|
|
3852
|
+
SECURITY_FEATURE_TYPE_LIVENESS_BARCODE_BACKGROUND: number;
|
|
3753
3853
|
};
|
|
3754
3854
|
OnlineMode: {
|
|
3755
3855
|
MANUAL: number;
|
|
@@ -4764,6 +4864,20 @@ export declare const Enum: {
|
|
|
4764
4864
|
FT_DLCLASSCODE_EC1_NOTES: number;
|
|
4765
4865
|
FT_DLCLASSCODE_EC1_TO: number;
|
|
4766
4866
|
FT_PLACE_OF_BIRTH_CITY: number;
|
|
4867
|
+
FT_YEAR_OF_BIRTH: number;
|
|
4868
|
+
FT_YEAR_OF_EXPIRY: number;
|
|
4869
|
+
FT_GRANDFATHER_NAME_MATERNAL: number;
|
|
4870
|
+
FT_FIRST_SURNAME: number;
|
|
4871
|
+
FT_MONTH_OF_BIRTH: number;
|
|
4872
|
+
FT_ADDRESS_FLOOR_NUMBER: number;
|
|
4873
|
+
FT_ADDRESS_ENTRANCE: number;
|
|
4874
|
+
FT_ADDRESS_BLOCK_NUMBER: number;
|
|
4875
|
+
FT_ADDRESS_STREET_NUMBER: number;
|
|
4876
|
+
FT_ADDRESS_STREET_TYPE: number;
|
|
4877
|
+
FT_ADDRESS_CITY_SECTOR: number;
|
|
4878
|
+
FT_ADDRESS_COUNTY_TYPE: number;
|
|
4879
|
+
FT_ADDRESS_CITY_TYPE: number;
|
|
4880
|
+
FT_ADDRESS_BUILDING_TYPE: number;
|
|
4767
4881
|
};
|
|
4768
4882
|
DocReaderOrientation: {
|
|
4769
4883
|
ALL: number;
|
|
@@ -5151,6 +5265,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5151
5265
|
*
|
|
5152
5266
|
* @return {Promise<any>} Returns a promise
|
|
5153
5267
|
*/
|
|
5268
|
+
/**
|
|
5269
|
+
* @deprecated
|
|
5270
|
+
*/
|
|
5154
5271
|
showScanner(): Observable<any>;
|
|
5155
5272
|
/**
|
|
5156
5273
|
* Use this method to indicate than the processing of the next page is started
|
|
@@ -5323,18 +5440,28 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5323
5440
|
*/
|
|
5324
5441
|
checkDatabaseUpdate(databaseId: any): Promise<any>;
|
|
5325
5442
|
/**
|
|
5326
|
-
* Use this method to
|
|
5443
|
+
* Use this method to open the camera preview which will pass frames for recognition and return results in the completion block when they are ready
|
|
5444
|
+
*
|
|
5445
|
+
* @param {object} config ScannerConfig
|
|
5446
|
+
* @return {Promise<any>} Returns a promise
|
|
5447
|
+
*/
|
|
5448
|
+
scan(config: any): Observable<any>;
|
|
5449
|
+
/**
|
|
5450
|
+
* Use this method to recognize images
|
|
5327
5451
|
*
|
|
5328
|
-
* @param {
|
|
5452
|
+
* @param {object} config RecognizeConfig
|
|
5329
5453
|
* @return {Promise<any>} Returns a promise
|
|
5330
5454
|
*/
|
|
5331
|
-
|
|
5455
|
+
recognize(config: any): Observable<any>;
|
|
5332
5456
|
/**
|
|
5333
5457
|
* Use this method to recognize images
|
|
5334
5458
|
*
|
|
5335
5459
|
* @param {string[]} images Array of strings that are base64 representations of images
|
|
5336
5460
|
* @return {Promise<any>} Returns a promise
|
|
5337
5461
|
*/
|
|
5462
|
+
/**
|
|
5463
|
+
* @deprecated
|
|
5464
|
+
*/
|
|
5338
5465
|
recognizeImages(images: any): Observable<any>;
|
|
5339
5466
|
/**
|
|
5340
5467
|
* Use this method to open the camera preview with the desired camera ID which will pass frames for recognition and return results in the completion block when they are ready
|
|
@@ -5342,6 +5469,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5342
5469
|
* @param {number} cameraID
|
|
5343
5470
|
* @return {Promise<any>} Returns a promise
|
|
5344
5471
|
*/
|
|
5472
|
+
/**
|
|
5473
|
+
* @deprecated
|
|
5474
|
+
*/
|
|
5345
5475
|
showScannerWithCameraID(cameraID: any): Observable<any>;
|
|
5346
5476
|
/**
|
|
5347
5477
|
* Use this method for getting always the latest version of the database
|
|
@@ -5397,6 +5527,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5397
5527
|
* @param {string} image Image`s base64 representation
|
|
5398
5528
|
* @return {Promise<any>} Returns a promise
|
|
5399
5529
|
*/
|
|
5530
|
+
/**
|
|
5531
|
+
* @deprecated
|
|
5532
|
+
*/
|
|
5400
5533
|
recognizeImage(image: any): Observable<any>;
|
|
5401
5534
|
/**
|
|
5402
5535
|
* Use this method to recognize an image using byte array
|
|
@@ -5404,6 +5537,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5404
5537
|
* @param {byte[]} data Image`s byte[] representation
|
|
5405
5538
|
* @return {Promise<any>} Returns a promise
|
|
5406
5539
|
*/
|
|
5540
|
+
/**
|
|
5541
|
+
* @deprecated
|
|
5542
|
+
*/
|
|
5407
5543
|
recognizeData(data: any): Observable<any>;
|
|
5408
5544
|
/**
|
|
5409
5545
|
* Use this method to set an RFID session status
|
|
@@ -5470,6 +5606,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5470
5606
|
* value - any
|
|
5471
5607
|
* @return {Promise<any>} Returns a promise
|
|
5472
5608
|
*/
|
|
5609
|
+
/**
|
|
5610
|
+
* @deprecated
|
|
5611
|
+
*/
|
|
5473
5612
|
recognizeImageWithOpts(image: any, options: any): Observable<any>;
|
|
5474
5613
|
/**
|
|
5475
5614
|
* Use this method to recognize a stream of frames
|
|
@@ -5491,6 +5630,9 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5491
5630
|
* value - any
|
|
5492
5631
|
* @return {Promise<any>} Returns a promise
|
|
5493
5632
|
*/
|
|
5633
|
+
/**
|
|
5634
|
+
* @deprecated
|
|
5635
|
+
*/
|
|
5494
5636
|
showScannerWithCameraIDAndOpts(cameraID: any, options: any): Observable<any>;
|
|
5495
5637
|
/**
|
|
5496
5638
|
* Use this method to recognize a stream of frames
|
|
@@ -5506,14 +5648,10 @@ export declare class DocumentReader extends AwesomeCordovaNativePlugin {
|
|
|
5506
5648
|
* @param {ImageInputData[]} images array of ImageInputData objects
|
|
5507
5649
|
* @return {Promise<any>} Returns a promise
|
|
5508
5650
|
*/
|
|
5509
|
-
recognizeImagesWithImageInputs(images: any): Promise<any>;
|
|
5510
5651
|
/**
|
|
5511
|
-
*
|
|
5512
|
-
* for buttons from UICustomizationLayer
|
|
5513
|
-
*
|
|
5514
|
-
* @return {Promise<any>} Returns a promise
|
|
5652
|
+
* @deprecated
|
|
5515
5653
|
*/
|
|
5516
|
-
|
|
5654
|
+
recognizeImagesWithImageInputs(images: any): Promise<any>;
|
|
5517
5655
|
/**
|
|
5518
5656
|
* description
|
|
5519
5657
|
*
|