@huaweicloud/huaweicloud-sdk-ocr
Advanced tools
Comparing version 3.0.54-rc to 3.0.55-rc
{ | ||
"name": "@huaweicloud/huaweicloud-sdk-ocr", | ||
"version": "3.0.54-rc", | ||
"version": "3.0.55-rc", | ||
"description": "Huaweicloud SDK for ocr", | ||
@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js", | ||
"dependencies": { | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.54-rc" | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.0.55-rc" | ||
} | ||
} |
@@ -6,2 +6,3 @@ export declare class WebImageRequestBody { | ||
private 'extract_type'?; | ||
private 'detect_font'?; | ||
constructor(); | ||
@@ -16,2 +17,5 @@ withImage(image: string): WebImageRequestBody; | ||
get extractType(): Array<string> | undefined; | ||
withDetectFont(detectFont: boolean): WebImageRequestBody; | ||
set detectFont(detectFont: boolean | undefined); | ||
get detectFont(): boolean | undefined; | ||
} |
@@ -43,4 +43,18 @@ "use strict"; | ||
}); | ||
WebImageRequestBody.prototype.withDetectFont = function (detectFont) { | ||
this['detect_font'] = detectFont; | ||
return this; | ||
}; | ||
Object.defineProperty(WebImageRequestBody.prototype, "detectFont", { | ||
get: function () { | ||
return this['detect_font']; | ||
}, | ||
set: function (detectFont) { | ||
this['detect_font'] = detectFont; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return WebImageRequestBody; | ||
}()); | ||
exports.WebImageRequestBody = WebImageRequestBody; |
@@ -16,2 +16,4 @@ export declare class WebImageWordsBlockList { | ||
private 'detail_address'?; | ||
private 'font_list'?; | ||
private 'font_scores'?; | ||
constructor(); | ||
@@ -40,2 +42,8 @@ withWords(words: string): WebImageWordsBlockList; | ||
get detailAddress(): string | undefined; | ||
withFontList(fontList: Array<string>): WebImageWordsBlockList; | ||
set fontList(fontList: Array<string> | undefined); | ||
get fontList(): Array<string> | undefined; | ||
withFontScores(fontScores: Array<number>): WebImageWordsBlockList; | ||
set fontScores(fontScores: Array<number> | undefined); | ||
get fontScores(): Array<number> | undefined; | ||
} |
@@ -103,4 +103,32 @@ "use strict"; | ||
}); | ||
WebImageWordsBlockList.prototype.withFontList = function (fontList) { | ||
this['font_list'] = fontList; | ||
return this; | ||
}; | ||
Object.defineProperty(WebImageWordsBlockList.prototype, "fontList", { | ||
get: function () { | ||
return this['font_list']; | ||
}, | ||
set: function (fontList) { | ||
this['font_list'] = fontList; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
WebImageWordsBlockList.prototype.withFontScores = function (fontScores) { | ||
this['font_scores'] = fontScores; | ||
return this; | ||
}; | ||
Object.defineProperty(WebImageWordsBlockList.prototype, "fontScores", { | ||
get: function () { | ||
return this['font_scores']; | ||
}, | ||
set: function (fontScores) { | ||
this['font_scores'] = fontScores; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return WebImageWordsBlockList; | ||
}()); | ||
exports.WebImageWordsBlockList = WebImageWordsBlockList; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
779466
19079