@regulaforensics/document-reader-webclient 7.7.328-nightly → 7.7.331-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/index.cjs +1 -1
- package/dist/module/index.js +1 -1
- package/lib/index.d.ts +594 -54
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -418,10 +418,6 @@ export interface AuthParams {
|
|
|
418
418
|
* @enum {number}
|
|
419
419
|
*/
|
|
420
420
|
export enum AuthenticityResultType {
|
|
421
|
-
/**
|
|
422
|
-
* No authenticity control procedure
|
|
423
|
-
*/
|
|
424
|
-
NONE = 0,
|
|
425
421
|
/**
|
|
426
422
|
* Document luminescence check in UV light
|
|
427
423
|
*/
|
|
@@ -455,10 +451,6 @@ export enum AuthenticityResultType {
|
|
|
455
451
|
*/
|
|
456
452
|
IPI = 128,
|
|
457
453
|
/**
|
|
458
|
-
* Document photo check in IR light
|
|
459
|
-
*/
|
|
460
|
-
IR_PHOTO = 256,
|
|
461
|
-
/**
|
|
462
454
|
* Owner's photo embedding check (is photo printed or sticked)
|
|
463
455
|
*/
|
|
464
456
|
PHOTO_EMBED_TYPE = 512,
|
|
@@ -467,10 +459,6 @@ export enum AuthenticityResultType {
|
|
|
467
459
|
*/
|
|
468
460
|
OVI = 1024,
|
|
469
461
|
/**
|
|
470
|
-
* IR luminescence check
|
|
471
|
-
*/
|
|
472
|
-
IR_LUMINESCENCE = 2048,
|
|
473
|
-
/**
|
|
474
462
|
* Hologram presence check. Deprecated
|
|
475
463
|
*/
|
|
476
464
|
HOLOGRAMS = 4096,
|
|
@@ -479,10 +467,6 @@ export enum AuthenticityResultType {
|
|
|
479
467
|
*/
|
|
480
468
|
PHOTO_AREA = 8192,
|
|
481
469
|
/**
|
|
482
|
-
* UV background check
|
|
483
|
-
*/
|
|
484
|
-
UV_BACKGROUND = 16384,
|
|
485
|
-
/**
|
|
486
470
|
* Portrait comparison check (document printed vs chip vs live)
|
|
487
471
|
*/
|
|
488
472
|
PORTRAIT_COMPARISON = 32768,
|
|
@@ -521,11 +505,7 @@ export enum AuthenticityResultType {
|
|
|
521
505
|
/**
|
|
522
506
|
* Encrypted IPI
|
|
523
507
|
*/
|
|
524
|
-
ENCRYPTED_IPI = 16777216
|
|
525
|
-
/**
|
|
526
|
-
* Flag for status-only authenticity
|
|
527
|
-
*/
|
|
528
|
-
STATUS_ONLY = 2147483648
|
|
508
|
+
ENCRYPTED_IPI = 16777216
|
|
529
509
|
}
|
|
530
510
|
/**
|
|
531
511
|
* Regula Document Reader Web API
|
|
@@ -1003,6 +983,12 @@ export interface FiberItem {
|
|
|
1003
983
|
* @memberof FiberItem
|
|
1004
984
|
*/
|
|
1005
985
|
'ColorValues': Array<number>;
|
|
986
|
+
/**
|
|
987
|
+
*
|
|
988
|
+
* @type {number}
|
|
989
|
+
* @memberof FiberItem
|
|
990
|
+
*/
|
|
991
|
+
'ErrorCode'?: number;
|
|
1006
992
|
}
|
|
1007
993
|
/**
|
|
1008
994
|
* @type FiberResult
|
|
@@ -1031,7 +1017,7 @@ export interface ImageData {
|
|
|
1031
1017
|
* @type {string}
|
|
1032
1018
|
* @memberof ImageData
|
|
1033
1019
|
*/
|
|
1034
|
-
'image'
|
|
1020
|
+
'image'?: string;
|
|
1035
1021
|
/**
|
|
1036
1022
|
* Image format
|
|
1037
1023
|
* @type {string}
|
|
@@ -1311,6 +1297,18 @@ export interface IdentItem {
|
|
|
1311
1297
|
* @memberof IdentItem
|
|
1312
1298
|
*/
|
|
1313
1299
|
'AreaList'?: AreaContainer;
|
|
1300
|
+
/**
|
|
1301
|
+
*
|
|
1302
|
+
* @type {number}
|
|
1303
|
+
* @memberof IdentItem
|
|
1304
|
+
*/
|
|
1305
|
+
'ElementID'?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
*
|
|
1308
|
+
* @type {number}
|
|
1309
|
+
* @memberof IdentItem
|
|
1310
|
+
*/
|
|
1311
|
+
'Result'?: number;
|
|
1314
1312
|
}
|
|
1315
1313
|
/**
|
|
1316
1314
|
* @type IdentResult
|
|
@@ -1377,6 +1375,12 @@ export interface OCRSecurityTextItem {
|
|
|
1377
1375
|
* @memberof OCRSecurityTextItem
|
|
1378
1376
|
*/
|
|
1379
1377
|
'EtalonResultOCR': string;
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @type {number}
|
|
1381
|
+
* @memberof OCRSecurityTextItem
|
|
1382
|
+
*/
|
|
1383
|
+
'ResultCode'?: number;
|
|
1380
1384
|
/**
|
|
1381
1385
|
*
|
|
1382
1386
|
* @type {number}
|
|
@@ -1473,13 +1477,7 @@ export interface PhotoIdentItem {
|
|
|
1473
1477
|
* @type {number}
|
|
1474
1478
|
* @memberof PhotoIdentItem
|
|
1475
1479
|
*/
|
|
1476
|
-
'
|
|
1477
|
-
/**
|
|
1478
|
-
*
|
|
1479
|
-
* @type {number}
|
|
1480
|
-
* @memberof PhotoIdentItem
|
|
1481
|
-
*/
|
|
1482
|
-
'Reserved2'?: number;
|
|
1480
|
+
'Result'?: number;
|
|
1483
1481
|
/**
|
|
1484
1482
|
*
|
|
1485
1483
|
* @type {number}
|
|
@@ -1566,6 +1564,12 @@ export interface SecurityFeatureItem {
|
|
|
1566
1564
|
* @memberof SecurityFeatureItem
|
|
1567
1565
|
*/
|
|
1568
1566
|
'AreaList'?: AreaContainer;
|
|
1567
|
+
/**
|
|
1568
|
+
*
|
|
1569
|
+
* @type {number}
|
|
1570
|
+
* @memberof SecurityFeatureItem
|
|
1571
|
+
*/
|
|
1572
|
+
'Result'?: number;
|
|
1569
1573
|
/**
|
|
1570
1574
|
*
|
|
1571
1575
|
* @type {number}
|
|
@@ -1906,89 +1910,85 @@ export enum BarCodeModuleType {
|
|
|
1906
1910
|
*/
|
|
1907
1911
|
export enum BarcodeType {
|
|
1908
1912
|
/**
|
|
1909
|
-
* Unknown
|
|
1913
|
+
* Unknown
|
|
1910
1914
|
*/
|
|
1911
1915
|
UNKNOWN = 0,
|
|
1912
1916
|
/**
|
|
1913
|
-
*
|
|
1917
|
+
* Code 128
|
|
1914
1918
|
*/
|
|
1915
1919
|
CODE128 = 1,
|
|
1916
1920
|
/**
|
|
1917
|
-
*
|
|
1921
|
+
* Code 39
|
|
1918
1922
|
*/
|
|
1919
1923
|
CODE39 = 2,
|
|
1920
1924
|
/**
|
|
1921
|
-
*
|
|
1925
|
+
* EAN-8
|
|
1922
1926
|
*/
|
|
1923
1927
|
EAN8 = 3,
|
|
1924
1928
|
/**
|
|
1925
|
-
*
|
|
1929
|
+
* ITF
|
|
1926
1930
|
*/
|
|
1927
1931
|
ITF = 4,
|
|
1928
1932
|
/**
|
|
1929
|
-
*
|
|
1933
|
+
* PDF417
|
|
1930
1934
|
*/
|
|
1931
1935
|
PDF417 = 5,
|
|
1932
1936
|
/**
|
|
1933
|
-
*
|
|
1937
|
+
* STF
|
|
1934
1938
|
*/
|
|
1935
1939
|
STF = 6,
|
|
1936
1940
|
/**
|
|
1937
|
-
*
|
|
1941
|
+
* MTF
|
|
1938
1942
|
*/
|
|
1939
1943
|
MTF = 7,
|
|
1940
1944
|
/**
|
|
1941
|
-
*
|
|
1945
|
+
* IATA
|
|
1942
1946
|
*/
|
|
1943
1947
|
IATA = 8,
|
|
1944
1948
|
/**
|
|
1945
|
-
*
|
|
1949
|
+
* Codabar
|
|
1946
1950
|
*/
|
|
1947
1951
|
CODABAR = 9,
|
|
1948
1952
|
/**
|
|
1949
|
-
*
|
|
1953
|
+
* UPC-A
|
|
1950
1954
|
*/
|
|
1951
1955
|
UPCA = 10,
|
|
1952
1956
|
/**
|
|
1953
|
-
*
|
|
1957
|
+
* Code 93
|
|
1954
1958
|
*/
|
|
1955
1959
|
CODE93 = 11,
|
|
1956
1960
|
/**
|
|
1957
|
-
*
|
|
1961
|
+
* UPC-E
|
|
1958
1962
|
*/
|
|
1959
1963
|
UPCE = 12,
|
|
1960
1964
|
/**
|
|
1961
|
-
*
|
|
1965
|
+
* EAN-13
|
|
1962
1966
|
*/
|
|
1963
1967
|
EAN13 = 13,
|
|
1964
1968
|
/**
|
|
1965
|
-
*
|
|
1969
|
+
* QR code
|
|
1966
1970
|
*/
|
|
1967
1971
|
QRCODE = 14,
|
|
1968
1972
|
/**
|
|
1969
|
-
*
|
|
1973
|
+
* Aztec code
|
|
1970
1974
|
*/
|
|
1971
1975
|
AZTEC = 15,
|
|
1972
1976
|
/**
|
|
1973
|
-
*
|
|
1977
|
+
* Datamatrix
|
|
1974
1978
|
*/
|
|
1975
1979
|
DATAMATRIX = 16,
|
|
1976
1980
|
/**
|
|
1977
|
-
*
|
|
1981
|
+
* All 1D barcodes
|
|
1978
1982
|
*/
|
|
1979
1983
|
ALL_1D = 17,
|
|
1980
1984
|
/**
|
|
1981
|
-
*
|
|
1985
|
+
* Code 11
|
|
1982
1986
|
*/
|
|
1983
1987
|
CODE11 = 18,
|
|
1984
1988
|
/**
|
|
1985
1989
|
* JAB code
|
|
1986
1990
|
*/
|
|
1987
|
-
JABCODE = 19
|
|
1988
|
-
/**
|
|
1989
|
-
* For internal use
|
|
1990
|
-
*/
|
|
1991
|
-
END = 20
|
|
1991
|
+
JABCODE = 19
|
|
1992
1992
|
}
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Regula Document Reader Web API
|
|
@@ -13318,7 +13318,7 @@ export interface DocumentImage {
|
|
|
13318
13318
|
* @type {string}
|
|
13319
13319
|
* @memberof DocumentImage
|
|
13320
13320
|
*/
|
|
13321
|
-
'image'
|
|
13321
|
+
'image'?: string;
|
|
13322
13322
|
/**
|
|
13323
13323
|
* Image format
|
|
13324
13324
|
* @type {string}
|
|
@@ -14143,6 +14143,528 @@ export interface OutData {
|
|
|
14143
14143
|
*/
|
|
14144
14144
|
'images'?: Array<OutDataTransactionImagesFieldValue>;
|
|
14145
14145
|
}
|
|
14146
|
+
/**
|
|
14147
|
+
* Regula Document Reader Web API
|
|
14148
|
+
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
|
|
14149
|
+
*
|
|
14150
|
+
* The version of the OpenAPI document: 7.6.0
|
|
14151
|
+
*
|
|
14152
|
+
*
|
|
14153
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
14154
|
+
* https://openapi-generator.tech
|
|
14155
|
+
* Do not edit the class manually.
|
|
14156
|
+
*/
|
|
14157
|
+
/**
|
|
14158
|
+
* The enumeration contains error codes that can return during the RFID chip processing.
|
|
14159
|
+
* @export
|
|
14160
|
+
* @enum {number}
|
|
14161
|
+
*/
|
|
14162
|
+
export enum ParsingErrorCodes {
|
|
14163
|
+
/**
|
|
14164
|
+
* OK
|
|
14165
|
+
*/
|
|
14166
|
+
errLDS_Ok = 1,
|
|
14167
|
+
/**
|
|
14168
|
+
* ASN: Incorrect data
|
|
14169
|
+
*/
|
|
14170
|
+
errLDS_ASN_IncorrectData = 2147483649,
|
|
14171
|
+
/**
|
|
14172
|
+
* ASN: Not enough data
|
|
14173
|
+
*/
|
|
14174
|
+
errLDS_ASN_NotEnoughData = 2147483650,
|
|
14175
|
+
/**
|
|
14176
|
+
* ASN: Contents unexpected data
|
|
14177
|
+
*/
|
|
14178
|
+
errLDS_ASN_Contents_UnexpectedData = 2147483651,
|
|
14179
|
+
/**
|
|
14180
|
+
* ASN Signed data: Incorrect data
|
|
14181
|
+
*/
|
|
14182
|
+
errLDS_ASN_SignedData_IncorrectData = 2147483656,
|
|
14183
|
+
/**
|
|
14184
|
+
* ASN Signed data: Encap contents incorrect data
|
|
14185
|
+
*/
|
|
14186
|
+
errLDS_ASN_SignedData_EncapContents_IncorrectData = 2147483657,
|
|
14187
|
+
/**
|
|
14188
|
+
* ASN Signed data: Version incorrect data
|
|
14189
|
+
*/
|
|
14190
|
+
errLDS_ASN_SignedData_Version_IncorrectData = 2147483658,
|
|
14191
|
+
/**
|
|
14192
|
+
* ASN Signed data: Digest algorithms incorrect data
|
|
14193
|
+
*/
|
|
14194
|
+
errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData = 2147483665,
|
|
14195
|
+
/**
|
|
14196
|
+
* ASN LDS object: Incorrect data
|
|
14197
|
+
*/
|
|
14198
|
+
errLDS_ASN_LDSObject_IncorrectData = 2147483667,
|
|
14199
|
+
/**
|
|
14200
|
+
* ASN LDS object: Version incorrect data
|
|
14201
|
+
*/
|
|
14202
|
+
errLDS_ASN_LDSObject_Version_IncorrectData = 2147483668,
|
|
14203
|
+
/**
|
|
14204
|
+
* ASN LDS object: Digest algorithm incorrect data
|
|
14205
|
+
*/
|
|
14206
|
+
errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData = 2147483669,
|
|
14207
|
+
/**
|
|
14208
|
+
* ASN LDS object: DG hashes incorrect data
|
|
14209
|
+
*/
|
|
14210
|
+
errLDS_ASN_LDSObject_DGHashes_IncorrectData = 2147483670,
|
|
14211
|
+
/**
|
|
14212
|
+
* ASN LDS object: Version info incorrect data
|
|
14213
|
+
*/
|
|
14214
|
+
errLDS_ASN_LDSObject_VersionInfo_IncorrectData = 2147483666,
|
|
14215
|
+
/**
|
|
14216
|
+
* ASN Certificate: Incorrect data
|
|
14217
|
+
*/
|
|
14218
|
+
errLDS_ASN_Certificate_IncorrectData = 2147483671,
|
|
14219
|
+
/**
|
|
14220
|
+
* ASN Certificate: Version incorrect data
|
|
14221
|
+
*/
|
|
14222
|
+
errLDS_ASN_Certificate_Version_IncorrectData = 2147483672,
|
|
14223
|
+
/**
|
|
14224
|
+
* ASN Certificate: SN incorrect data
|
|
14225
|
+
*/
|
|
14226
|
+
errLDS_ASN_Certificate_SN_IncorrectData = 2147483673,
|
|
14227
|
+
/**
|
|
14228
|
+
* ASN Certificate: Signature incorrect data
|
|
14229
|
+
*/
|
|
14230
|
+
errLDS_ASN_Certificate_Signature_IncorrectData = 2147483674,
|
|
14231
|
+
/**
|
|
14232
|
+
* ASN Certificate: Issuer incorrect data
|
|
14233
|
+
*/
|
|
14234
|
+
errLDS_ASN_Certificate_Issuer_IncorrectData = 2147483675,
|
|
14235
|
+
/**
|
|
14236
|
+
* ASN Certificate: Validity incorrect data
|
|
14237
|
+
*/
|
|
14238
|
+
errLDS_ASN_Certificate_Validity_IncorrectData = 2147483676,
|
|
14239
|
+
/**
|
|
14240
|
+
* ASN Certificate: Subject incorrect data
|
|
14241
|
+
*/
|
|
14242
|
+
errLDS_ASN_Certificate_Subject_IncorrectData = 2147483677,
|
|
14243
|
+
/**
|
|
14244
|
+
* ASN Certificate: Subject PK incorrect data
|
|
14245
|
+
*/
|
|
14246
|
+
errLDS_ASN_Certificate_SubjectPK_IncorrectData = 2147483678,
|
|
14247
|
+
/**
|
|
14248
|
+
* ASN Certificate: Extensions incorrect data
|
|
14249
|
+
*/
|
|
14250
|
+
errLDS_ASN_Certificate_Extensions_IncorrectData = 2147483679,
|
|
14251
|
+
/**
|
|
14252
|
+
* ASN Signer info: Incorrect data
|
|
14253
|
+
*/
|
|
14254
|
+
errLDS_ASN_SignerInfo_IncorrectData = 2147483680,
|
|
14255
|
+
/**
|
|
14256
|
+
* ASN Signer info: Version incorrect data
|
|
14257
|
+
*/
|
|
14258
|
+
errLDS_ASN_SignerInfo_Version_IncorrectData = 2147483681,
|
|
14259
|
+
/**
|
|
14260
|
+
* ASN Signer info: SID incorrect data
|
|
14261
|
+
*/
|
|
14262
|
+
errLDS_ASN_SignerInfo_SID_IncorrectData = 2147483682,
|
|
14263
|
+
/**
|
|
14264
|
+
* ASN Signer info: Digest algorithms incorrect data
|
|
14265
|
+
*/
|
|
14266
|
+
errLDS_ASN_SignerInfo_DigestAlg_IncorrectData = 2147483683,
|
|
14267
|
+
/**
|
|
14268
|
+
* ASN Signer info: Signed attributes incorrect data
|
|
14269
|
+
*/
|
|
14270
|
+
errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData = 2147483684,
|
|
14271
|
+
/**
|
|
14272
|
+
* ASN Signer info: Sign algorithms incorrect data
|
|
14273
|
+
*/
|
|
14274
|
+
errLDS_ASN_SignerInfo_SignAlg_IncorrectData = 2147483685,
|
|
14275
|
+
/**
|
|
14276
|
+
* ASN Signer info: Signature incorrect data
|
|
14277
|
+
*/
|
|
14278
|
+
errLDS_ASN_SignerInfo_Signature_IncorrectData = 2147483686,
|
|
14279
|
+
/**
|
|
14280
|
+
* ASN Signer info: Unsigned attributes incorrect data
|
|
14281
|
+
*/
|
|
14282
|
+
errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687,
|
|
14283
|
+
/**
|
|
14284
|
+
* ICAO LDS object: Unsupported digest algorithm
|
|
14285
|
+
*/
|
|
14286
|
+
errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696,
|
|
14287
|
+
/**
|
|
14288
|
+
* ICAO Signed data: Signer info empty
|
|
14289
|
+
*/
|
|
14290
|
+
errLDS_ICAO_SignedData_SignerInfos_Empty = 2147483697,
|
|
14291
|
+
/**
|
|
14292
|
+
* ICAO Signer info: Unsupported digest algorithm
|
|
14293
|
+
*/
|
|
14294
|
+
errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm = 2147483698,
|
|
14295
|
+
/**
|
|
14296
|
+
* ICAO Signer info: Unsupported signature algorithm
|
|
14297
|
+
*/
|
|
14298
|
+
errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm = 2147483699,
|
|
14299
|
+
/**
|
|
14300
|
+
* ICAO Signer info: Message digest error
|
|
14301
|
+
*/
|
|
14302
|
+
errLDS_ICAO_SignerInfo_MessageDigestError = 2147483700,
|
|
14303
|
+
/**
|
|
14304
|
+
* ICAO Signer info: Signed attributes missed
|
|
14305
|
+
*/
|
|
14306
|
+
errLDS_ICAO_SignerInfo_SignedAttrs_Missed = 2147483702,
|
|
14307
|
+
/**
|
|
14308
|
+
* Auth: Signer info cannot find certificate
|
|
14309
|
+
*/
|
|
14310
|
+
errLDS_Auth_SignerInfo_CantFindCertificate = 2147483701,
|
|
14311
|
+
/**
|
|
14312
|
+
* Auth: Error
|
|
14313
|
+
*/
|
|
14314
|
+
errLDS_Auth_Error = 2147483728,
|
|
14315
|
+
/**
|
|
14316
|
+
* Auth: Unsupported signature algorithm
|
|
14317
|
+
*/
|
|
14318
|
+
errLDS_Auth_UnsupportedSignatureAlgorithm = 2147483729,
|
|
14319
|
+
/**
|
|
14320
|
+
* Auth: Unsupported public key algorithm
|
|
14321
|
+
*/
|
|
14322
|
+
errLDS_Auth_UnsupportedPublicKeyAlgorithm = 2147483730,
|
|
14323
|
+
/**
|
|
14324
|
+
* Auth: Messed algorithms
|
|
14325
|
+
*/
|
|
14326
|
+
errLDS_Auth_MessedAlgorithms = 2147483731,
|
|
14327
|
+
/**
|
|
14328
|
+
* Auth: Public key data invalid
|
|
14329
|
+
*/
|
|
14330
|
+
errLDS_Auth_PublicKeyDataInvalid = 2147483732,
|
|
14331
|
+
/**
|
|
14332
|
+
* Auth: Algorithm parameters data invalid
|
|
14333
|
+
*/
|
|
14334
|
+
errLDS_Auth_AlgorithmParametersDataInvalid = 2147483733,
|
|
14335
|
+
/**
|
|
14336
|
+
* Auth: Signature data invalid
|
|
14337
|
+
*/
|
|
14338
|
+
errLDS_Auth_SignatureDataInvalid = 2147483734,
|
|
14339
|
+
/**
|
|
14340
|
+
* Auth: Unsupported digest algorithm
|
|
14341
|
+
*/
|
|
14342
|
+
errLDS_Auth_UnsupportedDigestAlgorithm = 2147483735,
|
|
14343
|
+
/**
|
|
14344
|
+
* Auth: Signature data incorrect
|
|
14345
|
+
*/
|
|
14346
|
+
errLDS_Auth_SignatureDataIncorrect = 2147483736,
|
|
14347
|
+
/**
|
|
14348
|
+
* Auth: Algorithm parameters not defined
|
|
14349
|
+
*/
|
|
14350
|
+
errLDS_Auth_AlgorithmParametersNotDefined = 2147483737,
|
|
14351
|
+
/**
|
|
14352
|
+
* Auth: Signature check failed
|
|
14353
|
+
*/
|
|
14354
|
+
errLDS_Auth_SignatureCheckFailed = 2147483738,
|
|
14355
|
+
/**
|
|
14356
|
+
* DG: Wrong Tag
|
|
14357
|
+
*/
|
|
14358
|
+
errLDS_DG_WrongTag = 2147483760,
|
|
14359
|
+
/**
|
|
14360
|
+
* DG: Contents unexpected data
|
|
14361
|
+
*/
|
|
14362
|
+
errLDS_DG_Contents_UnexpectedData = 2147483761,
|
|
14363
|
+
/**
|
|
14364
|
+
* BAP: Symmetric Cypher Cannot Initialize
|
|
14365
|
+
*/
|
|
14366
|
+
errLDS_BAP_SymmetricCypher_CantInitialize = 2164260881,
|
|
14367
|
+
/**
|
|
14368
|
+
* PACE: Info Not Available
|
|
14369
|
+
*/
|
|
14370
|
+
errLDS_PACE_Info_NotAvailable = 2164260896,
|
|
14371
|
+
/**
|
|
14372
|
+
* PACE: Symmetric Cypher Cannot Initialize
|
|
14373
|
+
*/
|
|
14374
|
+
errLDS_PACE_SymmetricCypher_CantInitialize = 2164260897,
|
|
14375
|
+
/**
|
|
14376
|
+
* PACE: Key Agreement Cannot Initialize
|
|
14377
|
+
*/
|
|
14378
|
+
errLDS_PACE_KeyAgreement_CantInitialize = 2164260898,
|
|
14379
|
+
/**
|
|
14380
|
+
* PACE: Ephemeral Keys Cannot Create
|
|
14381
|
+
*/
|
|
14382
|
+
errLDS_PACE_EphemeralKeys_CantCreate = 2164260899,
|
|
14383
|
+
/**
|
|
14384
|
+
* PACE: Mapping Cannot Decode Nonce
|
|
14385
|
+
*/
|
|
14386
|
+
errLDS_PACE_Mapping_CantDecodeNonce = 2164260900,
|
|
14387
|
+
/**
|
|
14388
|
+
* PACE: Shared Secret Cannot Create
|
|
14389
|
+
*/
|
|
14390
|
+
errLDS_PACE_SharedSecret_CantCreate = 2164260901,
|
|
14391
|
+
/**
|
|
14392
|
+
* PACE: Domain Params Unsupported Format
|
|
14393
|
+
*/
|
|
14394
|
+
errLDS_PACE_DomainParams_UnsupportedFormat = 2164260902,
|
|
14395
|
+
/**
|
|
14396
|
+
* PACE: Ephemeral Keys Incorrect
|
|
14397
|
+
*/
|
|
14398
|
+
errLDS_PACE_EphemeralKeys_Incorrect = 2164260903,
|
|
14399
|
+
/**
|
|
14400
|
+
* PACE: Mapping Ephemeral Keys Incorrect
|
|
14401
|
+
*/
|
|
14402
|
+
errLDS_PACE_Mapping_EphemeralKeys_Incorrect = 2164260904,
|
|
14403
|
+
/**
|
|
14404
|
+
* PACE: Mapping Cannot Perform
|
|
14405
|
+
*/
|
|
14406
|
+
errLDS_PACE_Mapping_CantPerform = 2164260905,
|
|
14407
|
+
/**
|
|
14408
|
+
* PACE: Non-Matching Auth Tokens
|
|
14409
|
+
*/
|
|
14410
|
+
errLDS_PACE_NonMatchingAuthTokens = 2164260906,
|
|
14411
|
+
/**
|
|
14412
|
+
* PACE: CAM data incorrect
|
|
14413
|
+
*/
|
|
14414
|
+
errLDS_PACE_CAM_Data_Incorrect = 2164260907,
|
|
14415
|
+
/**
|
|
14416
|
+
* PACE: CAM data cannot verify
|
|
14417
|
+
*/
|
|
14418
|
+
errLDS_PACE_CAM_Data_CantVerify = 2164260908,
|
|
14419
|
+
/**
|
|
14420
|
+
* PACE: CAM data non-matching
|
|
14421
|
+
*/
|
|
14422
|
+
errLDS_PACE_CAM_Data_NonMatching = 2164260909,
|
|
14423
|
+
/**
|
|
14424
|
+
* PACE: IM scheme incorrect
|
|
14425
|
+
*/
|
|
14426
|
+
errLDS_PACE_IM_Scheme_Incorrect = 2164260910,
|
|
14427
|
+
/**
|
|
14428
|
+
* PACE: Random mapping failed
|
|
14429
|
+
*/
|
|
14430
|
+
errLDS_PACE_IM_RandomMapping_Failed = 2164260911,
|
|
14431
|
+
/**
|
|
14432
|
+
* CA: Cannot Find Public Key
|
|
14433
|
+
*/
|
|
14434
|
+
errLDS_CA_CantFindPublicKey = 2164260912,
|
|
14435
|
+
/**
|
|
14436
|
+
* CA: Cannot Find Info
|
|
14437
|
+
*/
|
|
14438
|
+
errLDS_CA_CantFindInfo = 2164260913,
|
|
14439
|
+
/**
|
|
14440
|
+
* CA: Incorrect Version
|
|
14441
|
+
*/
|
|
14442
|
+
errLDS_CA_IncorrectVersion = 2164260914,
|
|
14443
|
+
/**
|
|
14444
|
+
* CA: Cannot Find Domain Parameters
|
|
14445
|
+
*/
|
|
14446
|
+
errLDS_CA_CantFindDomainParameters = 2164260915,
|
|
14447
|
+
/**
|
|
14448
|
+
* CA: Key Agreement Cannot Initialize
|
|
14449
|
+
*/
|
|
14450
|
+
errLDS_CA_KeyAgreement_CantInitialize = 2164260916,
|
|
14451
|
+
/**
|
|
14452
|
+
* CA: Public Key Unsupported Algorithm
|
|
14453
|
+
*/
|
|
14454
|
+
errLDS_CA_PublicKey_UnsupportedAlgorithm = 2164260917,
|
|
14455
|
+
/**
|
|
14456
|
+
* CA: Ephemeral Keys Cannot Create
|
|
14457
|
+
*/
|
|
14458
|
+
errLDS_CA_EphemeralKeys_CantCreate = 2164260918,
|
|
14459
|
+
/**
|
|
14460
|
+
* CA: Shared Secret Cannot Create
|
|
14461
|
+
*/
|
|
14462
|
+
errLDS_CA_SharedSecret_CantCreate = 2164260919,
|
|
14463
|
+
/**
|
|
14464
|
+
* CA: Non-Matching Auth Tokens
|
|
14465
|
+
*/
|
|
14466
|
+
errLDS_CA_NonMatchingAuthTokens = 2164260920,
|
|
14467
|
+
/**
|
|
14468
|
+
* TA: Incorrect Version
|
|
14469
|
+
*/
|
|
14470
|
+
errLDS_TA_IncorrectVersion = 2164260928,
|
|
14471
|
+
/**
|
|
14472
|
+
* TA: Cannot Build Certificate Chain
|
|
14473
|
+
*/
|
|
14474
|
+
errLDS_TA_CantBuildCertificateChain = 2164260929,
|
|
14475
|
+
/**
|
|
14476
|
+
* TA: Cannot Find IS Private Key
|
|
14477
|
+
*/
|
|
14478
|
+
errLDS_TA_CantFindISPrivateKey = 2164260930,
|
|
14479
|
+
/**
|
|
14480
|
+
* TA: Public Key Unsupported Algorithm
|
|
14481
|
+
*/
|
|
14482
|
+
errLDS_TA_PublicKey_UnsupportedAlgorithm = 2164260931,
|
|
14483
|
+
/**
|
|
14484
|
+
* TA: Signature Building Error
|
|
14485
|
+
*/
|
|
14486
|
+
errLDS_TA_SignatureBuildingError = 2164260932,
|
|
14487
|
+
/**
|
|
14488
|
+
* TA: Invalid Key Algorithm Parameters
|
|
14489
|
+
*/
|
|
14490
|
+
errLDS_TA_InvalidKeyAlgorithmParameters = 2164260933,
|
|
14491
|
+
/**
|
|
14492
|
+
* AA: Public Key Unsupported Algorithm
|
|
14493
|
+
*/
|
|
14494
|
+
errLDS_AA_PublicKey_UnsupportedAlgorithm = 2164260944,
|
|
14495
|
+
/**
|
|
14496
|
+
* AA: Public Key Incorrect Data
|
|
14497
|
+
*/
|
|
14498
|
+
errLDS_AA_PublicKey_IncorrectData = 2164260945,
|
|
14499
|
+
/**
|
|
14500
|
+
* AA: Public Key Incorrect Parameters
|
|
14501
|
+
*/
|
|
14502
|
+
errLDS_AA_PublicKey_IncorrectParameters = 2164260946,
|
|
14503
|
+
/**
|
|
14504
|
+
* AA: Public Key Undefined Parameters
|
|
14505
|
+
*/
|
|
14506
|
+
errLDS_AA_PublicKey_UndefinedParameters = 2164260947,
|
|
14507
|
+
/**
|
|
14508
|
+
* AA: Signature Incorrect Data
|
|
14509
|
+
*/
|
|
14510
|
+
errLDS_AA_Signature_IncorrectData = 2164260948,
|
|
14511
|
+
/**
|
|
14512
|
+
* AA: Unsupported recovery scheme
|
|
14513
|
+
*/
|
|
14514
|
+
errLDS_AA_UnsupportedRecoveryScheme = 2164260949,
|
|
14515
|
+
/**
|
|
14516
|
+
* AA: Incorrect Trailer
|
|
14517
|
+
*/
|
|
14518
|
+
errLDS_AA_IncorrectTrailer = 2164260950,
|
|
14519
|
+
/**
|
|
14520
|
+
* AA: Unsupported Digest Algorithm
|
|
14521
|
+
*/
|
|
14522
|
+
errLDS_AA_UnsupportedDigestAlgorithm = 2164260951,
|
|
14523
|
+
/**
|
|
14524
|
+
* RI: Sector Key Cannot Find
|
|
14525
|
+
*/
|
|
14526
|
+
errLDS_RI_SectorKey_CantFind = 2164260976,
|
|
14527
|
+
/**
|
|
14528
|
+
* RI: Sector Key Incorrect Data
|
|
14529
|
+
*/
|
|
14530
|
+
errLDS_RI_SectorKey_IncorrectData = 2164260977,
|
|
14531
|
+
/**
|
|
14532
|
+
* RI: Sector Key Incomplete Data
|
|
14533
|
+
*/
|
|
14534
|
+
errLDS_RI_SectorKey_IncompleteData = 2164260978,
|
|
14535
|
+
/**
|
|
14536
|
+
* CV Certificate: Missing mandatory data PK
|
|
14537
|
+
*/
|
|
14538
|
+
errLDS_CV_Certificate_MissingMandatoryData_PK = 2164260960,
|
|
14539
|
+
/**
|
|
14540
|
+
* CV Certificate: Public key unsupported
|
|
14541
|
+
*/
|
|
14542
|
+
errLDS_CV_Certificate_PublicKey_Unsupported = 2164260962,
|
|
14543
|
+
/**
|
|
14544
|
+
* CV Certificate: CHAT unsupported terminal type
|
|
14545
|
+
*/
|
|
14546
|
+
errLDS_CV_Certificate_CHAT_UnsupportedTerminalType = 2164260963,
|
|
14547
|
+
/**
|
|
14548
|
+
* CV Certificate: Private key unsupported
|
|
14549
|
+
*/
|
|
14550
|
+
errLDS_CV_Certificate_PrivateKey_Unsupported = 2164260964,
|
|
14551
|
+
/**
|
|
14552
|
+
* CV Certificate: Private key invalid params
|
|
14553
|
+
*/
|
|
14554
|
+
errLDS_CV_Certificate_PrivateKey_InvalidParams = 2164260965,
|
|
14555
|
+
/**
|
|
14556
|
+
* CV Certificate: Incorrect data
|
|
14557
|
+
*/
|
|
14558
|
+
errLDS_CV_Certificate_IncorrectData = 2164261216,
|
|
14559
|
+
/**
|
|
14560
|
+
* CV Certificate: CPI incorrect data
|
|
14561
|
+
*/
|
|
14562
|
+
errLDS_CV_Certificate_CPI_IncorrectData = 2164261217,
|
|
14563
|
+
/**
|
|
14564
|
+
* CV Certificate: CAR incorrect data
|
|
14565
|
+
*/
|
|
14566
|
+
errLDS_CV_Certificate_CAR_IncorrectData = 2164261218,
|
|
14567
|
+
/**
|
|
14568
|
+
* CV Certificate: Public key incorrect data
|
|
14569
|
+
*/
|
|
14570
|
+
errLDS_CV_Certificate_PublicKey_IncorrectData = 2164261219,
|
|
14571
|
+
/**
|
|
14572
|
+
* CV Certificate: CHR incorrect data
|
|
14573
|
+
*/
|
|
14574
|
+
errLDS_CV_Certificate_CHR_IncorrectData = 2164261220,
|
|
14575
|
+
/**
|
|
14576
|
+
* CV Certificate: CHAT incorrect data
|
|
14577
|
+
*/
|
|
14578
|
+
errLDS_CV_Certificate_CHAT_IncorrectData = 2164261221,
|
|
14579
|
+
/**
|
|
14580
|
+
* CV Certificate: Valid from incorrect data
|
|
14581
|
+
*/
|
|
14582
|
+
errLDS_CV_Certificate_ValidFrom_IncorrectData = 2164261222,
|
|
14583
|
+
/**
|
|
14584
|
+
* CV Certificate: Valid to incorrect data
|
|
14585
|
+
*/
|
|
14586
|
+
errLDS_CV_Certificate_ValidTo_IncorrectData = 2164261223,
|
|
14587
|
+
/**
|
|
14588
|
+
* CV Certificate: Extensions incorrect data
|
|
14589
|
+
*/
|
|
14590
|
+
errLDS_CV_Certificate_Extensions_IncorrectData = 2164261224,
|
|
14591
|
+
/**
|
|
14592
|
+
* CV Certificate: Private key incorrect data
|
|
14593
|
+
*/
|
|
14594
|
+
errLDS_CV_Certificate_PrivateKey_IncorrectData = 2164261225,
|
|
14595
|
+
/**
|
|
14596
|
+
* CV Certificate: Private key missing
|
|
14597
|
+
*/
|
|
14598
|
+
errLDS_CV_Certificate_PrivateKey_Missing = 2164261226,
|
|
14599
|
+
/**
|
|
14600
|
+
* VDS: Unsupported version
|
|
14601
|
+
*/
|
|
14602
|
+
errLDS_VDS_UnsupportedVersion = 2164261376,
|
|
14603
|
+
/**
|
|
14604
|
+
* VDS: Issuing country size
|
|
14605
|
+
*/
|
|
14606
|
+
errLDS_VDS_Issuing_Country_Size = 2164261377,
|
|
14607
|
+
/**
|
|
14608
|
+
* VDS: Issuing country incorrect data
|
|
14609
|
+
*/
|
|
14610
|
+
errLDS_VDS_Issuing_Country_IncorrectData = 2164261378,
|
|
14611
|
+
/**
|
|
14612
|
+
* VDS: Signature certificate size
|
|
14613
|
+
*/
|
|
14614
|
+
errLDS_VDS_Signer_Certificate_Size = 2164261379,
|
|
14615
|
+
/**
|
|
14616
|
+
* VDS: Signature certificate data
|
|
14617
|
+
*/
|
|
14618
|
+
errLDS_VDS_Signer_Certificate_Data = 2164261380,
|
|
14619
|
+
/**
|
|
14620
|
+
* VDS: Signature incorrect data
|
|
14621
|
+
*/
|
|
14622
|
+
errLDS_VDS_Signature_IncorrectData = 2164261381,
|
|
14623
|
+
/**
|
|
14624
|
+
* VDS: Incorrect data
|
|
14625
|
+
*/
|
|
14626
|
+
errLDS_VDS_NC_IncorrectData = 2164261632,
|
|
14627
|
+
/**
|
|
14628
|
+
* VDS: Missing or incorrect data
|
|
14629
|
+
*/
|
|
14630
|
+
errLDS_VDS_NC_MissingOrIncorrect_Data = 2164261633,
|
|
14631
|
+
/**
|
|
14632
|
+
* VDS: Missing or incorrect header
|
|
14633
|
+
*/
|
|
14634
|
+
errLDS_VDS_NC_MissingOrIncorrect_Header = 2164261634,
|
|
14635
|
+
/**
|
|
14636
|
+
* VDS: Missing or incorrect type
|
|
14637
|
+
*/
|
|
14638
|
+
errLDS_VDS_NC_MissingOrIncorrect_Type = 2164261635,
|
|
14639
|
+
/**
|
|
14640
|
+
* VDS: Missing or incorrect version
|
|
14641
|
+
*/
|
|
14642
|
+
errLDS_VDS_NC_MissingOrIncorrect_Version = 2164261636,
|
|
14643
|
+
/**
|
|
14644
|
+
* VDS: Missing or incorrect issuing country
|
|
14645
|
+
*/
|
|
14646
|
+
errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry = 2164261637,
|
|
14647
|
+
/**
|
|
14648
|
+
* VDS: Missing or incorrect message
|
|
14649
|
+
*/
|
|
14650
|
+
errLDS_VDS_NC_MissingOrIncorrect_Message = 2164261638,
|
|
14651
|
+
/**
|
|
14652
|
+
* VDS: Missing or incorrect signature
|
|
14653
|
+
*/
|
|
14654
|
+
errLDS_VDS_NC_MissingOrIncorrect_Signature = 2164261639,
|
|
14655
|
+
/**
|
|
14656
|
+
* VDS: Missing or incorrect signature algorithm
|
|
14657
|
+
*/
|
|
14658
|
+
errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm = 2164261640,
|
|
14659
|
+
/**
|
|
14660
|
+
* VDS: Missing or incorrect certificate
|
|
14661
|
+
*/
|
|
14662
|
+
errLDS_VDS_NC_MissingOrIncorrect_Certificate = 2164261641,
|
|
14663
|
+
/**
|
|
14664
|
+
* VDS: Missing or incorrect signature value
|
|
14665
|
+
*/
|
|
14666
|
+
errLDS_VDS_NC_MissingOrIncorrect_SigValue = 2164261642
|
|
14667
|
+
}
|
|
14146
14668
|
/**
|
|
14147
14669
|
* Regula Document Reader Web API
|
|
14148
14670
|
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
|
|
@@ -15102,6 +15624,24 @@ export interface TransactionProcessRequest {
|
|
|
15102
15624
|
* @memberof TransactionProcessRequest
|
|
15103
15625
|
*/
|
|
15104
15626
|
'List'?: Array<ProcessRequestImage>;
|
|
15627
|
+
/**
|
|
15628
|
+
* Session ID
|
|
15629
|
+
* @type {string}
|
|
15630
|
+
* @memberof TransactionProcessRequest
|
|
15631
|
+
*/
|
|
15632
|
+
'tag'?: string;
|
|
15633
|
+
/**
|
|
15634
|
+
* Customer name
|
|
15635
|
+
* @type {string}
|
|
15636
|
+
* @memberof TransactionProcessRequest
|
|
15637
|
+
*/
|
|
15638
|
+
'tenant'?: string;
|
|
15639
|
+
/**
|
|
15640
|
+
* Environment type
|
|
15641
|
+
* @type {string}
|
|
15642
|
+
* @memberof TransactionProcessRequest
|
|
15643
|
+
*/
|
|
15644
|
+
'env'?: string;
|
|
15105
15645
|
/**
|
|
15106
15646
|
* Live portrait photo
|
|
15107
15647
|
* @type {string}
|