@cherryin/api-client 0.0.15 → 0.0.16
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 +3 -3
- package/api.ts +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/docs/PassportAuthUserServiceApi.md +1 -1
- package/docs/PassportSendVerificationEmailRequest.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cherryin/api-client@0.0.
|
|
1
|
+
## @cherryin/api-client@0.0.16
|
|
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/api-client@0.0.
|
|
39
|
+
npm install @cherryin/api-client@0.0.16 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -175,7 +175,7 @@ Class | Method | HTTP request | Description
|
|
|
175
175
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportSendVerificationEmail**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportsendverificationemail) | **POST** /passport/auth/v1/verification/send-email |
|
|
176
176
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportSendVerificationPhone**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportsendverificationphone) | **POST** /passport/auth/v1/verification/send-phone |
|
|
177
177
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserOAuthCallback**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportuseroauthcallback) | **GET** /passport/oauth2/{platform}/callback |
|
|
178
|
-
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserPasswordReset**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportuserpasswordreset) | **POST** /passport/auth/v1/password/
|
|
178
|
+
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserPasswordReset**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportuserpasswordreset) | **POST** /passport/auth/v1/password/reset |
|
|
179
179
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserSignInEmail**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportusersigninemail) | **POST** /passport/auth/v1/sign-in/email |
|
|
180
180
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserSignInPhone**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportusersigninphone) | **POST** /passport/auth/v1/sign-in/phone |
|
|
181
181
|
*PassportAuthUserServiceApi* | [**passportAuthUserServicePassportUserSignInSocial**](docs/PassportAuthUserServiceApi.md#passportauthuserservicepassportusersigninsocial) | **POST** /passport/auth/v1/sign-in/social |
|
package/api.ts
CHANGED
|
@@ -2193,7 +2193,7 @@ export interface PassportSendVerificationEmailRequest {
|
|
|
2193
2193
|
'email'?: string;
|
|
2194
2194
|
'callback_url'?: string;
|
|
2195
2195
|
/**
|
|
2196
|
-
*
|
|
2196
|
+
* 验证目的, 可选值 - verify_email(验证邮箱) - change_email(更换邮箱) - reset_password (重置密码)
|
|
2197
2197
|
*/
|
|
2198
2198
|
'purpose'?: string;
|
|
2199
2199
|
}
|
|
@@ -12168,7 +12168,7 @@ export const PassportAuthUserServiceApiAxiosParamCreator = function (configurati
|
|
|
12168
12168
|
passportAuthUserServicePassportUserPasswordReset: async (passportUserPasswordResetRequest: PassportUserPasswordResetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12169
12169
|
// verify required parameter 'passportUserPasswordResetRequest' is not null or undefined
|
|
12170
12170
|
assertParamExists('passportAuthUserServicePassportUserPasswordReset', 'passportUserPasswordResetRequest', passportUserPasswordResetRequest)
|
|
12171
|
-
const localVarPath = `/passport/auth/v1/password/
|
|
12171
|
+
const localVarPath = `/passport/auth/v1/password/reset`;
|
|
12172
12172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12173
12173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12174
12174
|
let baseOptions;
|
package/dist/api.d.ts
CHANGED
|
@@ -2196,7 +2196,7 @@ export interface PassportSendVerificationEmailRequest {
|
|
|
2196
2196
|
'email'?: string;
|
|
2197
2197
|
'callback_url'?: string;
|
|
2198
2198
|
/**
|
|
2199
|
-
*
|
|
2199
|
+
* 验证目的, 可选值 - verify_email(验证邮箱) - change_email(更换邮箱) - reset_password (重置密码)
|
|
2200
2200
|
*/
|
|
2201
2201
|
'purpose'?: string;
|
|
2202
2202
|
}
|
package/dist/api.js
CHANGED
|
@@ -7038,7 +7038,7 @@ const PassportAuthUserServiceApiAxiosParamCreator = function (configuration) {
|
|
|
7038
7038
|
passportAuthUserServicePassportUserPasswordReset: (passportUserPasswordResetRequest_1, ...args_1) => __awaiter(this, [passportUserPasswordResetRequest_1, ...args_1], void 0, function* (passportUserPasswordResetRequest, options = {}) {
|
|
7039
7039
|
// verify required parameter 'passportUserPasswordResetRequest' is not null or undefined
|
|
7040
7040
|
(0, common_1.assertParamExists)('passportAuthUserServicePassportUserPasswordReset', 'passportUserPasswordResetRequest', passportUserPasswordResetRequest);
|
|
7041
|
-
const localVarPath = `/passport/auth/v1/password/
|
|
7041
|
+
const localVarPath = `/passport/auth/v1/password/reset`;
|
|
7042
7042
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7043
7043
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7044
7044
|
let baseOptions;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2196,7 +2196,7 @@ export interface PassportSendVerificationEmailRequest {
|
|
|
2196
2196
|
'email'?: string;
|
|
2197
2197
|
'callback_url'?: string;
|
|
2198
2198
|
/**
|
|
2199
|
-
*
|
|
2199
|
+
* 验证目的, 可选值 - verify_email(验证邮箱) - change_email(更换邮箱) - reset_password (重置密码)
|
|
2200
2200
|
*/
|
|
2201
2201
|
'purpose'?: string;
|
|
2202
2202
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -6998,7 +6998,7 @@ export const PassportAuthUserServiceApiAxiosParamCreator = function (configurati
|
|
|
6998
6998
|
passportAuthUserServicePassportUserPasswordReset: (passportUserPasswordResetRequest_1, ...args_1) => __awaiter(this, [passportUserPasswordResetRequest_1, ...args_1], void 0, function* (passportUserPasswordResetRequest, options = {}) {
|
|
6999
6999
|
// verify required parameter 'passportUserPasswordResetRequest' is not null or undefined
|
|
7000
7000
|
assertParamExists('passportAuthUserServicePassportUserPasswordReset', 'passportUserPasswordResetRequest', passportUserPasswordResetRequest);
|
|
7001
|
-
const localVarPath = `/passport/auth/v1/password/
|
|
7001
|
+
const localVarPath = `/passport/auth/v1/password/reset`;
|
|
7002
7002
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7003
7003
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7004
7004
|
let baseOptions;
|
|
@@ -34,7 +34,7 @@ All URIs are relative to *http://localhost*
|
|
|
34
34
|
|[**passportAuthUserServicePassportSendVerificationEmail**](#passportauthuserservicepassportsendverificationemail) | **POST** /passport/auth/v1/verification/send-email | |
|
|
35
35
|
|[**passportAuthUserServicePassportSendVerificationPhone**](#passportauthuserservicepassportsendverificationphone) | **POST** /passport/auth/v1/verification/send-phone | |
|
|
36
36
|
|[**passportAuthUserServicePassportUserOAuthCallback**](#passportauthuserservicepassportuseroauthcallback) | **GET** /passport/oauth2/{platform}/callback | |
|
|
37
|
-
|[**passportAuthUserServicePassportUserPasswordReset**](#passportauthuserservicepassportuserpasswordreset) | **POST** /passport/auth/v1/password/
|
|
37
|
+
|[**passportAuthUserServicePassportUserPasswordReset**](#passportauthuserservicepassportuserpasswordreset) | **POST** /passport/auth/v1/password/reset | |
|
|
38
38
|
|[**passportAuthUserServicePassportUserSignInEmail**](#passportauthuserservicepassportusersigninemail) | **POST** /passport/auth/v1/sign-in/email | |
|
|
39
39
|
|[**passportAuthUserServicePassportUserSignInPhone**](#passportauthuserservicepassportusersigninphone) | **POST** /passport/auth/v1/sign-in/phone | |
|
|
40
40
|
|[**passportAuthUserServicePassportUserSignInSocial**](#passportauthuserservicepassportusersigninsocial) | **POST** /passport/auth/v1/sign-in/social | |
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**app_ids** | **string** | NOTE: app_ids 是 \':\' 分隔的字符串列表 | [optional] [default to undefined]
|
|
9
9
|
**email** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**callback_url** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**purpose** | **string** |
|
|
11
|
+
**purpose** | **string** | 验证目的, 可选值 - verify_email(验证邮箱) - change_email(更换邮箱) - reset_password (重置密码) | [optional] [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|