@regulaforensics/document-reader-webclient 7.5.171-nightly → 7.5.172-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/lib/index.d.ts CHANGED
@@ -423,11 +423,11 @@ export enum AuthenticityResultType {
423
423
  */
424
424
  PHOTO_EMBED_TYPE = 512,
425
425
  /**
426
- * OVI check
426
+ * OVI check. Deprecated, use Document liveness check instead
427
427
  */
428
428
  OVI = 1024,
429
429
  /**
430
- * Hologram presence check
430
+ * Hologram presence check. Deprecated
431
431
  */
432
432
  HOLOGRAMS = 4096,
433
433
  /**
@@ -667,6 +667,12 @@ export interface ImageData {
667
667
  * @memberof ImageData
668
668
  */
669
669
  image: string;
670
+ /**
671
+ * Image format
672
+ * @type {string}
673
+ * @memberof ImageData
674
+ */
675
+ format?: string;
670
676
  }
671
677
  /**
672
678
  * Regula Document Reader Web API
@@ -2830,7 +2836,7 @@ export interface DocBarCodeInfoAllOf {
2830
2836
  DocBarCodeInfo?: DocBarCodeInfoFieldsList;
2831
2837
  }
2832
2838
  /**
2833
- * Contains cropped and rotated with perspective compensation image of document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most of coordinates in other types defined on that image
2839
+ *
2834
2840
  * @export
2835
2841
  * @interface DocumentImageResultAllOf
2836
2842
  */
@@ -7591,6 +7597,7 @@ export type DocumentTypesCandidatesResult = DocumentTypesCandidatesResultAllOf &
7591
7597
  export type DocumentPositionResult = DocumentPositionResultAllOf & ResultItem;
7592
7598
  /**
7593
7599
  * @type DocumentImageResult
7600
+ * Contains document image.
7594
7601
  * @export
7595
7602
  */
7596
7603
  export type DocumentImageResult = DocumentImageResultAllOf & ResultItem;
@@ -7768,6 +7775,12 @@ export interface DocumentImage {
7768
7775
  * @memberof DocumentImage
7769
7776
  */
7770
7777
  image: string;
7778
+ /**
7779
+ * Image format
7780
+ * @type {string}
7781
+ * @memberof DocumentImage
7782
+ */
7783
+ format?: string;
7771
7784
  }
7772
7785
  /**
7773
7786
  *
@@ -7898,10 +7911,10 @@ export interface FaceApi {
7898
7911
  export interface GetTransactionsByTagResponse {
7899
7912
  /**
7900
7913
  * Transaction id
7901
- * @type {number}
7914
+ * @type {string}
7902
7915
  * @memberof GetTransactionsByTagResponse
7903
7916
  */
7904
- id?: number;
7917
+ id?: string;
7905
7918
  /**
7906
7919
  * Transaction status
7907
7920
  * @type {number}
@@ -7915,6 +7928,103 @@ export interface GetTransactionsByTagResponse {
7915
7928
  */
7916
7929
  updatedAt?: string;
7917
7930
  }
