tencentcloud-sdk-nodejs 4.1.256 → 4.1.258

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.
Files changed (85) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apigateway/v20180808/apigateway_client.js +0 -3
  3. package/es/services/cfw/v20190904/cfw_client.js +3 -0
  4. package/es/services/clb/v20180317/clb_client.js +91 -16
  5. package/es/services/cngw/index.js +4 -0
  6. package/es/services/cngw/v20230418/cngw_client.js +141 -0
  7. package/es/services/cngw/v20230418/cngw_models.js +1 -0
  8. package/es/services/cngw/v20230418/index.js +6 -0
  9. package/es/services/csip/v20221121/csip_client.js +6 -0
  10. package/es/services/cwp/v20180228/cwp_client.js +3 -0
  11. package/es/services/ess/v20201111/ess_client.js +5 -2
  12. package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
  13. package/es/services/index.js +1 -0
  14. package/es/services/monitor/v20180724/monitor_client.js +3 -0
  15. package/es/services/ocr/v20181119/ocr_client.js +3 -0
  16. package/es/services/tdmysql/v20211122/tdmysql_client.js +3 -3
  17. package/es/services/tke/v20220501/tke_client.js +3 -0
  18. package/package.json +1 -1
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -1
  22. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +850 -447
  23. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +2 -8
  24. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -9
  25. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +22 -45
  26. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +28 -0
  27. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +67 -31
  28. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +41 -38
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -8
  30. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
  31. package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
  32. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +38 -0
  33. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +122 -22
  34. package/tencentcloud/services/clb/v20180317/clb_client.js +179 -29
  35. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2314 -888
  36. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +59 -105
  37. package/tencentcloud/services/cngw/index.d.ts +6 -0
  38. package/tencentcloud/services/cngw/index.js +7 -0
  39. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +190 -0
  40. package/tencentcloud/services/cngw/v20230418/cngw_client.js +301 -0
  41. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +2991 -0
  42. package/tencentcloud/services/cngw/v20230418/cngw_models.js +18 -0
  43. package/tencentcloud/services/cngw/v20230418/index.d.ts +6 -0
  44. package/tencentcloud/services/cngw/v20230418/index.js +10 -0
  45. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +9 -1
  46. package/tencentcloud/services/csip/v20221121/csip_client.js +12 -0
  47. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +608 -151
  48. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +5 -1
  49. package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -0
  50. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +64 -0
  51. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +7 -7
  52. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +11 -25
  53. package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
  54. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -3
  55. package/tencentcloud/services/ess/v20201111/ess_client.js +23 -3
  56. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -14
  57. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +19 -1
  58. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +20 -0
  59. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +46 -16
  60. package/tencentcloud/services/index.d.ts +1 -0
  61. package/tencentcloud/services/index.js +7 -5
  62. package/tencentcloud/services/live/v20180801/live_models.d.ts +8 -0
  63. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +7 -1
  64. package/tencentcloud/services/monitor/v20180724/monitor_client.js +8 -0
  65. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +245 -238
  66. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +68 -1
  67. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -1
  68. package/tencentcloud/services/ocr/v20181119/ocr_client.js +10 -0
  69. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +60 -14
  70. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -9
  71. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +15 -11
  72. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +6 -2
  73. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +17 -9
  74. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -2
  75. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +5 -5
  76. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +6 -6
  77. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +47 -34
  78. package/tencentcloud/services/tke/v20220501/tke_client.d.ts +5 -1
  79. package/tencentcloud/services/tke/v20220501/tke_client.js +6 -0
  80. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +30 -13
  81. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +11 -3
  82. package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +11 -3
  83. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +53 -33
  84. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +66 -46
  85. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +56 -26
@@ -475,6 +475,19 @@ export interface BackupStatisticsModel {
475
475
  */
476
476
  TotalSize?: number;
477
477
  }
478
+ /**
479
+ * ResetUsersPassword请求参数结构体
480
+ */
481
+ export interface ResetUsersPasswordRequest {
482
+ /**
483
+ * <p>实例id</p>
484
+ */
485
+ InstanceId: string;
486
+ /**
487
+ * <p>重置用户密码列表</p>
488
+ */
489
+ Users?: Array<ResetUserPasswordInfo>;
490
+ }
478
491
  /**
479
492
  * 备份策略对象
480
493
  */
@@ -680,15 +693,6 @@ export interface IsolateDBInstanceResponse {
680
693
  */
681
694
  RequestId?: string;
682
695
  }
683
- /**
684
- * ResetUserPassword返回参数结构体
685
- */
686
- export interface ResetUserPasswordResponse {
687
- /**
688
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
689
- */
690
- RequestId?: string;
691
- }
692
696
  /**
693
697
  * DescribeInstanceSSLStatus返回参数结构体
694
698
  */
@@ -1685,6 +1689,27 @@ export interface DescribeSaleInfoResponse {
1685
1689
  */
1686
1690
  RequestId?: string;
1687
1691
  }
1692
+ /**
1693
+ * 重置密码的用户类型
1694
+ */
1695
+ export interface ResetUserPasswordInfo {
1696
+ /**
1697
+ * <p>用户名</p>
1698
+ */
1699
+ UserName?: string;
1700
+ /**
1701
+ * <p>host</p>
1702
+ */
1703
+ Host?: string;
1704
+ /**
1705
+ * <p>明文密码</p>
1706
+ */
1707
+ Password?: string;
1708
+ /**
1709
+ * <p>加密密码</p>
1710
+ */
1711
+ EncryptedPassword?: string;
1712
+ }
1688
1713
  /**
1689
1714
  * DeleteUsers返回参数结构体
1690
1715
  */
@@ -3236,6 +3261,19 @@ export interface ModifyAutoRenewFlagRequest {
3236
3261
  */
3237
3262
  AutoRenewFlag: number;
3238
3263
  }
3264
+ /**
3265
+ * ResetUsersPassword返回参数结构体
3266
+ */
3267
+ export interface ResetUsersPasswordResponse {
3268
+ /**
3269
+ * <p>任务id</p>
3270
+ */
3271
+ FlowId?: number;
3272
+ /**
3273
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3274
+ */
3275
+ RequestId?: string;
3276
+ }
3239
3277
  /**
3240
3278
  * CreateDBSBackup请求参数结构体
3241
3279
  */
@@ -3467,31 +3505,6 @@ export interface RestartDBInstancesRequest {
3467
3505
  */
3468
3506
  RestartTime?: string;
3469
3507
  }
3470
- /**
3471
- * ResetUserPassword请求参数结构体
3472
- */
3473
- export interface ResetUserPasswordRequest {
3474
- /**
3475
- * 用户名
3476
- */
3477
- UserName: string;
3478
- /**
3479
- * 实例ID
3480
- */
3481
- InstanceId: string;
3482
- /**
3483
- * 主机IP,IP段以%结尾,表示允许该IP段的所有IP
3484
- */
3485
- Host: string;
3486
- /**
3487
- * 新密码,要求长度8-32,至少包含英文、数字和符号中的两种
3488
- */
3489
- Password?: string;
3490
- /**
3491
- * 加密密码
3492
- */
3493
- EncryptedPassword?: string;
3494
- }
3495
3508
  /**
3496
3509
  * DescribeDBSAvailableRecoveryTime返回参数结构体
3497
3510
  */
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, DescribeGPUInfoResponse, DescribeClusterMachinesResponse, DeleteClusterMachinesRequest, RebootMachinesRequest, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, ModifyHealthCheckPolicyResponse, StopMachinesResponse, DescribeClustersRequest, CreateHealthCheckPolicyRequest, DescribeZoneInstanceConfigInfosResponse, StartMachinesRequest, ModifyNodePoolRequest, ModifyClusterMachineResponse, SetMachineLoginRequest, ModifyNodePoolResponse, DescribeHealthCheckTemplateRequest, DescribeClustersResponse, CreateNodePoolResponse, ModifyHealthCheckPolicyRequest, StartMachinesResponse, DeleteClusterMachinesResponse, DeleteNodePoolResponse, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, DescribeGPUInfoRequest, DeleteNodePoolRequest, SetMachineLoginResponse, DescribeZoneInstanceConfigInfosRequest, DescribeClusterMachinesRequest, DeleteHealthCheckPolicyRequest, DescribeNodePoolsResponse, ScaleNodePoolResponse, ModifyClusterMachineRequest, DescribeHealthCheckPoliciesResponse, RebootMachinesResponse, StopMachinesRequest, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, ScaleNodePoolRequest, CreateHealthCheckPolicyResponse } from "./tke_models";
3
+ import { DescribeClusterInstancesResponse, DescribeHealthCheckPolicyBindingsRequest, DescribeGPUInfoResponse, DescribeClusterMachinesResponse, DeleteClusterMachinesRequest, RebootMachinesRequest, CreateNodePoolRequest, DescribeHealthCheckPolicyBindingsResponse, DescribeNodePoolsRequest, ModifyHealthCheckPolicyResponse, StopMachinesResponse, DescribeClustersRequest, CreateHealthCheckPolicyRequest, DescribeZoneInstanceConfigInfosResponse, StartMachinesRequest, ModifyNodePoolRequest, ModifyClusterMachineResponse, SetMachineLoginRequest, ModifyNodePoolResponse, DescribeHealthCheckTemplateRequest, DescribeClustersResponse, CreateNodePoolResponse, ModifyHealthCheckPolicyRequest, StartMachinesResponse, DescribeNodePoolsElasticityStrengthResponse, DeleteClusterMachinesResponse, DeleteNodePoolResponse, DescribeClusterInstancesRequest, DeleteHealthCheckPolicyResponse, DescribeGPUInfoRequest, DeleteNodePoolRequest, SetMachineLoginResponse, DescribeZoneInstanceConfigInfosRequest, DescribeNodePoolsElasticityStrengthRequest, DescribeClusterMachinesRequest, DeleteHealthCheckPolicyRequest, DescribeNodePoolsResponse, ScaleNodePoolResponse, ModifyClusterMachineRequest, DescribeHealthCheckPoliciesResponse, RebootMachinesResponse, StopMachinesRequest, DescribeHealthCheckPoliciesRequest, DescribeHealthCheckTemplateResponse, ScaleNodePoolRequest, CreateHealthCheckPolicyResponse } from "./tke_models";
4
4
  /**
5
5
  * tke client
6
6
  * @class
@@ -92,6 +92,10 @@ export declare class Client extends AbstractClient {
92
92
  * 更新 TKE 节点池
93
93
  */
94
94
  ModifyNodePool(req: ModifyNodePoolRequest, cb?: (error: string, rep: ModifyNodePoolResponse) => void): Promise<ModifyNodePoolResponse>;
95
+ /**
96
+ * 查询节点池健康度相关信息
97
+ */
98
+ DescribeNodePoolsElasticityStrength(req?: DescribeNodePoolsElasticityStrengthRequest, cb?: (error: string, rep: DescribeNodePoolsElasticityStrengthResponse) => void): Promise<DescribeNodePoolsElasticityStrengthResponse>;
95
99
  /**
96
100
  * 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
97
101
 
@@ -152,6 +152,12 @@ class Client extends abstract_client_1.AbstractClient {
152
152
  async ModifyNodePool(req, cb) {
153
153
  return this.request("ModifyNodePool", req, cb);
154
154
  }
155
+ /**
156
+ * 查询节点池健康度相关信息
157
+ */
158
+ async DescribeNodePoolsElasticityStrength(req, cb) {
159
+ return this.request("DescribeNodePoolsElasticityStrength", req, cb);
160
+ }
155
161
  /**
156
162
  * 本接口 (StopMachines) 用于关闭一个或多个原生节点实例。
157
163
 
@@ -70,6 +70,10 @@ export interface CreateNativeNodePoolParam {
70
70
  * <p>期望节点数</p>
71
71
  */
