@cherryin/passport-api-client 0.1.3 → 0.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/README.md +2 -2
- package/api.ts +5 -4
- package/dist/api.d.ts +5 -4
- package/dist/esm/api.d.ts +5 -4
- package/docs/GeeTestAuthCaptcha.md +10 -8
- 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.4
|
|
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.4 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -184,10 +184,11 @@ export interface AuthUserSession {
|
|
|
184
184
|
'user_agent'?: string;
|
|
185
185
|
}
|
|
186
186
|
export interface GeeTestAuthCaptcha {
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'
|
|
190
|
-
'
|
|
187
|
+
'captcha_id'?: string;
|
|
188
|
+
'lot_number'?: string;
|
|
189
|
+
'captcha_output'?: string;
|
|
190
|
+
'pass_token'?: string;
|
|
191
|
+
'gen_time'?: string;
|
|
191
192
|
}
|
|
192
193
|
export interface PassportAdminPasswordForgetRequest {
|
|
193
194
|
'email'?: string;
|
package/dist/api.d.ts
CHANGED
|
@@ -173,10 +173,11 @@ export interface AuthUserSession {
|
|
|
173
173
|
'user_agent'?: string;
|
|
174
174
|
}
|
|
175
175
|
export interface GeeTestAuthCaptcha {
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
176
|
+
'captcha_id'?: string;
|
|
177
|
+
'lot_number'?: string;
|
|
178
|
+
'captcha_output'?: string;
|
|
179
|
+
'pass_token'?: string;
|
|
180
|
+
'gen_time'?: string;
|
|
180
181
|
}
|
|
181
182
|
export interface PassportAdminPasswordForgetRequest {
|
|
182
183
|
'email'?: string;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -173,10 +173,11 @@ export interface AuthUserSession {
|
|
|
173
173
|
'user_agent'?: string;
|
|
174
174
|
}
|
|
175
175
|
export interface GeeTestAuthCaptcha {
|
|
176
|
-
'
|
|
177
|
-
'
|
|
178
|
-
'
|
|
179
|
-
'
|
|
176
|
+
'captcha_id'?: string;
|
|
177
|
+
'lot_number'?: string;
|
|
178
|
+
'captcha_output'?: string;
|
|
179
|
+
'pass_token'?: string;
|
|
180
|
+
'gen_time'?: string;
|
|
180
181
|
}
|
|
181
182
|
export interface PassportAdminPasswordForgetRequest {
|
|
182
183
|
'email'?: string;
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
8
|
+
**captcha_id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**lot_number** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**captcha_output** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**pass_token** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**gen_time** | **string** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -16,10 +17,11 @@ Name | Type | Description | Notes
|
|
|
16
17
|
import { GeeTestAuthCaptcha } from '@cherryin/passport-api-client';
|
|
17
18
|
|
|
18
19
|
const instance: GeeTestAuthCaptcha = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
captcha_id,
|
|
21
|
+
lot_number,
|
|
22
|
+
captcha_output,
|
|
23
|
+
pass_token,
|
|
24
|
+
gen_time,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|