@cherryin/aigw-api-client 0.1.30 → 0.1.31

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.
@@ -54,7 +54,6 @@ docs/AdminProviderModelUpdateResponse.md
54
54
  docs/AdminProviderUpdateRequest.md
55
55
  docs/AdminProviderUpdateResponse.md
56
56
  docs/AigwpbLabel.md
57
- docs/AigwpbUserInfo.md
58
57
  docs/AigwpbUserMeInfo.md
59
58
  docs/AigwpbUserPayStripeCheckout.md
60
59
  docs/AigwpbUserPortalDashboard.md
@@ -98,7 +97,6 @@ docs/ModelListResponse.md
98
97
  docs/ModelModalities.md
99
98
  docs/MultimodalPricing.md
100
99
  docs/OrderItem.md
101
- docs/PassportpbUserInfo.md
102
100
  docs/PassportpbUserSettings.md
103
101
  docs/PricingConditions.md
104
102
  docs/PricingRules.md
@@ -147,6 +145,7 @@ docs/UserBalanceListResponse.md
147
145
  docs/UserBalanceServiceApi.md
148
146
  docs/UserBasic.md
149
147
  docs/UserExtendInfo.md
148
+ docs/UserInfo.md
150
149
  docs/UserInfoItem.md
151
150
  docs/UserInfoPageGetRequest.md
152
151
  docs/UserInfoPageGetResponse.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cherryin/aigw-api-client@0.1.30
1
+ ## @cherryin/aigw-api-client@0.1.31
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/aigw-api-client@0.1.30 --save
39
+ npm install @cherryin/aigw-api-client@0.1.31 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -169,7 +169,6 @@ Class | Method | HTTP request | Description
169
169
  - [AdminProviderUpdateRequest](docs/AdminProviderUpdateRequest.md)
170
170
  - [AdminProviderUpdateResponse](docs/AdminProviderUpdateResponse.md)
171
171
  - [AigwpbLabel](docs/AigwpbLabel.md)
172
- - [AigwpbUserInfo](docs/AigwpbUserInfo.md)
173
172
  - [AigwpbUserMeInfo](docs/AigwpbUserMeInfo.md)
174
173
  - [AigwpbUserPayStripeCheckout](docs/AigwpbUserPayStripeCheckout.md)
175
174
  - [AigwpbUserPortalDashboard](docs/AigwpbUserPortalDashboard.md)
@@ -212,7 +211,6 @@ Class | Method | HTTP request | Description
212
211
  - [ModelModalities](docs/ModelModalities.md)
213
212
  - [MultimodalPricing](docs/MultimodalPricing.md)
214
213
  - [OrderItem](docs/OrderItem.md)
215
- - [PassportpbUserInfo](docs/PassportpbUserInfo.md)
216
214
  - [PassportpbUserSettings](docs/PassportpbUserSettings.md)
217
215
  - [PricingConditions](docs/PricingConditions.md)
218
216
  - [PricingRules](docs/PricingRules.md)
@@ -255,6 +253,7 @@ Class | Method | HTTP request | Description
255
253
  - [UserBalanceListResponse](docs/UserBalanceListResponse.md)
256
254
  - [UserBasic](docs/UserBasic.md)
257
255
  - [UserExtendInfo](docs/UserExtendInfo.md)
256
+ - [UserInfo](docs/UserInfo.md)
258
257
  - [UserInfoItem](docs/UserInfoItem.md)
259
258
  - [UserInfoPageGetRequest](docs/UserInfoPageGetRequest.md)
260
259
  - [UserInfoPageGetResponse](docs/UserInfoPageGetResponse.md)
package/api.ts CHANGED
@@ -403,17 +403,8 @@ export interface AigwpbLabel {
403
403
  'created_at'?: string;
404
404
  'updated_at'?: string;
405
405
  }
406
- export interface AigwpbUserInfo {
407
- 'id'?: string;
408
- 'name'?: string;
409
- 'email'?: string;
410
- 'email_verified'?: boolean;
411
- 'image'?: string;
412
- 'created_at'?: string;
413
- 'updated_at'?: string;
414
- }
415
406
  export interface AigwpbUserMeInfo {
416
- 'info'?: AigwpbUserInfo;
407
+ 'info'?: UserInfo;
417
408
  'settings'?: AigwpbUserSettings;
418
409
  'balance'?: UserBalanceBrief;
419
410
  }
@@ -750,14 +741,6 @@ export interface OrderItem {
750
741
  'key'?: string;
751
742
  'direction'?: string;
752
743
  }
753
- export interface PassportpbUserInfo {
754
- 'user'?: UserBasic;
755
- 'settings'?: PassportpbUserSettings;
756
- 'preferences'?: UserPreferences;
757
- 'payment_info'?: UserPaymentInfo;
758
- 'extend_info'?: UserExtendInfo;
759
- 'auth_methods'?: Array<AuthUserMethod>;
760
- }
761
744
  export interface PassportpbUserSettings {
762
745
  'email_notifications_enabled'?: boolean;
763
746
  }
@@ -1056,8 +1039,22 @@ export interface UserBasic {
1056
1039
  export interface UserExtendInfo {
1057
1040
  'user_groups'?: Array<string>;
1058
1041
  }
1042
+ export interface UserInfo {
1043
+ 'id'?: string;
1044
+ 'name'?: string;
1045
+ 'email'?: string;
1046
+ 'email_verified'?: boolean;
1047
+ 'image'?: string;
1048
+ 'created_at'?: string;
1049
+ 'updated_at'?: string;
1050
+ }
1059
1051
  export interface UserInfoItem {
1060
- 'user'?: PassportpbUserInfo;
1052
+ 'user'?: UserBasic;
1053
+ 'settings'?: PassportpbUserSettings;
1054
+ 'preferences'?: UserPreferences;
1055
+ 'payment_info'?: UserPaymentInfo;
1056
+ 'extend_info'?: UserExtendInfo;
1057
+ 'auth_methods'?: Array<AuthUserMethod>;
1061
1058
  'balance'?: UserBalance;
1062
1059
  }
1063
1060
  export interface UserInfoPageGetRequest {
package/dist/api.d.ts CHANGED
@@ -395,17 +395,8 @@ export interface AigwpbLabel {
395
395
  'created_at'?: string;
396
396
  'updated_at'?: string;
397
397
  }
398
- export interface AigwpbUserInfo {
399
- 'id'?: string;
400
- 'name'?: string;
401
- 'email'?: string;
402
- 'email_verified'?: boolean;
403
- 'image'?: string;
404
- 'created_at'?: string;
405
- 'updated_at'?: string;
406
- }
407
398
  export interface AigwpbUserMeInfo {
408
- 'info'?: AigwpbUserInfo;
399
+ 'info'?: UserInfo;
409
400
  'settings'?: AigwpbUserSettings;
410
401
  'balance'?: UserBalanceBrief;
411
402
  }
@@ -747,14 +738,6 @@ export interface OrderItem {
747
738
  'key'?: string;
748
739
  'direction'?: string;
749
740
  }
750
- export interface PassportpbUserInfo {
751
- 'user'?: UserBasic;
752
- 'settings'?: PassportpbUserSettings;
753
- 'preferences'?: UserPreferences;
754
- 'payment_info'?: UserPaymentInfo;
755
- 'extend_info'?: UserExtendInfo;
756
- 'auth_methods'?: Array<AuthUserMethod>;
757
- }
758
741
  export interface PassportpbUserSettings {
759
742
  'email_notifications_enabled'?: boolean;
760
743
  }
@@ -1057,8 +1040,22 @@ export interface UserBasic {
1057
1040
  export interface UserExtendInfo {
1058
1041
  'user_groups'?: Array<string>;
1059
1042
  }
1043
+ export interface UserInfo {
1044
+ 'id'?: string;
1045
+ 'name'?: string;
1046
+ 'email'?: string;
1047
+ 'email_verified'?: boolean;
1048
+ 'image'?: string;
1049
+ 'created_at'?: string;
1050
+ 'updated_at'?: string;
1051
+ }
1060
1052
  export interface UserInfoItem {
1061
- 'user'?: PassportpbUserInfo;
1053
+ 'user'?: UserBasic;
1054
+ 'settings'?: PassportpbUserSettings;
1055
+ 'preferences'?: UserPreferences;
1056
+ 'payment_info'?: UserPaymentInfo;
1057
+ 'extend_info'?: UserExtendInfo;
1058
+ 'auth_methods'?: Array<AuthUserMethod>;
1062
1059
  'balance'?: UserBalance;
1063
1060
  }
1064
1061
  export interface UserInfoPageGetRequest {
package/dist/esm/api.d.ts CHANGED
@@ -395,17 +395,8 @@ export interface AigwpbLabel {
395
395
  'created_at'?: string;
396
396
  'updated_at'?: string;
397
397
  }
398
- export interface AigwpbUserInfo {
399
- 'id'?: string;
400
- 'name'?: string;
401
- 'email'?: string;
402
- 'email_verified'?: boolean;
403
- 'image'?: string;
404
- 'created_at'?: string;
405
- 'updated_at'?: string;
406
- }
407
398
  export interface AigwpbUserMeInfo {
408
- 'info'?: AigwpbUserInfo;
399
+ 'info'?: UserInfo;
409
400
  'settings'?: AigwpbUserSettings;
410
401
  'balance'?: UserBalanceBrief;
411
402
  }
@@ -747,14 +738,6 @@ export interface OrderItem {
747
738
  'key'?: string;
748
739
  'direction'?: string;
749
740
  }
750
- export interface PassportpbUserInfo {
751
- 'user'?: UserBasic;
752
- 'settings'?: PassportpbUserSettings;
753
- 'preferences'?: UserPreferences;
754
- 'payment_info'?: UserPaymentInfo;
755
- 'extend_info'?: UserExtendInfo;
756
- 'auth_methods'?: Array<AuthUserMethod>;
757
- }
758
741
  export interface PassportpbUserSettings {
759
742
  'email_notifications_enabled'?: boolean;
760
743
  }
@@ -1057,8 +1040,22 @@ export interface UserBasic {
1057
1040
  export interface UserExtendInfo {
1058
1041
  'user_groups'?: Array<string>;
1059
1042
  }
1043
+ export interface UserInfo {
1044
+ 'id'?: string;
1045
+ 'name'?: string;
1046
+ 'email'?: string;
1047
+ 'email_verified'?: boolean;
1048
+ 'image'?: string;
1049
+ 'created_at'?: string;
1050
+ 'updated_at'?: string;
1051
+ }
1060
1052
  export interface UserInfoItem {
1061
- 'user'?: PassportpbUserInfo;
1053
+ 'user'?: UserBasic;
1054
+ 'settings'?: PassportpbUserSettings;
1055
+ 'preferences'?: UserPreferences;
1056
+ 'payment_info'?: UserPaymentInfo;
1057
+ 'extend_info'?: UserExtendInfo;
1058
+ 'auth_methods'?: Array<AuthUserMethod>;
1062
1059
  'balance'?: UserBalance;
1063
1060
  }
1064
1061
  export interface UserInfoPageGetRequest {
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **info** | [**AigwpbUserInfo**](AigwpbUserInfo.md) | | [optional] [default to undefined]
8
+ **info** | [**UserInfo**](UserInfo.md) | | [optional] [default to undefined]
9
9
  **settings** | [**AigwpbUserSettings**](AigwpbUserSettings.md) | | [optional] [default to undefined]
10
10
  **balance** | [**UserBalanceBrief**](UserBalanceBrief.md) | | [optional] [default to undefined]
11
11
 
@@ -1,4 +1,4 @@
1
- # AigwpbUserInfo
1
+ # UserInfo
2
2
 
3
3
 
4
4
  ## Properties
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
16
16
  ## Example
17
17
 
18
18
  ```typescript
19
- import { AigwpbUserInfo } from '@cherryin/aigw-api-client';
19
+ import { UserInfo } from '@cherryin/aigw-api-client';
20
20
 
21
- const instance: AigwpbUserInfo = {
21
+ const instance: UserInfo = {
22
22
  id,
23
23
  name,
24
24
  email,
@@ -5,7 +5,12 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **user** | [**PassportpbUserInfo**](PassportpbUserInfo.md) | | [optional] [default to undefined]
8
+ **user** | [**UserBasic**](UserBasic.md) | | [optional] [default to undefined]
9
+ **settings** | [**PassportpbUserSettings**](PassportpbUserSettings.md) | | [optional] [default to undefined]
10
+ **preferences** | [**UserPreferences**](UserPreferences.md) | | [optional] [default to undefined]
11
+ **payment_info** | [**UserPaymentInfo**](UserPaymentInfo.md) | | [optional] [default to undefined]
12
+ **extend_info** | [**UserExtendInfo**](UserExtendInfo.md) | | [optional] [default to undefined]
13
+ **auth_methods** | [**Array&lt;AuthUserMethod&gt;**](AuthUserMethod.md) | | [optional] [default to undefined]
9
14
  **balance** | [**UserBalance**](UserBalance.md) | | [optional] [default to undefined]
10
15
 
11
16
  ## Example
@@ -15,6 +20,11 @@ import { UserInfoItem } from '@cherryin/aigw-api-client';
15
20
 
16
21
  const instance: UserInfoItem = {
17
22
  user,
23
+ settings,
24
+ preferences,
25
+ payment_info,
26
+ extend_info,
27
+ auth_methods,
18
28
  balance,
19
29
  };
20
30
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/aigw-api-client",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "OpenAPI client for @cherryin/aigw-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,30 +0,0 @@
1
- # PassportpbUserInfo
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **user** | [**UserBasic**](UserBasic.md) | | [optional] [default to undefined]
9
- **settings** | [**PassportpbUserSettings**](PassportpbUserSettings.md) | | [optional] [default to undefined]
10
- **preferences** | [**UserPreferences**](UserPreferences.md) | | [optional] [default to undefined]
11
- **payment_info** | [**UserPaymentInfo**](UserPaymentInfo.md) | | [optional] [default to undefined]
12
- **extend_info** | [**UserExtendInfo**](UserExtendInfo.md) | | [optional] [default to undefined]
13
- **auth_methods** | [**Array&lt;AuthUserMethod&gt;**](AuthUserMethod.md) | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { PassportpbUserInfo } from '@cherryin/aigw-api-client';
19
-
20
- const instance: PassportpbUserInfo = {
21
- user,
22
- settings,
23
- preferences,
24
- payment_info,
25
- extend_info,
26
- auth_methods,
27
- };
28
- ```
29
-
30
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)