@regulaforensics/vp-frontend-document-components 7.6.2058-nightly → 7.6.2059-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
@@ -1,15 +1,8 @@
1
1
  import { ContainerList } from '@regulaforensics/document-reader-webclient';
2
- import { DocumentFormat } from '@regulaforensics/document-reader-webclient';
3
- import { DocumentTranslations as DocumentTranslations_2 } from '..';
4
2
  import { GetTransactionsByTagResponse } from '@regulaforensics/document-reader-webclient';
5
- import { License as License_2 } from '../types';
6
- import { MeasureSystem } from '@regulaforensics/document-reader-webclient';
7
- import { MRZFormat } from '@regulaforensics/document-reader-webclient';
8
- import { ProcessRejectResponse as ProcessRejectResponse_2 } from '../types';
3
+ import { ProcessParams } from '@regulaforensics/document-reader-webclient';
9
4
  import { ProcessResponse } from '@regulaforensics/document-reader-webclient';
10
5
  import { Response as Response_2 } from '@regulaforensics/document-reader-webclient';
11
- import { Result } from '@regulaforensics/document-reader-webclient';
12
- import { TextFieldType } from '@regulaforensics/document-reader-webclient';
13
6
  import { TransactionInfo } from '@regulaforensics/document-reader-webclient';
14
7
 
15
8
  export declare interface BaseRequest {
@@ -121,8 +114,8 @@ export declare class DocumentReaderCaptureWebComponent extends HTMLElement {
121
114
  private onEvent;
122
115
  attributeChangedCallback(name: CameraSnapshotAttributes): void;
123
116
  connectedCallback(): void;
124
- set translations(dictionary: Partial<Record<string, DocumentTranslations_2>> | null);
125
- get translations(): Partial<Record<string, DocumentTranslations_2>> | null;
117
+ set translations(dictionary: Partial<Record<string, DocumentTranslations>> | null);
118
+ get translations(): Partial<Record<string, DocumentTranslations>> | null;
126
119
  set settings(params: CameraSnapshotSettings);
127
120
  get settings(): CameraSnapshotSettings;
128
121
  private render;
@@ -152,8 +145,8 @@ export declare class DocumentReaderProcessor {
152
145
  isInitialized: boolean;
153
146
  videoElement: HTMLVideoElement | null;
154
147
  constructor(videoElement?: HTMLVideoElement);
155
- get recognizeListener(): ((data: Response_2 | ProcessRejectResponse_2) => void) | null;
156
- set recognizeListener(listener: ((data: Response_2 | ProcessRejectResponse_2) => void) | null);
148
+ get recognizeListener(): ((data: Response_2 | ProcessRejectResponse) => void) | null;
149
+ set recognizeListener(listener: ((data: Response_2 | ProcessRejectResponse) => void) | null);
157
150
  get streamParam(): Partial<StreamParams>;
158
151
  set streamParam(params: Partial<StreamParams>);
159
152
  get recognizerProcessParam(): ProcessingRequest;
@@ -174,45 +167,18 @@ export declare class DocumentReaderProcessor {
174
167
  stopRecognition(): void;
175
168
  initialize(license?: {
176
169
  license: string | undefined;
177
- }): Promise<License_2>;
170
+ }): Promise<License>;
178
171
  shutdown(): void;
179
172
  }
180
173
 
181
- export declare interface DocumentReaderProcessParam {
182
- generateNumericCodes?: boolean;
174
+ export declare type DocumentReaderProcessParam = Pick<ProcessParams, 'generateNumericCodes' | 'returnUncroppedImage' | 'log' | 'resultTypeOutput' | 'customParams' | 'imageOutputMaxHeight' | 'imageOutputMaxWidth' | 'fieldTypesFilter' | 'dateFormat' | 'measureSystem' | 'imageDpiOutMax' | 'alreadyCropped' | 'fastDocDetect' | 'updateOCRValidityByGlare' | 'returnCroppedBarcode' | 'respectImageQuality' | 'forceDocFormat' | 'noGraphics' | 'depersonalizeLog' | 'multiDocOnImage' | 'shiftExpiryDate' | 'minimalHolderAge' | 'mrzFormatsFilter' | 'forceReadMrzBeforeLocate' | 'parseBarcodes' | 'splitNames' | 'doublePageSpread' | 'strictImageQuality' | 'doDetectCan' | 'generateDoublePageSpreadImage' | 'mrzDetectMode' | 'strictBarcodeDigitalSignatureCheck' | 'selectLongestNames'> & {
183
175
  returnPackageForReprocess?: boolean;
184
- returnUncroppedImage?: boolean;
185
176
  scenario?: InternalScenarios;
186
177
  multipageProcessing?: boolean;
187
178
  timeout?: number;
188
- log?: boolean;
189
179
  timeoutFromFirstDetect?: number;
190
180
  timeoutFromFirstDocType?: number;
191
- resultTypeOutput?: Array<Result>;
192
- customParams?: Record<string, object>;
193
- imageOutputMaxHeight?: number;
194
- imageOutputMaxWidth?: number;
195
- fieldTypesFilter?: Array<TextFieldType>;
196
- dateFormat?: string;
197
- measureSystem?: MeasureSystem;
198
- imageDpiOutMax?: number;
199
- alreadyCropped?: boolean;
200
- fastDocDetect?: boolean;
201
- updateOCRValidityByGlare?: boolean;
202
- returnCroppedBarcode?: boolean;
203
- respectImageQuality?: boolean;
204
- forceDocFormat?: DocumentFormat;
205
- noGraphics?: boolean;
206
181
  documentAreaMin?: number;
207
- depersonalizeLog?: boolean;
208
- multiDocOnImage?: boolean;
209
- shiftExpiryDate?: number;
210
- minimalHolderAge?: number;
211
- mrzFormatsFilter?: Array<MRZFormat>;
212
- forceReadMrzBeforeLocate?: boolean;
213
- parseBarcodes?: boolean;
214
- splitNames?: boolean;
215
- doublePageSpread?: boolean;
216
182
  imageQa?: {
217
183
  expectedPass?: Array<ImageQualityChecks>;
218
184
  dpiThreshold?: number;
@@ -226,7 +192,7 @@ export declare interface DocumentReaderProcessParam {
226
192
  serviceURL?: string;
227
193
  httpHeaders?: Record<string, string>;
228
194
  };
229
- }
195
+ };
230
196
 
231
197
  export declare type DocumentReaderResponseType = Response_2;
232
198
 
@@ -321,8 +287,8 @@ export declare class DocumentReaderWebComponent extends HTMLElement {
321
287
  private onEvent;
322
288
  attributeChangedCallback(name: DocumentReaderAttributes): void;
323
289
  connectedCallback(): void;
324
- set translations(dictionary: Partial<Record<string, DocumentTranslations_2>> | null);
325
- get translations(): Partial<Record<string, DocumentTranslations_2>> | null;
290
+ set translations(dictionary: Partial<Record<string, DocumentTranslations>> | null);
291
+ get translations(): Partial<Record<string, DocumentTranslations>> | null;
326
292
  set settings(params: DocumentReaderSettings);
327
293
  get settings(): DocumentReaderSettings;
328
294
  private render;