@regulaforensics/vp-frontend-document-components 8.2.2331-nightly → 8.2.2335-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/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { GetTransactionsByTagResponse } from '@regulaforensics/document-reader-w
3
3
  import { Light } from '@regulaforensics/document-reader-webclient';
4
4
  import { ProcessParams } from '@regulaforensics/document-reader-webclient';
5
5
  import { ProcessResponse } from '@regulaforensics/document-reader-webclient';
6
- import { Response as Response_2 } from '@regulaforensics/document-reader-webclient';
6
+ import { ProcessResult } from '@regulaforensics/document-reader-webclient';
7
7
  import { TransactionInfo } from '@regulaforensics/document-reader-webclient';
8
8
 
9
9
  export declare interface BaseRequest {
@@ -190,7 +190,7 @@ export declare class DocumentReaderProcessor {
190
190
  shutdown(): void;
191
191
  }
192
192
 
193
- export declare type DocumentReaderProcessParam = Pick<ProcessParams, 'generateNumericCodes' | 'returnUncroppedImage' | 'log' | 'resultTypeOutput' | 'customParams' | 'imageOutputMaxHeight' | 'imageOutputMaxWidth' | 'fieldTypesFilter' | 'dateFormat' | 'measureSystem' | 'imageDpiOutMax' | 'alreadyCropped' | 'fastDocDetect' | 'updateOCRValidityByGlare' | 'returnCroppedBarcode' | 'forceDocFormat' | 'noGraphics' | 'depersonalizeLog' | 'multiDocOnImage' | 'shiftExpiryDate' | 'minimalHolderAge' | 'mrzFormatsFilter' | 'forceReadMrzBeforeLocate' | 'parseBarcodes' | 'splitNames' | 'doublePageSpread' | 'strictImageQuality' | 'doDetectCan' | 'generateDoublePageSpreadImage' | 'mrzDetectMode' | 'strictBarcodeDigitalSignatureCheck' | 'selectLongestNames'> & {
193
+ export declare type DocumentReaderProcessParam = Pick<ProcessParams, 'generateNumericCodes' | 'returnUncroppedImage' | 'log' | 'resultTypeOutput' | 'customParams' | 'imageOutputMaxHeight' | 'imageOutputMaxWidth' | 'fieldTypesFilter' | 'dateFormat' | 'measureSystem' | 'imageDpiOutMax' | 'alreadyCropped' | 'fastDocDetect' | 'updateOCRValidityByGlare' | 'returnCroppedBarcode' | 'forceDocFormat' | 'noGraphics' | 'depersonalizeLog' | 'multiDocOnImage' | 'shiftExpiryDate' | 'minimalHolderAge' | 'mrzFormatsFilter' | 'forceReadMrzBeforeLocate' | 'parseBarcodes' | 'splitNames' | 'doublePageSpread' | 'strictImageQuality' | 'doDetectCan' | 'generateDoublePageSpreadImage' | 'mrzDetectMode' | 'strictBarcodeDigitalSignatureCheck' | 'selectLongestNames' | 'disableAuthResolutionFilter'> & {
194
194
  generateAlpha2Codes?: boolean;
195
195
  returnPackageForReprocess?: boolean;
196
196
  scenario?: InternalScenarios;
@@ -218,7 +218,7 @@ export declare type DocumentReaderProcessParam = Pick<ProcessParams, 'generateNu
218
218
  };
219
219
  };
220
220
 
221
- export declare type DocumentReaderResponseType = Response_2;
221
+ export declare type DocumentReaderResponseType = ProcessResult;
222
222
 
223
223
  export declare class DocumentReaderService {
224
224
  private _worker;
@@ -247,7 +247,8 @@ export declare class DocumentReaderService {
247
247
  private sendMessage;
248
248
  private prepare;
249
249
  initialize(initData?: {
250
- license: string | undefined;
250
+ license?: string;
251
+ module?: ModuleType;
251
252
  }): Promise<License>;
252
253
  private doInitialize;
253
254
  private doProcess;
@@ -473,6 +474,11 @@ export declare enum MirrorType {
473
474
  noMirror = "noMirror"
474
475
  }
475
476
 
477
+ export declare enum ModuleType {
478
+ BarcodeMRZ = "BarcodeMRZ",
479
+ BoundsLite = "BoundsLite"
480
+ }
481
+
476
482
  export declare interface NewTransaction {
477
483
  ContainerList: ContainerList;
478
484
  TransactionInfo: TransactionInfo;
@@ -598,28 +604,6 @@ export { }
598
604
 
599
605
 
600
606
  declare global {
601
- const UI_COMPONENTS_VERSION: string;
602
- const DOC_WASM_S3_PATH: string;
603
- const DOCUMENT_API: string;
604
- const LICENSE: string | undefined;
605
-
606
- namespace React.JSX {
607
- interface IntrinsicElements {
608
- 'document-reader': React.DetailedHTMLProps<
609
- IDocumentReader & React.HTMLAttributes<DocumentReaderWebComponent>,
610
- DocumentReaderWebComponent
611
- >;
612
- 'camera-snapshot': React.DetailedHTMLProps<
613
- ICameraSnapshot & React.HTMLAttributes<DocumentReaderCaptureWebComponent>,
614
- DocumentReaderCaptureWebComponent
615
- >;
616
- 'fullscreen-container': React.DetailedHTMLProps<
617
- React.HTMLAttributes<FullScreenContainer>,
618
- FullScreenContainer
619
- >;
620
- }
621
- }
622
-
623
607
  interface HTMLElementEventMap {
624
608
  'document-reader': CustomEvent<DocumentReaderDetailType | TransactionEvent>;
625
609
  'camera-snapshot': CustomEvent<CameraSnapshotDetailType>;
@@ -629,18 +613,3 @@ declare global {
629
613
  RegulaDocumentSDK: DocumentReaderService;
630
614
  }
631
615
  }
632
-
633
- declare global {
634
- const VERSION: string;
635
- const ENV: string;
636
- }
637
-
638
- declare module 'react' {
639
- interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
640
- part?: string;
641
- }
642
-
643
- interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
644
- part?: string;
645
- }
646
- }