@cherryin/passport-api-client 0.1.9 → 0.1.10
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 +2 -1
- package/dist/api.d.ts +2 -1
- package/dist/esm/api.d.ts +2 -1
- package/docs/EnterpriseOCRPersonIDCard.md +4 -2
- 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.10
|
|
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.10 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -209,7 +209,8 @@ export interface EnterpriseOCRBusinessLicenseWarning {
|
|
|
209
209
|
export interface EnterpriseOCRPersonIDCard {
|
|
210
210
|
'face'?: EnterpriseOCRPersonIDCardFace;
|
|
211
211
|
'back'?: EnterpriseOCRPersonIDCardBack;
|
|
212
|
-
'
|
|
212
|
+
'face_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
213
|
+
'back_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
213
214
|
}
|
|
214
215
|
export interface EnterpriseOCRPersonIDCardBack {
|
|
215
216
|
'issue_authority'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -200,7 +200,8 @@ export interface EnterpriseOCRBusinessLicenseWarning {
|
|
|
200
200
|
export interface EnterpriseOCRPersonIDCard {
|
|
201
201
|
'face'?: EnterpriseOCRPersonIDCardFace;
|
|
202
202
|
'back'?: EnterpriseOCRPersonIDCardBack;
|
|
203
|
-
'
|
|
203
|
+
'face_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
204
|
+
'back_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
204
205
|
}
|
|
205
206
|
export interface EnterpriseOCRPersonIDCardBack {
|
|
206
207
|
'issue_authority'?: string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -200,7 +200,8 @@ export interface EnterpriseOCRBusinessLicenseWarning {
|
|
|
200
200
|
export interface EnterpriseOCRPersonIDCard {
|
|
201
201
|
'face'?: EnterpriseOCRPersonIDCardFace;
|
|
202
202
|
'back'?: EnterpriseOCRPersonIDCardBack;
|
|
203
|
-
'
|
|
203
|
+
'face_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
204
|
+
'back_warning'?: EnterpriseOCRPersonIDCardWarning;
|
|
204
205
|
}
|
|
205
206
|
export interface EnterpriseOCRPersonIDCardBack {
|
|
206
207
|
'issue_authority'?: string;
|
|
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**face** | [**EnterpriseOCRPersonIDCardFace**](EnterpriseOCRPersonIDCardFace.md) | | [optional] [default to undefined]
|
|
9
9
|
**back** | [**EnterpriseOCRPersonIDCardBack**](EnterpriseOCRPersonIDCardBack.md) | | [optional] [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**face_warning** | [**EnterpriseOCRPersonIDCardWarning**](EnterpriseOCRPersonIDCardWarning.md) | | [optional] [default to undefined]
|
|
11
|
+
**back_warning** | [**EnterpriseOCRPersonIDCardWarning**](EnterpriseOCRPersonIDCardWarning.md) | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -17,7 +18,8 @@ import { EnterpriseOCRPersonIDCard } from '@cherryin/passport-api-client';
|
|
|
17
18
|
const instance: EnterpriseOCRPersonIDCard = {
|
|
18
19
|
face,
|
|
19
20
|
back,
|
|
20
|
-
|
|
21
|
+
face_warning,
|
|
22
|
+
back_warning,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|