@huaweicloud/huaweicloud-sdk-ocr 3.1.21 → 3.1.23
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-ocr",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.23",
|
|
4
4
|
"description": "Huaweicloud SDK for ocr",
|
|
5
5
|
"main": "huaweicloud-sdk-ocr.js",
|
|
6
6
|
"typings": "huaweicloud-sdk-ocr.d.ts",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"author": "HuaweiCloud_SDK",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@huaweicloud/huaweicloud-sdk-core": "^3.1.
|
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.23"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export declare class TollInvoiceRequestBody {
|
|
2
2
|
image?: string;
|
|
3
3
|
url?: string;
|
|
4
|
+
private 'return_text_location'?;
|
|
4
5
|
constructor();
|
|
5
6
|
withImage(image: string): TollInvoiceRequestBody;
|
|
6
7
|
withUrl(url: string): TollInvoiceRequestBody;
|
|
8
|
+
withReturnTextLocation(returnTextLocation: boolean): TollInvoiceRequestBody;
|
|
9
|
+
set returnTextLocation(returnTextLocation: boolean | undefined);
|
|
10
|
+
get returnTextLocation(): boolean | undefined;
|
|
7
11
|
}
|
|
@@ -12,6 +12,20 @@ var TollInvoiceRequestBody = /** @class */ (function () {
|
|
|
12
12
|
this['url'] = url;
|
|
13
13
|
return this;
|
|
14
14
|
};
|
|
15
|
+
TollInvoiceRequestBody.prototype.withReturnTextLocation = function (returnTextLocation) {
|
|
16
|
+
this['return_text_location'] = returnTextLocation;
|
|
17
|
+
return this;
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(TollInvoiceRequestBody.prototype, "returnTextLocation", {
|
|
20
|
+
get: function () {
|
|
21
|
+
return this['return_text_location'];
|
|
22
|
+
},
|
|
23
|
+
set: function (returnTextLocation) {
|
|
24
|
+
this['return_text_location'] = returnTextLocation;
|
|
25
|
+
},
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true
|
|
28
|
+
});
|
|
15
29
|
return TollInvoiceRequestBody;
|
|
16
30
|
}());
|
|
17
31
|
exports.TollInvoiceRequestBody = TollInvoiceRequestBody;
|
|
@@ -9,6 +9,7 @@ export declare class TollInvoiceResult {
|
|
|
9
9
|
date?: string;
|
|
10
10
|
time?: string;
|
|
11
11
|
confidence?: object;
|
|
12
|
+
private 'text_location'?;
|
|
12
13
|
constructor();
|
|
13
14
|
withCode(code: string): TollInvoiceResult;
|
|
14
15
|
withModelNumber(modelNumber: string): TollInvoiceResult;
|
|
@@ -24,4 +25,7 @@ export declare class TollInvoiceResult {
|
|
|
24
25
|
withDate(date: string): TollInvoiceResult;
|
|
25
26
|
withTime(time: string): TollInvoiceResult;
|
|
26
27
|
withConfidence(confidence: object): TollInvoiceResult;
|
|
28
|
+
withTextLocation(textLocation: object): TollInvoiceResult;
|
|
29
|
+
set textLocation(textLocation: object | undefined);
|
|
30
|
+
get textLocation(): object | undefined;
|
|
27
31
|
}
|
|
@@ -64,6 +64,20 @@ var TollInvoiceResult = /** @class */ (function () {
|
|
|
64
64
|
this['confidence'] = confidence;
|
|
65
65
|
return this;
|
|
66
66
|
};
|
|
67
|
+
TollInvoiceResult.prototype.withTextLocation = function (textLocation) {
|
|
68
|
+
this['text_location'] = textLocation;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
Object.defineProperty(TollInvoiceResult.prototype, "textLocation", {
|
|
72
|
+
get: function () {
|
|
73
|
+
return this['text_location'];
|
|
74
|
+
},
|
|
75
|
+
set: function (textLocation) {
|
|
76
|
+
this['text_location'] = textLocation;
|
|
77
|
+
},
|
|
78
|
+
enumerable: false,
|
|
79
|
+
configurable: true
|
|
80
|
+
});
|
|
67
81
|
return TollInvoiceResult;
|
|
68
82
|
}());
|
|
69
83
|
exports.TollInvoiceResult = TollInvoiceResult;
|