@regulaforensics/document-reader-webclient 7.6.310-rc → 7.6.311-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
@@ -271,6 +271,18 @@ export interface LivenessParams {
271
271
  * @memberof LivenessParams
272
272
  */
273
273
  checkED?: boolean;
274
+ /**
275
+ * This parameter is used to enable Black and white copy check
276
+ * @type {boolean}
277
+ * @memberof LivenessParams
278
+ */
279
+ checkBlackAndWhiteCopy?: boolean;
280
+ /**
281
+ * This parameter is used to enable Dynaprint check
282
+ * @type {boolean}
283
+ * @memberof LivenessParams
284
+ */
285
+ checkDynaprint?: boolean;
274
286
  }
275
287
  /**
276
288
  *
@@ -368,6 +380,12 @@ export interface AuthParams {
368
380
  * @memberof AuthParams
369
381
  */
370
382
  checkLetterScreen?: boolean;
383
+ /**
384
+ * This parameter is used to enable Security text check
385
+ * @type {boolean}
386
+ * @memberof AuthParams
387
+ */
388
+ checkSecurityText?: boolean;
371
389
  }
372
390
  /**
373
391
  * Regula Document Reader Web API
@@ -636,6 +654,7 @@ export enum CheckDiagnose {
636
654
  OCR_QUALITY_INVALID_FONT = 221,
637
655
  OCR_QUALITY_INVALID_BACKGROUND = 222,
638
656
  LASINK_INVALID_LINES_FREQUENCY = 230,
657
+ DOC_LIVENESS_DOCUMENT_NOT_LIVE = 238,
639
658
  DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED = 239,
640
659
  DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240,
641
660
  DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241,
@@ -3294,7 +3313,11 @@ export enum ImageQualityCheckType {
3294
3313
  /**
3295
3314
  * Signals if the document image is bright enough
3296
3315
  */
3297
- Brightness = 9
3316
+ Brightness = 9,
3317
+ /**
3318
+ * Signals if the document image has occlusion
3319
+ */
3320
+ Occlusion = 10
3298
3321
  }
3299
3322
  /**
3300
3323
  *
@@ -6836,7 +6859,15 @@ export enum TextFieldType {
6836
6859
  /**
6837
6860
  * EF.CardAccess
6838
6861
  */
6839
- EF_CARD_ACCESS = 692
6862
+ EF_CARD_ACCESS = 692,
6863
+ /**
6864
+ * Short flight number
6865
+ */
6866
+ SHORT_FLIGHT_NUMBER = 693,
6867
+ /**
6868
+ * Airline code
6869
+ */
6870
+ AIRLINE_CODE = 694
6840
6871
  }
6841
6872
  /**
6842
6873
  * Regula Document Reader Web API
@@ -7990,7 +8021,7 @@ export interface FaceApi {
7990
8021
  */
7991
8022
  proxy_type?: number;
7992
8023
  /**
7993
- * Minimum age of a child, at which portrait comparison result will be effective. Default: 13.
8024
+ * The age threshold for the portrait comparison. Default: 13.
7994
8025
  * @type {number}
7995
8026
  * @memberof FaceApi
7996
8027
  */
@@ -8183,7 +8214,11 @@ export enum InputImageQualityChecks {
8183
8214
  /**
8184
8215
  * Signals if the document image is bright enough
8185
8216
  */
8186
- Brightness = "brightnessCheck"
8217
+ Brightness = "brightnessCheck",
8218
+ /**
8219
+ * Signals if the document image has occlusion
8220
+ */
8221
+ Occlusion = "occlusionCheck"
8187
8222
  }
8188
8223
  /**
8189
8224
  *
@@ -10877,6 +10912,7 @@ export const instanceOfProcessRequest: (data: any) => data is ProcessRequestExt;
10877
10912
  export class DocumentReaderApi {
10878
10913
  constructor(configuration?: ConfigurationParameters, basePath?: string, axios?: AxiosInstance);
10879
10914
  ping(xRequestID?: string): Promise<DeviceInfo>;
10915
+ health(xRequestID?: string): Promise<Healthcheck>;
10880
10916
  /**
10881
10917
  *
10882
10918
  * @summary Process list of documents images and return extracted data
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "> 0.2%",
6
6
  "not dead"
7
7
  ],
8
- "version": "7.6.310-rc",
8
+ "version": "7.6.311-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": [