72
72
  Replicas?: number;
73
+ /**
74
+ * <p>机型和GPU配置相关信息</p>
75
+ */
76
+ GPUConfigs?: Array<GPUConfig>;
73
77
  /**
74
78
  * <p>公网带宽设置</p>
75
79
  */
@@ -1236,14 +1240,21 @@ export interface Disk {
1236
1240
  */
1237
1241
  export type DescribeHealthCheckTemplateRequest = null;
1238
1242
  /**
1239
- * 节点自定义参数
1243
+ * 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云主机实例。
1240
1244
  */
1241
- export interface InstanceExtraArgs {
1245
+ export interface TagSpecification {
1242
1246
  /**
1243
- * kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
1247
+ * 标签绑定的资源类型,当前支持类型:
1248
+ 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
1249
+ 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
1244
1250
  注意:此字段可能返回 null,表示取不到有效值。
1245
1251
  */
1246
- Kubelet?: Array<string>;
1252
+ ResourceType?: string;
1253
+ /**
1254
+ * 标签对列表
1255
+ 注意:此字段可能返回 null,表示取不到有效值。
1256
+ */
1257
+ Tags?: Array<Tag>;
1247
1258
  }
1248
1259
  /**
1249
1260
  * DescribeClusters返回参数结构体
@@ -1492,21 +1503,23 @@ export interface RegularNodePoolInfo {
1492
1503
  InstanceAdvancedSettings?: InstanceAdvancedSettings;
1493
1504
  }
1494
1505
  /**
1495
- * 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云主机实例。
1506
+ * 节点自定义参数
1496
1507
  */
1497
- export interface TagSpecification {
1508
+ export interface InstanceExtraArgs {
1498
1509
  /**
1499
- * 标签绑定的资源类型,当前支持类型:
1500
- 1.cluster:集群相关接口,TagSpecification 的 ResourceType 传参为 cluster
1501
- 2.machine:节点池相关接口,如:CreateNodePool, DescribeNodePools 等,TagSpecification 的 ResourceType 传参为 machine
1510
+ * kubelet自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["root-dir=/var/lib/kubelet","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
1502
1511
  注意:此字段可能返回 null,表示取不到有效值。
1503
1512
  */
1504
- ResourceType?: string;
1513
+ Kubelet?: Array<string>;
1514
+ }
1515
+ /**
1516
+ * DescribeNodePoolsElasticityStrength返回参数结构体
1517
+ */
1518
+ export interface DescribeNodePoolsElasticityStrengthResponse {
1505
1519
  /**
1506
- * 标签对列表
1507
- 注意:此字段可能返回 null,表示取不到有效值。
1520
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1508
1521
  */
1509
- Tags?: Array<Tag>;
1522
+ RequestId?: string;
1510
1523
  }
1511
1524
  /**
1512
1525
  * DeleteClusterMachines返回参数结构体
@@ -1798,6 +1811,10 @@ export interface Cluster {
1798
1811
  */
1799
1812
  VpcId?: string;
1800
1813
  }
1814
+ /**
1815
+ * DescribeNodePoolsElasticityStrength请求参数结构体
1816
+ */
1817
+ export type DescribeNodePoolsElasticityStrengthRequest = null;
1801
1818
  /**
1802
1819
  * 第三方节点池信息
1803
1820
  */
@@ -76,9 +76,17 @@ export declare class Client extends AbstractClient {
76
76
  /**
77
77
  * 查询用量排行列表。
78
78
 
79
- 按 apikey、endpoint、model 三个维度统计指定时间窗内的用量排行,返回顶部数据卡所需的 PageStats/TotalStats、左侧 Top 列表(含每对象整段累计值)、右侧色块趋势图所需的逐点曲线。前端通过 Offset 翻页、ShowAll 切换 CSV 全量导出模式。
80
-
81
- MetricType 字段用于切换指标族,本期支持 tokens;接口预留以支持后续指标族扩展。响应回显 MetricType 与 MetricKeys(实际参与渲染的 metric key 列表,顺序固定 [Total, Input, Output]),前端按此渲染顶部数据卡与趋势图,无需硬编码 key 名。
79
+ 指标族(MetricType)
80
+ - `tokens`(默认):Token 用量统计。支持 Dimension = apikey / endpoint / model。
81
+ 返回指标:TotalToken(总)/ InputTotalToken(输入)/ OutputTotalToken(输出)/ CacheTotalToken(读缓存)。
82
+ - `search`:【待上线】联网搜索用量统计。支持 Dimension = apikey / endpoint / model。
83
+ 返回指标:SearchRequestCount(搜索请求数)/ SearchCount(搜索引擎调用次数)。
84
+
85
+ 响应内容
86
+ - MetricType 字段用于切换指标族,响应回显 MetricType 与 MetricKeys。
87
+ - TotalStats:时间窗内全部对象的整段聚合值。
88
+ - PageStats:当前翻页内对象的整段聚合值。
89
+ - TopList:按MetricKeys[0]降序的对象列表,含整段聚合值与逐时间点曲线。
82
90
  */
83
91
  DescribeUsageRankList(req: DescribeUsageRankListRequest, cb?: (error: string, rep: DescribeUsageRankListResponse) => void): Promise<DescribeUsageRankListResponse>;
84
92
  /**
@@ -118,9 +118,17 @@ class Client extends abstract_client_1.AbstractClient {
118
118
  /**
119
119
  * 查询用量排行列表。
120
120
 
121
- 按 apikey、endpoint、model 三个维度统计指定时间窗内的用量排行,返回顶部数据卡所需的 PageStats/TotalStats、左侧 Top 列表(含每对象整段累计值)、右侧色块趋势图所需的逐点曲线。前端通过 Offset 翻页、ShowAll 切换 CSV 全量导出模式。
122
-
123
- MetricType 字段用于切换指标族,本期支持 tokens;接口预留以支持后续指标族扩展。响应回显 MetricType 与 MetricKeys(实际参与渲染的 metric key 列表,顺序固定 [Total, Input, Output]),前端按此渲染顶部数据卡与趋势图,无需硬编码 key 名。
121
+ 指标族(MetricType)
122
+ - `tokens`(默认):Token 用量统计。支持 Dimension = apikey / endpoint / model。
123
+ 返回指标:TotalToken(总)/ InputTotalToken(输入)/ OutputTotalToken(输出)/ CacheTotalToken(读缓存)。
124
+ - `search`:【待上线】联网搜索用量统计。支持 Dimension = apikey / endpoint / model。
125
+ 返回指标:SearchRequestCount(搜索请求数)/ SearchCount(搜索引擎调用次数)。
126
+
127
+ 响应内容
128
+ - MetricType 字段用于切换指标族,响应回显 MetricType 与 MetricKeys。
129
+ - TotalStats:时间窗内全部对象的整段聚合值。
130
+ - PageStats:当前翻页内对象的整段聚合值。
131
+ - TopList:按MetricKeys[0]降序的对象列表,含整段聚合值与逐时间点曲线。
124
132
  */
125
133
  async DescribeUsageRankList(req, cb) {
126
134
  return this.request("DescribeUsageRankList", req, cb);
@@ -471,17 +471,29 @@ export interface DescribeApiKeyListRequest {
471
471
  */
472
472
  export interface UsageSeries {
473
473
  /**
474
- * 总 token 数用量时间周期内的 JSON 字符串形式,如 `"[12,null,15]"`。
474
+ * <p>[tokens 族]总 token 数用量时间周期内的 JSON 字符串形式,如 <code>&quot;[12,null,15]&quot;</code>。</p>
475
475
  */
476
476
  TotalToken?: string;
477
477
  /**
478
- * 输入 token 数用量时间周期内的 JSON 字符串形式,如 `"[7,null,9]"`。
478
+ * <p>[tokens 族]输入 token 数用量时间周期内的 JSON 字符串形式,如 <code>&quot;[7,null,9]&quot;</code>。</p>
479
479
  */
480
480
  InputTotalToken?: string;
481
481
  /**
482
- * 输出 token 数用量时间周期内的 JSON 字符串形式,如 `"[5,null,6]"`。
482
+ * <p>[tokens 族]输出 token 数用量时间周期内的 JSON 字符串形式,如 <code>&quot;[5,null,6]&quot;</code>。</p>
483
483
  */
484
484
  OutputTotalToken?: string;
485
+ /**
486
+ * <p>[tokens 族]读缓存 token 数用量时间周期内的 JSON 字符串形式,如<code>&quot;[5,null,6]&quot;</code>。</p>
487
+ */
488
+ CacheTotalToken?: string;
489
+ /**
490
+ * <p>[search 族] 搜索请求数用量时间周期内的 JSON 字符串形式,如<code>&quot;[5,null,6]&quot;</code>。</p>
491
+ */
492
+ SearchRequestCount?: string;
493
+ /**
494
+ * <p>[search 族] 搜索引擎调用次数用量时间周期内的 JSON 字符串形式,如<code>&quot;[5,null,6]&quot;</code>。</p>
495
+ */
496
+ SearchCount?: string;
485
497
  }
486
498
  /**
487
499
  * CreateGlossary请求参数结构体
@@ -963,39 +975,35 @@ export interface UpgradeTokenPlanTeamOrderRequest {
963
975
  */
964
976
  export interface DescribeUsageRankListRequest {
965
977
  /**
966
- * 统计维度。取值:apikey(按 APIKey 统计)、endpoint(按接入点统计)、model(按模型统计)。
978
+ * <p>统计维度。取值:apikey(按 APIKey 统计)、endpoint(按接入点统计)、model(按模型统计)。</p>
967
979
  */
968
980
  Dimension: string;
969
981
  /**
970
- * 起始时间(闭区间),RFC3339 格式。
982
+ * <p>起始时间(闭区间),RFC3339 格式。</p>
971
983
  */
972
984
  StartTime: string;
973
985
  /**
974
- * 结束时间(开区间),RFC3339 格式。与 StartTime 的跨度最大 90 天。
986
+ * <p>结束时间(开区间),RFC3339 格式。与 StartTime 的跨度最大 90 天。</p>
975
987
  */
976
988
  EndTime: string;
977
989
  /**
978
- * 指标族切换字段。本期支持 tokens(累计 Token 用量,statistics=sum);传其他值将返回 InvalidParameter。空字符串或不传时默认 tokens。接口预留 MetricType 字段以支持后续指标族扩展。
990
+ * <p>指标族切换字段。</p><ul><li>tokens(默认):Token 消耗图(statistics=sum),支持 Dimension = apikey/endpoint/model</li><li>search【待上线】:联网搜索调用次数(statistics=sum),仅支持 Dimension = model</li><li>其他值返回 InvalidParameter。</li></ul><p>枚举值:</p><ul><li>tokens: tokens</li></ul>
979
991
  */
980
992
  MetricType?: string;
981
993
  /**
982
- * 维度过滤值。空字符串表示查询全部对象,非空时仅查询指定单个对象(如指定 APIKey ID)。最大 256 字符。
994
+ * <p>维度过滤值。空字符串表示查询全部对象,非空时仅查询指定单个对象(如指定 APIKey ID)。最大 256 字符。</p>
983
995
  */
984
996
  Target?: string;
985
997
  /**
986
- * 统计粒度(秒)。取值:60、300、3600、86400。必须不小于跨度对应下限:跨度 ≤ 1 天 → 60;1 ~ 5 天 → 300;5 ~ 10 天 → 3600;> 10 天 → 86400。仅 ShowAll=false 时使用。
998
+ * <p>统计粒度(秒)。取值:60、300、3600、86400。必须不小于跨度对应下限:跨度 ≤ 1 天 → 60;1 ~ 5 天 → 300;5 ~ 10 天 → 3600;&gt; 10 天 → 86400。仅 ShowAll=false 时使用。</p>
987
999
  */
988
1000
  Period?: number;
989
1001
  /**
990
- * 翻页起点,从 0 起,默认 0。ShowAll=true 时忽略。页大小固定为 10
1002
+ * <p>翻页起点,从 0 起,默认 0。ShowAll=true 时忽略。页大小固定为 10。</p>
991
1003
  */
992
1004
  Offset?: number;
993
1005
  /**
994
- * 是否返回全量结果。
995
- - false(默认):按 Offset 分页返回 TopList(每页 10 条),每个对象包含
996
- Series 时序点用于绘制曲线。
997
- - true:忽略 Offset,返回全量对象列表,不返回 Series(CSV 导出场景)。
998
-
1006
+ * <p>是否返回全量结果。</p><ul><li>false(默认):按 Offset 分页返回 TopList(每页 10 条),每个对象包含<br>Series 时序点用于绘制曲线。</li><li>true:忽略 Offset,返回全量对象列表,不返回 Series(CSV 导出场景)。</li></ul>
999
1007
  */
1000
1008
  ShowAll?: boolean;
1001
1009
  }
@@ -1439,80 +1447,92 @@ export interface CreateTokenPlanApiKeysRequest {
1439
1447
  TPM?: number;
1440
1448
  }
1441
1449
  /**
1442
- * 时间周期内的统计聚合值(按 metric key 索引)。本期返回 tokens 族(statistics=sum)的累计 Token 用量;具体包含哪些 key、顺序如何,参见响应顶层 `MetricKeys` 字段。接口预留 MetricType 字段以支持后续指标族扩展,本期仅支持 tokens。
1450
+ * 时间周期内的统计聚合值(按 metric key 索引)。声明 tokens / search 两族字段都在本 schema 中,按 MetricKeys 实际返回取值,参见响应顶层 `MetricKeys` 字段。
1443
1451
  */
1444
1452
  export interface UsageStats {
1445
1453
  /**
1446
- * 时间周期内的累计总 token 数。
1454
+ * <p>[tokens 族] 时间周期内的累计总 token 数。</p>
1447
1455
  */
1448
1456
  TotalToken?: number;
1449
1457
  /**
1450
- * 时间周期内的累计输入 token 数。
1458
+ * <p>[tokens 族] 时间周期内的累计输入 token 数。</p>
1451
1459
  */
1452
1460
  InputTotalToken?: number;
1453
1461
  /**
1454
- * 时间周期内的累计输出 token 数。
1462
+ * <p>[tokens 族] 时间周期内的累计输出 token 数。</p>
1455
1463
  */
1456
1464
  OutputTotalToken?: number;
1465
+ /**
1466
+ * <p>[tokens 族] 时间周期内的累计读缓存 token 数(命中缓存部分)</p>
1467
+ */
1468
+ CacheTotalToken?: number;
1469
+ /**
1470
+ * <p>[search 族] 整段累计联网搜索请求数</p>
1471
+ */
1472
+ SearchRequestCount?: number;
1473
+ /**
1474
+ * <p>[search 族] 整段累计搜索引擎调用次数</p>
1475
+ */
1476
+ SearchCount?: number;
1457
1477
  }
1458
1478
  /**
1459
1479
  * DescribeUsageRankList返回参数结构体
1460
1480
  */
1461
1481
  export interface DescribeUsageRankListResponse {
1462
1482
  /**
1463
- * 回填请求的统计维度。
1483
+ * <p>回填请求的统计维度。</p>
1464
1484
  */
1465
1485
  Dimension?: string;
1466
1486
  /**
1467
- * 回填请求的指标族(本期固定为 tokens)。前端按本字段切换图表渲染逻辑。
1487
+ * <p>回填请求的指标族:tokens / search 。</p>
1468
1488
  */
1469
1489
  MetricType?: string;
1470
1490
  /**
1471
- * 本次响应中 Stats / Series / PageStats / TotalStats 实际包含的 metric key 列表,顺序固定为 [Total, Input, Output]。本期为 [TotalToken, InputTotalToken, OutputTotalToken]。前端可遍历此列表渲染图表,无需硬编码 key 名。
1491
+ * <p>本次响应中 Stats / Series / PageStats / TotalStats 实际包含的 metric key 列表,按MetricType 区分:tokens=[Total,Input,Output,Cache]、search=[SearchRequestCount,SearchCount]</p>
1472
1492
  */
1473
1493
  MetricKeys?: Array<string>;
1474
1494
  /**
1475
- * 视图(数据来源)
1495
+ * <p>视图(数据来源)</p>
1476
1496
  */
1477
1497
  ViewName?: string;
1478
1498
  /**
1479
- * 回填请求的统计粒度(秒)。ShowAll=true 时为 0
1499
+ * <p>回填请求的统计粒度(秒)。ShowAll=true 时为 0。</p>
1480
1500
  */
1481
1501
  Period?: number;
1482
1502
  /**
1483
- * 回填请求的起始时间。
1503
+ * <p>回填请求的起始时间。</p>
1484
1504
  */
1485
1505
  StartTime?: string;
1486
1506
  /**
1487
- * 回填请求的结束时间。
1507
+ * <p>回填请求的结束时间。</p>
1488
1508
  */
1489
1509
  EndTime?: string;
1490
1510
  /**
1491
- * 全量对象数。
1511
+ * <p>全量对象数。</p>
1492
1512
  */
1493
1513
  Total?: number;
1494
1514
  /**
1495
- * 回填请求的翻页起点。ShowAll=true 时为 0
1515
+ * <p>回填请求的翻页起点。ShowAll=true 时为 0。</p>
1496
1516
  */
1497
1517
  Offset?: number;
1498
1518
  /**
1499
- * 页大小,恒为 10。ShowAll=true 时为 Total
1519
+ * <p>页大小,恒为 10。ShowAll=true 时为 Total。</p>
1500
1520
  */
1501
1521
  Limit?: number;
1502
1522
  /**
1503
- * Series 数组对应的时间戳序列(Unix 秒)。ShowAll=true 时为空数组。
1523
+ * <p>Series 数组对应的时间戳序列(Unix 秒)。ShowAll=true 时为空数组。</p>
1504
1524
  */
1505
1525
  Timestamps?: Array<number | bigint>;
1506
1526
  /**
1507
- * 对象排行列表,按主指标(`MetricKeys[0]`,本期为 TotalToken)降序排序。ShowAll=false 时为当前页 10 个对象(含 Series);ShowAll=true 时为全量对象(不含 Series,用于 CSV 导出)。
1527
+ * <p>对象排行列表,按<code>MetricKeys[0]</code>降序排序。ShowAll=false 时为当前页 10 个对象(含 Series);ShowAll=true 时为全量对象(不含 Series,用于 CSV 导出)。</p>
1508
1528
  */
1509
1529
  TopList?: Array<UsageRankItem>;
1510
1530
  /**
1511
- * 分页统计结果
1531
+ * <p>分页统计结果</p>
1512
1532
  */
1513
1533
  PageStats?: UsageStats;
1514
1534
  /**
1515
- * 总统计结果
1535
+ * <p>总统计结果</p>
1516
1536
  */
1517
1537
  TotalStats?: UsageStats;
1518
1538
  /**