@huaweicloud/huaweicloud-sdk-ocr 3.1.2 → 3.1.4
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.4",
|
|
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.4"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -5,6 +5,7 @@ export declare class IdCardRequestBody {
|
|
|
5
5
|
private 'return_verification'?;
|
|
6
6
|
private 'return_text_location'?;
|
|
7
7
|
private 'detect_reproduce'?;
|
|
8
|
+
private 'detect_copy'?;
|
|
8
9
|
constructor();
|
|
9
10
|
withImage(image: string): IdCardRequestBody;
|
|
10
11
|
withUrl(url: string): IdCardRequestBody;
|
|
@@ -18,4 +19,7 @@ export declare class IdCardRequestBody {
|
|
|
18
19
|
withDetectReproduce(detectReproduce: boolean): IdCardRequestBody;
|
|
19
20
|
set detectReproduce(detectReproduce: boolean | undefined);
|
|
20
21
|
get detectReproduce(): boolean | undefined;
|
|
22
|
+
withDetectCopy(detectCopy: boolean): IdCardRequestBody;
|
|
23
|
+
set detectCopy(detectCopy: boolean | undefined);
|
|
24
|
+
get detectCopy(): boolean | undefined;
|
|
21
25
|
}
|
|
@@ -58,6 +58,20 @@ var IdCardRequestBody = /** @class */ (function () {
|
|
|
58
58
|
enumerable: false,
|
|
59
59
|
configurable: true
|
|
60
60
|
});
|
|
61
|
+
IdCardRequestBody.prototype.withDetectCopy = function (detectCopy) {
|
|
62
|
+
this['detect_copy'] = detectCopy;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(IdCardRequestBody.prototype, "detectCopy", {
|
|
66
|
+
get: function () {
|
|
67
|
+
return this['detect_copy'];
|
|
68
|
+
},
|
|
69
|
+
set: function (detectCopy) {
|
|
70
|
+
this['detect_copy'] = detectCopy;
|
|
71
|
+
},
|
|
72
|
+
enumerable: false,
|
|
73
|
+
configurable: true
|
|
74
|
+
});
|
|
61
75
|
return IdCardRequestBody;
|
|
62
76
|
}());
|
|
63
77
|
exports.IdCardRequestBody = IdCardRequestBody;
|
|
@@ -12,6 +12,7 @@ export declare class IdCardResult {
|
|
|
12
12
|
private 'verification_result'?;
|
|
13
13
|
private 'text_location'?;
|
|
14
14
|
private 'detect_reproduce_result'?;
|
|
15
|
+
private 'detect_copy_result'?;
|
|
15
16
|
constructor();
|
|
16
17
|
withName(name: string): IdCardResult;
|
|
17
18
|
withSex(sex: string): IdCardResult;
|
|
@@ -37,4 +38,7 @@ export declare class IdCardResult {
|
|
|
37
38
|
withDetectReproduceResult(detectReproduceResult: boolean): IdCardResult;
|
|
38
39
|
set detectReproduceResult(detectReproduceResult: boolean | undefined);
|
|
39
40
|
get detectReproduceResult(): boolean | undefined;
|
|
41
|
+
withDetectCopyResult(detectCopyResult: boolean): IdCardResult;
|
|
42
|
+
set detectCopyResult(detectCopyResult: boolean | undefined);
|
|
43
|
+
get detectCopyResult(): boolean | undefined;
|
|
40
44
|
}
|
package/v1/model/IdCardResult.js
CHANGED
|
@@ -112,6 +112,20 @@ var IdCardResult = /** @class */ (function () {
|
|
|
112
112
|
enumerable: false,
|
|
113
113
|
configurable: true
|
|
114
114
|
});
|
|
115
|
+
IdCardResult.prototype.withDetectCopyResult = function (detectCopyResult) {
|
|
116
|
+
this['detect_copy_result'] = detectCopyResult;
|
|
117
|
+
return this;
|
|
118
|
+
};
|
|
119
|
+
Object.defineProperty(IdCardResult.prototype, "detectCopyResult", {
|
|
120
|
+
get: function () {
|
|
121
|
+
return this['detect_copy_result'];
|
|
122
|
+
},
|
|
123
|
+
set: function (detectCopyResult) {
|
|
124
|
+
this['detect_copy_result'] = detectCopyResult;
|
|
125
|
+
},
|
|
126
|
+
enumerable: false,
|
|
127
|
+
configurable: true
|
|
128
|
+
});
|
|
115
129
|
return IdCardResult;
|
|
116
130
|
}());
|
|
117
131
|
exports.IdCardResult = IdCardResult;
|