@huaweicloud/huaweicloud-sdk-ocr
Advanced tools
Comparing version 3.1.22 to 3.1.23
{ | ||
"name": "@huaweicloud/huaweicloud-sdk-ocr", | ||
"version": "3.1.22", | ||
"version": "3.1.23", | ||
"description": "Huaweicloud SDK for ocr", | ||
@@ -17,4 +17,4 @@ "main": "huaweicloud-sdk-ocr.js", | ||
"dependencies": { | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.1.22" | ||
"@huaweicloud/huaweicloud-sdk-core": "^3.1.23" | ||
} | ||
} |
export declare class TollInvoiceRequestBody { | ||
image?: string; | ||
url?: string; | ||
private 'return_text_location'?; | ||
constructor(); | ||
withImage(image: string): TollInvoiceRequestBody; | ||
withUrl(url: string): TollInvoiceRequestBody; | ||
withReturnTextLocation(returnTextLocation: boolean): TollInvoiceRequestBody; | ||
set returnTextLocation(returnTextLocation: boolean | undefined); | ||
get returnTextLocation(): boolean | undefined; | ||
} |
@@ -15,4 +15,18 @@ "use strict"; | ||
}; | ||
TollInvoiceRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(TollInvoiceRequestBody.prototype, "returnTextLocation", { | ||
get: function () { | ||
return this['return_text_location']; | ||
}, | ||
set: function (returnTextLocation) { | ||
this['return_text_location'] = returnTextLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return TollInvoiceRequestBody; | ||
}()); | ||
exports.TollInvoiceRequestBody = TollInvoiceRequestBody; |
@@ -12,2 +12,3 @@ export declare class TollInvoiceResult { | ||
confidence?: object; | ||
private 'text_location'?; | ||
constructor(); | ||
@@ -28,2 +29,5 @@ withCode(code: string): TollInvoiceResult; | ||
withConfidence(confidence: object): TollInvoiceResult; | ||
withTextLocation(textLocation: object): TollInvoiceResult; | ||
set textLocation(textLocation: object | undefined); | ||
get textLocation(): object | undefined; | ||
} |
@@ -67,4 +67,18 @@ "use strict"; | ||
}; | ||
TollInvoiceResult.prototype.withTextLocation = function (textLocation) { | ||
this['text_location'] = textLocation; | ||
return this; | ||
}; | ||
Object.defineProperty(TollInvoiceResult.prototype, "textLocation", { | ||
get: function () { | ||
return this['text_location']; | ||
}, | ||
set: function (textLocation) { | ||
this['text_location'] = textLocation; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return TollInvoiceResult; | ||
}()); | ||
exports.TollInvoiceResult = TollInvoiceResult; |
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
956463
21266