@cherryin/passport-api-client 0.1.11 → 0.1.13
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/README.md +2 -2
- package/api.ts +4 -0
- package/dist/api.d.ts +6 -0
- package/dist/esm/api.d.ts +6 -0
- package/docs/EnterpriseOCRPersonIDCardWarning.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cherryin/passport-api-client@0.1.
|
|
1
|
+
## @cherryin/passport-api-client@0.1.13
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cherryin/passport-api-client@0.1.
|
|
39
|
+
npm install @cherryin/passport-api-client@0.1.13 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -230,6 +230,10 @@ export interface EnterpriseOCRPersonIDCardWarning {
|
|
|
230
230
|
'completeness_score'?: number;
|
|
231
231
|
'quality_score'?: number;
|
|
232
232
|
'tamper_score'?: number;
|
|
233
|
+
/**
|
|
234
|
+
* 字段置信度
|
|
235
|
+
*/
|
|
236
|
+
'value_probs'?: { [key: string]: number; };
|
|
233
237
|
}
|
|
234
238
|
export interface GeeTestAuthCaptcha {
|
|
235
239
|
'captcha_id'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -221,6 +221,12 @@ export interface EnterpriseOCRPersonIDCardWarning {
|
|
|
221
221
|
'completeness_score'?: number;
|
|
222
222
|
'quality_score'?: number;
|
|
223
223
|
'tamper_score'?: number;
|
|
224
|
+
/**
|
|
225
|
+
* 字段置信度
|
|
226
|
+
*/
|
|
227
|
+
'value_probs'?: {
|
|
228
|
+
[key: string]: number;
|
|
229
|
+
};
|
|
224
230
|
}
|
|
225
231
|
export interface GeeTestAuthCaptcha {
|
|
226
232
|
'captcha_id'?: string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -221,6 +221,12 @@ export interface EnterpriseOCRPersonIDCardWarning {
|
|
|
221
221
|
'completeness_score'?: number;
|
|
222
222
|
'quality_score'?: number;
|
|
223
223
|
'tamper_score'?: number;
|
|
224
|
+
/**
|
|
225
|
+
* 字段置信度
|
|
226
|
+
*/
|
|
227
|
+
'value_probs'?: {
|
|
228
|
+
[key: string]: number;
|
|
229
|
+
};
|
|
224
230
|
}
|
|
225
231
|
export interface GeeTestAuthCaptcha {
|
|
226
232
|
'captcha_id'?: string;
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**completeness_score** | **number** | | [optional] [default to undefined]
|
|
11
11
|
**quality_score** | **number** | | [optional] [default to undefined]
|
|
12
12
|
**tamper_score** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**value_probs** | **{ [key: string]: number; }** | 字段置信度 | [optional] [default to undefined]
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,6 +23,7 @@ const instance: EnterpriseOCRPersonIDCardWarning = {
|
|
|
22
23
|
completeness_score,
|
|
23
24
|
quality_score,
|
|
24
25
|
tamper_score,
|
|
26
|
+
value_probs,
|
|
25
27
|
};
|
|
26
28
|
```
|
|
27
29
|
|