@regulaforensics/ui-components 9.3.875-nightly → 9.3.876-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/core/index.cjs +15 -15
- package/dist/core/index.d.ts +71 -1
- package/dist/core/index.js +17036 -16984
- package/dist/main/index.cjs +15 -15
- package/dist/main/index.d.ts +71 -1
- package/dist/main/index.js +17036 -16984
- package/dist/typings/index.cjs +1 -1
- package/dist/typings/index.d.ts +71 -1
- package/dist/typings/index.js +979 -935
- package/package.json +1 -1
package/dist/typings/index.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ import { LicenseItem } from '@regulaforensics/document-reader-webclient';
|
|
|
100
100
|
import { ListVerifiedFields as ListVerifiedFields_2 } from '@regulaforensics/document-reader-webclient';
|
|
101
101
|
import { ListVerifiedFieldsItem } from '@regulaforensics/document-reader-webclient';
|
|
102
102
|
import { LivenessParams as LivenessParams_2 } from '@regulaforensics/document-reader-webclient';
|
|
103
|
+
import { MDLItem } from '@regulaforensics/document-reader-webclient';
|
|
103
104
|
import { Message as Message_2 } from '@regulaforensics/document-reader-webclient';
|
|
104
105
|
import { MrzPositionItem } from '@regulaforensics/document-reader-webclient';
|
|
105
106
|
import { MRZRowsItem as MRZRowsItem_2 } from '@regulaforensics/document-reader-webclient';
|
|
@@ -3737,6 +3738,22 @@ export declare class ImagesResultContainer extends aContainer implements iImages
|
|
|
3737
3738
|
*/
|
|
3738
3739
|
export declare const ImagesResultContainerResultTypes: tImagesResultContainerResultType[];
|
|
3739
3740
|
|
|
3741
|
+
/**
|
|
3742
|
+
* Container for mDL
|
|
3743
|
+
* Contains mDL parsed response.
|
|
3744
|
+
*/
|
|
3745
|
+
export declare interface iMDLContainer extends aContainer, MDLItem {
|
|
3746
|
+
/**
|
|
3747
|
+
* @type {Record<string, any>}
|
|
3748
|
+
*/
|
|
3749
|
+
MDLParsedResponse: Record<string, any>;
|
|
3750
|
+
/**
|
|
3751
|
+
* Result type stored in this container
|
|
3752
|
+
* @type {tMDLContainerResultType}
|
|
3753
|
+
*/
|
|
3754
|
+
result_type: tMDLContainerResultType;
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3740
3757
|
/**
|
|
3741
3758
|
* Container for MRZ detector
|
|
3742
3759
|
*/
|
|
@@ -4988,6 +5005,50 @@ export declare class LivenessParams implements LivenessParams_2 {
|
|
|
4988
5005
|
checkGeometry?: boolean;
|
|
4989
5006
|
}
|
|
4990
5007
|
|
|
5008
|
+
/**
|
|
5009
|
+
* Container for mDL
|
|
5010
|
+
*/
|
|
5011
|
+
export declare class MDLContainer extends aContainer implements iMDLContainer {
|
|
5012
|
+
/**
|
|
5013
|
+
* @type {Record<string, any>}
|
|
5014
|
+
*/
|
|
5015
|
+
MDLParsedResponse: Record<string, any>;
|
|
5016
|
+
/**
|
|
5017
|
+
* Result type stored in this container
|
|
5018
|
+
* @type {tMDLContainerResultType}
|
|
5019
|
+
*/
|
|
5020
|
+
result_type: tMDLContainerResultType;
|
|
5021
|
+
/**
|
|
5022
|
+
* Creates an instance of MDLContainer from plain object
|
|
5023
|
+
*
|
|
5024
|
+
* @param {unknown} input - plain object
|
|
5025
|
+
* @returns {MDLContainer}
|
|
5026
|
+
*/
|
|
5027
|
+
static fromPlain: (input: unknown) => MDLContainer;
|
|
5028
|
+
/**
|
|
5029
|
+
* Get MDLContainer from ProcessResponse
|
|
5030
|
+
* @param {ProcessResponse} input - ProcessResponse object
|
|
5031
|
+
* @param {boolean} asPlain - return as plain object
|
|
5032
|
+
* @returns {(iMDLContainer|MDLContainer)[]}
|
|
5033
|
+
*/
|
|
5034
|
+
static fromProcessResponse(input: ProcessResponse, asPlain: true): iMDLContainer[];
|
|
5035
|
+
static fromProcessResponse(input: ProcessResponse, asPlain?: false): MDLContainer[];
|
|
5036
|
+
/**
|
|
5037
|
+
* Check if the given instance is valid MDLContainer
|
|
5038
|
+
*
|
|
5039
|
+
* @param {MDLContainer} instance - instance to check
|
|
5040
|
+
* @throws {DocReaderTypeError}
|
|
5041
|
+
* @returns {true | never}
|
|
5042
|
+
*/
|
|
5043
|
+
static validate: (instance: MDLContainer) => true | never;
|
|
5044
|
+
}
|
|
5045
|
+
|
|
5046
|
+
/**
|
|
5047
|
+
* Result type of MDLContainer
|
|
5048
|
+
* @type {tMDLContainerResultType[]}
|
|
5049
|
+
*/
|
|
5050
|
+
export declare const MDLContainerResultTypes: tMDLContainerResultType[];
|
|
5051
|
+
|
|
4991
5052
|
export declare const mergeDetailedStatus: (statuses: RDetailedStatus[]) => RDetailedStatus;
|
|
4992
5053
|
|
|
4993
5054
|
export declare const mergeStatuses: (checks: eCheckResult[]) => eCheckResult;
|
|
@@ -9213,6 +9274,11 @@ export declare type tLicenseContainerResultType = Result.LICENSE;
|
|
|
9213
9274
|
*/
|
|
9214
9275
|
export declare type tListVerifiedFieldContainerResultType = Result.LEXICAL_ANALYSIS;
|
|
9215
9276
|
|
|
9277
|
+
/**
|
|
9278
|
+
* Result type of MDLContainer
|
|
9279
|
+
*/
|
|
9280
|
+
export declare type tMDLContainerResultType = Result.MDL_PARSED_RESPONSE;
|
|
9281
|
+
|
|
9216
9282
|
/**
|
|
9217
9283
|
* Result type of MRZDetectorContainer
|
|
9218
9284
|
*/
|
|
@@ -9517,7 +9583,11 @@ AuthenticityCheckListContainer
|
|
|
9517
9583
|
/**
|
|
9518
9584
|
* BSI v2 result
|
|
9519
9585
|
*/
|
|
9520
|
-
| BSIv2Container
|
|
9586
|
+
| BSIv2Container
|
|
9587
|
+
/**
|
|
9588
|
+
* mDL result
|
|
9589
|
+
*/
|
|
9590
|
+
| MDLContainer;
|
|
9521
9591
|
|
|
9522
9592
|
/**
|
|
9523
9593
|
* Structure serves for storing the results of a single type
|