@huaweicloud/huaweicloud-sdk-ocr 3.1.32 → 3.1.34
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.34",
|
|
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.34"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,6 +6,7 @@ export declare class FinancialStatementRequestBody {
|
|
|
6
6
|
private 'return_excel'?;
|
|
7
7
|
private 'return_table_location'?;
|
|
8
8
|
private 'return_image_size'?;
|
|
9
|
+
private 'return_rectification_matrix'?;
|
|
9
10
|
constructor();
|
|
10
11
|
withImage(image: string): FinancialStatementRequestBody;
|
|
11
12
|
withUrl(url: string): FinancialStatementRequestBody;
|
|
@@ -24,4 +25,7 @@ export declare class FinancialStatementRequestBody {
|
|
|
24
25
|
withReturnImageSize(returnImageSize: boolean): FinancialStatementRequestBody;
|
|
25
26
|
set returnImageSize(returnImageSize: boolean | undefined);
|
|
26
27
|
get returnImageSize(): boolean | undefined;
|
|
28
|
+
withReturnRectificationMatrix(returnRectificationMatrix: boolean): FinancialStatementRequestBody;
|
|
29
|
+
set returnRectificationMatrix(returnRectificationMatrix: boolean | undefined);
|
|
30
|
+
get returnRectificationMatrix(): boolean | undefined;
|
|
27
31
|
}
|
|
@@ -82,6 +82,20 @@ var FinancialStatementRequestBody = /** @class */ (function () {
|
|
|
82
82
|
enumerable: false,
|
|
83
83
|
configurable: true
|
|
84
84
|
});
|
|
85
|
+
FinancialStatementRequestBody.prototype.withReturnRectificationMatrix = function (returnRectificationMatrix) {
|
|
86
|
+
this['return_rectification_matrix'] = returnRectificationMatrix;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
Object.defineProperty(FinancialStatementRequestBody.prototype, "returnRectificationMatrix", {
|
|
90
|
+
get: function () {
|
|
91
|
+
return this['return_rectification_matrix'];
|
|
92
|
+
},
|
|
93
|
+
set: function (returnRectificationMatrix) {
|
|
94
|
+
this['return_rectification_matrix'] = returnRectificationMatrix;
|
|
95
|
+
},
|
|
96
|
+
enumerable: false,
|
|
97
|
+
configurable: true
|
|
98
|
+
});
|
|
85
99
|
return FinancialStatementRequestBody;
|
|
86
100
|
}());
|
|
87
101
|
exports.FinancialStatementRequestBody = FinancialStatementRequestBody;
|
|
@@ -5,6 +5,7 @@ export declare class FinancialStatementResult {
|
|
|
5
5
|
private 'words_region_list';
|
|
6
6
|
excel?: string;
|
|
7
7
|
private 'image_size'?;
|
|
8
|
+
private 'rectification_matrix'?;
|
|
8
9
|
constructor(wordsRegionCount?: any, wordsRegionList?: any);
|
|
9
10
|
withWordsRegionCount(wordsRegionCount: number): FinancialStatementResult;
|
|
10
11
|
set wordsRegionCount(wordsRegionCount: number | undefined);
|
|
@@ -16,4 +17,7 @@ export declare class FinancialStatementResult {
|
|
|
16
17
|
withImageSize(imageSize: FinancialStatementResultImageSize): FinancialStatementResult;
|
|
17
18
|
set imageSize(imageSize: FinancialStatementResultImageSize | undefined);
|
|
18
19
|
get imageSize(): FinancialStatementResultImageSize | undefined;
|
|
20
|
+
withRectificationMatrix(rectificationMatrix: Array<Array<number>>): FinancialStatementResult;
|
|
21
|
+
set rectificationMatrix(rectificationMatrix: Array<Array<number>> | undefined);
|
|
22
|
+
get rectificationMatrix(): Array<Array<number>> | undefined;
|
|
19
23
|
}
|
|
@@ -52,6 +52,20 @@ var FinancialStatementResult = /** @class */ (function () {
|
|
|
52
52
|
enumerable: false,
|
|
53
53
|
configurable: true
|
|
54
54
|
});
|
|
55
|
+
FinancialStatementResult.prototype.withRectificationMatrix = function (rectificationMatrix) {
|
|
56
|
+
this['rectification_matrix'] = rectificationMatrix;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
Object.defineProperty(FinancialStatementResult.prototype, "rectificationMatrix", {
|
|
60
|
+
get: function () {
|
|
61
|
+
return this['rectification_matrix'];
|
|
62
|
+
},
|
|
63
|
+
set: function (rectificationMatrix) {
|
|
64
|
+
this['rectification_matrix'] = rectificationMatrix;
|
|
65
|
+
},
|
|
66
|
+
enumerable: false,
|
|
67
|
+
configurable: true
|
|
68
|
+
});
|
|
55
69
|
return FinancialStatementResult;
|
|
56
70
|
}());
|
|
57
71
|
exports.FinancialStatementResult = FinancialStatementResult;
|