Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@huaweicloud/huaweicloud-sdk-ocr

Package Overview
Dependencies
Maintainers
0
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huaweicloud/huaweicloud-sdk-ocr - npm Package Compare versions

Comparing version 3.1.104 to 3.1.105

v1/model/CambodianIdCardScoreInformationResult.d.ts

4

package.json
{
"name": "@huaweicloud/huaweicloud-sdk-ocr",
"version": "3.1.104",
"version": "3.1.105",
"description": "Huaweicloud SDK for ocr",

@@ -17,3 +17,3 @@ "main": "huaweicloud-sdk-ocr.js",

"dependencies": {
"@huaweicloud/huaweicloud-sdk-core": "^3.1.104"
"@huaweicloud/huaweicloud-sdk-core": "^3.1.105"
},

@@ -20,0 +20,0 @@ "devDependencies": {

@@ -7,2 +7,8 @@ export declare class CambodianIdCardRequestBody {

private 'return_idcard_type'?;
private 'detect_border_integrity'?;
private 'detect_blocking_within_border'?;
private 'detect_blur'?;
private 'detect_glare'?;
private 'return_adjusted_image'?;
private 'detect_tampering'?;
constructor();

@@ -20,3 +26,21 @@ withImage(image: string): CambodianIdCardRequestBody;

get returnIdcardType(): boolean | undefined;
withDetectBorderIntegrity(detectBorderIntegrity: boolean): CambodianIdCardRequestBody;
set detectBorderIntegrity(detectBorderIntegrity: boolean | undefined);
get detectBorderIntegrity(): boolean | undefined;
withDetectBlockingWithinBorder(detectBlockingWithinBorder: boolean): CambodianIdCardRequestBody;
set detectBlockingWithinBorder(detectBlockingWithinBorder: boolean | undefined);
get detectBlockingWithinBorder(): boolean | undefined;
withDetectBlur(detectBlur: boolean): CambodianIdCardRequestBody;
set detectBlur(detectBlur: boolean | undefined);
get detectBlur(): boolean | undefined;
withDetectGlare(detectGlare: boolean): CambodianIdCardRequestBody;
set detectGlare(detectGlare: boolean | undefined);
get detectGlare(): boolean | undefined;
withReturnAdjustedImage(returnAdjustedImage: boolean): CambodianIdCardRequestBody;
set returnAdjustedImage(returnAdjustedImage: boolean | undefined);
get returnAdjustedImage(): boolean | undefined;
withDetectTampering(detectTampering: boolean): CambodianIdCardRequestBody;
set detectTampering(detectTampering: boolean | undefined);
get detectTampering(): boolean | undefined;
}
//# sourceMappingURL=CambodianIdCardRequestBody.d.ts.map

@@ -45,4 +45,64 @@ "use strict";

}
withDetectBorderIntegrity(detectBorderIntegrity) {
this['detect_border_integrity'] = detectBorderIntegrity;
return this;
}
set detectBorderIntegrity(detectBorderIntegrity) {
this['detect_border_integrity'] = detectBorderIntegrity;
}
get detectBorderIntegrity() {
return this['detect_border_integrity'];
}
withDetectBlockingWithinBorder(detectBlockingWithinBorder) {
this['detect_blocking_within_border'] = detectBlockingWithinBorder;
return this;
}
set detectBlockingWithinBorder(detectBlockingWithinBorder) {
this['detect_blocking_within_border'] = detectBlockingWithinBorder;
}
get detectBlockingWithinBorder() {
return this['detect_blocking_within_border'];
}
withDetectBlur(detectBlur) {
this['detect_blur'] = detectBlur;
return this;
}
set detectBlur(detectBlur) {
this['detect_blur'] = detectBlur;
}
get detectBlur() {
return this['detect_blur'];
}
withDetectGlare(detectGlare) {
this['detect_glare'] = detectGlare;
return this;
}
set detectGlare(detectGlare) {
this['detect_glare'] = detectGlare;
}
get detectGlare() {
return this['detect_glare'];
}
withReturnAdjustedImage(returnAdjustedImage) {
this['return_adjusted_image'] = returnAdjustedImage;
return this;
}
set returnAdjustedImage(returnAdjustedImage) {
this['return_adjusted_image'] = returnAdjustedImage;
}
get returnAdjustedImage() {
return this['return_adjusted_image'];
}
withDetectTampering(detectTampering) {
this['detect_tampering'] = detectTampering;
return this;
}
set detectTampering(detectTampering) {
this['detect_tampering'] = detectTampering;
}
get detectTampering() {
return this['detect_tampering'];
}
}
exports.CambodianIdCardRequestBody = CambodianIdCardRequestBody;
//# sourceMappingURL=CambodianIdCardRequestBody.js.map

@@ -0,1 +1,2 @@