7931
+ /**
7932
+ * Regula Document Reader Web API
7933
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
7934
+ *
7935
+ * The version of the OpenAPI document: 7.2.0
7936
+ *
7937
+ *
7938
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7939
+ * https://openapi-generator.tech
7940
+ * Do not edit the class manually.
7941
+ */
7942
+ /**
7943
+ * Database information.
7944
+ * @export
7945
+ * @interface HealthcheckDocumentsDatabase
7946
+ */
7947
+ export interface HealthcheckDocumentsDatabase {
7948
+ /**
7949
+ * Database identifier.
7950
+ * @type {string}
7951
+ * @memberof HealthcheckDocumentsDatabase
7952
+ */
7953
+ id: string | null;
7954
+ /**
7955
+ * Database version.
7956
+ * @type {string}
7957
+ * @memberof HealthcheckDocumentsDatabase
7958
+ */
7959
+ version: string | null;
7960
+ /**
7961
+ * Date of database creation.
7962
+ * @type {string}
7963
+ * @memberof HealthcheckDocumentsDatabase
7964
+ */
7965
+ exportDate: string | null;
7966
+ /**
7967
+ * Description of the database contents, such as the list of supported countries and documents.
7968
+ * @type {string}
7969
+ * @memberof HealthcheckDocumentsDatabase
7970
+ */
7971
+ description: string | null;
7972
+ }
7973
+ /**
7974
+ *
7975
+ * @export
7976
+ * @interface Healthcheck
7977
+ */
7978
+ export interface Healthcheck {
7979
+ /**
7980
+ * Application name.
7981
+ * @type {string}
7982
+ * @memberof Healthcheck
7983
+ */
7984
+ app: string;
7985
+ /**
7986
+ * Unique license identifier.
7987
+ * @type {string}
7988
+ * @memberof Healthcheck
7989
+ */
7990
+ licenseId: string | null;
7991
+ /**
7992
+ * License type.
7993
+ * @type {string}
7994
+ * @memberof Healthcheck
7995
+ */
7996
+ licenseType: string | null;
7997
+ /**
7998
+ * License serial number.
7999
+ * @type {string}
8000
+ * @memberof Healthcheck
8001
+ */
8002
+ licenseSerial: string | null;
8003
+ /**
8004
+ * License validity date.
8005
+ * @type {string}
8006
+ * @memberof Healthcheck
8007
+ */
8008
+ licenseValidUntil: string | null;
8009
+ /**
8010
+ * List of supported scenarios.
8011
+ * @type {Array<string>}
8012
+ * @memberof Healthcheck
8013
+ */
8014
+ scenarios: Array<string> | null;
8015
+ /**
8016
+ * Product version.
8017
+ * @type {string}
8018
+ * @memberof Healthcheck
8019
+ */
8020
+ version: string | null;
8021
+ /**
8022
+ *
8023
+ * @type {HealthcheckDocumentsDatabase}
8024
+ * @memberof Healthcheck
8025
+ */
8026
+ documentsDatabase?: HealthcheckDocumentsDatabase;
8027
+ }
7918
8028
  /**
7919
8029
  * Regula Document Reader Web API
7920
8030
  * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
@@ -9814,10 +9924,17 @@ export interface ProcessParams {
9814
9924
  */
9815
9925
  imageQa?: ImageQA;
9816
9926
  /**
9817
- * When enabled, image quality checks status affects document optical and overall status. Disabled by default.
9927
+ * When enabled, the image quality check status affects the document optical and overall status. Disabled by default.
9818
9928
  * @type {boolean}
9819
9929
  * @memberof ProcessParams
9820
9930
  */
9931
+ strictImageQuality?: boolean;
9932
+ /**
9933
+ * Deprecated. Please use strictImageQuality instead. When enabled, image quality checks status affects document optical and overall status. Disabled by default.
9934
+ * @type {boolean}
9935
+ * @memberof ProcessParams
9936
+ * @deprecated
9937
+ */
9821
9938
  respectImageQuality?: boolean;
9822
9939
  /**
9823
9940
  *
@@ -9969,6 +10086,12 @@ export interface ProcessParams {
9969
10086
  * @memberof ProcessParams
9970
10087
  */
9971
10088
  generateNumericCodes?: boolean;
10089
+ /**
10090
+ * This parameter if enabled will require all necessary certificates to verify digital signature in barcode data to be present in order for the Barcode format check to succeed.
10091
+ * @type {boolean}
10092
+ * @memberof ProcessParams
10093
+ */
10094
+ strictBarcodeDigitalSignatureCheck?: boolean;
9972
10095
  }
9973
10096
  /**
9974
10097
  *
@@ -10093,6 +10216,12 @@ export interface ProcessRequest {
10093
10216
  passBackObject?: {
10094
10217
  [key: string]: object;
10095
10218
  };
10219
+ /**
10220
+ * URLs to the document images for processing.
10221
+ * @type {Array<string>}
10222
+ * @memberof ProcessRequest
10223
+ */
10224
+ ImageUrls?: Array<string>;
10096
10225
  }
10097
10226
  /**
10098
10227
  *
@@ -10172,10 +10301,10 @@ export interface TransactionImage {
10172
10301
  export interface TransactionProcessGetResponse {
10173
10302
  /**
10174
10303
  *
10175
- * @type {number}
10304
+ * @type {string}
10176
10305
  * @memberof TransactionProcessGetResponse
10177
10306
  */
10178
- transactionId?: number;
10307
+ transactionId?: string;
10179
10308
  /**
10180
10309
  *
10181
10310
  * @type {string}
@@ -10454,25 +10583,25 @@ export class DocumentReaderApi {
10454
10583
  /**
10455
10584
  *
10456
10585
  * @summary Reprocess
10457
- * @param {number} transactionId Transaction id
10586
+ * @param {string} transactionId Transaction id
10458
10587
  * @param {TransactionProcessRequest} transactionProcessRequest
10459
10588
  * @param {*} [options] Override http request option.
10460
10589
  * @throws {RequiredError}
10461
10590
  */
10462
- reprocessTransaction(transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any): Promise<AxiosResponse<InlineResponse200, any>>;
10591
+ reprocessTransaction(transactionId: string, transactionProcessRequest: TransactionProcessRequest, options?: any): Promise<AxiosResponse<InlineResponse200, any>>;
10463
10592
  /**
10464
10593
  *
10465
10594
  * @summary Get Reprocess transaction result
10466
- * @param {number} transactionId Transaction id
10595
+ * @param {string} transactionId Transaction id
10467
10596
  * @param {boolean} [withImages] With base64 images or url
10468
10597
  * @param {*} [options] Override http request option.
10469
10598
  * @throws {RequiredError}
10470
10599
  */
10471
- getReprocessTransactionResult(transactionId: number, withImages?: boolean, options?: any): Promise<Response>;
10600
+ getReprocessTransactionResult(transactionId: string, withImages?: boolean, options?: any): Promise<Response>;
10472
10601
  /**
10473
10602
  *
10474
10603
  * @summary Get transactions by tag
10475
- * @param {number} tagId Tag id
10604
+ * @param {string} tagId Tag id
10476
10605
  * @param {*} [options] Override http request option.
10477
10606
  * @throws {RequiredError}
10478
10607
  */
@@ -10480,27 +10609,27 @@ export class DocumentReaderApi {
10480
10609
  /**
10481
10610
  *
10482
10611
  * @summary Delete Reprocess transactions by tag
10483
- * @param {number} tagId Tag id
10612
+ * @param {string} tagId Tag id
10484
10613
  * @param {*} [options] Override http request option.
10485
10614
  * @throws {RequiredError}
10486
10615
  */
10487
- deleteReprocessTransactionsByTag(tagId: number, options?: any): Promise<AxiosResponse<object, any>>;
10616
+ deleteReprocessTransactionsByTag(tagId: string, options?: any): Promise<AxiosResponse<object, any>>;
10488
10617
  /**
10489
10618
  *
10490
10619
  * @summary Get Reprocess transaction file
10491
- * @param {number} transactionId Transaction id
10620
+ * @param {string} transactionId Transaction id
10492
10621
  * @param {string} name File name
10493
10622
  * @param {*} [options] Override http request option.
10494
10623
  * @throws {RequiredError}
10495
10624
  */
10496
- getReprocessTransactionFile(transactionId: number, name: string, options?: any): Promise<AxiosResponse<any, any>>;
10625
+ getReprocessTransactionFile(transactionId: string, name: string, options?: any): Promise<AxiosResponse<any, any>>;
10497
10626
  /**
10498
10627
  *
10499
10628
  * @summary Get Reprocess transaction data
10500
- * @param {number} transactionId Transaction id
10629
+ * @param {string} transactionId Transaction id
10501
10630
  * @param {*} [options] Override http request option.
10502
10631
  * @throws {RequiredError}
10503
10632
  */
10504
- getReprocessTransactionData(transactionId: number, options?: any): Promise<AxiosResponse<TransactionProcessGetResponse, any>>;
10633
+ getReprocessTransactionData(transactionId: string, options?: any): Promise<AxiosResponse<TransactionProcessGetResponse, any>>;
10505
10634
  }
10506
10635
  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": "7.5.171-nightly",
8
+ "version": "7.5.172-nightly",
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": [