@cherryin/api-client 0.0.11 → 0.0.12

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.11
1
+ ## @cherryin/api-client@0.0.12
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.11 --save
39
+ npm install @cherryin/api-client@0.0.12 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -99,7 +99,7 @@ Class | Method | HTTP request | Description
99
99
  *DiscountAdminServiceApi* | [**discountAdminServiceDiscountUpdate**](docs/DiscountAdminServiceApi.md#discountadminservicediscountupdate) | **POST** /admin/discount/update |
100
100
  *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAdminSendVerificationEmail**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportadminsendverificationemail) | **POST** /passport/admin/auth/v1/verification/send-email |
101
101
  *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAdminSignInEmail**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportadminsigninemail) | **POST** /passport/admin/auth/v1/sign-in/email |
102
- *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAuthAdminChangePassword**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportauthadminchangepassword) | **POST** /passport/admin/authed/v1/change-password |
102
+ *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAuthAdminChangePassword**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportauthadminchangepassword) | **POST** /passport/admin/authed/v1/password/change |
103
103
  *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportauthadminenterprisemateriallist) | **GET** /passport/admin/authed/v1/enterprise/material/list |
104
104
  *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportauthadminenterprisematerialreview) | **POST** /passport/admin/authed/v1/enterprise/material/review |
105
105
  *PassportAuthAdminServiceApi* | [**passportAuthAdminServicePassportAuthAdminGetInfo**](docs/PassportAuthAdminServiceApi.md#passportauthadminservicepassportauthadmingetinfo) | **POST** /passport/admin/authed/v1/personal/info/get |
package/api.ts CHANGED
@@ -2164,6 +2164,8 @@ export interface PassportEnterpriseSignUpEmailResponse {
2164
2164
  'message'?: string;
2165
2165
  'redirect'?: boolean;
2166
2166
  'url'?: string;
2167
+ 'session'?: AuthEnterpriseSession;
2168
+ 'user'?: AuthEnterpriseUser;
2167
2169
  }
2168
2170
  export interface PassportSendVerificationEmailRequest {
2169
2171
  /**
@@ -7362,7 +7364,7 @@ export const PassportAuthAdminServiceApiAxiosParamCreator = function (configurat
7362
7364
  passportAuthAdminServicePassportAuthAdminChangePassword: async (passportAuthAdminChangePasswordRequest: PassportAuthAdminChangePasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7363
7365
  // verify required parameter 'passportAuthAdminChangePasswordRequest' is not null or undefined
7364
7366
  assertParamExists('passportAuthAdminServicePassportAuthAdminChangePassword', 'passportAuthAdminChangePasswordRequest', passportAuthAdminChangePasswordRequest)
7365
- const localVarPath = `/passport/admin/authed/v1/change-password`;
7367
+ const localVarPath = `/passport/admin/authed/v1/password/change`;
7366
7368
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7367
7369
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7368
7370
  let baseOptions;
package/dist/api.d.ts CHANGED
@@ -2167,6 +2167,8 @@ export interface PassportEnterpriseSignUpEmailResponse {
2167
2167
  'message'?: string;
2168
2168
  'redirect'?: boolean;
2169
2169
  'url'?: string;
2170
+ 'session'?: AuthEnterpriseSession;
2171
+ 'user'?: AuthEnterpriseUser;
2170
2172
  }
2171
2173
  export interface PassportSendVerificationEmailRequest {
2172
2174
  /**
package/dist/api.js CHANGED
@@ -3103,7 +3103,7 @@ const PassportAuthAdminServiceApiAxiosParamCreator = function (configuration) {
3103
3103
  passportAuthAdminServicePassportAuthAdminChangePassword: (passportAuthAdminChangePasswordRequest_1, ...args_1) => __awaiter(this, [passportAuthAdminChangePasswordRequest_1, ...args_1], void 0, function* (passportAuthAdminChangePasswordRequest, options = {}) {
3104
3104
  // verify required parameter 'passportAuthAdminChangePasswordRequest' is not null or undefined
3105
3105
  (0, common_1.assertParamExists)('passportAuthAdminServicePassportAuthAdminChangePassword', 'passportAuthAdminChangePasswordRequest', passportAuthAdminChangePasswordRequest);
3106
- const localVarPath = `/passport/admin/authed/v1/change-password`;
3106
+ const localVarPath = `/passport/admin/authed/v1/password/change`;
3107
3107
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3108
3108
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3109
3109
  let baseOptions;
package/dist/esm/api.d.ts CHANGED
@@ -2167,6 +2167,8 @@ export interface PassportEnterpriseSignUpEmailResponse {
2167
2167
  'message'?: string;
2168
2168
  'redirect'?: boolean;
2169
2169
  'url'?: string;
2170
+ 'session'?: AuthEnterpriseSession;
2171
+ 'user'?: AuthEnterpriseUser;
2170
2172
  }
2171
2173
  export interface PassportSendVerificationEmailRequest {
2172
2174
  /**
package/dist/esm/api.js CHANGED
@@ -3083,7 +3083,7 @@ export const PassportAuthAdminServiceApiAxiosParamCreator = function (configurat
3083
3083
  passportAuthAdminServicePassportAuthAdminChangePassword: (passportAuthAdminChangePasswordRequest_1, ...args_1) => __awaiter(this, [passportAuthAdminChangePasswordRequest_1, ...args_1], void 0, function* (passportAuthAdminChangePasswordRequest, options = {}) {
3084
3084
  // verify required parameter 'passportAuthAdminChangePasswordRequest' is not null or undefined
3085
3085
  assertParamExists('passportAuthAdminServicePassportAuthAdminChangePassword', 'passportAuthAdminChangePasswordRequest', passportAuthAdminChangePasswordRequest);
3086
- const localVarPath = `/passport/admin/authed/v1/change-password`;
3086
+ const localVarPath = `/passport/admin/authed/v1/password/change`;
3087
3087
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3088
3088
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3089
3089
  let baseOptions;
@@ -6,7 +6,7 @@ All URIs are relative to *http://localhost*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**passportAuthAdminServicePassportAdminSendVerificationEmail**](#passportauthadminservicepassportadminsendverificationemail) | **POST** /passport/admin/auth/v1/verification/send-email | |
8
8
  |[**passportAuthAdminServicePassportAdminSignInEmail**](#passportauthadminservicepassportadminsigninemail) | **POST** /passport/admin/auth/v1/sign-in/email | |
9
- |[**passportAuthAdminServicePassportAuthAdminChangePassword**](#passportauthadminservicepassportauthadminchangepassword) | **POST** /passport/admin/authed/v1/change-password | |
9
+ |[**passportAuthAdminServicePassportAuthAdminChangePassword**](#passportauthadminservicepassportauthadminchangepassword) | **POST** /passport/admin/authed/v1/password/change | |
10
10
  |[**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialList**](#passportauthadminservicepassportauthadminenterprisemateriallist) | **GET** /passport/admin/authed/v1/enterprise/material/list | |
11
11
  |[**passportAuthAdminServicePassportAuthAdminEnterpriseMaterialReview**](#passportauthadminservicepassportauthadminenterprisematerialreview) | **POST** /passport/admin/authed/v1/enterprise/material/review | |
12
12
  |[**passportAuthAdminServicePassportAuthAdminGetInfo**](#passportauthadminservicepassportauthadmingetinfo) | **POST** /passport/admin/authed/v1/personal/info/get | |
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
9
9
  **message** | **string** | | [optional] [default to undefined]
10
10
  **redirect** | **boolean** | | [optional] [default to undefined]
11
11
  **url** | **string** | | [optional] [default to undefined]
12
+ **session** | [**AuthEnterpriseSession**](AuthEnterpriseSession.md) | | [optional] [default to undefined]
13
+ **user** | [**AuthEnterpriseUser**](AuthEnterpriseUser.md) | | [optional] [default to undefined]
12
14
 
13
15
  ## Example
14
16
 
@@ -20,6 +22,8 @@ const instance: PassportEnterpriseSignUpEmailResponse = {
20
22
  message,
21
23
  redirect,
22
24
  url,
25
+ session,
26
+ user,
23
27
  };
24
28
  ```
25
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/api-client",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "OpenAPI client for @cherryin/api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {