@huaweicloud/huaweicloud-sdk-ocr 3.1.41 → 3.1.43

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.41",
3
+ "version": "3.1.43",
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.41"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.43"
18
18
  }
19
19
  }
@@ -5,6 +5,7 @@ export declare class GeneralTextRequestBody {
5
5
  private 'quick_mode'?;
6
6
  private 'character_mode'?;
7
7
  language?: string;
8
+ private 'single_orientation_mode'?;
8
9
  constructor();
9
10
  withImage(image: string): GeneralTextRequestBody;
10
11
  withUrl(url: string): GeneralTextRequestBody;
@@ -18,4 +19,7 @@ export declare class GeneralTextRequestBody {
18
19
  set characterMode(characterMode: boolean | undefined);
19
20
  get characterMode(): boolean | undefined;
20
21
  withLanguage(language: string): GeneralTextRequestBody;
22
+ withSingleOrientationMode(singleOrientationMode: boolean): GeneralTextRequestBody;
23
+ set singleOrientationMode(singleOrientationMode: boolean | undefined);
24
+ get singleOrientationMode(): boolean | undefined;
21
25
  }
@@ -58,6 +58,20 @@ var GeneralTextRequestBody = /** @class */ (function () {
58
58
  this['language'] = language;
59
59
  return this;
60
60
  };
61
+ GeneralTextRequestBody.prototype.withSingleOrientationMode = function (singleOrientationMode) {
62
+ this['single_orientation_mode'] = singleOrientationMode;
63
+ return this;
64
+ };
65
+ Object.defineProperty(GeneralTextRequestBody.prototype, "singleOrientationMode", {
66
+ get: function () {
67
+ return this['single_orientation_mode'];
68
+ },
69
+ set: function (singleOrientationMode) {
70
+ this['single_orientation_mode'] = singleOrientationMode;
71
+ },
72
+ enumerable: false,
73
+ configurable: true
74
+ });
61
75
  return GeneralTextRequestBody;
62
76
  }());
63
77
  exports.GeneralTextRequestBody = GeneralTextRequestBody;