@regulaforensics/document-reader-webclient 6.9.4 → 6.9.6

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/lib/index.d.ts CHANGED
@@ -117,7 +117,7 @@ export interface Point {
117
117
  * @export
118
118
  * @interface PointArray
119
119
  */
120
- interface PointArray {
120
+ export interface PointArray {
121
121
  /**
122
122
  *
123
123
  * @type {Array<Point>}
@@ -172,7 +172,7 @@ export interface RectangleCoordinates {
172
172
  * @export
173
173
  * @interface AreaArray
174
174
  */
175
- interface AreaArray {
175
+ export interface AreaArray {
176
176
  /**
177
177
  *
178
178
  * @type {Array<RectangleCoordinates>}
@@ -2414,7 +2414,7 @@ export interface ChosenDocumentTypeResultAllOf {
2414
2414
  * @export
2415
2415
  * @interface BcPDF417INFO
2416
2416
  */
2417
- interface BcPDF417INFO {
2417
+ export interface BcPDF417INFO {
2418
2418
  /**
2419
2419
  *
2420
2420
  * @type {number}
@@ -2468,7 +2468,7 @@ interface BcPDF417INFO {
2468
2468
  * @export
2469
2469
  * @interface BcROIDETECT
2470
2470
  */
2471
- interface BcROIDETECT {
2471
+ export interface BcROIDETECT {
2472
2472
  /**
2473
2473
  *
2474
2474
  * @type {number}
@@ -2510,7 +2510,7 @@ interface BcROIDETECT {
2510
2510
  * @export
2511
2511
  * @interface DataModule
2512
2512
  */
2513
- interface DataModule {
2513
+ export interface DataModule {
2514
2514
  /**
2515
2515
  *
2516
2516
  * @type {string}
@@ -2547,7 +2547,7 @@ interface DataModule {
2547
2547
  * @export
2548
2548
  * @interface PArrayField
2549
2549
  */
2550
- interface PArrayField {
2550
+ export interface PArrayField {
2551
2551
  /**
2552
2552
  *
2553
2553
  * @type {number}
@@ -2614,7 +2614,7 @@ interface PArrayField {
2614
2614
  * @export
2615
2615
  * @interface DocBarCodeInfoFieldsList
2616
2616
  */
2617
- interface DocBarCodeInfoFieldsList {
2617
+ export interface DocBarCodeInfoFieldsList {
2618
2618
  /**
2619
2619
  * Count of array fields
2620
2620
  * @type {number}
@@ -2633,7 +2633,7 @@ interface DocBarCodeInfoFieldsList {
2633
2633
  * @export
2634
2634
  * @interface DocBarCodeInfoAllOf
2635
2635
  */
2636
- interface DocBarCodeInfoAllOf {
2636
+ export interface DocBarCodeInfoAllOf {
2637
2637
  /**
2638
2638
  *
2639
2639
  * @type {DocBarCodeInfoFieldsList}
@@ -2659,7 +2659,7 @@ export interface DocumentImageResultAllOf {
2659
2659
  * @export
2660
2660
  * @interface DocumentPosition
2661
2661
  */
2662
- interface DocumentPosition {
2662
+ export interface DocumentPosition {
2663
2663
  /**
2664
2664
  *
2665
2665
  * @type {DocumentFormat}
@@ -2726,7 +2726,7 @@ interface DocumentPosition {
2726
2726
  * @export
2727
2727
  * @interface DocumentPositionResultAllOf
2728
2728
  */
2729
- interface DocumentPositionResultAllOf {
2729
+ export interface DocumentPositionResultAllOf {
2730
2730
  /**
2731
2731
  *
2732
2732
  * @type {DocumentPosition}
@@ -2812,7 +2812,7 @@ export interface DocumentTypesCandidatesResultAllOf {
2812
2812
  * @export
2813
2813
  * @interface EncryptedRCLResultAllOf
2814
2814
  */
2815
- interface EncryptedRCLResultAllOf {
2815
+ export interface EncryptedRCLResultAllOf {
2816
2816
  /**
2817
2817
  * Base64 encoded data
2818
2818
  * @type {string}
@@ -3061,14 +3061,15 @@ export enum ImageQualityCheckType {
3061
3061
  /**
3062
3062
  * Signals if the portrait is present
3063
3063
  */
3064
- Portrait = 7
3064
+ Portrait = 7,
3065
+ Brightness = 8
3065
3066
  }
3066
3067
  /**
3067
3068
  *
3068
3069
  * @export
3069
3070
  * @interface ImageQualityCheck
3070
3071
  */
3071
- interface ImageQualityCheck {
3072
+ export interface ImageQualityCheck {
3072
3073
  /**
3073
3074
  *
3074
3075
  * @type {ImageQualityCheckType}
@@ -3117,7 +3118,7 @@ interface ImageQualityCheck {
3117
3118
  * @export
3118
3119
  * @interface ImageQualityCheckList
3119
3120
  */
3120
- interface ImageQualityCheckList {
3121
+ export interface ImageQualityCheckList {
3121
3122
  /**
3122
3123
  *
3123
3124
  * @type {CheckResult}
@@ -3136,7 +3137,7 @@ interface ImageQualityCheckList {
3136
3137
  * @export
3137
3138
  * @interface ImageQualityResultAllOf
3138
3139
  */
3139
- interface ImageQualityResultAllOf {
3140
+ export interface ImageQualityResultAllOf {
3140
3141
  /**
3141
3142
  *
3142
3143
  * @type {ImageQualityCheckList}
@@ -3309,7 +3310,7 @@ export interface ImagesFieldValue {
3309
3310
  * @export
3310
3311
  * @interface ImagesField
3311
3312
  */
3312
- interface _ImagesField1 {
3313
+ export interface ImagesField {
3313
3314
  /**
3314
3315
  * Human readable field name. Do not bind to this name - use GraphicFieldType instead.
3315
3316
  * @type {string}
@@ -3334,7 +3335,7 @@ interface _ImagesField1 {
3334
3335
  * @export
3335
3336
  * @interface Images
3336
3337
  */
3337
- interface _Images1 {
3338
+ export interface Images {
3338
3339
  /**
3339
3340
  *
3340
3341
  * @type {Array<ImagesAvailableSource>}
@@ -3346,7 +3347,7 @@ interface _Images1 {
3346
3347
  * @type {Array<ImagesField>}
3347
3348
  * @memberof Images
3348
3349
  */
3349
- fieldList: Array<_ImagesField1>;
3350
+ fieldList: Array<ImagesField>;
3350
3351
  }
3351
3352
  /**
3352
3353
  *
@@ -3359,7 +3360,7 @@ export interface ImagesResultAllOf {
3359
3360
  * @type {Images}
3360
3361
  * @memberof ImagesResultAllOf
3361
3362
  */
3362
- _Images1: _Images1;
3363
+ Images: Images;
3363
3364
  }
3364
3365
  /**
3365
3366
  * Regula Document Reader Web API
@@ -3479,6 +3480,10 @@ export enum LCID {
3479
3480
  */
3480
3481
  BULGARIAN = 1026,
3481
3482
  /**
3483
+ * Burmese
3484
+ */
3485
+ BURMESE = 1109,
3486
+ /**
3482
3487
  * Catalan
3483
3488
  */
3484
3489
  CATALAN = 1027,
@@ -3699,6 +3704,10 @@ export enum LCID {
3699
3704
  */
3700
3705
  KAZAKH = 1087,
3701
3706
  /**
3707
+ * Khmer
3708
+ */
3709
+ KHMER = 1107,
3710
+ /**
3702
3711
  * Konkani
3703
3712
  */
3704
3713
  KONKANI = 1111,
@@ -3727,6 +3736,10 @@ export enum LCID {
3727
3736
  */
3728
3737
  MALAY_BRUNEI_DARUSSALAM = 2110,
3729
3738
  /**
3739
+ * Maltese
3740
+ */
3741
+ MALTESE = 1082,
3742
+ /**
3730
3743
  * Marathi
3731
3744
  */
3732
3745
  MARATHI = 1102,
@@ -3941,7 +3954,19 @@ export enum LCID {
3941
3954
  /**
3942
3955
  * CTC Traditional
3943
3956
  */
3944
- CTC_TRADITIONAL = 50002
3957
+ CTC_TRADITIONAL = 50002,
3958
+ /**
3959
+ * Bengali (Bangladesh)
3960
+ */
3961
+ BengaliBangladesh = 2117,
3962
+ /**
3963
+ * BengaliIndia
3964
+ */
3965
+ BengaliIndia = 1093,
3966
+ /**
3967
+ * Assamese
3968
+ */
3969
+ Assamese = 1101
3945
3970
  }
3946
3971
  /**
3947
3972
  * Regula Document Reader Web API
@@ -6598,7 +6623,7 @@ export interface LexicalAnalysisResultAllOf {
6598
6623
  * @export
6599
6624
  * @interface LicenseResultAllOf
6600
6625
  */
6601
- interface LicenseResultAllOf {
6626
+ export interface LicenseResultAllOf {
6602
6627
  /**
6603
6628
  * Base64 encoded data
6604
6629
  * @type {string}
@@ -7069,7 +7094,7 @@ export interface TextFieldValue {
7069
7094
  * @export
7070
7095
  * @interface TextField
7071
7096
  */
7072
- interface _TextField1 {
7097
+ export interface TextField {
7073
7098
  /**
7074
7099
  *
7075
7100
  * @type {TextFieldType}
@@ -7136,7 +7161,7 @@ interface _TextField1 {
7136
7161
  * @export
7137
7162
  * @interface Text
7138
7163
  */
7139
- interface _Text1 {
7164
+ export interface Text {
7140
7165
  /**
7141
7166
  *
7142
7167
  * @type {CheckResult}
@@ -7160,7 +7185,7 @@ interface _Text1 {
7160
7185
  * @type {Array<TextField>}
7161
7186
  * @memberof Text
7162
7187
  */
7163
- fieldList: Array<_TextField1>;
7188
+ fieldList: Array<TextField>;
7164
7189
  /**
7165
7190
  *
7166
7191
  * @type {Array<TextAvailableSource>}
@@ -7179,7 +7204,7 @@ export interface TextResultAllOf {
7179
7204
  * @type {Text}
7180
7205
  * @memberof TextResultAllOf
7181
7206
  */
7182
- _Text1: _Text1;
7207
+ Text: Text;
7183
7208
  }
7184
7209
  /**
7185
7210
  * @type TextResult
@@ -7238,7 +7263,7 @@ export interface ResultItem {
7238
7263
  * @type LicenseResult
7239
7264
  * @export
7240
7265
  */
7241
- type LicenseResult = LicenseResultAllOf & ResultItem;
7266
+ export type LicenseResult = LicenseResultAllOf & ResultItem;
7242
7267
  /**
7243
7268
  * @type LexicalAnalysisResult
7244
7269
  * Lexical data analysis allows you to compare the results of reading the text data of the MRZ, the document filling area, barcodes and data from the memory of the RFID chip for an additional assessment of the authenticity of the document. Single result for all pages. Consider using Result.TEXT type for more simplicity.
@@ -7254,7 +7279,7 @@ export type ImagesResult = ImagesResultAllOf & ResultItem;
7254
7279
  * @type ImageQualityResult
7255
7280
  * @export
7256
7281
  */
7257
- type ImageQualityResult = ImageQualityResultAllOf & ResultItem;
7282
+ export type ImageQualityResult = ImageQualityResultAllOf & ResultItem;
7258
7283
  /**
7259
7284
  * @type GraphicsResult
7260
7285
  * Graphic fields extracted from one of the document sources. Returns separate results for each provided page.
@@ -7265,7 +7290,7 @@ export type GraphicsResult = GraphicsResultAllOf & ResultItem;
7265
7290
  * @type EncryptedRCLResult
7266
7291
  * @export
7267
7292
  */
7268
- type EncryptedRCLResult = EncryptedRCLResultAllOf & ResultItem;
7293
+ export type EncryptedRCLResult = EncryptedRCLResultAllOf & ResultItem;
7269
7294
  /**
7270
7295
  * @type DocumentTypesCandidatesResult
7271
7296
  * @export
@@ -7276,7 +7301,7 @@ export type DocumentTypesCandidatesResult = DocumentTypesCandidatesResultAllOf &
7276
7301
  * Contains information about document position on the input image, its center, angle, etc
7277
7302
  * @export
7278
7303
  */
7279
- type DocumentPositionResult = DocumentPositionResultAllOf & ResultItem;
7304
+ export type DocumentPositionResult = DocumentPositionResultAllOf & ResultItem;
7280
7305
  /**
7281
7306
  * @type DocumentImageResult
7282
7307
  * @export
@@ -7287,7 +7312,7 @@ export type DocumentImageResult = DocumentImageResultAllOf & ResultItem;
7287
7312
  * Raw data from BarCodes
7288
7313
  * @export
7289
7314
  */
7290
- type DocBarCodeInfo = DocBarCodeInfoAllOf & ResultItem;
7315
+ export type DocBarCodeInfo = DocBarCodeInfoAllOf & ResultItem;
7291
7316
  /**
7292
7317
  * @type ChosenDocumentTypeResult
7293
7318
  * Contains information about the type of document that was determined based on the analysis of the provided image
@@ -7492,7 +7517,7 @@ export interface DocumentTypesCandidates {
7492
7517
  * @export
7493
7518
  * @interface FaceApiSearch
7494
7519
  */
7495
- interface FaceApiSearch {
7520
+ export interface FaceApiSearch {
7496
7521
  /**
7497
7522
  * The maximum number of results to be returned.
7498
7523
  * @type {number}
@@ -7517,7 +7542,7 @@ interface FaceApiSearch {
7517
7542
  * @export
7518
7543
  * @interface FaceApi
7519
7544
  */
7520
- interface FaceApi {
7545
+ export interface FaceApi {
7521
7546
  /**
7522
7547
  * The URL of the Regula Face Web service to be used.
7523
7548
  * @type {string}
@@ -7584,6 +7609,12 @@ interface FaceApi {
7584
7609
  * @interface ImageQA
7585
7610
  */
7586
7611
  export interface ImageQA {
7612
+ /**
7613
+ * Set the threshold for an actual document brightness below which the check fails
7614
+ * @type {number}
7615
+ * @memberof ImageQA
7616
+ */
7617
+ brightnessThreshold?: number;
7587
7618
  /**
7588
7619
  * This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail.
7589
7620
  * @type {number}
@@ -8639,7 +8670,7 @@ export enum ParsingNotificationCodes {
8639
8670
  * @export
8640
8671
  * @interface PerDocumentConfig
8641
8672
  */
8642
- interface PerDocumentConfig {
8673
+ export interface PerDocumentConfig {
8643
8674
  /**
8644
8675
  * Specific template IDs, for which apply current custom configuration
8645
8676
  * @type {Array<number>}
@@ -8658,7 +8689,7 @@ interface PerDocumentConfig {
8658
8689
  * @export
8659
8690
  * @interface ProcessParamsRfid
8660
8691
  */
8661
- interface ProcessParamsRfid {
8692
+ export interface ProcessParamsRfid {
8662
8693
  /**
8663
8694
  * A list of notification codes that should be ignored during passive authentication (PA)
8664
8695
  * @type {Array<ParsingNotificationCodes>}
@@ -8914,6 +8945,24 @@ export enum TextPostProcessing {
8914
8945
  * @interface ProcessParams
8915
8946
  */
8916
8947
  export interface ProcessParams {
8948
+ /**
8949
+ * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default.
8950
+ * @type {Array<number>}
8951
+ * @memberof ProcessParams
8952
+ */
8953
+ lcidFilter?: Array<number>;
8954
+ /**
8955
+ * This parameter is used to enable document liveness check.
8956
+ * @type {boolean}
8957
+ * @memberof ProcessParams
8958
+ */
8959
+ checkLiveness?: boolean;
8960
+ /**
8961
+ * The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default.
8962
+ * @type {Array<number>}
8963
+ * @memberof ProcessParams
8964
+ */
8965
+ lcidIgnoreFilter?: Array<number>;
8917
8966
  /**
8918
8967
  * This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face
8919
8968
  * @type {boolean}
@@ -9216,7 +9265,7 @@ export interface ProcessParams {
9216
9265
  * @export
9217
9266
  * @interface ProcessRequestImage
9218
9267
  */
9219
- interface _ProcessRequestImage1 {
9268
+ export interface ProcessRequestImage {
9220
9269
  /**
9221
9270
  *
9222
9271
  * @type {ImageData}
@@ -9271,7 +9320,7 @@ export interface ProcessSystemInfo {
9271
9320
  * @export
9272
9321
  * @interface ProcessRequest
9273
9322
  */
9274
- interface _ProcessRequest1 {
9323
+ export interface ProcessRequest {
9275
9324
  /**
9276
9325
  * session id
9277
9326
  * @type {string}
@@ -9289,7 +9338,7 @@ interface _ProcessRequest1 {
9289
9338
  * @type {Array<ProcessRequestImage>}
9290
9339
  * @memberof ProcessRequest
9291
9340
  */
9292
- List?: Array<_ProcessRequestImage1>;
9341
+ List?: Array<ProcessRequestImage>;
9293
9342
  /**
9294
9343
  * Live portrait photo
9295
9344
  * @type {string}
@@ -9452,7 +9501,7 @@ export interface ProcessResponse {
9452
9501
  */
9453
9502
  elapsedTime?: number;
9454
9503
  }
9455
- export class TextField implements _TextField1 {
9504
+ export class TextFieldExt implements TextField {
9456
9505
  fieldType: TextFieldType;
9457
9506
  fieldName: string;
9458
9507
  lcid?: number;
@@ -9463,7 +9512,7 @@ export class TextField implements _TextField1 {
9463
9512
  valueList: Array<TextFieldValue>;
9464
9513
  validityList: Array<SourceValidity>;
9465
9514
  comparisonList: Array<CrossSourceValueComparison>;
9466
- constructor(origin: _TextField1);
9515
+ constructor(origin: TextField);
9467
9516
  /**
9468
9517
  * This method returns value of the text field. Value encoded in UTF8.
9469
9518
  * Fields value obtained in the following order:
@@ -9490,30 +9539,30 @@ export class TextField implements _TextField1 {
9490
9539
  crossSourceComparison(one: Source, other: Source): CheckResult;
9491
9540
  getLCIDName(): string | undefined;
9492
9541
  }
9493
- export class Text implements _Text1 {
9542
+ export class TextExt implements Text {
9494
9543
  status: CheckResult;
9495
9544
  validityStatus: CheckResult;
9496
9545
  comparisonStatus: CheckResult;
9497
9546
  availableSourceList: Array<TextAvailableSource>;
9498
- fieldList: Array<TextField>;
9499
- constructor(origin: _Text1);
9500
- getField(type: TextFieldType, lcid?: number): TextField | undefined;
9501
- getFieldByName(name: string, lcid?: number): TextField | undefined;
9547
+ fieldList: Array<TextFieldExt>;
9548
+ constructor(origin: Text);
9549
+ getField(type: TextFieldType, lcid?: number): TextFieldExt | undefined;
9550
+ getFieldByName(name: string, lcid?: number): TextFieldExt | undefined;
9502
9551
  getFieldValue(type: TextFieldType, lcid?: number): string | undefined;
9503
9552
  getFieldValueByName(name: string, lcid?: number): string | undefined;
9504
9553
  }
9505
- export class Images implements _Images1 {
9554
+ export class ImagesExt implements Images {
9506
9555
  availableSourceList: Array<ImagesAvailableSource>;
9507
- fieldList: Array<ImagesField>;
9508
- constructor(origin: _Images1);
9509
- getField(type: GraphicFieldType): ImagesField | undefined;
9510
- getFields(type: GraphicFieldType): Array<ImagesField> | undefined;
9556
+ fieldList: Array<ImagesFieldWrapper>;
9557
+ constructor(origin: Images);
9558
+ getField(type: GraphicFieldType): ImagesFieldWrapper | undefined;
9559
+ getFields(type: GraphicFieldType): Array<ImagesFieldWrapper> | undefined;
9511
9560
  }
9512
- export class ImagesField implements _ImagesField1 {
9561
+ export class ImagesFieldWrapper implements ImagesField {
9513
9562
  fieldName: string;
9514
9563
  fieldType: GraphicFieldType;
9515
9564
  valueList: Array<ImagesFieldValue>;
9516
- constructor(origin: _ImagesField1);
9565
+ constructor(origin: ImagesField);
9517
9566
  getValue(source?: Source, original?: boolean): ArrayBuffer | undefined;
9518
9567
  }
9519
9568
  declare class FiberChecks implements AuthenticityCheckResult {
@@ -9573,8 +9622,8 @@ declare class Authenticity implements AuthenticityCheckList {
9573
9622
  }
9574
9623
  export class Response {
9575
9624
  status?: Status;
9576
- text?: Text;
9577
- images?: Images;
9625
+ text?: TextExt;
9626
+ images?: ImagesExt;
9578
9627
  lowLvlResponse: LowLvlResponse;
9579
9628
  rawResponse: ProcessResponse;
9580
9629
  constructor(original: ProcessResponse);
@@ -9606,64 +9655,56 @@ export class LowLvlResponse implements ProcessResponse {
9606
9655
  resultByTypeAndPage(type: Result, page_idx?: number): ResultItem | undefined;
9607
9656
  resultsByType(type: Result): Array<ResultItem | AuthenticityResult | ImageQualityCheckList>;
9608
9657
  }
9609
- export interface ProcessRequestImage extends Omit<_ProcessRequestImage1, 'ImageData'> {
9658
+ export interface ProcessRequestImageWrapper extends Omit<ProcessRequestImage, 'ImageData'> {
9610
9659
  ImageData: ArrayBuffer | Base64String;
9611
9660
  }
9612
9661
  export type Base64String = string;
9613
- export interface ProcessRequest {
9662
+ export interface ProcessRequestExt {
9614
9663
  /**
9615
9664
  *
9616
9665
  * @type {ProcessParams}
9617
- * @memberof ProcessRequest
9666
+ * @memberof ProcessRequestExt
9618
9667
  */
9619
9668
  processParam: ProcessParams;
9620
9669
  /**
9621
9670
  *
9622
9671
  * @type {Array<ProcessRequestImage>}
9623
- * @memberof ProcessRequest
9672
+ * @memberof ProcessRequestExt
9624
9673
  */
9625
- images: Array<ProcessRequestImage | ArrayBuffer | Base64String>;
9674
+ images: Array<ProcessRequestImageWrapper | ArrayBuffer | Base64String>;
9626
9675
  /**
9627
9676
  * @type {ContainerList}
9628
- * @memberOf ProcessRequest
9677
+ * @memberOf ProcessRequestExt
9629
9678
  */
9630
9679
  ContainerList: ContainerList;
9631
9680
  /**
9632
9681
  *
9633
9682
  * @type {ProcessParams}
9634
- * @memberof ProcessRequest
9683
+ * @memberof ProcessRequestExt
9635
9684
  */
9636
9685
  systemInfo?: ProcessSystemInfo;
9637
9686
  /**
9638
9687
  * Free-form object to be included in response. Must be object, not list or simple value.
9639
9688
  * Do not affect document processing. Use it freely to pass your app params. Stored in process logs.
9640
9689
  * @type {{ [key: string]: object; }}
9641
- * @memberof ProcessRequest
9690
+ * @memberof ProcessRequestExt
9642
9691
  */
9643
9692
  passBackObject?: {
9644
9693
  [key: string]: any;
9645
9694
  };
9646
9695
  }
9647
- export const instanceOfProcessRequest: (data: any) => data is ProcessRequest;
9696
+ export const instanceOfProcessRequest: (data: any) => data is ProcessRequestExt;
9648
9697
  export class DocumentReaderApi {
9649
9698
  constructor(configuration?: ConfigurationParameters, basePath?: string, axios?: AxiosInstance);
9650
9699
  ping(xRequestID?: string): Promise<DeviceInfo>;
9651
9700
  /**
9652
9701
  *
9653
9702
  * @summary Process list of documents images and return extracted data
9654
- * @param {ProcessRequest} [request] Request options such as image, results types and etc.
9703
+ * @param {ProcessRequestExt} [request] Request options such as image, results types and etc.
9655
9704
  * @param {*} [options] Override http request option.
9656
9705
  * @throws {RequiredError} If some request params are missed
9657
9706
  * */
9658
- process(request: ProcessRequest | _ProcessRequest1, xRequestID?: string, options?: any): Promise<Response>;
9707
+ process(request: ProcessRequestExt | ProcessRequest, xRequestID?: string, options?: any): Promise<Response>;
9659
9708
  setLicense(license: ArrayBuffer | Base64String): void;
9660
9709
  }
9661
- export function requestToBaseRequest(request: ProcessRequest): _ProcessRequest1;
9662
- export class BaseResultItem implements ResultItem {
9663
- buf_length?: number;
9664
- light?: number;
9665
- list_idx?: number;
9666
- page_idx?: number;
9667
- result_type: number;
9668
- constructor(item: ResultItem);
9669
- }
9710
+ export function requestToBaseRequest(request: ProcessRequestExt): ProcessRequest;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "> 0.2%",
6
6
  "not dead"
7
7
  ],
8
- "version": "6.9.4",
8
+ "version": "6.9.6",
9
9
  "description": "Regula Document Reader js client for the browser and node.js based on axios",
10
10
  "author": "Regula Forensics, Inc.",
11
11
  "keywords": [
@@ -34,21 +34,16 @@
34
34
  ],
35
35
  "targets": {
36
36
  "main": {
37
- "optimize": true,
38
- "sourceMap": false
37
+ "optimize": true
39
38
  },
40
39
  "module": {
41
- "optimize": true,
42
- "sourceMap": false
43
- },
44
- "types": {
45
- "sourceMap": false
40
+ "optimize": true
46
41
  }
47
42
  },
48
43
  "scripts": {
49
44
  "check-types": "tsc --noEmit",
50
45
  "format": "eslint --fix",
51
- "build": "parcel build",
46
+ "build": "parcel build --no-source-maps --no-cache",
52
47
  "prepare": "husky install"
53
48
  },
54
49
  "lint-staged": {
@@ -61,8 +56,8 @@
61
56
  "pako": "^2.1.0"
62
57
  },
63
58
  "devDependencies": {
64
- "@parcel/packager-ts": "^2.10.0",
65
- "@parcel/transformer-typescript-types": "^2.10.0",
59
+ "@parcel/packager-ts": "^2.10.3",
60
+ "@parcel/transformer-typescript-types": "^2.10.3",
66
61
  "@types/pako": "^2.0.1",
67
62
  "@typescript-eslint/eslint-plugin": "^6.8.0",
68
63
  "@typescript-eslint/parser": "^6.8.0",
@@ -71,8 +66,8 @@
71
66
  "eslint-plugin-prettier": "^5.0.1",
72
67
  "husky": "^8.0.3",
73
68
  "lint-staged": "^15.0.1",
74
- "parcel": "^2.10.0",
69
+ "parcel": "^2.10.3",
75
70
  "prettier": "^3.0.3",
76
- "typescript": "^5.2.2"
71
+ "typescript": "^5.3.2"
77
72
  }
78
73
  }