@cherryin/api-client 0.0.12 → 0.0.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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @cherryin/api-client@0.0.12
1
+ ## @cherryin/api-client@0.0.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/api-client@0.0.12 --save
39
+ npm install @cherryin/api-client@0.0.13 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -129,7 +129,7 @@ Class | Method | HTTP request | Description
129
129
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriseresetpassword) | **POST** /passport/enterprise/authed/v1/password/request-reset |
130
130
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriserevokeothersessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-other |
131
131
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriserevokesession) | **POST** /passport/enterprise/authed/v1/session/revoke |
132
- *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriserevokesessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke |
132
+ *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriserevokesessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-all |
133
133
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseSignOut**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterprisesignout) | **POST** /passport/enterprise/authed/v1/sign-out |
134
134
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriseupdateinfo) | **POST** /passport/enterprise/authed/v1/user/update-info |
135
135
  *PassportAuthEnterpriseServiceApi* | [**passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail**](docs/PassportAuthEnterpriseServiceApi.md#passportauthenterpriseservicepassportauthenterpriseverifyemail) | **POST** /passport/enterprise/auth/v1/password/request-reset |
package/api.ts CHANGED
@@ -1744,7 +1744,6 @@ export interface PassportAuthEnterpriseResetPasswordResponse {
1744
1744
  export interface PassportAuthEnterpriseRevokeOtherSessionsResponse {
1745
1745
  'code'?: string;
1746
1746
  'message'?: string;
1747
- 'success'?: boolean;
1748
1747
  }
1749
1748
  export interface PassportAuthEnterpriseRevokeSessionRequest {
1750
1749
  'token'?: string;
@@ -2081,7 +2080,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
2081
2080
  'email'?: string;
2082
2081
  'callback_url'?: string;
2083
2082
  /**
2084
- * 验证目的,可选值:verify_email(验证邮箱),change_email(更换邮箱)
2083
+ * 验证目的,可选值:register(注册)、logincode(登录)、resetpassword(重置密码)、bindemail(绑定邮箱)
2085
2084
  */
2086
2085
  'purpose'?: string;
2087
2086
  }
@@ -9221,7 +9220,7 @@ export const PassportAuthEnterpriseServiceApiAxiosParamCreator = function (confi
9221
9220
  passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions: async (body: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9222
9221
  // verify required parameter 'body' is not null or undefined
9223
9222
  assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions', 'body', body)
9224
- const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke`;
9223
+ const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke-all`;
9225
9224
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9226
9225
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9227
9226
  let baseOptions;
package/dist/api.d.ts CHANGED
@@ -1747,7 +1747,6 @@ export interface PassportAuthEnterpriseResetPasswordResponse {
1747
1747
  export interface PassportAuthEnterpriseRevokeOtherSessionsResponse {
1748
1748
  'code'?: string;
1749
1749
  'message'?: string;
1750
- 'success'?: boolean;
1751
1750
  }
1752
1751
  export interface PassportAuthEnterpriseRevokeSessionRequest {
1753
1752
  'token'?: string;
@@ -2084,7 +2083,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
2084
2083
  'email'?: string;
2085
2084
  'callback_url'?: string;
2086
2085
  /**
2087
- * 验证目的,可选值:verify_email(验证邮箱),change_email(更换邮箱)
2086
+ * 验证目的,可选值:register(注册)、logincode(登录)、resetpassword(重置密码)、bindemail(绑定邮箱)
2088
2087
  */
2089
2088
  'purpose'?: string;
2090
2089
  }
package/dist/api.js CHANGED
@@ -4654,7 +4654,7 @@ const PassportAuthEnterpriseServiceApiAxiosParamCreator = function (configuratio
4654
4654
  passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
4655
4655
  // verify required parameter 'body' is not null or undefined
4656
4656
  (0, common_1.assertParamExists)('passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions', 'body', body);
4657
- const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke`;
4657
+ const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke-all`;
4658
4658
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4659
4659
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4660
4660
  let baseOptions;
package/dist/esm/api.d.ts CHANGED
@@ -1747,7 +1747,6 @@ export interface PassportAuthEnterpriseResetPasswordResponse {
1747
1747
  export interface PassportAuthEnterpriseRevokeOtherSessionsResponse {
1748
1748
  'code'?: string;
1749
1749
  'message'?: string;
1750
- 'success'?: boolean;
1751
1750
  }
1752
1751
  export interface PassportAuthEnterpriseRevokeSessionRequest {
1753
1752
  'token'?: string;
@@ -2084,7 +2083,7 @@ export interface PassportEnterpriseSendVerificationEmailRequest {
2084
2083
  'email'?: string;
2085
2084
  'callback_url'?: string;
2086
2085
  /**
2087
- * 验证目的,可选值:verify_email(验证邮箱),change_email(更换邮箱)
2086
+ * 验证目的,可选值:register(注册)、logincode(登录)、resetpassword(重置密码)、bindemail(绑定邮箱)
2088
2087
  */
2089
2088
  'purpose'?: string;
2090
2089
  }
package/dist/esm/api.js CHANGED
@@ -4630,7 +4630,7 @@ export const PassportAuthEnterpriseServiceApiAxiosParamCreator = function (confi
4630
4630
  passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions: (body_1, ...args_1) => __awaiter(this, [body_1, ...args_1], void 0, function* (body, options = {}) {
4631
4631
  // verify required parameter 'body' is not null or undefined
4632
4632
  assertParamExists('passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions', 'body', body);
4633
- const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke`;
4633
+ const localVarPath = `/passport/enterprise/authed/v1/sessions/revoke-all`;
4634
4634
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4635
4635
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4636
4636
  let baseOptions;
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **code** | **string** | | [optional] [default to undefined]
9
9
  **message** | **string** | | [optional] [default to undefined]
10
- **success** | **boolean** | | [optional] [default to undefined]
11
10
 
12
11
  ## Example
13
12
 
@@ -17,7 +16,6 @@ import { PassportAuthEnterpriseRevokeOtherSessionsResponse } from '@cherryin/api
17
16
  const instance: PassportAuthEnterpriseRevokeOtherSessionsResponse = {
18
17
  code,
19
18
  message,
20
- success,
21
19
  };
22
20
  ```
23
21
 
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost*
16
16
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseResetPassword**](#passportauthenterpriseservicepassportauthenterpriseresetpassword) | **POST** /passport/enterprise/authed/v1/password/request-reset | |
17
17
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeOtherSessions**](#passportauthenterpriseservicepassportauthenterpriserevokeothersessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-other | |
18
18
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSession**](#passportauthenterpriseservicepassportauthenterpriserevokesession) | **POST** /passport/enterprise/authed/v1/session/revoke | |
19
- |[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**](#passportauthenterpriseservicepassportauthenterpriserevokesessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke | |
19
+ |[**passportAuthEnterpriseServicePassportAuthEnterpriseRevokeSessions**](#passportauthenterpriseservicepassportauthenterpriserevokesessions) | **POST** /passport/enterprise/authed/v1/sessions/revoke-all | |
20
20
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseSignOut**](#passportauthenterpriseservicepassportauthenterprisesignout) | **POST** /passport/enterprise/authed/v1/sign-out | |
21
21
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseUpdateInfo**](#passportauthenterpriseservicepassportauthenterpriseupdateinfo) | **POST** /passport/enterprise/authed/v1/user/update-info | |
22
22
  |[**passportAuthEnterpriseServicePassportAuthEnterpriseVerifyEmail**](#passportauthenterpriseservicepassportauthenterpriseverifyemail) | **POST** /passport/enterprise/auth/v1/password/request-reset | |
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **email** | **string** | | [optional] [default to undefined]
9
9
  **callback_url** | **string** | | [optional] [default to undefined]
10
- **purpose** | **string** | 验证目的,可选值:verify_email(验证邮箱),change_email(更换邮箱) | [optional] [default to undefined]
10
+ **purpose** | **string** | 验证目的,可选值:register(注册)、logincode(登录)、resetpassword(重置密码)、bindemail(绑定邮箱) | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/api-client",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "OpenAPI client for @cherryin/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {