@regulaforensics/document-reader-webclient 9.8.1056-nightly → 9.8.1058-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.d.ts CHANGED
@@ -1272,137 +1272,533 @@ export declare interface CertificateData {
1272
1272
  * @enum {number}
1273
1273
  */
1274
1274
  export declare enum CheckDiagnose {
1275
+ /**
1276
+ * Check was not performed
1277
+ */
1275
1278
  UNKNOWN = 0,
1279
+ /**
1280
+ * Check was OK
1281
+ */
1276
1282
  PASS = 1,
1283
+ /**
1284
+ * Invalid input data
1285
+ */
1277
1286
  INVALID_INPUT_DATA = 2,
1287
+ /**
1288
+ * Internal error in module
1289
+ */
1278
1290
  INTERNAL_ERROR = 3,
1291
+ /**
1292
+ * Exception caught
1293
+ */
1279
1294
  EXCEPTION_IN_MODULE = 4,
1295
+ /**
1296
+ * Can't make reliable decision
1297
+ */
1280
1298
  UNCERTAIN_VERIFICATION = 5,
1299
+ /**
1300
+ * Image in necessary light was not found
1301
+ */
1281
1302
  NECESSARY_IMAGE_NOT_FOUND = 7,
1303
+ /**
1304
+ * Necessary side of photo was not found
1305
+ */
1282
1306
  PHOTO_SIDES_NOT_FOUND = 8,
1307
+ /**
1308
+ * Invalid checksum
1309
+ */
1283
1310
  INVALID_CHECKSUM = 10,
1311
+ /**
1312
+ * Syntactical error
1313
+ */
1284
1314
  SYNTAX_ERROR = 11,
1315
+ /**
1316
+ * Logical error
1317
+ */
1285
1318
  LOGIC_ERROR = 12,
1319
+ /**
1320
+ * Comparison was incorrect
1321
+ */
1286
1322
  SOURCES_COMPARISON_ERROR = 13,
1323
+ /**
1324
+ * Logical error, e.g. the current date is less than issue date
1325
+ */
1287
1326
  FIELDS_COMPARISON_LOGIC_ERROR = 14,
1327
+ /**
1328
+ * Wrong field format
1329
+ */
1288
1330
  INVALID_FIELD_FORMAT = 15,
1331
+ /**
1332
+ * Element of the luminescense in the UV does not meet the standard
1333
+ */
1289
1334
  TRUE_LUMINESCENCE_ERROR = 20,
1335
+ /**
1336
+ * The presence of excess luminescence in UV
1337
+ */
1290
1338
  FALSE_LUMINESCENCE_ERROR = 21,
1339
+ /**
1340
+ * Pattern does not match the standard
1341
+ */
1291
1342
  FIXED_PATTERN_ERROR = 22,
1343
+ /**
1344
+ * Low contrast of object in transmitted IR light
1345
+ */
1292
1346
  LOW_CONTRAST_IN_IR_LIGHT = 23,
1347
+ /**
1348
+ * Background of page is too light or has invalid color
1349
+ */
1293
1350
  INCORRECT_BACKGROUND_LIGHT = 24,
1351
+ /**
1352
+ * Background lightness of two pages is different
1353
+ */
1294
1354
  BACKGROUND_COMPARISON_ERROR = 25,
1355
+ /**
1356
+ * Text has incorrect color of luminescence in UV light
1357
+ */
1295
1358
  INCORRECT_TEXT_COLOR = 26,
1359
+ /**
1360
+ * Invalid luminescence in photo area
1361
+ */
1296
1362
  PHOTO_FALSE_LUMINESCENCE = 27,
1363
+ /**
1364
+ * Object is too shifted from standard coordinates
1365
+ */
1297
1366
  TOO_MUCH_SHIFT = 28,
1367
+ /**
1368
+ * Contact chip type mismatch
1369
+ */
1298
1370
  CONTACT_CHIP_TYPE_MISMATCH = 29,
1371
+ /**
1372
+ * No protective fibers were found in UV
1373
+ */
1299
1374
  FIBERS_NOT_FOUND = 30,
1375
+ /**
1376
+ * Error finding fibers, too many objects
1377
+ */
1300
1378
  TOO_MANY_OBJECTS = 31,
1379
+ /**
1380
+ * Speck or exposure in UV image
1381
+ */
1301
1382
  SPECKS_IN_UV = 33,
1383
+ /**
1384
+ * Resolution too low for fibers search
1385
+ */
1302
1386
  TOO_LOW_RESOLUTION = 34,
1387
+ /**
1388
+ * Erroneous visibility of the element in IR
1389
+ */
1303
1390
  INVISIBLE_ELEMENT_PRESENT = 40,
1391
+ /**
1392
+ * Element is absent in IR
1393
+ */
1304
1394
  VISIBLE_ELEMENT_ABSENT = 41,
1395
+ /**
1396
+ * Element should be in color
1397
+ */
1305
1398
  ELEMENT_SHOULD_BE_COLORED = 42,
1399
+ /**
1400
+ * Element should be in grayscale
1401
+ */
1306
1402
  ELEMENT_SHOULD_BE_GRAYSCALE = 43,
1403
+ /**
1404
+ * Photo white IR do not match
1405
+ */
1307
1406
  PHOTO_WHITE_IR_DONT_MATCH = 44,
1407
+ /**
1408
+ * Glow paper in MRZ
1409
+ */
1308
1410
  UV_DULL_PAPER_MRZ = 50,
1411
+ /**
1412
+ * Luminescence characters in MRZ
1413
+ */
1309
1414
  FALSE_LUMINESCENCE_IN_MRZ = 51,
1415
+ /**
1416
+ * Glow in the field of photo paper
1417
+ */
1310
1418
  UV_DULL_PAPER_PHOTO = 52,
1419
+ /**
1420
+ * Glow of the whole paper form
1421
+ */
1311
1422
  UV_DULL_PAPER_BLANK = 53,
1423
+ /**
1424
+ * Glow of the document in UV
1425
+ */
1312
1426
  UV_DULL_PAPER_ERROR = 54,
1427
+ /**
1428
+ * Element of blank has luminescence
1429
+ */
1313
1430
  FALSE_LUMINESCENCE_IN_BLANK = 55,
1431
+ /**
1432
+ * Violation of the retro-reflective protection
1433
+ */
1314
1434
  BAD_AREA_IN_AXIAL = 60,
1435
+ /**
1436
+ * Invalid params for IPI check
1437
+ */
1315
1438
  FALSE_IPI_PARAMETERS = 65,
1439
+ /**
1440
+ * Encrypted IPI not found, information not decoded
1441
+ */
1316
1442
  ENCRYPTED_IPI_NOT_FOUND = 66,
1443
+ /**
1444
+ * Decoded data don't match to other data sources
1445
+ */
1317
1446
  ENCRYPTED_IPI_DATA_DONT_MATCH = 67,
1447
+ /**
1448
+ * IR image too bright
1449
+ */
1318
1450
  FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80,
1451
+ /**
1452
+ * Glares in photo area
1453
+ */
1319
1454
  FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = 81,
1455
+ /**
1456
+ * Photo replaced
1457
+ */
1320
1458
  FIELD_POS_CORRECTOR_PHOTO_REPLACED = 82,
1459
+ /**
1460
+ * Landmarks check error
1461
+ */
1321
1462
  FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR = 83,
1463
+ /**
1464
+ * Face presence check error
1465
+ */
1322
1466
  FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = 84,
1467
+ /**
1468
+ * Face absence check error
1469
+ */
1323
1470
  FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85,
1471
+ /**
1472
+ * Incorrect head position
1473
+ */
1324
1474
  FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION = 86,
1475
+ /**
1476
+ * Age check error
1477
+ */
1325
1478
  FIELD_POS_CORRECTOR_AGE_CHECK_ERROR = 87,
1479
+ /**
1480
+ * Sex check error
1481
+ */
1326
1482
  FIELD_POS_CORRECTOR_SEX_CHECK_ERROR = 88,
1483
+ /**
1484
+ * OVI object is not visible in IR
1485
+ */
1327
1486
  OVI_IR_INVISIBLE = 90,
1487
+ /**
1488
+ * Insufficient area of the object OVI
1489
+ */
1328
1490
  OVI_INSUFFICIENT_AREA = 91,
1491
+ /**
1492
+ * OVI color of an object does not change
1493
+ */
1329
1494
  OVI_COLOR_INVARIABLE = 92,
1495
+ /**
1496
+ * Impossible to determine the color of the AXIAL image
1497
+ */
1330
1498
  OVI_BAD_COLOR_FRONT = 93,
1499
+ /**
1500
+ * Impossible to determine the color of the WHITE image
1501
+ */
1331
1502
  OVI_BAD_COLOR_SIDE = 94,
1503
+ /**
1504
+ * Wide color spread
1505
+ */
1332
1506
  OVI_WIDE_COLOR_SPREAD = 95,
1507
+ /**
1508
+ * Not enough color information
1509
+ */
1333
1510
  OVI_BAD_COLOR_PERCENT = 96,
1511
+ /**
1512
+ * Hologram element absent
1513
+ */
1334
1514
  HOLOGRAM_ELEMENT_ABSENT = 100,
1515
+ /**
1516
+ * There are no side or top images. Check cancelled
1517
+ */
1335
1518
  HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101,
1519
+ /**
1520
+ * Hologram element present
1521
+ */
1336
1522
  HOLOGRAM_ELEMENT_PRESENT = 102,
1523
+ /**
1524
+ * Hologram frames is absent
1525
+ */
1337
1526
  HOLOGRAM_FRAMES_IS_ABSENT = 103,
1527
+ /**
1528
+ * Hologram holo field is absent
1529
+ */
1338
1530
  HOLOGRAM_HOLO_FIELD_IS_ABSENT = 104,
1531
+ /**
1532
+ * Pattern is interrupted
1533
+ */
1339
1534
  PHOTO_PATTERN_INTERRUPTED = 110,
1535
+ /**
1536
+ * Some of the patterns are shifted relative to each other
1537
+ */
1340
1538
  PHOTO_PATTERN_SHIFTED = 111,
1539
+ /**
1540
+ * Some parts of the pattern have different color
1541
+ */
1341
1542
  PHOTO_PATTERN_DIFFERENT_COLORS = 112,
1543
+ /**
1544
+ * Pattern visible in the infrared
1545
+ */
1342
1546
  PHOTO_PATTERN_IR_VISIBLE = 113,
1547
+ /**
1548
+ * Edge of the photo does not intersect with the pattern. Check cancelled
1549
+ */
1343
1550
  PHOTO_PATTERN_NOT_INTERSECT = 114,
1551
+ /**
1552
+ * Size of the photo does not correspond to requirements
1553
+ */
1344
1554
  PHOTO_SIZE_IS_WRONG = 115,
1555
+ /**
1556
+ * Some parts of the pattern have invalid color
1557
+ */
1345
1558
  PHOTO_PATTERN_INVALID_COLOR = 116,
1559
+ /**
1560
+ * Some patterns are relatively shifted
1561
+ */
1346
1562
  PHOTO_PATTERN_SHIFTED_VERT = 117,
1563
+ /**
1564
+ * Not found pattern, check cancelled
1565
+ */
1347
1566
  PHOTO_PATTERN_PATTERN_NOT_FOUND = 118,
1567
+ /**
1568
+ * Different lines thickness
1569
+ */
1348
1570
  PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119,
1571
+ /**
1572
+ * Photo shape is not rectangular
1573
+ */
1349
1574
  PHOTO_IS_NOT_RECTANGLE = 120,
1575
+ /**
1576
+ * Photo corners don't satisfy the requirements
1577
+ */
1350
1578
  PHOTO_CORNERS_IS_WRONG = 121,
1579
+ /**
1580
+ * For internal use
1581
+ */
1351
1582
  DOCUMENT_IS_CANCELLING = 122,
1583
+ /**
1584
+ * Text color should be blue
1585
+ */
1352
1586
  TEXT_COLOR_SHOULD_BE_BLUE = 130,
1587
+ /**
1588
+ * Text color should be green
1589
+ */
1353
1590
  TEXT_COLOR_SHOULD_BE_GREEN = 131,
1591
+ /**
1592
+ * Text color should be red
1593
+ */
1354
1594
  TEXT_COLOR_SHOULD_BE_RED = 132,
1595
+ /**
1596
+ * Text should be black
1597
+ */
1355
1598
  TEXT_SHOULD_BE_BLACK = 133,
1599
+ /**
1600
+ * Security text is absent
1601
+ */
1356
1602
  TEXT_IS_ABSENT = 134,
1603
+ /**
1604
+ * Barcode read with errors
1605
+ */
1357
1606
  BARCODE_WAS_READ_WITH_ERRORS = 140,
1607
+ /**
1608
+ * Barcode data format error
1609
+ */
1358
1610
  BARCODE_DATA_FORMAT_ERROR = 141,
1611
+ /**
1612
+ * Barcode size parameters error
1613
+ */
1359
1614
  BARCODE_SIZE_PARAMS_ERROR = 142,
1615
+ /**
1616
+ * This document should contain more barcodes
1617
+ */
1360
1618
  NOT_ALL_BARCODES_READ = 143,
1619
+ /**
1620
+ * Glares in barcode area
1621
+ */
1361
1622
  GLARES_IN_BARCODE_AREA = 144,
1623
+ /**
1624
+ * No certificate for digital signature check
1625
+ */
1362
1626
  NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK = 145,
1627
+ /**
1628
+ * The portraits do not match
1629
+ */
1363
1630
  PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150,
1631
+ /**
1632
+ * The service does not respond
1633
+ */
1364
1634
  PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151,
1635
+ /**
1636
+ * Service error
1637
+ */
1365
1638
  PORTRAIT_COMPARISON_SERVICE_ERROR = 152,
1639
+ /**
1640
+ * Not enough images
1641
+ */
1366
1642
  PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153,
1643
+ /**
1644
+ * There is no camera image
1645
+ */
1367
1646
  PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154,
1647
+ /**
1648
+ * There is no license for the service
1649
+ */
1368
1650
  PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155,
1651
+ /**
1652
+ * No portraits detected
1653
+ */
1369
1654
  PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = 156,
1655
+ /**
1656
+ * Unsuitable light conditions
1657
+ */
1370
1658
  MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = 160,
1659
+ /**
1660
+ * No difference in visible and UV mobile images, possible UV torch malfunction
1661
+ */
1371
1662
  MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = 161,
1663
+ /**
1664
+ * Fingerprints comparison mismatch
1665
+ */
1372
1666
  FINGERPRINTS_COMPARISON_MISMATCH = 170,
1667
+ /**
1668
+ * Face isn’t detected
1669
+ */
1373
1670
  HOLO_PHOTO_FACE_NOT_DETECTED = 180,
1671
+ /**
1672
+ * Face comparison failed
1673
+ */
1374
1674
  HOLO_PHOTO_FACE_COMPARISON_FAILED = 181,
1675
+ /**
1676
+ * Glare in center absent
1677
+ */
1375
1678
  HOLO_PHOTO_GLARE_IN_CENTER_ABSENT = 182,
1679
+ /**
1680
+ * Hologram element shape error
1681
+ */
1376
1682
  HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR = 183,
1683
+ /**
1684
+ * Algorithm steps error
1685
+ */
1377
1686
  HOLO_PHOTO_ALGORITHMS_STEPS_ERROR = 184,
1687
+ /**
1688
+ * Hologram areas not loaded
1689
+ */
1378
1690
  HOLO_PHOTO_HOLO_AREAS_NOT_LOADED = 185,
1691
+ /**
1692
+ * Hologram check finished by time out
1693
+ */
1379
1694
  HOLO_PHOTO_FINISHED_BY_TIMEOUT = 186,
1695
+ /**
1696
+ * Holo photo document outside frame
1697
+ */
1380
1698
  HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME = 187,
1699
+ /**
1700
+ * Liveness depth check failed
1701
+ */
1381
1702
  LIVENESS_DEPTH_CHECK_FAILED = 190,
1703
+ /**
1704
+ * Wrong mrz dpi
1705
+ */
1382
1706
  MRZ_QUALITY_WRONG_SYMBOL_POSITION = 200,
1707
+ /**
1708
+ * Wrong background
1709
+ */
1383
1710
  MRZ_QUALITY_WRONG_BACKGROUND = 201,
1711
+ /**
1712
+ * MRZ quality: wrong MRZ width
1713
+ */
1384
1714
  MRZ_QUALITY_WRONG_MRZ_WIDTH = 202,
1715
+ /**
1716
+ * MRZ quality: wrong MRZ height
1717
+ */
1385
1718
  MRZ_QUALITY_WRONG_MRZ_HEIGHT = 203,
1719
+ /**
1720
+ * MRZ quality: wrong line position
1721
+ */
1386
1722
  MRZ_QUALITY_WRONG_LINE_POSITION = 204,
1723
+ /**
1724
+ * MRZ quality: wrong font type
1725
+ */
1387
1726
  MRZ_QUALITY_WRONG_FONT_TYPE = 205,
1727
+ /**
1728
+ * OCR quality: text position
1729
+ */
1388
1730
  OCR_QUALITY_TEXT_POSITION = 220,
1731
+ /**
1732
+ * OCR quality: invalid font
1733
+ */
1389
1734
  OCR_QUALITY_INVALID_FONT = 221,
1735
+ /**
1736
+ * OCR quality: invalid background
1737
+ */
1390
1738
  OCR_QUALITY_INVALID_BACKGROUND = 222,
1739
+ /**
1740
+ * Invalid LASINK lines frequency
1741
+ */
1391
1742
  LASINK_INVALID_LINES_FREQUENCY = 230,
1743
+ /**
1744
+ * Verification failed
1745
+ */
1392
1746
  DOC_LIVENESS_DOCUMENT_NOT_LIVE = 238,
1747
+ /**
1748
+ * Black and white copy detected
1749
+ */
1393
1750
  DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = 239,
1751
+ /**
1752
+ * Traces of an electronic device were found in the image
1753
+ */
1394
1754
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240,
1755
+ /**
1756
+ * Invalid barcode background
1757
+ */
1395
1758
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241,
1759
+ /**
1760
+ * Virtual camera was detected
1761
+ */
1396
1762
  DOC_LIVENESS_VIRTUAL_CAMERA_DETECTED = 242,
1763
+ /**
1764
+ * Base32 barcode error
1765
+ */
1397
1766
  CHD_ICAO_IDB_BASE32_ERROR = 243,
1767
+ /**
1768
+ * Data decompression error
1769
+ */
1398
1770
  CHD_ICAO_IDB_ZIPPED_ERROR = 244,
1771
+ /**
1772
+ * Message zone is empty
1773
+ */
1399
1774
  CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY = 245,
1775
+ /**
1776
+ * Signature must be present
1777
+ */
1400
1778
  CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246,
1779
+ /**
1780
+ * Signature must not be present
1781
+ */
1401
1782
  CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247,
1783
+ /**
1784
+ * Certificate reference must not be present
1785
+ */
1402
1786
  CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248,
1787
+ /**
1788
+ * Incorrect object color
1789
+ */
1403
1790
  CHD_INCORRECT_OBJECT_COLOR = 250,
1791
+ /**
1792
+ * No signature
1793
+ */
1404
1794
  PROPERTY_NO_SIGNATURE = 260,
1795
+ /**
1796
+ * Text as signature
1797
+ */
1405
1798
  PROPERTY_TEXT_AS_SIGNATURE = 261,
1799
+ /**
1800
+ * Fingerprint as signature
1801
+ */
1406
1802
  PROPERTY_FINGERPRINT_AS_SIGNATURE = 262
1407
1803
  }
1408
1804
 
@@ -6143,7 +6539,13 @@ export declare class LowLvlResponse implements ProcessResponse {
6143
6539
  * @enum {number}
6144
6540
  */
6145
6541
  export declare enum MDLDeviceEngagement {
6542
+ /**
6543
+ * Device Engagement using the QR code
6544
+ */
6146
6545
  QR = 0,
6546
+ /**
6547
+ * Device Engagement using the NFC module
6548
+ */
6147
6549
  NFC = 1
6148
6550
  }
6149
6551
 
@@ -6157,8 +6559,17 @@ export declare enum MDLDeviceEngagement {
6157
6559
  * @enum {number}
6158
6560
  */
6159
6561
  export declare enum MDLDeviceRetrieval {
6562
+ /**
6563
+ * Device Retrieval using the NFC module
6564
+ */
6160
6565
  NFC = 1,
6566
+ /**
6567
+ * Device Retrieval using the Bluetooth module
6568
+ */
6161
6569
  BLE = 2,
6570
+ /**
6571
+ * Device Retrieval using the Wi-Fi Aware module
6572
+ */
6162
6573
  WIFI_AWARE = 3
6163
6574
  }
6164
6575
 
@@ -6198,7 +6609,13 @@ export declare type MDLResult = MDLItem & ResultItem;
6198
6609
  * @enum {number}
6199
6610
  */
6200
6611
  export declare enum MDLServerRetrieval {
6612
+ /**
6613
+ * Retrieval using the Web API
6614
+ */
6201
6615
  WEB_API = 0,
6616
+ /**
6617
+ * Retrieval using OpenID Connect
6618
+ */
6202
6619
  OIDC = 1
6203
6620
  }
6204
6621
 
@@ -6258,8 +6675,17 @@ export declare interface Message {
6258
6675
  * @enum {number}
6259
6676
  */
6260
6677
  export declare enum MrzDetectModeEnum {
6678
+ /**
6679
+ * Default detection mode
6680
+ */
6261
6681
  eMDM_Default = 0,
6682
+ /**
6683
+ * Apply window resizing for image binarization
6684
+ */
6262
6685
  eMDM_ResizeBinarizeWindow = 1,
6686
+ /**
6687
+ * Apply blur image processing before binarization
6688
+ */
6263
6689
  eMDM_BlurBeforeBinarization = 2
6264
6690
  }
6265
6691
 
@@ -8981,10 +9407,9 @@ export declare interface ProcessParams {
8981
9407
  */
8982
9408
  'resultTypeOutput'?: Array<Result>;
8983
9409
  /**
8984
- * Enable this option if the image you provide contains double page spread of the passport and you want to process both pages in one go. It makes sense to use it for documents that have meaningful information on both pages, like Russian domestic passport, or some others. Disabled by default.
9410
+ * This option can be set to true if the image you provide contains double page spread of the passport and you want to process both pages in one go. It makes sense to use it for documents that have meaningful information on both pages. If disabled, only one page is extracted.
8985
9411
  * @type {boolean}
8986
9412
  * @memberof ProcessParams
8987
- * @deprecated
8988
9413
  */
8989
9414
  'doublePageSpread'?: boolean;
8990
9415
  /**
@@ -9931,6 +10356,34 @@ export declare interface ResultMRZDetectorItem {
9931
10356
  'ResultMRZDetector': ResultMRZDetector;
9932
10357
  }
9933
10358
 
10359
+ /**
10360
+ * NOTE: This file is auto generated by OpenAPI Generator.
10361
+ * Do not edit the file manually.
10362
+ */
10363
+ /**
10364
+ *
10365
+ * @export
10366
+ * @enum {number}
10367
+ */
10368
+ export declare enum RfidAccessControl {
10369
+ /**
10370
+ * Default
10371
+ */
10372
+ DEFAULT = 0,
10373
+ /**
10374
+ * Chip access BAC
10375
+ */
10376
+ CHIP_ACCESS_BAC = 1,
10377
+ /**
10378
+ * Chip access PACE
10379
+ */
10380
+ CHIP_ACCESS_PACE = 2,
10381
+ /**
10382
+ * Local PIN
10383
+ */
10384
+ LOCAL_PIN = 3
10385
+ }
10386
+
9934
10387
  /**
9935
10388
  * Structure is used to describe the results of a single authentication procedure or a procedure of secure data access within the context of the communication session with electronic document
9936
10389
  * @export
@@ -10180,7 +10633,15 @@ export declare enum RfidApplicationType {
10180
10633
  /**
10181
10634
  * Digital Travel Credentials
10182
10635
  */
10183
- eDTC_PC = 8
10636
+ eDTC_PC = 8,
10637
+ /**
10638
+ * Master File
10639
+ */
10640
+ APPLET_ROOT = 50,
10641
+ /**
10642
+ * Applet root
10643
+ */
10644
+ USER_DEFINED = 100
10184
10645
  }
10185
10646
 
10186
10647
  /**
@@ -10683,106 +11144,409 @@ export declare interface RfidDataFile {
10683
11144
  * @enum {number}
10684
11145
  */
10685
11146
  export declare enum RfidDataFileType {
11147
+ /**
11148
+ * Not specified
11149
+ */
10686
11150
  UNSPECIFIED = 0,
11151
+ /**
11152
+ * Passport DG1
11153
+ */
10687
11154
  PASSPORT_DG1 = 1,
11155
+ /**
11156
+ * Passport DG2
11157
+ */
10688
11158
  PASSPORT_DG2 = 2,
11159
+ /**
11160
+ * Passport DG3
11161
+ */
10689
11162
  PASSPORT_DG3 = 3,
11163
+ /**
11164
+ * Passport DG4
11165
+ */
10690
11166
  PASSPORT_DG4 = 4,
11167
+ /**
11168
+ * Passport DG5
11169
+ */
10691
11170
  PASSPORT_DG5 = 5,
11171
+ /**
11172
+ * Passport DG6
11173
+ */
10692
11174
  PASSPORT_DG6 = 6,
11175
+ /**
11176
+ * Passport DG7
11177
+ */
10693
11178
  PASSPORT_DG7 = 7,
11179
+ /**
11180
+ * Passport DG8
11181
+ */
10694
11182
  PASSPORT_DG8 = 8,
11183
+ /**
11184
+ * Passport DG9
11185
+ */
10695
11186
  PASSPORT_DG9 = 9,
11187
+ /**
11188
+ * Passport DG10
11189
+ */
10696
11190
  PASSPORT_DG10 = 10,
11191
+ /**
11192
+ * Passport DG11
11193
+ */
10697
11194
  PASSPORT_DG11 = 11,
11195
+ /**
11196
+ * Passport DG12
11197
+ */
10698
11198
  PASSPORT_DG12 = 12,
11199
+ /**
11200
+ * Passport DG13
11201
+ */
10699
11202
  PASSPORT_DG13 = 13,
11203
+ /**
11204
+ * Passport DG14
11205
+ */
10700
11206
  PASSPORT_DG14 = 14,
11207
+ /**
11208
+ * Passport DG15
11209
+ */
10701
11210
  PASSPORT_DG15 = 15,
11211
+ /**
11212
+ * Passport DG16
11213
+ */
10702
11214
  PASSPORT_DG16 = 16,
11215
+ /**
11216
+ * Passport DG17
11217
+ */
10703
11218
  PASSPORT_DG17 = 17,
11219
+ /**
11220
+ * Passport DG18
11221
+ */
10704
11222
  PASSPORT_DG18 = 18,
11223
+ /**
11224
+ * Passport DG19
11225
+ */
10705
11226
  PASSPORT_DG19 = 19,
11227
+ /**
11228
+ * Passport DG20
11229
+ */
10706
11230
  PASSPORT_DG20 = 20,
11231
+ /**
11232
+ * Passport SOD
11233
+ */
10707
11234
  PASSPORT_SOD = 21,
11235
+ /**
11236
+ * Passport CVCA
11237
+ */
10708
11238
  PASSPORT_CVCA = 22,
11239
+ /**
11240
+ * Passport COM
11241
+ */
10709
11242
  PASSPORT_COM = 23,
11243
+ /**
11244
+ * DTC DG17
11245
+ */
10710
11246
  DTC_DG17 = 57,
11247
+ /**
11248
+ * DTC DG18
11249
+ */
10711
11250
  DTC_DG18 = 58,
11251
+ /**
11252
+ * DTC DG22
11253
+ */
10712
11254
  DTC_DG22 = 62,
11255
+ /**
11256
+ * DTC DG23
11257
+ */
10713
11258
  DTC_DG23 = 63,
11259
+ /**
11260
+ * DTC DG24
11261
+ */
10714
11262
  DTC_DG24 = 64,
11263
+ /**
11264
+ * ID DG1
11265
+ */
10715
11266
  ID_DG1 = 101,
11267
+ /**
11268
+ * ID DG2
11269
+ */
10716
11270
  ID_DG2 = 102,
11271
+ /**
11272
+ * ID DG3
11273
+ */
10717
11274
  ID_DG3 = 103,
11275
+ /**
11276
+ * ID DG4
11277
+ */
10718
11278
  ID_DG4 = 104,
11279
+ /**
11280
+ * ID DG5
11281
+ */
10719
11282
  ID_DG5 = 105,
11283
+ /**
11284
+ * ID DG6
11285
+ */
10720
11286
  ID_DG6 = 106,
11287
+ /**
11288
+ * ID DG7
11289
+ */
10721
11290
  ID_DG7 = 107,
11291
+ /**
11292
+ * ID DG8
11293
+ */
10722
11294
  ID_DG8 = 108,
11295
+ /**
11296
+ * ID DG9
11297
+ */
10723
11298
  ID_DG9 = 109,
11299
+ /**
11300
+ * ID DG10
11301
+ */
10724
11302
  ID_DG10 = 110,
11303
+ /**
11304
+ * ID DG11
11305
+ */
10725
11306
  ID_DG11 = 111,
11307
+ /**
11308
+ * ID DG12
11309
+ */
10726
11310
  ID_DG12 = 112,
11311
+ /**
11312
+ * ID DG13
11313
+ */
10727
11314
  ID_DG13 = 113,
11315
+ /**
11316
+ * ID DG14
11317
+ */
10728
11318
  ID_DG14 = 114,
11319
+ /**
11320
+ * ID DG15
11321
+ */
10729
11322
  ID_DG15 = 115,
11323
+ /**
11324
+ * ID DG16
11325
+ */
10730
11326
  ID_DG16 = 116,
11327
+ /**
11328
+ * ID DG17
11329
+ */
10731
11330
  ID_DG17 = 117,
11331
+ /**
11332
+ * ID DG18
11333
+ */
10732
11334
  ID_DG18 = 118,
11335
+ /**
11336
+ * ID DG19
11337
+ */
10733
11338
  ID_DG19 = 119,
11339
+ /**
11340
+ * ID DG20
11341
+ */
10734
11342
  ID_DG20 = 120,
11343
+ /**
11344
+ * ID DG21
11345
+ */
10735
11346
  ID_DG21 = 121,
11347
+ /**
11348
+ * ID DG22
11349
+ */
10736
11350
  ID_DG22 = 122,
11351
+ /**
11352
+ * DL COM
11353
+ */
10737
11354
  DL_COM = 150,
11355
+ /**
11356
+ * DL DG1
11357
+ */
10738
11358
  DL_DG1 = 151,
11359
+ /**
11360
+ * DL DG2
11361
+ */
10739
11362
  DL_DG2 = 152,
11363
+ /**
11364
+ * DL DG3
11365
+ */
10740
11366
  DL_DG3 = 153,
11367
+ /**
11368
+ * DL DG4
11369
+ */
10741
11370
  DL_DG4 = 154,
11371
+ /**
11372
+ * DL DG5
11373
+ */
10742
11374
  DL_DG5 = 155,
11375
+ /**
11376
+ * DL DG6
11377
+ */
10743
11378
  DL_DG6 = 156,
11379
+ /**
11380
+ * DL DG7
11381
+ */
10744
11382
  DL_DG7 = 157,
11383
+ /**
11384
+ * DL DG8
11385
+ */
10745
11386
  DL_DG8 = 158,
11387
+ /**
11388
+ * DL DG9
11389
+ */
10746
11390
  DL_DG9 = 159,
11391
+ /**
11392
+ * DL DG10
11393
+ */
10747
11394
  DL_DG10 = 160,
11395
+ /**
11396
+ * DL DG11
11397
+ */
10748
11398
  DL_DG11 = 161,
11399
+ /**
11400
+ * DL DG12
11401
+ */
10749
11402
  DL_DG12 = 162,
11403
+ /**
11404
+ * DL DG13
11405
+ */
10750
11406
  DL_DG13 = 163,
11407
+ /**
11408
+ * DL DG14
11409
+ */
10751
11410
  DL_DG14 = 164,
11411
+ /**
11412
+ * DL SOD
11413
+ */
10752
11414
  DL_SOD = 165,
11415
+ /**
11416
+ * DL CE
11417
+ */
10753
11418
  DL_CE = 166,
11419
+ /**
11420
+ * DL CVCA
11421
+ */
10754
11422
  DL_CVCA = 167,
11423
+ /**
11424
+ * PACE card access
11425
+ */
10755
11426
  PACE_CARD_ACCESS = 200,
11427
+ /**
11428
+ * PACE card security
11429
+ */
10756
11430
  PACE_CARD_SECURITY = 201,
11431
+ /**
11432
+ * PACE chip security
11433
+ */
10757
11434
  PACE_CHIP_SECURITY = 202,
11435
+ /**
11436
+ * MIFARE data
11437
+ */
10758
11438
  MIFARE_DATA = 300,
11439
+ /**
11440
+ * MIFARE validity
11441
+ */
10759
11442
  MIFARE_VALIDITY = 301,
11443
+ /**
11444
+ * Authenticity V2
11445
+ */
10760
11446
  AUTHENTICITY_V2 = 302,
11447
+ /**
11448
+ * ATR
11449
+ */
10761
11450
  ATR = 400,
11451
+ /**
11452
+ * DIR
11453
+ */
10762
11454
  DIR = 401,
11455
+ /**
11456
+ * eSign PK
11457
+ */
10763
11458
  E_SIGN_PK = 500,
11459
+ /**
11460
+ * eSign signed data
11461
+ */
10764
11462
  E_SIGN_SIGNED_DATA = 501,
11463
+ /**
11464
+ * Certificate
11465
+ */
10765
11466
  CERTIFICATE = 600,
11467
+ /**
11468
+ * Master list
11469
+ */
10766
11470
  MASTER_LIST = 601,
11471
+ /**
11472
+ * Defect list
11473
+ */
10767
11474
  DEFECT_LIST = 602,
11475
+ /**
11476
+ * Deviation list
11477
+ */
10768
11478
  DEVIATION_LIST = 603,
11479
+ /**
11480
+ * Black list
11481
+ */
10769
11482
  BLACK_LIST = 604,
11483
+ /**
11484
+ * App directory
11485
+ */
10770
11486
  APP_DIRECTORY = 700,
11487
+ /**
11488
+ * Session
11489
+ */
10771
11490
  SESSION = 701,
11491
+ /**
11492
+ * Log data
11493
+ */
10772
11494
  LOG_DATA = 702,
11495
+ /**
11496
+ * Chip properties
11497
+ */
10773
11498
  CHIP_PROPERTIES = 703,
11499
+ /**
11500
+ * DTC info
11501
+ */
10774
11502
  DTC_INFO = 704,
11503
+ /**
11504
+ * Post CA response
11505
+ */
10775
11506
  POST_CA_RESPONSE = 710,
11507
+ /**
11508
+ * Post CA public key
11509
+ */
10776
11510
  POST_CA_PUBLIC_KEY = 711,
11511
+ /**
11512
+ * Post CA info
11513
+ */
10777
11514
  POST_CA_INFO = 712,
11515
+ /**
11516
+ * Post CA params
11517
+ */
10778
11518
  POST_CA_D_PARAMS = 713,
11519
+ /**
11520
+ * Post CA check PK
11521
+ */
10779
11522
  POST_CA_CHECK_PK = 714,
11523
+ /**
11524
+ * Post CA check SK
11525
+ */
10780
11526
  POST_CA_CHECK_SK = 715,
11527
+ /**
11528
+ * SAM data
11529
+ */
10781
11530
  SAM_DATA = 800,
11531
+ /**
11532
+ * SAM data max
11533
+ */
10782
11534
  SAM_DATA_MAX = 832,
11535
+ /**
11536
+ * VDS
11537
+ */
10783
11538
  VDS = 900,
11539
+ /**
11540
+ * VDS-NC
11541
+ */
10784
11542
  VDS_NC = 901,
11543
+ /**
11544
+ * DS
11545
+ */
10785
11546
  DS = 902,
11547
+ /**
11548
+ * User defined
11549
+ */
10786
11550
  USER_DEFINED = 1000
10787
11551
  }
10788
11552
 
@@ -11575,7 +12339,11 @@ export declare enum RfidPasswordType {
11575
12339
  /**
11576
12340
  * MRZ hash
11577
12341
  */
11578
- MRZ_HASH = 7
12342
+ MRZ_HASH = 7,
12343
+ /**
12344
+ * PIN (local)
12345
+ */
12346
+ PIN_LOCAL = 8
11579
12347
  }
11580
12348
 
11581
12349
  /**