@cherryin/passport-api-client 0.1.2 → 0.1.3

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.
@@ -14,6 +14,7 @@ docs/AdminUserItem.md
14
14
  docs/Any.md
15
15
  docs/AuthAdminSession.md
16
16
  docs/AuthAdminUser.md
17
+ docs/AuthCaptcha.md
17
18
  docs/AuthEnterpriseMaterials.md
18
19
  docs/AuthEnterpriseSession.md
19
20
  docs/AuthEnterpriseUser.md
@@ -22,6 +23,7 @@ docs/AuthPassport.md
22
23
  docs/AuthUser.md
23
24
  docs/AuthUserMethod.md
24
25
  docs/AuthUserSession.md
26
+ docs/GeeTestAuthCaptcha.md
25
27
  docs/PassportAdminPasswordForgetRequest.md
26
28
  docs/PassportAdminPasswordForgetResponse.md
27
29
  docs/PassportAdminPasswordResetRequest.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cherryin/passport-api-client@0.1.2
1
+ ## @cherryin/passport-api-client@0.1.3
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.2 --save
39
+ npm install @cherryin/passport-api-client@0.1.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -152,6 +152,7 @@ Class | Method | HTTP request | Description
152
152
  - [Any](docs/Any.md)
153
153
  - [AuthAdminSession](docs/AuthAdminSession.md)
154
154
  - [AuthAdminUser](docs/AuthAdminUser.md)
155
+ - [AuthCaptcha](docs/AuthCaptcha.md)
155
156
  - [AuthEnterpriseMaterials](docs/AuthEnterpriseMaterials.md)
156
157
  - [AuthEnterpriseSession](docs/AuthEnterpriseSession.md)
157
158
  - [AuthEnterpriseUser](docs/AuthEnterpriseUser.md)
@@ -160,6 +161,7 @@ Class | Method | HTTP request | Description
160
161
  - [AuthUser](docs/AuthUser.md)
161
162
  - [AuthUserMethod](docs/AuthUserMethod.md)
162
163
  - [AuthUserSession](docs/AuthUserSession.md)
164
+ - [GeeTestAuthCaptcha](docs/GeeTestAuthCaptcha.md)
163
165
  - [PassportAdminPasswordForgetRequest](docs/PassportAdminPasswordForgetRequest.md)
164
166
  - [PassportAdminPasswordForgetResponse](docs/PassportAdminPasswordForgetResponse.md)
165
167
  - [PassportAdminPasswordResetRequest](docs/PassportAdminPasswordResetRequest.md)
package/api.ts CHANGED
@@ -74,6 +74,9 @@ export interface AuthAdminUser {
74
74
  'created_at'?: string;
75
75
  'updated_at'?: string;
76
76
  }
77
+ export interface AuthCaptcha {
78
+ 'geetest'?: GeeTestAuthCaptcha;
79
+ }
77
80
  export interface AuthEnterpriseMaterials {
78
81
  /**
79
82
  * EnterpriseMaterials.RequestedAt
@@ -180,6 +183,12 @@ export interface AuthUserSession {
180
183
  'ip'?: string;
181
184
  'user_agent'?: string;
182
185
  }
186
+ export interface GeeTestAuthCaptcha {
187
+ 'lotNumber'?: string;
188
+ 'captchaOutput'?: string;
189
+ 'passToken'?: string;
190
+ 'genTime'?: string;
191
+ }
183
192
  export interface PassportAdminPasswordForgetRequest {
184
193
  'email'?: string;
185
194
  'callback_url'?: string;
@@ -803,6 +812,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
803
812
  'email'?: string;
804
813
  'callback_url'?: string;
805
814
  'purpose'?: string;
815
+ 'captcha'?: AuthCaptcha;
806
816
  }
807
817
  export interface PassportEnterpriseSendVerificationEmailResponse {
808
818
  'code'?: string;
@@ -812,6 +822,7 @@ export interface PassportEnterpriseSendVerificationPhoneRequest {
812
822
  'phone'?: string;
813
823
  'callback_url'?: string;
814
824
  'purpose'?: string;
825
+ 'captcha'?: AuthCaptcha;
815
826
  }
816
827
  export interface PassportEnterpriseSendVerificationPhoneResponse {
817
828
  'code'?: string;
@@ -883,6 +894,7 @@ export interface PassportSendVerificationEmailRequest {
883
894
  'email'?: string;
884
895
  'callback_url'?: string;
885
896
  'purpose'?: string;
897
+ 'captcha'?: AuthCaptcha;
886
898
  }
887
899
  export interface PassportSendVerificationEmailResponse {
888
900
  'code'?: string;
package/dist/api.d.ts CHANGED
@@ -63,6 +63,9 @@ export interface AuthAdminUser {
63
63
  'created_at'?: string;
64
64
  'updated_at'?: string;
65
65
  }
66
+ export interface AuthCaptcha {
67
+ 'geetest'?: GeeTestAuthCaptcha;
68
+ }
66
69
  export interface AuthEnterpriseMaterials {
67
70
  /**
68
71
  * EnterpriseMaterials.RequestedAt
@@ -169,6 +172,12 @@ export interface AuthUserSession {
169
172
  'ip'?: string;
170
173
  'user_agent'?: string;
171
174
  }
175
+ export interface GeeTestAuthCaptcha {
176
+ 'lotNumber'?: string;
177
+ 'captchaOutput'?: string;
178
+ 'passToken'?: string;
179
+ 'genTime'?: string;
180
+ }
172
181
  export interface PassportAdminPasswordForgetRequest {
173
182
  'email'?: string;
174
183
  'callback_url'?: string;
@@ -792,6 +801,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
792
801
  'email'?: string;
793
802
  'callback_url'?: string;
794
803
  'purpose'?: string;
804
+ 'captcha'?: AuthCaptcha;
795
805
  }
796
806
  export interface PassportEnterpriseSendVerificationEmailResponse {
797
807
  'code'?: string;
@@ -801,6 +811,7 @@ export interface PassportEnterpriseSendVerificationPhoneRequest {
801
811
  'phone'?: string;
802
812
  'callback_url'?: string;
803
813
  'purpose'?: string;
814
+ 'captcha'?: AuthCaptcha;
804
815
  }
805
816
  export interface PassportEnterpriseSendVerificationPhoneResponse {
806
817
  'code'?: string;
@@ -872,6 +883,7 @@ export interface PassportSendVerificationEmailRequest {
872
883
  'email'?: string;
873
884
  'callback_url'?: string;
874
885
  'purpose'?: string;
886
+ 'captcha'?: AuthCaptcha;
875
887
  }
876
888
  export interface PassportSendVerificationEmailResponse {
877
889
  'code'?: string;
package/dist/esm/api.d.ts CHANGED
@@ -63,6 +63,9 @@ export interface AuthAdminUser {
63
63
  'created_at'?: string;
64
64
  'updated_at'?: string;
65
65
  }
66
+ export interface AuthCaptcha {
67
+ 'geetest'?: GeeTestAuthCaptcha;
68
+ }
66
69
  export interface AuthEnterpriseMaterials {
67
70
  /**
68
71
  * EnterpriseMaterials.RequestedAt
@@ -169,6 +172,12 @@ export interface AuthUserSession {
169
172
  'ip'?: string;
170
173
  'user_agent'?: string;
171
174
  }
175
+ export interface GeeTestAuthCaptcha {
176
+ 'lotNumber'?: string;
177
+ 'captchaOutput'?: string;
178
+ 'passToken'?: string;
179
+ 'genTime'?: string;
180
+ }
172
181
  export interface PassportAdminPasswordForgetRequest {
173
182
  'email'?: string;
174
183
  'callback_url'?: string;
@@ -792,6 +801,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
792
801
  'email'?: string;
793
802
  'callback_url'?: string;
794
803
  'purpose'?: string;
804
+ 'captcha'?: AuthCaptcha;
795
805
  }
796
806
  export interface PassportEnterpriseSendVerificationEmailResponse {
797
807
  'code'?: string;
@@ -801,6 +811,7 @@ export interface PassportEnterpriseSendVerificationPhoneRequest {
801
811
  'phone'?: string;
802
812
  'callback_url'?: string;
803
813
  'purpose'?: string;
814
+ 'captcha'?: AuthCaptcha;
804
815
  }
805
816
  export interface PassportEnterpriseSendVerificationPhoneResponse {
806
817
  'code'?: string;
@@ -872,6 +883,7 @@ export interface PassportSendVerificationEmailRequest {
872
883
  'email'?: string;
873
884
  'callback_url'?: string;
874
885
  'purpose'?: string;
886
+ 'captcha'?: AuthCaptcha;
875
887
  }
876
888
  export interface PassportSendVerificationEmailResponse {
877
889
  'code'?: string;
@@ -0,0 +1,20 @@
1
+ # AuthCaptcha
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **geetest** | [**GeeTestAuthCaptcha**](GeeTestAuthCaptcha.md) | | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AuthCaptcha } from '@cherryin/passport-api-client';
14
+
15
+ const instance: AuthCaptcha = {
16
+ geetest,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # GeeTestAuthCaptcha
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **lotNumber** | **string** | | [optional] [default to undefined]
9
+ **captchaOutput** | **string** | | [optional] [default to undefined]
10
+ **passToken** | **string** | | [optional] [default to undefined]
11
+ **genTime** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { GeeTestAuthCaptcha } from '@cherryin/passport-api-client';
17
+
18
+ const instance: GeeTestAuthCaptcha = {
19
+ lotNumber,
20
+ captchaOutput,
21
+ passToken,
22
+ genTime,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **email** | **string** | | [optional] [default to undefined]
9
9
  **callback_url** | **string** | | [optional] [default to undefined]
10
10
  **purpose** | **string** | | [optional] [default to undefined]
11
+ **captcha** | [**AuthCaptcha**](AuthCaptcha.md) | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: PassportEnterpriseSendVerificationEmailRequest = {
18
19
  email,
19
20
  callback_url,
20
21
  purpose,
22
+ captcha,
21
23
  };
22
24
  ```
23
25
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **phone** | **string** | | [optional] [default to undefined]
9
9
  **callback_url** | **string** | | [optional] [default to undefined]
10
10
  **purpose** | **string** | | [optional] [default to undefined]
11
+ **captcha** | [**AuthCaptcha**](AuthCaptcha.md) | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ const instance: PassportEnterpriseSendVerificationPhoneRequest = {
18
19
  phone,
19
20
  callback_url,
20
21
  purpose,
22
+ captcha,
21
23
  };
22
24
  ```
23
25
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **email** | **string** | | [optional] [default to undefined]
10
10
  **callback_url** | **string** | | [optional] [default to undefined]
11
11
  **purpose** | **string** | | [optional] [default to undefined]
12
+ **captcha** | [**AuthCaptcha**](AuthCaptcha.md) | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: PassportSendVerificationEmailRequest = {
20
21
  email,
21
22
  callback_url,
22
23
  purpose,
24
+ captcha,
23
25
  };
24
26
  ```
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/passport-api-client",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "OpenAPI client for @cherryin/passport-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {