tencentcloud-sdk-nodejs 4.1.16 → 4.1.18
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/es/common/sdk_version.js +1 -1
- package/es/services/bh/v20230418/bh_client.js +20 -8
- package/es/services/bma/index.js +2 -2
- package/es/services/ccc/v20200210/ccc_client.js +9 -0
- package/es/services/chdfs/index.js +2 -2
- package/es/services/ckafka/v20190819/ckafka_client.js +165 -159
- package/es/services/dbbrain/index.js +2 -2
- package/es/services/es/index.js +2 -2
- package/es/services/essbasic/index.js +2 -2
- package/es/services/facefusion/index.js +2 -2
- package/es/services/gs/v20191118/gs_client.js +24 -6
- package/es/services/hunyuan/v20230901/hunyuan_client.js +37 -31
- package/es/services/iotvideo/index.js +2 -2
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/sms/index.js +2 -2
- package/es/services/thpc/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/vod/index.js +2 -2
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/wedata/v20210820/wedata_client.js +13 -4
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -22
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +25 -9
- package/tencentcloud/services/bh/v20230418/bh_client.js +36 -12
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +294 -81
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +13 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +18 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +252 -105
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +0 -4
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +175 -167
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +261 -249
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +205 -107
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +87 -86
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +16 -0
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/es/index.d.ts +4 -4
- package/tencentcloud/services/es/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -4
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +31 -7
- package/tencentcloud/services/gs/v20191118/gs_client.js +45 -9
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +225 -44
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.d.ts +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.js +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +31 -28
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +61 -53
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +87 -75
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +90 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -7
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +69 -5
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +3 -3
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -8
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +105 -95
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +8 -0
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -1
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -0
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -5
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +0 -1
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/index.d.ts +4 -4
- package/tencentcloud/services/vod/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +7 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +112 -42
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +18 -6
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +25 -7
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +931 -94
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DescribeTargetGroupInstanceStatusRequest {
|
|
5
5
|
/**
|
|
6
|
-
* 目标组唯一id
|
|
6
|
+
* 目标组唯一id。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
|
7
7
|
*/
|
|
8
8
|
TargetGroupId: string;
|
|
9
9
|
/**
|
|
@@ -48,16 +48,16 @@ export interface DescribeTargetGroupListRequest {
|
|
|
48
48
|
/**
|
|
49
49
|
* 过滤条件数组。
|
|
50
50
|
|
|
51
|
-
- TargetGroupVpcId - String - 是否必填:否 -
|
|
51
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
|
52
52
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
|
53
53
|
*/
|
|
54
54
|
Filters?: Array<Filter>;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 显示的偏移起始量,默认为0。
|
|
57
57
|
*/
|
|
58
58
|
Offset?: number;
|
|
59
59
|
/**
|
|
60
|
-
* 显示条数限制,默认为20。
|
|
60
|
+
* 显示条数限制,默认为20,最大值为1000。
|
|
61
61
|
*/
|
|
62
62
|
Limit?: number;
|
|
63
63
|
}
|
|
@@ -66,7 +66,7 @@ export interface DescribeTargetGroupListRequest {
|
|
|
66
66
|
*/
|
|
67
67
|
export interface ModifyGatewayLoadBalancerAttributeRequest {
|
|
68
68
|
/**
|
|
69
|
-
* 网关负载均衡的唯一ID
|
|
69
|
+
* 网关负载均衡的唯一ID。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
|
70
70
|
*/
|
|
71
71
|
LoadBalancerId: string;
|
|
72
72
|
/**
|
|
@@ -92,21 +92,20 @@ export interface ModifyTargetGroupInstancesWeightResponse {
|
|
|
92
92
|
*/
|
|
93
93
|
export interface DescribeTargetGroupsRequest {
|
|
94
94
|
/**
|
|
95
|
-
* 目标组ID
|
|
95
|
+
* 目标组ID。
|
|
96
96
|
*/
|
|
97
97
|
TargetGroupIds?: Array<string>;
|
|
98
98
|
/**
|
|
99
|
-
* 显示条数限制,默认为20。
|
|
99
|
+
* 显示条数限制,默认为20,最大值为1000。
|
|
100
100
|
*/
|
|
101
101
|
Limit?: number;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* 显示的偏移起始量,默认为0。
|
|
104
104
|
*/
|
|
105
105
|
Offset?: number;
|
|
106
106
|
/**
|
|
107
107
|
* 过滤条件数组。
|
|
108
|
-
|
|
109
|
-
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。
|
|
108
|
+
- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,可以通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)获取,如“vpc-bhqk****”。
|
|
110
109
|
- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”
|
|
111
110
|
*/
|
|
112
111
|
Filters?: Array<Filter>;
|
|
@@ -222,7 +221,7 @@ export interface TargetGroupHealthCheck {
|
|
|
222
221
|
/**
|
|
223
222
|
* 是否开启健康检查。
|
|
224
223
|
*/
|
|
225
|
-
HealthSwitch
|
|
224
|
+
HealthSwitch?: boolean;
|
|
226
225
|
/**
|
|
227
226
|
* 健康检查使用的协议。支持PING和TCP两种方式,默认为PING。
|
|
228
227
|
|
|
@@ -244,11 +243,11 @@ export interface TargetGroupHealthCheck {
|
|
|
244
243
|
*/
|
|
245
244
|
IntervalTime?: number;
|
|
246
245
|
/**
|
|
247
|
-
* 检测健康阈值。 默认为3
|
|
246
|
+
* 检测健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
|
248
247
|
*/
|
|
249
248
|
HealthNum?: number;
|
|
250
249
|
/**
|
|
251
|
-
* 检测不健康阈值。 默认为3
|
|
250
|
+
* 检测不健康阈值。 默认为3次。 可配置范围:2 - 10次。
|
|
252
251
|
*/
|
|
253
252
|
UnHealthNum?: number;
|
|
254
253
|
}
|
|
@@ -257,7 +256,7 @@ export interface TargetGroupHealthCheck {
|
|
|
257
256
|
*/
|
|
258
257
|
export interface ModifyTargetGroupInstancesWeightRequest {
|
|
259
258
|
/**
|
|
260
|
-
* 目标组ID
|
|
259
|
+
* 目标组ID。可通过DescribeTargetGroupList接口获取。
|
|
261
260
|
*/
|
|
262
261
|
TargetGroupId: string;
|
|
263
262
|
/**
|
|
@@ -303,7 +302,7 @@ export interface ModifyGatewayLoadBalancerAttributeResponse {
|
|
|
303
302
|
*/
|
|
304
303
|
export interface DeleteGatewayLoadBalancerRequest {
|
|
305
304
|
/**
|
|
306
|
-
* 要删除的网关负载均衡实例 ID数组,数组大小最大支持20
|
|
305
|
+
* 要删除的网关负载均衡实例 ID数组,数组大小最大支持20。可通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/api/1782/111683) 接口获取。
|
|
307
306
|
*/
|
|
308
307
|
LoadBalancerIds: Array<string>;
|
|
309
308
|
}
|
|
@@ -334,7 +333,7 @@ export interface AssociateTargetGroupsRequest {
|
|
|
334
333
|
*/
|
|
335
334
|
export interface DeregisterTargetGroupInstancesRequest {
|
|
336
335
|
/**
|
|
337
|
-
* 目标组ID
|
|
336
|
+
* 目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
|
338
337
|
*/
|
|
339
338
|
TargetGroupId: string;
|
|
340
339
|
/**
|
|
@@ -473,7 +472,7 @@ export interface CreateTargetGroupRequest {
|
|
|
473
472
|
*/
|
|
474
473
|
TargetGroupName?: string;
|
|
475
474
|
/**
|
|
476
|
-
*
|
|
475
|
+
* 网关负载均衡后端目标组所属的网络 ID,如vpc-12345678,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。 不填此参数则默认为DefaultVPC。
|
|
477
476
|
*/
|
|
478
477
|
VpcId?: string;
|
|
479
478
|
/**
|
|
@@ -517,7 +516,7 @@ export interface CreateGatewayLoadBalancerRequest {
|
|
|
517
516
|
*/
|
|
518
517
|
VpcId: string;
|
|
519
518
|
/**
|
|
520
|
-
* 网关负载均衡后端目标设备所属的私有网络的子网ID
|
|
519
|
+
* 网关负载均衡后端目标设备所属的私有网络的子网ID。可通过[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)接口获取。
|
|
521
520
|
*/
|
|
522
521
|
SubnetId: string;
|
|
523
522
|
/**
|
|
@@ -533,7 +532,7 @@ export interface CreateGatewayLoadBalancerRequest {
|
|
|
533
532
|
*/
|
|
534
533
|
Tags?: Array<TagInfo>;
|
|
535
534
|
/**
|
|
536
|
-
* 网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR
|
|
535
|
+
* 网关负载均衡实例计费类型,当前只支持传POSTPAID_BY_HOUR(按量计费),默认是POSTPAID_BY_HOUR。
|
|
537
536
|
*/
|
|
538
537
|
LBChargeType?: string;
|
|
539
538
|
}
|
|
@@ -614,13 +613,13 @@ export interface DescribeTargetGroupInstancesRequest {
|
|
|
614
613
|
/**
|
|
615
614
|
* 过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。
|
|
616
615
|
|
|
617
|
-
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0
|
|
618
|
-
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1
|
|
619
|
-
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke
|
|
616
|
+
- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
|
617
|
+
- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的内网IP地址,如“10.1.1.1”。
|
|
618
|
+
- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins-mxzlf9ke”。可通过[DescribeInstances](https://cloud.tencent.com/document/product/213/15728) 接口获取。
|
|
620
619
|
*/
|
|
621
620
|
Filters: Array<Filter>;
|
|
622
621
|
/**
|
|
623
|
-
* 显示数量限制,默认20。
|
|
622
|
+
* 显示数量限制,默认20,最大1000。
|
|
624
623
|
*/
|
|
625
624
|
Limit?: number;
|
|
626
625
|
/**
|
|
@@ -688,7 +687,7 @@ export interface DescribeTargetGroupsResponse {
|
|
|
688
687
|
*/
|
|
689
688
|
export interface RegisterTargetGroupInstancesRequest {
|
|
690
689
|
/**
|
|
691
|
-
* 目标组ID
|
|
690
|
+
* 目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
|
|
692
691
|
*/
|
|
693
692
|
TargetGroupId: string;
|
|
694
693
|
/**
|
|
@@ -701,7 +700,7 @@ export interface RegisterTargetGroupInstancesRequest {
|
|
|
701
700
|
*/
|
|
702
701
|
export interface DeleteTargetGroupsRequest {
|
|
703
702
|
/**
|
|
704
|
-
* 目标组ID列表。
|
|
703
|
+
* 目标组ID列表。 可以通过接口[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
|
705
704
|
*/
|
|
706
705
|
TargetGroupIds: Array<string>;
|
|
707
706
|
}
|
|
@@ -745,11 +744,11 @@ export interface ItemPrice {
|
|
|
745
744
|
*/
|
|
746
745
|
export interface TargetGroupAssociation {
|
|
747
746
|
/**
|
|
748
|
-
* 网关负载均衡实例ID。
|
|
747
|
+
* 网关负载均衡实例ID,可以通过[DescribeGatewayLoadBalancers](https://cloud.tencent.com/document/product/1782/111683)获取网关负载均衡ID。
|
|
749
748
|
*/
|
|
750
749
|
LoadBalancerId: string;
|
|
751
750
|
/**
|
|
752
|
-
* 目标组ID。
|
|
751
|
+
* 目标组ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取目标组ID。
|
|
753
752
|
*/
|
|
754
753
|
TargetGroupId: string;
|
|
755
754
|
}
|
|
@@ -797,7 +796,7 @@ export interface AssociationItem {
|
|
|
797
796
|
*/
|
|
798
797
|
export interface ModifyTargetGroupAttributeRequest {
|
|
799
798
|
/**
|
|
800
|
-
* 目标组的ID
|
|
799
|
+
* 目标组的ID,可以通过[DescribeTargetGroups](https://cloud.tencent.com/document/product/214/40554)获取。
|
|
801
800
|
*/
|
|
802
801
|
TargetGroupId: string;
|
|
803
802
|
/**
|
|
@@ -880,6 +879,10 @@ export interface TargetGroupInfo {
|
|
|
880
879
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
881
880
|
*/
|
|
882
881
|
RegisteredInstancesCount?: number;
|
|
882
|
+
/**
|
|
883
|
+
* 目标组的标签。
|
|
884
|
+
*/
|
|
885
|
+
Tag?: Array<TagInfo>;
|
|
883
886
|
}
|
|
884
887
|
/**
|
|
885
888
|
* DescribeGatewayLoadBalancers返回参数结构体
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { ChatCompletionsRequest, FilesUploadsRequest, GetEmbeddingRequest, ActivateServiceRequest, GetThreadRequest, ChatTranslationsResponse, SubmitHunyuanImageJobRequest, SubmitHunyuanImageChatJobResponse, QueryHunyuanImageChatJobRequest, RunThreadRequest, SubmitHunyuanImageChatJobRequest, ChatTranslationsRequest, GetThreadMessageResponse, GetThreadMessageListRequest, GetTokenCountResponse, QueryHunyuanImageChatJobResponse, GroupChatCompletionsRequest, SetPayModeResponse, SetPayModeRequest, TextToImageLiteRequest, CreateThreadResponse, SubmitHunyuanImageJobResponse, GroupChatCompletionsResponse, GetThreadResponse, ActivateServiceResponse, QueryHunyuanImageJobResponse, FilesUploadsResponse, FilesDeletionsResponse, GetEmbeddingResponse, GetThreadMessageListResponse, QueryHunyuanImageJobRequest, FilesListRequest, RunThreadResponse, FilesDeletionsRequest, FilesListResponse, GetTokenCountRequest, TextToImageLiteResponse, GetThreadMessageRequest, CreateThreadRequest, ChatCompletionsResponse } from "./hunyuan_models";
|
|
3
|
+
import { ChatCompletionsRequest, FilesUploadsRequest, GetEmbeddingRequest, ActivateServiceRequest, GetThreadRequest, ChatTranslationsResponse, SubmitHunyuanImageJobRequest, SubmitHunyuanImageChatJobResponse, SubmitHunyuanTo3DJobRequest, QueryHunyuanImageChatJobRequest, RunThreadRequest, SubmitHunyuanImageChatJobRequest, ChatTranslationsRequest, GetThreadMessageResponse, GetThreadMessageListRequest, SubmitHunyuanTo3DJobResponse, GetTokenCountResponse, QueryHunyuanImageChatJobResponse, GroupChatCompletionsRequest, SetPayModeResponse, QueryHunyuanTo3DJobRequest, SetPayModeRequest, TextToImageLiteRequest, CreateThreadResponse, SubmitHunyuanImageJobResponse, GroupChatCompletionsResponse, GetThreadResponse, ActivateServiceResponse, QueryHunyuanImageJobResponse, FilesUploadsResponse, FilesDeletionsResponse, GetEmbeddingResponse, GetThreadMessageListResponse, QueryHunyuanImageJobRequest, FilesListRequest, RunThreadResponse, FilesDeletionsRequest, FilesListResponse, GetTokenCountRequest, TextToImageLiteResponse, GetThreadMessageRequest, CreateThreadRequest, ChatCompletionsResponse, QueryHunyuanTo3DJobResponse } from "./hunyuan_models";
|
|
4
4
|
/**
|
|
5
5
|
* hunyuan client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 设置付费模式
|
|
12
|
-
*/
|
|
13
|
-
SetPayMode(req: SetPayModeRequest, cb?: (error: string, rep: SetPayModeResponse) => void): Promise<SetPayModeResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 文件列表。
|
|
16
|
-
*/
|
|
17
|
-
FilesList(req: FilesListRequest, cb?: (error: string, rep: FilesListResponse) => void): Promise<FilesListResponse>;
|
|
18
10
|
/**
|
|
19
11
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
20
12
|
|
|
@@ -24,44 +16,29 @@ export declare class Client extends AbstractClient {
|
|
|
24
16
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
25
17
|
*/
|
|
26
18
|
GetThread(req: GetThreadRequest, cb?: (error: string, rep: GetThreadResponse) => void): Promise<GetThreadResponse>;
|
|
27
|
-
/**
|
|
28
|
-
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
29
|
-
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
30
|
-
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
31
|
-
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
32
|
-
*/
|
|
33
|
-
SubmitHunyuanImageChatJob(req: SubmitHunyuanImageChatJobRequest, cb?: (error: string, rep: SubmitHunyuanImageChatJobResponse) => void): Promise<SubmitHunyuanImageChatJobResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
36
|
-
|
|
37
|
-
1. 本接口暂不支持返回图片内容。
|
|
38
|
-
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
39
|
-
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
40
|
-
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
41
|
-
*/
|
|
42
|
-
CreateThread(req?: CreateThreadRequest, cb?: (error: string, rep: CreateThreadResponse) => void): Promise<CreateThreadResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* 该接口用于计算文本对应Token数、字符数。
|
|
45
|
-
*/
|
|
46
|
-
GetTokenCount(req: GetTokenCountRequest, cb?: (error: string, rep: GetTokenCountResponse) => void): Promise<GetTokenCountResponse>;
|
|
47
19
|
/**
|
|
48
20
|
* 混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
49
21
|
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
|
50
22
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
51
23
|
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
52
24
|
*/
|
|
53
|
-
|
|
25
|
+
SubmitHunyuanImageJob(req: SubmitHunyuanImageJobRequest, cb?: (error: string, rep: SubmitHunyuanImageJobResponse) => void): Promise<SubmitHunyuanImageJobResponse>;
|
|
54
26
|
/**
|
|
55
27
|
* 混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
56
28
|
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
|
57
29
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
58
30
|
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
59
31
|
*/
|
|
60
|
-
|
|
32
|
+
QueryHunyuanImageJob(req: QueryHunyuanImageJobRequest, cb?: (error: string, rep: QueryHunyuanImageJobResponse) => void): Promise<QueryHunyuanImageJobResponse>;
|
|
61
33
|
/**
|
|
62
|
-
*
|
|
34
|
+
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
35
|
+
|
|
36
|
+
1. 本接口暂不支持返回图片内容。
|
|
37
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
38
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
39
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
63
40
|
*/
|
|
64
|
-
|
|
41
|
+
ChatTranslations(req: ChatTranslationsRequest, cb?: (error: string, rep: ChatTranslationsResponse) => void): Promise<ChatTranslationsResponse>;
|
|
65
42
|
/**
|
|
66
43
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
67
44
|
|
|
@@ -71,6 +48,10 @@ export declare class Client extends AbstractClient {
|
|
|
71
48
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
72
49
|
*/
|
|
73
50
|
GetThreadMessageList(req: GetThreadMessageListRequest, cb?: (error: string, rep: GetThreadMessageListResponse) => void): Promise<GetThreadMessageListResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* 腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
53
|
+
*/
|
|
54
|
+
GetEmbedding(req: GetEmbeddingRequest, cb?: (error: string, rep: GetEmbeddingResponse) => void): Promise<GetEmbeddingResponse>;
|
|
74
55
|
/**
|
|
75
56
|
* 如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
76
57
|
|
|
@@ -90,7 +71,18 @@ export declare class Client extends AbstractClient {
|
|
|
90
71
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
91
72
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
92
73
|
*/
|
|
93
|
-
|
|
74
|
+
RunThread(req: RunThreadRequest, cb?: (error: string, rep: RunThreadResponse) => void): Promise<RunThreadResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* 设置付费模式
|
|
77
|
+
*/
|
|
78
|
+
SetPayMode(req: SetPayModeRequest, cb?: (error: string, rep: SetPayModeResponse) => void): Promise<SetPayModeResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
81
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
82
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
83
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
84
|
+
*/
|
|
85
|
+
QueryHunyuanImageChatJob(req: QueryHunyuanImageChatJobRequest, cb?: (error: string, rep: QueryHunyuanImageChatJobResponse) => void): Promise<QueryHunyuanImageChatJobResponse>;
|
|
94
86
|
/**
|
|
95
87
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
96
88
|
|
|
@@ -99,50 +91,66 @@ export declare class Client extends AbstractClient {
|
|
|
99
91
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
100
92
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
101
93
|
*/
|
|
102
|
-
|
|
94
|
+
CreateThread(req?: CreateThreadRequest, cb?: (error: string, rep: CreateThreadResponse) => void): Promise<CreateThreadResponse>;
|
|
103
95
|
/**
|
|
104
|
-
*
|
|
105
|
-
|
|
106
|
-
|
|
96
|
+
* 删除文件。
|
|
97
|
+
*/
|
|
98
|
+
FilesDeletions(req: FilesDeletionsRequest, cb?: (error: string, rep: FilesDeletionsResponse) => void): Promise<FilesDeletionsResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
107
101
|
|
|
108
102
|
1. 本接口暂不支持返回图片内容。
|
|
109
103
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
110
104
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
111
105
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
112
106
|
*/
|
|
113
|
-
|
|
107
|
+
GetThreadMessage(req: GetThreadMessageRequest, cb?: (error: string, rep: GetThreadMessageResponse) => void): Promise<GetThreadMessageResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* 提交混元生3D任务
|
|
110
|
+
*/
|
|
111
|
+
SubmitHunyuanTo3DJob(req: SubmitHunyuanTo3DJobRequest, cb?: (error: string, rep: SubmitHunyuanTo3DJobResponse) => void): Promise<SubmitHunyuanTo3DJobResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* 上传用于不同用途的文件。
|
|
114
|
+
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
115
|
+
*/
|
|
116
|
+
FilesUploads(req: FilesUploadsRequest, cb?: (error: string, rep: FilesUploadsResponse) => void): Promise<FilesUploadsResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* 开通服务
|
|
119
|
+
*/
|
|
120
|
+
ActivateService(req: ActivateServiceRequest, cb?: (error: string, rep: ActivateServiceResponse) => void): Promise<ActivateServiceResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* 文件列表。
|
|
123
|
+
*/
|
|
124
|
+
FilesList(req: FilesListRequest, cb?: (error: string, rep: FilesListResponse) => void): Promise<FilesListResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* 查询混元生3D任务
|
|
127
|
+
*/
|
|
128
|
+
QueryHunyuanTo3DJob(req: QueryHunyuanTo3DJobRequest, cb?: (error: string, rep: QueryHunyuanTo3DJobResponse) => void): Promise<QueryHunyuanTo3DJobResponse>;
|
|
114
129
|
/**
|
|
115
130
|
* 混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
116
131
|
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
117
132
|
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
118
133
|
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
119
134
|
*/
|
|
120
|
-
|
|
135
|
+
SubmitHunyuanImageChatJob(req: SubmitHunyuanImageChatJobRequest, cb?: (error: string, rep: SubmitHunyuanImageChatJobResponse) => void): Promise<SubmitHunyuanImageChatJobResponse>;
|
|
121
136
|
/**
|
|
122
|
-
*
|
|
137
|
+
* 如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
138
|
+
|
|
139
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
123
140
|
|
|
124
141
|
1. 本接口暂不支持返回图片内容。
|
|
125
142
|
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
126
143
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
127
144
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
128
145
|
*/
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* 腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
132
|
-
*/
|
|
133
|
-
GetEmbedding(req: GetEmbeddingRequest, cb?: (error: string, rep: GetEmbeddingResponse) => void): Promise<GetEmbeddingResponse>;
|
|
146
|
+
ChatCompletions(req: ChatCompletionsRequest, cb?: (error: string, rep: ChatCompletionsResponse) => void): Promise<ChatCompletionsResponse>;
|
|
134
147
|
/**
|
|
135
|
-
*
|
|
136
|
-
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
148
|
+
* 该接口用于计算文本对应Token数、字符数。
|
|
137
149
|
*/
|
|
138
|
-
|
|
150
|
+
GetTokenCount(req: GetTokenCountRequest, cb?: (error: string, rep: GetTokenCountResponse) => void): Promise<GetTokenCountResponse>;
|
|
139
151
|
/**
|
|
140
152
|
* 文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
|
|
141
153
|
文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
142
154
|
*/
|
|
143
155
|
TextToImageLite(req: TextToImageLiteRequest, cb?: (error: string, rep: TextToImageLiteResponse) => void): Promise<TextToImageLiteResponse>;
|
|
144
|
-
/**
|
|
145
|
-
* 开通服务
|
|
146
|
-
*/
|
|
147
|
-
ActivateService(req: ActivateServiceRequest, cb?: (error: string, rep: ActivateServiceResponse) => void): Promise<ActivateServiceResponse>;
|
|
148
156
|
}
|