@cherryin/aigw-api-client 0.1.25 → 0.1.27

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.
@@ -62,6 +62,8 @@ docs/AudioPricing.md
62
62
  docs/BatchUpdateSessionsRequest.md
63
63
  docs/BatchUpdateSessionsResponse.md
64
64
  docs/CodeExecutionPricing.md
65
+ docs/DailyUsage.md
66
+ docs/DashboardOverview.md
65
67
  docs/DiscountAdminServiceApi.md
66
68
  docs/DiscountCreateRequest.md
67
69
  docs/DiscountDeleteResponse.md
@@ -128,9 +130,12 @@ docs/Status.md
128
130
  docs/TextTokenInputPricing.md
129
131
  docs/TextTokenOutputPricing.md
130
132
  docs/TextTokenPricing.md
133
+ docs/TokenBreakdown.md
131
134
  docs/TokenTier.md
135
+ docs/TokenUsage.md
132
136
  docs/UpdateUserInfoRequest.md
133
137
  docs/UpdateUserInfoResponse.md
138
+ docs/UsageInsights.md
134
139
  docs/UserAPIKey.md
135
140
  docs/UserAPIKeyCreateRequest.md
136
141
  docs/UserAPIKeyCreateResponse.md
@@ -163,9 +168,6 @@ docs/UserManageItem.md
163
168
  docs/UserManageSession.md
164
169
  docs/UserManageSettings.md
165
170
  docs/UserMeInfoResponse.md
166
- docs/UserModelActivitySummary.md
167
- docs/UserModelHourActivity.md
168
- docs/UserModelHourlyUsages.md
169
171
  docs/UserModelServiceApi.md
170
172
  docs/UserPayOrder.md
171
173
  docs/UserPayOrderListResponse.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @cherryin/aigw-api-client@0.1.25
1
+ ## @cherryin/aigw-api-client@0.1.27
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.25 --save
39
+ npm install @cherryin/aigw-api-client@0.1.27 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -181,6 +181,8 @@ Class | Method | HTTP request | Description
181
181
  - [BatchUpdateSessionsRequest](docs/BatchUpdateSessionsRequest.md)
182
182
  - [BatchUpdateSessionsResponse](docs/BatchUpdateSessionsResponse.md)
183
183
  - [CodeExecutionPricing](docs/CodeExecutionPricing.md)
184
+ - [DailyUsage](docs/DailyUsage.md)
185
+ - [DashboardOverview](docs/DashboardOverview.md)
184
186
  - [DiscountCreateRequest](docs/DiscountCreateRequest.md)
185
187
  - [DiscountDeleteResponse](docs/DiscountDeleteResponse.md)
186
188
  - [DiscountGetResponse](docs/DiscountGetResponse.md)
@@ -243,9 +245,12 @@ Class | Method | HTTP request | Description
243
245
  - [TextTokenInputPricing](docs/TextTokenInputPricing.md)
244
246
  - [TextTokenOutputPricing](docs/TextTokenOutputPricing.md)
245
247
  - [TextTokenPricing](docs/TextTokenPricing.md)
248
+ - [TokenBreakdown](docs/TokenBreakdown.md)
246
249
  - [TokenTier](docs/TokenTier.md)
250
+ - [TokenUsage](docs/TokenUsage.md)
247
251
  - [UpdateUserInfoRequest](docs/UpdateUserInfoRequest.md)
248
252
  - [UpdateUserInfoResponse](docs/UpdateUserInfoResponse.md)
253
+ - [UsageInsights](docs/UsageInsights.md)
249
254
  - [UserAPIKey](docs/UserAPIKey.md)
250
255
  - [UserAPIKeyCreateRequest](docs/UserAPIKeyCreateRequest.md)
251
256
  - [UserAPIKeyCreateResponse](docs/UserAPIKeyCreateResponse.md)
@@ -274,9 +279,6 @@ Class | Method | HTTP request | Description
274
279
  - [UserManageSession](docs/UserManageSession.md)
275
280
  - [UserManageSettings](docs/UserManageSettings.md)
276
281
  - [UserMeInfoResponse](docs/UserMeInfoResponse.md)
277
- - [UserModelActivitySummary](docs/UserModelActivitySummary.md)
278
- - [UserModelHourActivity](docs/UserModelHourActivity.md)
279
- - [UserModelHourlyUsages](docs/UserModelHourlyUsages.md)
280
282
  - [UserPayOrder](docs/UserPayOrder.md)
281
283
  - [UserPayOrderListResponse](docs/UserPayOrderListResponse.md)
282
284
  - [UserPayStripeCheckoutRequest](docs/UserPayStripeCheckoutRequest.md)
package/api.ts CHANGED
@@ -412,9 +412,10 @@ export interface AigwpbUserPayStripeCheckout {
412
412
  'checkout_url'?: string;
413
413
  }
414
414
  export interface AigwpbUserPortalDashboard {
415
- 'balance'?: UserBalanceBrief;
416
- 'model_activity_summary'?: UserModelActivitySummary;
417
- 'model_hourly_usages'?: UserModelHourlyUsages;
415
+ 'overview'?: DashboardOverview;
416
+ 'token_breakdown'?: TokenBreakdown;
417
+ 'insights'?: UsageInsights;
418
+ 'daily_usages'?: Array<DailyUsage>;
418
419
  }