import { CambodianIdCardScoreInformationResult } from './CambodianIdCardScoreInformationResult';
export declare class CambodianIdCardResult {

@@ -19,2 +20,9 @@ private 'id_number'?;

private 'idcard_type'?;
private 'adjusted_image'?;
private 'detect_border_integrity_result'?;
private 'detect_blocking_within_border_result'?;
private 'detect_blur_result'?;
private 'detect_glare_result'?;
private 'detect_tampering_result'?;
private 'score_info'?;
confidence?: object;

@@ -65,4 +73,25 @@ constructor();

get idcardType(): string | undefined;
withAdjustedImage(adjustedImage: string): CambodianIdCardResult;
set adjustedImage(adjustedImage: string | undefined);
get adjustedImage(): string | undefined;
withDetectBorderIntegrityResult(detectBorderIntegrityResult: boolean): CambodianIdCardResult;
set detectBorderIntegrityResult(detectBorderIntegrityResult: boolean | undefined);
get detectBorderIntegrityResult(): boolean | undefined;
withDetectBlockingWithinBorderResult(detectBlockingWithinBorderResult: boolean): CambodianIdCardResult;
set detectBlockingWithinBorderResult(detectBlockingWithinBorderResult: boolean | undefined);
get detectBlockingWithinBorderResult(): boolean | undefined;
withDetectBlurResult(detectBlurResult: boolean): CambodianIdCardResult;
set detectBlurResult(detectBlurResult: boolean | undefined);
get detectBlurResult(): boolean | undefined;
withDetectGlareResult(detectGlareResult: boolean): CambodianIdCardResult;
set detectGlareResult(detectGlareResult: boolean | undefined);
get detectGlareResult(): boolean | undefined;
withDetectTamperingResult(detectTamperingResult: boolean): CambodianIdCardResult;
set detectTamperingResult(detectTamperingResult: boolean | undefined);
get detectTamperingResult(): boolean | undefined;
withScoreInfo(scoreInfo: CambodianIdCardScoreInformationResult): CambodianIdCardResult;
set scoreInfo(scoreInfo: CambodianIdCardScoreInformationResult | undefined);
get scoreInfo(): CambodianIdCardScoreInformationResult | undefined;
withConfidence(confidence: object): CambodianIdCardResult;
}
//# sourceMappingURL=CambodianIdCardResult.d.ts.map

@@ -153,2 +153,72 @@ "use strict";

}
withAdjustedImage(adjustedImage) {
this['adjusted_image'] = adjustedImage;
return this;
}
set adjustedImage(adjustedImage) {
this['adjusted_image'] = adjustedImage;
}
get adjustedImage() {
return this['adjusted_image'];
}
withDetectBorderIntegrityResult(detectBorderIntegrityResult) {
this['detect_border_integrity_result'] = detectBorderIntegrityResult;
return this;
}
set detectBorderIntegrityResult(detectBorderIntegrityResult) {
this['detect_border_integrity_result'] = detectBorderIntegrityResult;
}
get detectBorderIntegrityResult() {
return this['detect_border_integrity_result'];
}
withDetectBlockingWithinBorderResult(detectBlockingWithinBorderResult) {
this['detect_blocking_within_border_result'] = detectBlockingWithinBorderResult;
return this;
}
set detectBlockingWithinBorderResult(detectBlockingWithinBorderResult) {
this['detect_blocking_within_border_result'] = detectBlockingWithinBorderResult;
}
get detectBlockingWithinBorderResult() {
return this['detect_blocking_within_border_result'];
}
withDetectBlurResult(detectBlurResult) {
this['detect_blur_result'] = detectBlurResult;
return this;
}
set detectBlurResult(detectBlurResult) {
this['detect_blur_result'] = detectBlurResult;
}
get detectBlurResult() {
return this['detect_blur_result'];
}
withDetectGlareResult(detectGlareResult) {
this['detect_glare_result'] = detectGlareResult;
return this;
}
set detectGlareResult(detectGlareResult) {
this['detect_glare_result'] = detectGlareResult;
}
get detectGlareResult() {
return this['detect_glare_result'];
}
withDetectTamperingResult(detectTamperingResult) {
this['detect_tampering_result'] = detectTamperingResult;
return this;
}
set detectTamperingResult(detectTamperingResult) {
this['detect_tampering_result'] = detectTamperingResult;
}
get detectTamperingResult() {
return this['detect_tampering_result'];
}
withScoreInfo(scoreInfo) {
this['score_info'] = scoreInfo;
return this;
}
set scoreInfo(scoreInfo) {
this['score_info'] = scoreInfo;
}
get scoreInfo() {
return this['score_info'];
}
withConfidence(confidence) {

@@ -155,0 +225,0 @@ this['confidence'] = confidence;

@@ -21,2 +21,3 @@ export * from './OcrClient';

export * from './model/CambodianIdCardResult';
export * from './model/CambodianIdCardScoreInformationResult';
export * from './model/CharListIem';

@@ -23,0 +24,0 @@ export * from './model/ChileIdCardConfidence';

@@ -37,2 +37,3 @@ "use strict";

__exportStar(require("./model/CambodianIdCardResult"), exports);
__exportStar(require("./model/CambodianIdCardScoreInformationResult"), exports);
__exportStar(require("./model/CharListIem"), exports);

@@ -39,0 +40,0 @@ __exportStar(require("./model/ChileIdCardConfidence"), exports);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc