@regulaforensics/ui-components 9.1.744-nightly → 9.1.746-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.
@@ -14,11 +14,13 @@ import { CertificateData as CertificateData_2 } from '@regulaforensics/document-
14
14
  import { ContainerList as ContainerList_2 } from '@regulaforensics/document-reader-webclient';
15
15
  import { CrossSourceValueComparison } from '@regulaforensics/document-reader-webclient';
16
16
  import { DataModule } from '@regulaforensics/document-reader-webclient';
17
+ import { DetailsAge as DetailsAge_2 } from '@regulaforensics/document-reader-webclient';
17
18
  import { DetailsOptical as DetailsOptical_2 } from '@regulaforensics/document-reader-webclient';
18
19
  import { DetailsRFID as DetailsRFID_2 } from '@regulaforensics/document-reader-webclient';
19
20
  import { DetectResponse } from '@regulaforensics/facesdk-webclient';
20
21
  import { DocBarCodeInfoFieldsList } from '@regulaforensics/document-reader-webclient';
21
22
  import { DocBarCodeInfoItem } from '@regulaforensics/document-reader-webclient';
23
+ import { DocFeature as DocFeature_2 } from '@regulaforensics/document-reader-webclient';
22
24
  import { DocGraphicsInfoItem } from '@regulaforensics/document-reader-webclient';
23
25
  import { DocumentPosition } from '@regulaforensics/document-reader-webclient';
24
26
  import { DocumentPositionItem } from '@regulaforensics/document-reader-webclient';
@@ -102,6 +104,7 @@ import { LicenseItem } from '@regulaforensics/document-reader-webclient';
102
104
  import { ListVerifiedFields as ListVerifiedFields_2 } from '@regulaforensics/document-reader-webclient';
103
105
  import { ListVerifiedFieldsItem } from '@regulaforensics/document-reader-webclient';
104
106
  import { LivenessParams as LivenessParams_2 } from '@regulaforensics/document-reader-webclient';
107
+ import { Message as Message_2 } from '@regulaforensics/document-reader-webclient';
105
108
  import { MrzPositionItem } from '@regulaforensics/document-reader-webclient';
106
109
  import { MRZRowsItem as MRZRowsItem_2 } from '@regulaforensics/document-reader-webclient';
107
110
  import { MRZTestQuality as MRZTestQuality_2 } from '@regulaforensics/document-reader-webclient';
@@ -114,6 +117,7 @@ import { PArrayField } from '@regulaforensics/document-reader-webclient';
114
117
  import { ParsedData } from '@regulaforensics/document-reader-webclient';
115
118
  import { PerDocumentConfig as PerDocumentConfig_2 } from '@regulaforensics/document-reader-webclient';
116
119
  import { PhotoIdentItem } from '@regulaforensics/document-reader-webclient';
120
+ import { PID as PID_2 } from '@regulaforensics/document-reader-webclient';
117
121
  import { Point as Point_2 } from '@regulaforensics/document-reader-webclient';
118
122
  import { PointsContainer } from '@regulaforensics/document-reader-webclient';
119
123
  import { ProcessParams as ProcessParams_2 } from '@regulaforensics/document-reader-webclient';
@@ -177,6 +181,12 @@ import { TrfFtBytes as TrfFtBytes_2 } from '@regulaforensics/document-reader-web
177
181
  import { TrfFtString as TrfFtString_2 } from '@regulaforensics/document-reader-webclient';
178
182
  import { ValidationError } from 'class-validator';
179
183
  import { ValidationOptions } from 'class-validator';
184
+ import { VDItem as VDItem_2 } from '@regulaforensics/document-reader-webclient';
185
+ import { VDSData as VDSData_2 } from '@regulaforensics/document-reader-webclient';
186
+ import { VDSDataItem } from '@regulaforensics/document-reader-webclient';
187
+ import { VDSNCData as VDSNCData_2 } from '@regulaforensics/document-reader-webclient';
188
+ import { VDSNCDataItem } from '@regulaforensics/document-reader-webclient';
189
+ import { VEItem as VEItem_2 } from '@regulaforensics/document-reader-webclient';
180
190
  import { VerifiedFieldMap as VerifiedFieldMap_2 } from '@regulaforensics/document-reader-webclient';
181
191
  import { VisualExtendedFieldItem } from '@regulaforensics/document-reader-webclient';
182
192
 
@@ -1208,6 +1218,42 @@ export declare const DefaultImage: FC<IDefaultImageProps>;
1208
1218
  /** Includes Overall, Verifications, PersonInfo and About components. */
1209
1219
  export declare const Details: FC<IDetailsProps>;
1210
1220
 
1221
+ /**
1222
+ *
1223
+ */
1224
+ export declare class DetailsAge implements DetailsAge_2 {
1225
+ /**
1226
+ *
1227
+ * @type {number}
1228
+ */
1229
+ threshold: number;
1230
+ /**
1231
+ *
1232
+ * @type {eCheckResult}
1233
+ */
1234
+ overThreshold: eCheckResult;
1235
+ /**
1236
+ *
1237
+ * @type {eCheckResult}
1238
+ */
1239
+ over18: eCheckResult;
1240
+ /**
1241
+ *
1242
+ * @type {eCheckResult}
1243
+ */
1244
+ over21: eCheckResult;
1245
+ /**
1246
+ *
1247
+ * @type {eCheckResult}
1248
+ */
1249
+ over25: eCheckResult;
1250
+ /**
1251
+ *
1252
+ * @type {eCheckResult}
1253
+ */
1254
+ over65: eCheckResult;
1255
+ }
1256
+
1211
1257
  /**
1212
1258
  * The summary of all optical checks.
1213
1259
  */
@@ -1486,6 +1532,22 @@ export declare class DocBinaryInfoContainer extends aContainer implements iDocBi
1486
1532
  */
1487
1533
  export declare const DocBinaryInfoContainerResultTypes: tDocBinaryInfoContainerResultType[];
1488
1534
 
1535
+ /**
1536
+ *
1537
+ */
1538
+ declare class DocFeature implements DocFeature_2 {
1539
+ /**
1540
+ *
1541
+ * @type {number}
1542
+ */
1543
+ Type: number;
1544
+ /**
1545
+ *
1546
+ * @type {eLCID}
1547
+ */
1548
+ Data: TrfFtBytes;
1549
+ }
1550
+
1489
1551
  /**
1490
1552
  * Information about one graphic field - abstract class
1491
1553
  */
@@ -5362,6 +5424,38 @@ declare interface IUnknownProps extends HTMLAttributes<HTMLSpanElement> {
5362
5424
  size?: number;
5363
5425
  }
5364
5426
 
5427
+ /**
5428
+ * Container for iVDSContainer
5429
+ */
5430
+ export declare interface iVDSContainer extends aContainer, VDSDataItem {
5431
+ /**
5432
+ *
5433
+ * @type {VDSData}
5434
+ */
5435
+ dftVDS: VDSData;
5436
+ /**
5437
+ * Result type stored in this container
5438
+ * @type {tVDSContainerResultType}
5439
+ */
5440
+ result_type: tVDSContainerResultType;
5441
+ }
5442
+
5443
+ /**
5444
+ * Container for iVDSNCContainer
5445
+ */
5446
+ export declare interface iVDSNCContainer extends aContainer, VDSNCDataItem {
5447
+ /**
5448
+ *
5449
+ * @type {VDSNCData}
5450
+ */
5451
+ dftVDS_NC: VDSNCData;
5452
+ /**
5453
+ * Result type stored in this container
5454
+ * @type {tVDSNCContainerResultType}
5455
+ */
5456
+ result_type: tVDSNCContainerResultType;
5457
+ }
5458
+
5365
5459
  declare interface IVerificationsProps extends HTMLAttributes<HTMLDivElement> {
5366
5460
  /** Component style type. */
5367
5461
  type?: 'list' | 'collapse';
@@ -5583,6 +5677,27 @@ export declare const mergeDetailedStatus: (statuses: RDetailedStatus[]) => RDeta
5583
5677
 
5584
5678
  export declare const mergeStatuses: (checks: eCheckResult[]) => eCheckResult;
5585
5679
 
5680
+ /**
5681
+ *
5682
+ */
5683
+ declare class Message implements Message_2 {
5684
+ /**
5685
+ *
5686
+ * @type {PID}
5687
+ */
5688
+ pid: PID;
5689
+ /**
5690
+ *
5691
+ * @type {string}
5692
+ */
5693
+ uvci: string;
5694
+ /**
5695
+ *
5696
+ * @type {Array<VEItem>}
5697
+ */
5698
+ ve: Array<VEItem>;
5699
+ }
5700
+
5586
5701
  /**
5587
5702
  * Container for MRZ detector
5588
5703
  */
@@ -6060,6 +6175,32 @@ export declare class PhotoIdentResult extends aAuthenticityCheckResultItem imple
6060
6175
  Type: eAuthenticity.IPI;
6061
6176
  }
6062
6177
 
6178
+ /**
6179
+ *
6180
+ */
6181
+ declare class PID implements PID_2 {
6182
+ /**
6183
+ *
6184
+ * @type {string}
6185
+ */
6186
+ dob: string;
6187
+ /**
6188
+ *
6189
+ * @type {string}
6190
+ */
6191
+ i: string;
6192
+ /**
6193
+ *
6194
+ * @type {string}
6195
+ */
6196
+ n: string;
6197
+ /**
6198
+ *
6199
+ * @type {string}
6200
+ */
6201
+ sex: string;
6202
+ }
6203
+
6063
6204
  /**
6064
6205
  * Point coordinates
6065
6206
  */
@@ -9076,6 +9217,21 @@ export declare class Status implements Status_2 {
9076
9217
  * @type {DetailsOptical}
9077
9218
  */
9078
9219
  detailsOptical: DetailsOptical;
9220
+ /**
9221
+ *
9222
+ * @type {eCheckResult}
9223
+ */
9224
+ age: eCheckResult;
9225
+ /**
9226
+ *
9227
+ * @type {DetailsAge}
9228
+ */
9229
+ detailsAge: DetailsAge;
9230
+ /**
9231
+ *
9232
+ * @type {eCheckResult}
9233
+ */
9234
+ mDL: eCheckResult;
9079
9235
  }
9080
9236
 
9081
9237
  /**
@@ -9993,6 +10149,16 @@ declare type TTabScrollState = Record<ScrollTabName, number>;
9993
10149
  */
9994
10150
  export declare type tTextResultContainerResultType = Result.TEXT;
9995
10151
 
10152
+ /**
10153
+ * Result type of VDSContainer
10154
+ */
10155
+ export declare type tVDSContainerResultType = Result.VDS;
10156
+
10157
+ /**
10158
+ * Result type of VDSNCContainer
10159
+ */
10160
+ export declare type tVDSNCContainerResultType = Result.VDS_NC;
10161
+
9996
10162
  /**
9997
10163
  * Structure serves for storing the results of a single type
9998
10164
  * document authenticity check
@@ -10098,7 +10264,15 @@ AuthenticityCheckListContainer
10098
10264
  /**
10099
10265
  * Byte array result
10100
10266
  */
10101
- | ByteArrayContainer;
10267
+ | ByteArrayContainer
10268
+ /**
10269
+ * VDS result
10270
+ */
10271
+ | VDSContainer
10272
+ /**
10273
+ * VDSNC result
10274
+ */
10275
+ | VDSNCContainer;
10102
10276
 
10103
10277
  /** Unknown icon. */
10104
10278
  declare const Unknown: FC<IUnknownProps>;
@@ -10109,6 +10283,275 @@ declare const Unknown: FC<IUnknownProps>;
10109
10283
  */
10110
10284
  export declare type uRAuthenticityCheck = RAuthenticityFibersCheck | RAuthenticityIdentCheck | RAuthenticityPhotoIdentCheck | RAuthenticitySecurityCheck | RAuthenticityTextCheck;
10111
10285
 
10286
+ /**
10287
+ *
10288
+ */
10289
+ declare class VDItem implements VDItem_2 {
10290
+ /**
10291
+ *
10292
+ * @type {string}
10293
+ */
10294
+ adm: string;
10295
+ /**
10296
+ *
10297
+ * @type {string}
10298
+ */
10299
+ ctr: string;
10300
+ /**
10301
+ *
10302
+ * @type {string}
10303
+ */
10304
+ dvc: string;
10305
+ /**
10306
+ *
10307
+ * @type {string}
10308
+ */
10309
+ lot: string;
10310
+ /**
10311
+ *
10312
+ * @type {number}
10313
+ */
10314
+ seq: number;
10315
+ }
10316
+
10317
+ /**
10318
+ * Container for VDSData
10319
+ */
10320
+ export declare class VDSContainer extends aContainer implements iVDSContainer {
10321
+ /**
10322
+ * VDS result
10323
+ * @type {VDSData}
10324
+ */
10325
+ dftVDS: VDSData;
10326
+ /**
10327
+ * Result type stored in this container
10328
+ * @type {tVDSContainerResultType}
10329
+ */
10330
+ result_type: tVDSContainerResultType;
10331
+ /**
10332
+ * Creates an instance of VDSContainer from plain object
10333
+ *
10334
+ * @param {unknown} input - plain object
10335
+ * @returns {VDSContainer}
10336
+ */
10337
+ static fromPlain: (input: unknown) => VDSContainer;
10338
+ /**
10339
+ * Get VDSContainer from ProcessResponse
10340
+ * @param {ProcessResponse} input - ProcessResponse object
10341
+ * @param {boolean} asPlain - if true, returns plain object
10342
+ * @returns {(VDSContainer|iVDSContainer)[]}
10343
+ */
10344
+ static fromProcessResponse(input: ProcessResponse, asPlain: true): iVDSContainer[];
10345
+ static fromProcessResponse(input: ProcessResponse, asPlain?: false): VDSContainer[];
10346
+ /**
10347
+ * Check if the given instance of VDSContainer is valid
10348
+ *
10349
+ * @param {VDSContainer} instance - instance of VDSContainer to validate
10350
+ * @throws {DocReaderTypeError} - if the given instance of VDSContainer is not valid
10351
+ * @returns {true | never} - true if the given instance of VDSContainer is valid
10352
+ */
10353
+ static validate: (instance: VDSContainer) => true | never;
10354
+ }
10355
+
10356
+ /**
10357
+ * Result type of VDSContainer
10358
+ * @type {tVDSContainerResultType[]}
10359
+ */
10360
+ export declare const VDSContainerResultTypes: tVDSContainerResultType[];
10361
+
10362
+ /**
10363
+ *
10364
+ */
10365
+ export declare class VDSData implements VDSData_2 {
10366
+ /**
10367
+ *
10368
+ * @type {string}
10369
+ */
10370
+ Certificate: string;
10371
+ /**
10372
+ *
10373
+ * @type {RfidCertificateEx[]}
10374
+ */
10375
+ CertificateChain: RfidCertificateEx[];
10376
+ /**
10377
+ *
10378
+ * @type {DocFeature[]}
10379
+ */
10380
+ DocFeatures: DocFeature[];
10381
+ /**
10382
+ *
10383
+ * @type {string}
10384
+ */
10385
+ DocIssueDate: string;
10386
+ /**
10387
+ *
10388
+ * @type {number}
10389
+ */
10390
+ DocType: number;
10391
+ /**
10392
+ *
10393
+ * @type {number}
10394
+ */
10395
+ FeatureRef: number;
10396
+ /**
10397
+ *
10398
+ * @type {string}
10399
+ */
10400
+ IssuingCountry: string;
10401
+ /**
10402
+ *
10403
+ * @type {number[]}
10404
+ */
10405
+ Notifications: number[];
10406
+ /**
10407
+ *
10408
+ * @type {TrfFtBytes}
10409
+ */
10410
+ Signature: TrfFtBytes;
10411
+ /**
10412
+ *
10413
+ * @type {string}
10414
+ */
10415
+ SignatureDate: string;
10416
+ /**
10417
+ *
10418
+ * @type {string}
10419
+ */
10420
+ Signer: string;
10421
+ /**
10422
+ *
10423
+ * @type {number}
10424
+ */
10425
+ Type: number;
10426
+ /**
10427
+ *
10428
+ * @type {number}
10429
+ */
10430
+ Version: number;
10431
+ }
10432
+
10433
+ /**
10434
+ * Container for VDSNCData
10435
+ */
10436
+ export declare class VDSNCContainer extends aContainer implements iVDSNCContainer {
10437
+ /**
10438
+ * VDS result
10439
+ * @type {VDSNCData}
10440
+ */
10441
+ dftVDS_NC: VDSNCData;
10442
+ /**
10443
+ * Result type stored in this container
10444
+ * @type {tVDSNCContainerResultType}
10445
+ */
10446
+ result_type: tVDSNCContainerResultType;
10447
+ /**
10448
+ * Creates an instance of VDSNCContainer from plain object
10449
+ *
10450
+ * @param {unknown} input - plain object
10451
+ * @returns {VDSNCContainer}
10452
+ */
10453
+ static fromPlain: (input: unknown) => VDSNCContainer;
10454
+ /**
10455
+ * Get VDSNCContainer from ProcessResponse
10456
+ * @param {ProcessResponse} input - ProcessResponse object
10457
+ * @param {boolean} asPlain - if true, returns plain object
10458
+ * @returns {(VDSNCContainer|iVDSNCContainer)[]}
10459
+ */
10460
+ static fromProcessResponse(input: ProcessResponse, asPlain: true): iVDSNCContainer[];
10461
+ static fromProcessResponse(input: ProcessResponse, asPlain?: false): iVDSNCContainer[];
10462
+ /**
10463
+ * Check if the given instance of VDSNCContainer is valid
10464
+ *
10465
+ * @param {VDSNCContainer} instance - instance of VDSNCContainer to validate
10466
+ * @throws {DocReaderTypeError} - if the given instance of VDSNCContainer is not valid
10467
+ * @returns {true | never} - true if the given instance of VDSNCContainer is valid
10468
+ */
10469
+ static validate: (instance: VDSNCContainer) => true | never;
10470
+ }
10471
+
10472
+ /**
10473
+ * Result type of VDSNCContainer
10474
+ * @type {tVDSNCContainerResultType[]}
10475
+ */
10476
+ export declare const VDSNCContainerResultTypes: tVDSNCContainerResultType[];
10477
+
10478
+ /**
10479
+ *
10480
+ */
10481
+ export declare class VDSNCData implements VDSNCData_2 {
10482
+ /**
10483
+ *
10484
+ * @type {TrfFtBytes}
10485
+ */
10486
+ Certificate: TrfFtBytes;
10487
+ /**
10488
+ *
10489
+ * @type {RfidCertificateEx[]}
10490
+ */
10491
+ CertificateChain: RfidCertificateEx[];
10492
+ /**
10493
+ *
10494
+ * @type {string}
10495
+ */
10496
+ IssuingCountry: string;
10497
+ /**
10498
+ *
10499
+ * @type {Message}
10500
+ */
10501
+ Message: Message;
10502
+ /**
10503
+ *
10504
+ * @type {number[]}
10505
+ */
10506
+ Notifications: number[];
10507
+ /**
10508
+ *
10509
+ * @type {TrfFtBytes}
10510
+ */
10511
+ Signature: TrfFtBytes;
10512
+ /**
10513
+ *
10514
+ * @type {string}
10515
+ */
10516
+ SignatureAlg: string;
10517
+ /**
10518
+ *
10519
+ * @type {string}
10520
+ */
10521
+ Type: string;
10522
+ /**
10523
+ *
10524
+ * @type {number}
10525
+ */
10526
+ Version: number;
10527
+ }
10528
+
10529
+ /**
10530
+ *
10531
+ */
10532
+ declare class VEItem implements VEItem_2 {
10533
+ /**
10534
+ *
10535
+ * @type {string}
10536
+ */
10537
+ des: string;
10538
+ /**
10539
+ *
10540
+ * @type {string}
10541
+ */
10542
+ dis: string;
10543
+ /**
10544
+ *
10545
+ * @type {string}
10546
+ */
10547
+ nam: string;
10548
+ /**
10549
+ *
10550
+ * @type {Array<VDItem>}
10551
+ */
10552
+ vd: Array<VDItem>;
10553
+ }
10554
+
10112
10555
  /** List of verifications. */
10113
10556
  export declare const Verifications: FC<IVerificationsProps>;
10114
10557