@regulaforensics/ui-components 9.1.745-rc → 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,10 +14,12 @@ 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 { DocBarCodeInfoFieldsList } from '@regulaforensics/document-reader-webclient';
20
21
  import { DocBarCodeInfoItem } from '@regulaforensics/document-reader-webclient';
22
+ import { DocFeature as DocFeature_2 } from '@regulaforensics/document-reader-webclient';
21
23
  import { DocGraphicsInfoItem } from '@regulaforensics/document-reader-webclient';
22
24
  import { DocumentPosition } from '@regulaforensics/document-reader-webclient';
23
25
  import { DocumentPositionItem } from '@regulaforensics/document-reader-webclient';
@@ -97,6 +99,7 @@ import { LicenseItem } from '@regulaforensics/document-reader-webclient';
97
99
  import { ListVerifiedFields as ListVerifiedFields_2 } from '@regulaforensics/document-reader-webclient';
98
100
  import { ListVerifiedFieldsItem } from '@regulaforensics/document-reader-webclient';
99
101
  import { LivenessParams as LivenessParams_2 } from '@regulaforensics/document-reader-webclient';
102
+ import { Message as Message_2 } from '@regulaforensics/document-reader-webclient';
100
103
  import { MrzPositionItem } from '@regulaforensics/document-reader-webclient';
101
104
  import { MRZRowsItem as MRZRowsItem_2 } from '@regulaforensics/document-reader-webclient';
102
105
  import { MRZTestQuality as MRZTestQuality_2 } from '@regulaforensics/document-reader-webclient';
@@ -109,6 +112,7 @@ import { PArrayField } from '@regulaforensics/document-reader-webclient';
109
112
  import { ParsedData } from '@regulaforensics/document-reader-webclient';
110
113
  import { PerDocumentConfig as PerDocumentConfig_2 } from '@regulaforensics/document-reader-webclient';
111
114
  import { PhotoIdentItem } from '@regulaforensics/document-reader-webclient';
115
+ import { PID as PID_2 } from '@regulaforensics/document-reader-webclient';
112
116
  import { Point as Point_2 } from '@regulaforensics/document-reader-webclient';
113
117
  import { PointsContainer } from '@regulaforensics/document-reader-webclient';
114
118
  import { ProcessParams as ProcessParams_2 } from '@regulaforensics/document-reader-webclient';
@@ -170,6 +174,12 @@ import { TrfFtBytes as TrfFtBytes_2 } from '@regulaforensics/document-reader-web
170
174
  import { TrfFtString as TrfFtString_2 } from '@regulaforensics/document-reader-webclient';
171
175
  import { ValidationError } from 'class-validator';
172
176
  import { ValidationOptions } from 'class-validator';
177
+ import { VDItem as VDItem_2 } from '@regulaforensics/document-reader-webclient';
178
+ import { VDSData as VDSData_2 } from '@regulaforensics/document-reader-webclient';
179
+ import { VDSDataItem } from '@regulaforensics/document-reader-webclient';
180
+ import { VDSNCData as VDSNCData_2 } from '@regulaforensics/document-reader-webclient';
181
+ import { VDSNCDataItem } from '@regulaforensics/document-reader-webclient';
182
+ import { VEItem as VEItem_2 } from '@regulaforensics/document-reader-webclient';
173
183
  import { VerifiedFieldMap as VerifiedFieldMap_2 } from '@regulaforensics/document-reader-webclient';
174
184
  import { VisualExtendedFieldItem } from '@regulaforensics/document-reader-webclient';
175
185
 
@@ -1154,6 +1164,42 @@ export declare const convertGeneralizedDateToLocal: (dateStr: string) => string;
1154
1164
  */
1155
1165
  export declare const decode: (data: string) => string;
1156
1166
 
1167
+ /**
1168
+ *
1169
+ */
1170
+ export declare class DetailsAge implements DetailsAge_2 {
1171
+ /**
1172
+ *
1173
+ * @type {number}
1174
+ */
1175
+ threshold: number;
1176
+ /**
1177
+ *
1178
+ * @type {eCheckResult}
1179
+ */
1180
+ overThreshold: eCheckResult;
1181
+ /**
1182
+ *
1183
+ * @type {eCheckResult}
1184
+ */
1185
+ over18: eCheckResult;
1186
+ /**
1187
+ *
1188
+ * @type {eCheckResult}
1189
+ */
1190
+ over21: eCheckResult;
1191
+ /**
1192
+ *
1193
+ * @type {eCheckResult}
1194
+ */
1195
+ over25: eCheckResult;
1196
+ /**
1197
+ *
1198
+ * @type {eCheckResult}
1199
+ */
1200
+ over65: eCheckResult;
1201
+ }
1202
+
1157
1203
  /**
1158
1204
  * The summary of all optical checks.
1159
1205
  */
@@ -1432,6 +1478,22 @@ export declare class DocBinaryInfoContainer extends aContainer implements iDocBi
1432
1478
  */
1433
1479
  export declare const DocBinaryInfoContainerResultTypes: tDocBinaryInfoContainerResultType[];
1434
1480
 
1481
+ /**
1482
+ *
1483
+ */
1484
+ declare class DocFeature implements DocFeature_2 {
1485
+ /**
1486
+ *
1487
+ * @type {number}
1488
+ */
1489
+ Type: number;
1490
+ /**
1491
+ *
1492
+ * @type {eLCID}
1493
+ */
1494
+ Data: TrfFtBytes;
1495
+ }
1496
+
1435
1497
  /**
1436
1498
  * Information about one graphic field - abstract class
1437
1499
  */
@@ -4675,6 +4737,38 @@ export declare interface iTextResultContainer extends aContainer, TextItem {
4675
4737
  result_type: tTextResultContainerResultType;
4676
4738
  }
4677
4739
 
4740
+ /**
4741
+ * Container for iVDSContainer
4742
+ */
4743
+ export declare interface iVDSContainer extends aContainer, VDSDataItem {
4744
+ /**
4745
+ *
4746
+ * @type {VDSData}
4747
+ */
4748
+ dftVDS: VDSData;
4749
+ /**
4750
+ * Result type stored in this container
4751
+ * @type {tVDSContainerResultType}
4752
+ */
4753
+ result_type: tVDSContainerResultType;
4754
+ }
4755
+
4756
+ /**
4757
+ * Container for iVDSNCContainer
4758
+ */
4759
+ export declare interface iVDSNCContainer extends aContainer, VDSNCDataItem {
4760
+ /**
4761
+ *
4762
+ * @type {VDSNCData}
4763
+ */
4764
+ dftVDS_NC: VDSNCData;
4765
+ /**
4766
+ * Result type stored in this container
4767
+ * @type {tVDSNCContainerResultType}
4768
+ */
4769
+ result_type: tVDSNCContainerResultType;
4770
+ }
4771
+
4678
4772
  /**
4679
4773
  * Container for License
4680
4774
  */
@@ -4838,6 +4932,27 @@ export declare const mergeDetailedStatus: (statuses: RDetailedStatus[]) => RDeta
4838
4932
 
4839
4933
  export declare const mergeStatuses: (checks: eCheckResult[]) => eCheckResult;
4840
4934
 
4935
+ /**
4936
+ *
4937
+ */
4938
+ declare class Message implements Message_2 {
4939
+ /**
4940
+ *
4941
+ * @type {PID}
4942
+ */
4943
+ pid: PID;
4944
+ /**
4945
+ *
4946
+ * @type {string}
4947
+ */
4948
+ uvci: string;
4949
+ /**
4950
+ *
4951
+ * @type {Array<VEItem>}
4952
+ */
4953
+ ve: Array<VEItem>;
4954
+ }
4955
+
4841
4956
  /**
4842
4957
  * Container for MRZ detector
4843
4958
  */
@@ -5302,6 +5417,32 @@ export declare class PhotoIdentResult extends aAuthenticityCheckResultItem imple
5302
5417
  Type: eAuthenticity.IPI;
5303
5418
  }
5304
5419
 
5420
+ /**
5421
+ *
5422
+ */
5423
+ declare class PID implements PID_2 {
5424
+ /**
5425
+ *
5426
+ * @type {string}
5427
+ */
5428
+ dob: string;
5429
+ /**
5430
+ *
5431
+ * @type {string}
5432
+ */
5433
+ i: string;
5434
+ /**
5435
+ *
5436
+ * @type {string}
5437
+ */
5438
+ n: string;
5439
+ /**
5440
+ *
5441
+ * @type {string}
5442
+ */
5443
+ sex: string;
5444
+ }
5445
+
5305
5446
  /**
5306
5447
  * Point coordinates
5307
5448
  */
@@ -8270,6 +8411,21 @@ export declare class Status implements Status_2 {
8270
8411
  * @type {DetailsOptical}
8271
8412
  */
8272
8413
  detailsOptical: DetailsOptical;
8414
+ /**
8415
+ *
8416
+ * @type {eCheckResult}
8417
+ */
8418
+ age: eCheckResult;
8419
+ /**
8420
+ *
8421
+ * @type {DetailsAge}
8422
+ */
8423
+ detailsAge: DetailsAge;
8424
+ /**
8425
+ *
8426
+ * @type {eCheckResult}
8427
+ */
8428
+ mDL: eCheckResult;
8273
8429
  }
8274
8430
 
8275
8431
  /**
@@ -9169,6 +9325,16 @@ export declare type tStatusContainerResultType = Result.STATUS;
9169
9325
  */
9170
9326
  export declare type tTextResultContainerResultType = Result.TEXT;
9171
9327
 
9328
+ /**
9329
+ * Result type of VDSContainer
9330
+ */
9331
+ export declare type tVDSContainerResultType = Result.VDS;
9332
+
9333
+ /**
9334
+ * Result type of VDSNCContainer
9335
+ */
9336
+ export declare type tVDSNCContainerResultType = Result.VDS_NC;
9337
+
9172
9338
  /**
9173
9339
  * Structure serves for storing the results of a single type
9174
9340
  * document authenticity check
@@ -9274,7 +9440,15 @@ AuthenticityCheckListContainer
9274
9440
  /**
9275
9441
  * Byte array result
9276
9442
  */
9277
- | ByteArrayContainer;
9443
+ | ByteArrayContainer
9444
+ /**
9445
+ * VDS result
9446
+ */
9447
+ | VDSContainer
9448
+ /**
9449
+ * VDSNC result
9450
+ */
9451
+ | VDSNCContainer;
9278
9452
 
9279
9453
  /**
9280
9454
  * Structure serves for storing the results of a single type
@@ -9282,6 +9456,275 @@ AuthenticityCheckListContainer
9282
9456
  */
9283
9457
  export declare type uRAuthenticityCheck = RAuthenticityFibersCheck | RAuthenticityIdentCheck | RAuthenticityPhotoIdentCheck | RAuthenticitySecurityCheck | RAuthenticityTextCheck;
9284
9458
 