419
420
  export interface Any {
420
421
  [key: string]: object | any;
@@ -447,6 +448,20 @@ export interface CodeExecutionPricing {
447
448
  'per_hour'?: string;
448
449
  'free_hours_daily'?: string;
449
450
  }
451
+ export interface DailyUsage {
452
+ 'day_at'?: string;
453
+ 'total_cost'?: string;
454
+ 'total_tokens'?: string;
455
+ 'total_requests'?: string;
456
+ }
457
+ export interface DashboardOverview {
458
+ 'total_spent'?: string;
459
+ 'avg_daily_spent'?: string;
460
+ 'total_tokens'?: string;
461
+ 'avg_daily_tokens'?: string;
462
+ 'days_active'?: number;
463
+ 'total_requests'?: string;
464
+ }
450
465
  export interface DiscountCreateRequest {
451
466
  'name'?: string;
452
467
  'description'?: string;
@@ -941,11 +956,21 @@ export interface TextTokenPricing {
941
956
  'input'?: TextTokenInputPricing;
942
957
  'output'?: TextTokenOutputPricing;
943
958
  }
959
+ export interface TokenBreakdown {
960
+ 'input_tokens'?: TokenUsage;
961
+ 'output_tokens'?: TokenUsage;
962
+ 'cache_read_tokens'?: TokenUsage;
963
+ 'cache_creation_tokens'?: TokenUsage;
964
+ }
944
965
  export interface TokenTier {
945
966
  'min_tokens'?: string;
946
967
  'max_tokens'?: string;
947
968
  'per_token_price'?: string;
948
969
  }
970
+ export interface TokenUsage {
971
+ 'count'?: string;
972
+ 'cost'?: string;
973
+ }
949
974
  export interface UpdateUserInfoRequest {
950
975
  'uid'?: string;
951
976
  'display_name'?: string;
@@ -957,6 +982,13 @@ export interface UpdateUserInfoResponse {
957
982
  'message'?: string;
958
983
  'success'?: boolean;
959
984
  }
985
+ export interface UsageInsights {
986
+ 'most_expensive_day_at'?: string;
987
+ 'most_expensive_day_cost'?: string;
988
+ 'avg_daily_cost'?: string;
989
+ 'total_days_tracked'?: number;
990
+ 'last_updated_at'?: string;
991
+ }
960
992
  export interface UserAPIKey {
961
993
  'id'?: string;
962
994
  'created_at'?: string;
@@ -1167,24 +1199,6 @@ export interface UserMeInfoResponse {
1167
1199
  'message'?: string;
1168
1200
  'data'?: AigwpbUserMeInfo;
1169
1201
  }
1170
- export interface UserModelActivitySummary {
1171
- 'total_model_request_count'?: string;
1172
- 'total_model_request_tokens'?: string;
1173
- 'stat_model_request_count'?: string;
1174
- 'stat_model_request_tokens'?: string;
1175
- 'stat_model_rpm_avg'?: string;
1176
- 'stat_model_tpm_avg'?: string;
1177
- }
1178
- export interface UserModelHourActivity {
1179
- 'hour_at'?: string;
1180
- 'model_id'?: string;
1181
- 'total_request_count'?: string;
1182
- 'total_request_tokens'?: string;
1183
- 'total_cost'?: string;
1184
- }
1185
- export interface UserModelHourlyUsages {
1186
- 'hour_activities'?: Array<UserModelHourActivity>;
1187
- }
1188
1202
  export interface UserPayOrder {
1189
1203
  'order_no'?: string;
1190
1204
  'balance_code'?: string;
package/dist/api.d.ts CHANGED
@@ -404,9 +404,10 @@ export interface AigwpbUserPayStripeCheckout {
404
404
  'checkout_url'?: string;
405
405
  }
406
406
  export interface AigwpbUserPortalDashboard {
407
- 'balance'?: UserBalanceBrief;
408
- 'model_activity_summary'?: UserModelActivitySummary;
409
- 'model_hourly_usages'?: UserModelHourlyUsages;
407
+ 'overview'?: DashboardOverview;
408
+ 'token_breakdown'?: TokenBreakdown;
409
+ 'insights'?: UsageInsights;
410
+ 'daily_usages'?: Array<DailyUsage>;
410
411
  }
411
412
  export interface Any {
412
413
  [key: string]: object | any;
@@ -438,6 +439,20 @@ export interface CodeExecutionPricing {
438
439
  'per_hour'?: string;
439
440
  'free_hours_daily'?: string;
440
441
  }
442
+ export interface DailyUsage {
443
+ 'day_at'?: string;
444
+ 'total_cost'?: string;
445
+ 'total_tokens'?: string;
446
+ 'total_requests'?: string;
447
+ }
448
+ export interface DashboardOverview {
449
+ 'total_spent'?: string;
450
+ 'avg_daily_spent'?: string;
451
+ 'total_tokens'?: string;
452
+ 'avg_daily_tokens'?: string;
453
+ 'days_active'?: number;
454
+ 'total_requests'?: string;
455
+ }
441
456
  export interface DiscountCreateRequest {
442
457
  'name'?: string;
443
458
  'description'?: string;
@@ -936,11 +951,21 @@ export interface TextTokenPricing {
936
951
  'input'?: TextTokenInputPricing;
937
952
  'output'?: TextTokenOutputPricing;
938
953
  }
954
+ export interface TokenBreakdown {
955
+ 'input_tokens'?: TokenUsage;
956
+ 'output_tokens'?: TokenUsage;
957
+ 'cache_read_tokens'?: TokenUsage;
958
+ 'cache_creation_tokens'?: TokenUsage;
959
+ }
939
960
  export interface TokenTier {
940
961
  'min_tokens'?: string;
941
962
  'max_tokens'?: string;
942
963
  'per_token_price'?: string;
943
964
  }
965
+ export interface TokenUsage {
966
+ 'count'?: string;
967
+ 'cost'?: string;
968
+ }
944
969
  export interface UpdateUserInfoRequest {
945
970
  'uid'?: string;
946
971
  'display_name'?: string;
@@ -952,6 +977,13 @@ export interface UpdateUserInfoResponse {
952
977
  'message'?: string;
953
978
  'success'?: boolean;
954
979
  }
980
+ export interface UsageInsights {
981
+ 'most_expensive_day_at'?: string;
982
+ 'most_expensive_day_cost'?: string;
983
+ 'avg_daily_cost'?: string;
984
+ 'total_days_tracked'?: number;
985
+ 'last_updated_at'?: string;
986
+ }
955
987
  export interface UserAPIKey {
956
988
  'id'?: string;
957
989
  'created_at'?: string;
@@ -1162,24 +1194,6 @@ export interface UserMeInfoResponse {
1162
1194
  'message'?: string;
1163
1195
  'data'?: AigwpbUserMeInfo;
1164
1196
  }
1165
- export interface UserModelActivitySummary {
1166
- 'total_model_request_count'?: string;
1167
- 'total_model_request_tokens'?: string;
1168
- 'stat_model_request_count'?: string;
1169
- 'stat_model_request_tokens'?: string;
1170
- 'stat_model_rpm_avg'?: string;
1171
- 'stat_model_tpm_avg'?: string;
1172
- }
1173
- export interface UserModelHourActivity {
1174
- 'hour_at'?: string;
1175
- 'model_id'?: string;
1176
- 'total_request_count'?: string;
1177
- 'total_request_tokens'?: string;
1178
- 'total_cost'?: string;
1179
- }
1180
- export interface UserModelHourlyUsages {
1181
- 'hour_activities'?: Array<UserModelHourActivity>;
1182
- }
1183
1197
  export interface UserPayOrder {
1184
1198
  'order_no'?: string;
1185
1199
  'balance_code'?: string;
package/dist/esm/api.d.ts CHANGED
@@ -404,9 +404,10 @@ export interface AigwpbUserPayStripeCheckout {
404
404
  'checkout_url'?: string;
405
405
  }
406
406
  export interface AigwpbUserPortalDashboard {
407
- 'balance'?: UserBalanceBrief;
408
- 'model_activity_summary'?: UserModelActivitySummary;
409
- 'model_hourly_usages'?: UserModelHourlyUsages;
407
+ 'overview'?: DashboardOverview;
408
+ 'token_breakdown'?: TokenBreakdown;
409
+ 'insights'?: UsageInsights;
410
+ 'daily_usages'?: Array<DailyUsage>;
410
411
  }
411
412
  export interface Any {
412
413
  [key: string]: object | any;
@@ -438,6 +439,20 @@ export interface CodeExecutionPricing {
438
439
  'per_hour'?: string;
439
440
  'free_hours_daily'?: string;
440
441
  }
442
+ export interface DailyUsage {
443
+ 'day_at'?: string;
444
+ 'total_cost'?: string;
445
+ 'total_tokens'?: string;
446
+ 'total_requests'?: string;
447
+ }
448
+ export interface DashboardOverview {
449
+ 'total_spent'?: string;
450
+ 'avg_daily_spent'?: string;
451
+ 'total_tokens'?: string;
452
+ 'avg_daily_tokens'?: string;
453
+ 'days_active'?: number;
454
+ 'total_requests'?: string;
455
+ }
441
456
  export interface DiscountCreateRequest {
442
457
  'name'?: string;
443
458
  'description'?: string;
@@ -936,11 +951,21 @@ export interface TextTokenPricing {
936
951
  'input'?: TextTokenInputPricing;
937
952
  'output'?: TextTokenOutputPricing;
938
953
  }
954
+ export interface TokenBreakdown {
955
+ 'input_tokens'?: TokenUsage;
956
+ 'output_tokens'?: TokenUsage;
957
+ 'cache_read_tokens'?: TokenUsage;
958
+ 'cache_creation_tokens'?: TokenUsage;
959
+ }
939
960
  export interface TokenTier {
940
961
  'min_tokens'?: string;
941
962
  'max_tokens'?: string;
942
963
  'per_token_price'?: string;
943
964
  }
965
+ export interface TokenUsage {
966
+ 'count'?: string;
967
+ 'cost'?: string;
968
+ }
944
969
  export interface UpdateUserInfoRequest {
945
970
  'uid'?: string;
946
971
  'display_name'?: string;
@@ -952,6 +977,13 @@ export interface UpdateUserInfoResponse {
952
977
  'message'?: string;
953
978
  'success'?: boolean;
954
979
  }
980
+ export interface UsageInsights {
981
+ 'most_expensive_day_at'?: string;
982
+ 'most_expensive_day_cost'?: string;
983
+ 'avg_daily_cost'?: string;
984
+ 'total_days_tracked'?: number;
985
+ 'last_updated_at'?: string;
986
+ }
955
987
  export interface UserAPIKey {
956
988
  'id'?: string;
957
989
  'created_at'?: string;
@@ -1162,24 +1194,6 @@ export interface UserMeInfoResponse {
1162
1194
  'message'?: string;
1163
1195
  'data'?: AigwpbUserMeInfo;
1164
1196
  }
1165
- export interface UserModelActivitySummary {
1166
- 'total_model_request_count'?: string;
1167
- 'total_model_request_tokens'?: string;
1168
- 'stat_model_request_count'?: string;
1169
- 'stat_model_request_tokens'?: string;
1170
- 'stat_model_rpm_avg'?: string;
1171
- 'stat_model_tpm_avg'?: string;
1172
- }
1173
- export interface UserModelHourActivity {
1174
- 'hour_at'?: string;
1175
- 'model_id'?: string;
1176
- 'total_request_count'?: string;
1177
- 'total_request_tokens'?: string;
1178
- 'total_cost'?: string;
1179
- }
1180
- export interface UserModelHourlyUsages {
1181
- 'hour_activities'?: Array<UserModelHourActivity>;
1182
- }
1183
1197
  export interface UserPayOrder {
1184
1198
  'order_no'?: string;
1185
1199
  'balance_code'?: string;
@@ -5,9 +5,10 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **balance** | [**UserBalanceBrief**](UserBalanceBrief.md) | | [optional] [default to undefined]
9
- **model_activity_summary** | [**UserModelActivitySummary**](UserModelActivitySummary.md) | | [optional] [default to undefined]
10
- **model_hourly_usages** | [**UserModelHourlyUsages**](UserModelHourlyUsages.md) | | [optional] [default to undefined]
8
+ **overview** | [**DashboardOverview**](DashboardOverview.md) | | [optional] [default to undefined]
9
+ **token_breakdown** | [**TokenBreakdown**](TokenBreakdown.md) | | [optional] [default to undefined]
10
+ **insights** | [**UsageInsights**](UsageInsights.md) | | [optional] [default to undefined]
11
+ **daily_usages** | [**Array&lt;DailyUsage&gt;**](DailyUsage.md) | | [optional] [default to undefined]
11
12
 
12
13
  ## Example
13
14
 
@@ -15,9 +16,10 @@ Name | Type | Description | Notes
15
16
  import { AigwpbUserPortalDashboard } from '@cherryin/aigw-api-client';
16
17
 
17
18
  const instance: AigwpbUserPortalDashboard = {
18
- balance,
19
- model_activity_summary,
20
- model_hourly_usages,
19
+ overview,
20
+ token_breakdown,
21
+ insights,
22
+ daily_usages,
21
23
  };
22
24
  ```
23
25
 
@@ -0,0 +1,26 @@
1
+ # DailyUsage
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **day_at** | **string** | | [optional] [default to undefined]
9
+ **total_cost** | **string** | | [optional] [default to undefined]
10
+ **total_tokens** | **string** | | [optional] [default to undefined]
11
+ **total_requests** | **string** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { DailyUsage } from '@cherryin/aigw-api-client';
17
+
18
+ const instance: DailyUsage = {
19
+ day_at,
20
+ total_cost,
21
+ total_tokens,
22
+ total_requests,
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)
@@ -0,0 +1,30 @@
1
+ # DashboardOverview
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total_spent** | **string** | | [optional] [default to undefined]
9
+ **avg_daily_spent** | **string** | | [optional] [default to undefined]
10
+ **total_tokens** | **string** | | [optional] [default to undefined]
11
+ **avg_daily_tokens** | **string** | | [optional] [default to undefined]
12
+ **days_active** | **number** | | [optional] [default to undefined]
13
+ **total_requests** | **string** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { DashboardOverview } from '@cherryin/aigw-api-client';
19
+
20
+ const instance: DashboardOverview = {
21
+ total_spent,
22
+ avg_daily_spent,
23
+ total_tokens,
24
+ avg_daily_tokens,
25
+ days_active,
26
+ total_requests,
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)
@@ -0,0 +1,26 @@
1
+ # TokenBreakdown
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **input_tokens** | [**TokenUsage**](TokenUsage.md) | | [optional] [default to undefined]
9
+ **output_tokens** | [**TokenUsage**](TokenUsage.md) | | [optional] [default to undefined]
10
+ **cache_read_tokens** | [**TokenUsage**](TokenUsage.md) | | [optional] [default to undefined]
11
+ **cache_creation_tokens** | [**TokenUsage**](TokenUsage.md) | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { TokenBreakdown } from '@cherryin/aigw-api-client';
17
+
18
+ const instance: TokenBreakdown = {
19
+ input_tokens,
20
+ output_tokens,
21
+ cache_read_tokens,
22
+ cache_creation_tokens,
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)
@@ -1,19 +1,21 @@
1
- # UserModelHourlyUsages
1
+ # TokenUsage
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **hour_activities** | [**Array&lt;UserModelHourActivity&gt;**](UserModelHourActivity.md) | | [optional] [default to undefined]
8
+ **count** | **string** | | [optional] [default to undefined]
9
+ **cost** | **string** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
12
13
  ```typescript
13
- import { UserModelHourlyUsages } from '@cherryin/aigw-api-client';
14
+ import { TokenUsage } from '@cherryin/aigw-api-client';
14
15
 
15
- const instance: UserModelHourlyUsages = {
16
- hour_activities,
16
+ const instance: TokenUsage = {
17
+ count,
18
+ cost,
17
19
  };
18
20
  ```
19
21
 
@@ -0,0 +1,28 @@
1
+ # UsageInsights
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **most_expensive_day_at** | **string** | | [optional] [default to undefined]
9
+ **most_expensive_day_cost** | **string** | | [optional] [default to undefined]
10
+ **avg_daily_cost** | **string** | | [optional] [default to undefined]
11
+ **total_days_tracked** | **number** | | [optional] [default to undefined]
12
+ **last_updated_at** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { UsageInsights } from '@cherryin/aigw-api-client';
18
+
19
+ const instance: UsageInsights = {
20
+ most_expensive_day_at,
21
+ most_expensive_day_cost,
22
+ avg_daily_cost,
23
+ total_days_tracked,
24
+ last_updated_at,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cherryin/aigw-api-client",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "description": "OpenAPI client for @cherryin/aigw-api-client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,30 +0,0 @@
1
- # UserModelActivitySummary
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **total_model_request_count** | **string** | | [optional] [default to undefined]
9
- **total_model_request_tokens** | **string** | | [optional] [default to undefined]
10
- **stat_model_request_count** | **string** | | [optional] [default to undefined]
11
- **stat_model_request_tokens** | **string** | | [optional] [default to undefined]
12
- **stat_model_rpm_avg** | **string** | | [optional] [default to undefined]
13
- **stat_model_tpm_avg** | **string** | | [optional] [default to undefined]
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import { UserModelActivitySummary } from '@cherryin/aigw-api-client';
19
-
20
- const instance: UserModelActivitySummary = {
21
- total_model_request_count,
22
- total_model_request_tokens,
23
- stat_model_request_count,
24
- stat_model_request_tokens,
25
- stat_model_rpm_avg,
26
- stat_model_tpm_avg,
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)
@@ -1,28 +0,0 @@
1
- # UserModelHourActivity
2
-
3
-
4
- ## Properties
5
-
6
- Name | Type | Description | Notes
7
- ------------ | ------------- | ------------- | -------------
8
- **hour_at** | **string** | | [optional] [default to undefined]
9
- **model_id** | **string** | | [optional] [default to undefined]
10
- **total_request_count** | **string** | | [optional] [default to undefined]
11
- **total_request_tokens** | **string** | | [optional] [default to undefined]
12
- **total_cost** | **string** | | [optional] [default to undefined]
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import { UserModelHourActivity } from '@cherryin/aigw-api-client';
18
-
19
- const instance: UserModelHourActivity = {
20
- hour_at,
21
- model_id,
22
- total_request_count,
23
- total_request_tokens,
24
- total_cost,
25
- };
26
- ```
27
-
28
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)