@regulaforensics/ui-components 9.3.874-rc → 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.
@@ -105,6 +105,7 @@ import { LicenseItem } from '@regulaforensics/document-reader-webclient';
105
105
  import { ListVerifiedFields as ListVerifiedFields_2 } from '@regulaforensics/document-reader-webclient';
106
106
  import { ListVerifiedFieldsItem } from '@regulaforensics/document-reader-webclient';
107
107
  import { LivenessParams as LivenessParams_2 } from '@regulaforensics/document-reader-webclient';
108
+ import { MDLItem } from '@regulaforensics/document-reader-webclient';
108
109
  import { Message as Message_2 } from '@regulaforensics/document-reader-webclient';
109
110
  import { MrzPositionItem } from '@regulaforensics/document-reader-webclient';
110
111
  import { MRZRowsItem as MRZRowsItem_2 } from '@regulaforensics/document-reader-webclient';
@@ -4255,6 +4256,22 @@ declare interface IMatch extends FC {
4255
4256
  getFaceImageQualityCheckLabel: typeof getFaceImageQualityCheckLabel;
4256
4257
  }
4257
4258
 
4259
+ /**
4260
+ * Container for mDL
4261
+ * Contains mDL parsed response.
4262
+ */
4263
+ export declare interface iMDLContainer extends aContainer, MDLItem {
4264
+ /**
4265
+ * @type {Record<string, any>}
4266
+ */
4267
+ MDLParsedResponse: Record<string, any>;
4268
+ /**
4269
+ * Result type stored in this container
4270
+ * @type {tMDLContainerResultType}
4271
+ */
4272
+ result_type: tMDLContainerResultType;
4273
+ }
4274
+
4258
4275
  declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
4259
4276
  /** Icon fill color. */
4260
4277
  fillColor?: string;
@@ -5730,6 +5747,50 @@ declare const Magnifier: FC<IMagnifierProps>;
5730
5747
 
5731
5748
  export declare const Match: IMatch;
5732
5749
 
5750
+ /**
5751
+ * Container for mDL
5752
+ */
5753
+ export declare class MDLContainer extends aContainer implements iMDLContainer {
5754
+ /**
5755
+ * @type {Record<string, any>}
5756
+ */
5757
+ MDLParsedResponse: Record<string, any>;
5758
+ /**
5759
+ * Result type stored in this container
5760
+ * @type {tMDLContainerResultType}
5761
+ */
5762
+ result_type: tMDLContainerResultType;
5763
+ /**
5764
+ * Creates an instance of MDLContainer from plain object
5765
+ *
5766
+ * @param {unknown} input - plain object
5767
+ * @returns {MDLContainer}
5768
+ */
5769
+ static fromPlain: (input: unknown) => MDLContainer;
5770
+ /**
5771
+ * Get MDLContainer from ProcessResponse
5772
+ * @param {ProcessResponse} input - ProcessResponse object
5773
+ * @param {boolean} asPlain - return as plain object
5774
+ * @returns {(iMDLContainer|MDLContainer)[]}
5775
+ */
5776
+ static fromProcessResponse(input: ProcessResponse, asPlain: true): iMDLContainer[];
5777
+ static fromProcessResponse(input: ProcessResponse, asPlain?: false): MDLContainer[];
5778
+ /**
5779
+ * Check if the given instance is valid MDLContainer
5780
+ *
5781
+ * @param {MDLContainer} instance - instance to check
5782
+ * @throws {DocReaderTypeError}
5783
+ * @returns {true | never}
5784
+ */
5785
+ static validate: (instance: MDLContainer) => true | never;
5786
+ }
5787
+
5788
+ /**
5789
+ * Result type of MDLContainer
5790
+ * @type {tMDLContainerResultType[]}
5791
+ */
5792
+ export declare const MDLContainerResultTypes: tMDLContainerResultType[];
5793
+
5733
5794
  /** Menu icon. */
5734
5795
  declare const Menu: FC<IMenuProps>;
5735
5796
 
@@ -10033,6 +10094,11 @@ export declare type tLicenseContainerResultType = Result.LICENSE;
10033
10094
  */
10034
10095
  export declare type tListVerifiedFieldContainerResultType = Result.LEXICAL_ANALYSIS;
10035
10096
 
10097
+ /**
10098
+ * Result type of MDLContainer
10099
+ */
10100
+ export declare type tMDLContainerResultType = Result.MDL_PARSED_RESPONSE;
10101
+
10036
10102
  /**
10037
10103
  * Result type of MRZDetectorContainer
10038
10104
  */
@@ -10341,7 +10407,11 @@ AuthenticityCheckListContainer
10341
10407
  /**
10342
10408
  * BSI v2 result
10343
10409
  */
10344
- | BSIv2Container;
10410
+ | BSIv2Container
10411
+ /**
10412
+ * mDL result
10413
+ */
10414
+ | MDLContainer;
10345
10415
 
10346
10416
  /** Unknown icon. */
10347
10417
  declare const Unknown: FC<IUnknownProps>;