9459
+ /**
9460
+ *
9461
+ */
9462
+ declare class VDItem implements VDItem_2 {
9463
+ /**
9464
+ *
9465
+ * @type {string}
9466
+ */
9467
+ adm: string;
9468
+ /**
9469
+ *
9470
+ * @type {string}
9471
+ */
9472
+ ctr: string;
9473
+ /**
9474
+ *
9475
+ * @type {string}
9476
+ */
9477
+ dvc: string;
9478
+ /**
9479
+ *
9480
+ * @type {string}
9481
+ */
9482
+ lot: string;
9483
+ /**
9484
+ *
9485
+ * @type {number}
9486
+ */
9487
+ seq: number;
9488
+ }
9489
+
9490
+ /**
9491
+ * Container for VDSData
9492
+ */
9493
+ export declare class VDSContainer extends aContainer implements iVDSContainer {
9494
+ /**
9495
+ * VDS result
9496
+ * @type {VDSData}
9497
+ */
9498
+ dftVDS: VDSData;
9499
+ /**
9500
+ * Result type stored in this container
9501
+ * @type {tVDSContainerResultType}
9502
+ */
9503
+ result_type: tVDSContainerResultType;
9504
+ /**
9505
+ * Creates an instance of VDSContainer from plain object
9506
+ *
9507
+ * @param {unknown} input - plain object
9508
+ * @returns {VDSContainer}
9509
+ */
9510
+ static fromPlain: (input: unknown) => VDSContainer;
9511
+ /**
9512
+ * Get VDSContainer from ProcessResponse
9513
+ * @param {ProcessResponse} input - ProcessResponse object
9514
+ * @param {boolean} asPlain - if true, returns plain object
9515
+ * @returns {(VDSContainer|iVDSContainer)[]}
9516
+ */
9517
+ static fromProcessResponse(input: ProcessResponse, asPlain: true): iVDSContainer[];
9518
+ static fromProcessResponse(input: ProcessResponse, asPlain?: false): VDSContainer[];
9519
+ /**
9520
+ * Check if the given instance of VDSContainer is valid
9521
+ *
9522
+ * @param {VDSContainer} instance - instance of VDSContainer to validate
9523
+ * @throws {DocReaderTypeError} - if the given instance of VDSContainer is not valid
9524
+ * @returns {true | never} - true if the given instance of VDSContainer is valid
9525
+ */
9526
+ static validate: (instance: VDSContainer) => true | never;
9527
+ }
9528
+
9529
+ /**
9530
+ * Result type of VDSContainer
9531
+ * @type {tVDSContainerResultType[]}
9532
+ */
9533
+ export declare const VDSContainerResultTypes: tVDSContainerResultType[];
9534
+
9535
+ /**
9536
+ *
9537
+ */
9538
+ export declare class VDSData implements VDSData_2 {
9539
+ /**
9540
+ *
9541
+ * @type {string}
9542
+ */
9543
+ Certificate: string;
9544
+ /**
9545
+ *
9546
+ * @type {RfidCertificateEx[]}
9547
+ */
9548
+ CertificateChain: RfidCertificateEx[];
9549
+ /**
9550
+ *
9551
+ * @type {DocFeature[]}
9552
+ */
9553
+ DocFeatures: DocFeature[];
9554
+ /**
9555
+ *
9556
+ * @type {string}
9557
+ */
9558
+ DocIssueDate: string;
9559
+ /**
9560
+ *
9561
+ * @type {number}
9562
+ */
9563
+ DocType: number;
9564
+ /**
9565
+ *
9566
+ * @type {number}
9567
+ */
9568
+ FeatureRef: number;
9569
+ /**
9570
+ *
9571
+ * @type {string}
9572
+ */
9573
+ IssuingCountry: string;
9574
+ /**
9575
+ *
9576
+ * @type {number[]}
9577
+ */
9578
+ Notifications: number[];
9579
+ /**
9580
+ *
9581
+ * @type {TrfFtBytes}
9582
+ */
9583
+ Signature: TrfFtBytes;
9584
+ /**
9585
+ *
9586
+ * @type {string}
9587
+ */
9588
+ SignatureDate: string;
9589
+ /**
9590
+ *
9591
+ * @type {string}
9592
+ */
9593
+ Signer: string;
9594
+ /**
9595
+ *
9596
+ * @type {number}
9597
+ */
9598
+ Type: number;
9599
+ /**
9600
+ *
9601
+ * @type {number}
9602
+ */
9603
+ Version: number;
9604
+ }
9605
+
9606
+ /**
9607
+ * Container for VDSNCData
9608
+ */
9609
+ export declare class VDSNCContainer extends aContainer implements iVDSNCContainer {
9610
+ /**
9611
+ * VDS result
9612
+ * @type {VDSNCData}
9613
+ */
9614
+ dftVDS_NC: VDSNCData;
9615
+ /**
9616
+ * Result type stored in this container
9617
+ * @type {tVDSNCContainerResultType}
9618
+ */
9619
+ result_type: tVDSNCContainerResultType;
9620
+ /**
9621
+ * Creates an instance of VDSNCContainer from plain object
9622
+ *
9623
+ * @param {unknown} input - plain object
9624
+ * @returns {VDSNCContainer}
9625
+ */
9626
+ static fromPlain: (input: unknown) => VDSNCContainer;
9627
+ /**
9628
+ * Get VDSNCContainer from ProcessResponse
9629
+ * @param {ProcessResponse} input - ProcessResponse object
9630
+ * @param {boolean} asPlain - if true, returns plain object
9631
+ * @returns {(VDSNCContainer|iVDSNCContainer)[]}
9632
+ */
9633
+ static fromProcessResponse(input: ProcessResponse, asPlain: true): iVDSNCContainer[];
9634
+ static fromProcessResponse(input: ProcessResponse, asPlain?: false): iVDSNCContainer[];
9635
+ /**
9636
+ * Check if the given instance of VDSNCContainer is valid
9637
+ *
9638
+ * @param {VDSNCContainer} instance - instance of VDSNCContainer to validate
9639
+ * @throws {DocReaderTypeError} - if the given instance of VDSNCContainer is not valid
9640
+ * @returns {true | never} - true if the given instance of VDSNCContainer is valid
9641
+ */
9642
+ static validate: (instance: VDSNCContainer) => true | never;
9643
+ }
9644
+
9645
+ /**
9646
+ * Result type of VDSNCContainer
9647
+ * @type {tVDSNCContainerResultType[]}
9648
+ */
9649
+ export declare const VDSNCContainerResultTypes: tVDSNCContainerResultType[];
9650
+
9651
+ /**
9652
+ *
9653
+ */
9654
+ export declare class VDSNCData implements VDSNCData_2 {
9655
+ /**
9656
+ *
9657
+ * @type {TrfFtBytes}
9658
+ */
9659
+ Certificate: TrfFtBytes;
9660
+ /**
9661
+ *
9662
+ * @type {RfidCertificateEx[]}
9663
+ */
9664
+ CertificateChain: RfidCertificateEx[];
9665
+ /**
9666
+ *
9667
+ * @type {string}
9668
+ */
9669
+ IssuingCountry: string;
9670
+ /**
9671
+ *
9672
+ * @type {Message}
9673
+ */
9674
+ Message: Message;
9675
+ /**
9676
+ *
9677
+ * @type {number[]}
9678
+ */
9679
+ Notifications: number[];
9680
+ /**
9681
+ *
9682
+ * @type {TrfFtBytes}
9683
+ */
9684
+ Signature: TrfFtBytes;
9685
+ /**
9686
+ *
9687
+ * @type {string}
9688
+ */
9689
+ SignatureAlg: string;
9690
+ /**
9691
+ *
9692
+ * @type {string}
9693
+ */
9694
+ Type: string;
9695
+ /**
9696
+ *
9697
+ * @type {number}
9698
+ */
9699
+ Version: number;
9700
+ }
9701
+
9702
+ /**
9703
+ *
9704
+ */
9705
+ declare class VEItem implements VEItem_2 {
9706
+ /**
9707
+ *
9708
+ * @type {string}
9709
+ */
9710
+ des: string;
9711
+ /**
9712
+ *
9713
+ * @type {string}
9714
+ */
9715
+ dis: string;
9716
+ /**
9717
+ *
9718
+ * @type {string}
9719
+ */
9720
+ nam: string;
9721
+ /**
9722
+ *
9723
+ * @type {Array<VDItem>}
9724
+ */
9725
+ vd: Array<VDItem>;
9726
+ }
9727
+
9285
9728
  /**
9286
9729
  * Contains information on results of comparing data obtained from different sources for
9287
9730
  * the same logical type of field