tencentcloud-sdk-nodejs 4.1.236 → 4.1.237
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/iotexplorer/v20190423/iotexplorer_client.js +74 -14
- package/es/services/mqtt/v20240516/mqtt_client.js +11 -5
- package/es/services/tdai/v20250717/tdai_client.js +50 -23
- 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/cvm/v20170312/cvm_models.d.ts +3 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +49 -32
- package/tencentcloud/services/es/v20180416/es_models.d.ts +70 -67
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +98 -16
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +144 -22
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +1330 -172
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +17 -9
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +23 -11
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +114 -37
- package/tencentcloud/services/tdai/v20250717/tdai_client.d.ts +63 -27
- package/tencentcloud/services/tdai/v20250717/tdai_client.js +93 -39
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +454 -16
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +5 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +37 -9
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +508 -526
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAuthorizationPolicyPriorityResponse, ModifyDeviceIdentityResponse, DeleteUserRequest, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, DescribeSharedSubscriptionsRequest, DeleteDeviceIdentityRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DescribeSharedSubscriptionGroupsRequest, DeleteAuthenticatorRequest, DeleteMessageEnrichmentRuleRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DescribeDeviceIdentitiesRequest, CreateMessageEnrichmentRuleResponse, RegisterCaCertificateResponse, KickOutClientResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, CreateDeviceIdentityRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyMessageEnrichmentRuleRequest, ModifyInstanceResponse, AddClientSubscriptionRequest, CreateHttpAuthenticatorResponse, DescribeSharedSubscriptionClientRequest, UpdateMessageEnrichmentRulePriorityResponse, ModifyJWKSAuthenticatorResponse, DeleteDeviceIdentityResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeMessageEnrichmentRulesResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeUserListRequest, DeleteUserResponse, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeSharedSubscriptionClientResponse, DeleteClientSubscriptionRequest, DescribeMessageDetailsResponse, DescribeUserListResponse, DeleteMessageEnrichmentRuleResponse, DeactivateDeviceCertificateResponse, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, AddClientSubscriptionResponse, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateInstanceRequest, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateAuthorizationPolicyResponse, DescribeSharedSubscriptionsResponse, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, UpdateMessageEnrichmentRulePriorityRequest, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeInsPublicEndpointsRequest, CreateDeviceIdentityResponse, KickOutClientRequest, DescribeDeviceIdentityResponse, ModifyTopicResponse, DeleteClientSubscriptionResponse, DescribeCaCertificateRequest, DescribeMessageEnrichmentRulesRequest, UpdateAuthorizationPolicyPriorityRequest, CreateMessageEnrichmentRuleRequest, DescribeSharedSubscriptionGroupsResponse, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeDeviceIdentityRequest,
|
|
3
|
+
import { UpdateAuthorizationPolicyPriorityResponse, ModifyDeviceIdentityResponse, DeleteUserRequest, DescribeSharedSubscriptionGroupsWithSubscriptionsResponse, ModifyJWTAuthenticatorResponse, ModifyAuthorizationPolicyResponse, ActivateDeviceCertificateRequest, CreateInstanceResponse, ApplyRegistrationCodeRequest, DescribeMessageListRequest, DescribeSharedSubscriptionsRequest, DeleteDeviceIdentityRequest, ModifyJWTAuthenticatorRequest, DescribeInsPublicEndpointsResponse, DescribeSharedSubscriptionLagResponse, DeleteTopicRequest, ModifyUserResponse, DescribeCaCertificateResponse, DescribeDeviceCertificatesRequest, DescribeSharedSubscriptionGroupsRequest, DeleteAuthenticatorRequest, DeleteMessageEnrichmentRuleRequest, DeleteAuthorizationPolicyResponse, ModifyJWKSAuthenticatorRequest, DescribeDeviceIdentitiesRequest, CreateMessageEnrichmentRuleResponse, RegisterCaCertificateResponse, KickOutClientResponse, DescribeMessageDetailsRequest, DeleteInstanceRequest, ModifyInstanceRequest, CreateDeviceIdentityRequest, RegisterDeviceCertificateResponse, DescribeClientListResponse, DescribeMessageListResponse, DescribeInstanceListResponse, ApplyRegistrationCodeResponse, ModifyMessageEnrichmentRuleRequest, ModifyInstanceResponse, ModifyX509ConfigResponse, AddClientSubscriptionRequest, CreateHttpAuthenticatorResponse, DescribeSharedSubscriptionClientRequest, UpdateMessageEnrichmentRulePriorityResponse, ModifyJWKSAuthenticatorResponse, DeleteDeviceIdentityResponse, CreateInsPublicEndpointResponse, CreateUserResponse, CreateAuthorizationPolicyRequest, PublishMessageResponse, DescribeMessageEnrichmentRulesResponse, DescribeAuthenticatorResponse, DeactivateCaCertificateResponse, DeleteCaCertificateRequest, DeleteDeviceCertificateRequest, DescribeMessageByTopicRequest, DescribeUserListRequest, DeleteUserResponse, ModifyX509ConfigRequest, ActivateCaCertificateResponse, DeleteDeviceCertificateResponse, DescribeMessageByTopicResponse, DeleteInstanceResponse, DescribeProductSKUListResponse, CreateJWKSAuthenticatorRequest, DescribeTopicResponse, CreateJWKSAuthenticatorResponse, ModifyHttpAuthenticatorResponse, DescribeAuthorizationPoliciesResponse, CreateTopicRequest, DeleteCaCertificateResponse, DescribeSharedSubscriptionClientResponse, DeleteClientSubscriptionRequest, DescribeMessageDetailsResponse, DescribeUserListResponse, DeleteMessageEnrichmentRuleResponse, DeactivateDeviceCertificateResponse, DescribeSharedSubscriptionGroupsWithSubscriptionsRequest, ActivateCaCertificateRequest, ActivateDeviceCertificateResponse, DescribeTopicRequest, PublishMessageRequest, DescribeClientListRequest, DeleteInsPublicEndpointResponse, DescribeInsVPCEndpointsRequest, DescribeTopicListRequest, AddClientSubscriptionResponse, CreateTopicResponse, RevokedDeviceCertificateRequest, ModifyInsPublicEndpointResponse, CreateInstanceRequest, DescribeAuthenticatorRequest, RegisterCaCertificateRequest, CreateAuthorizationPolicyResponse, DescribeSharedSubscriptionsResponse, CreateInsPublicEndpointRequest, RegisterDeviceCertificateRequest, DeactivateDeviceCertificateRequest, DescribeDeviceCertificatesResponse, ModifyTopicRequest, CreateUserRequest, DescribeInstanceResponse, ModifyInstanceCertBindingResponse, UpdateMessageEnrichmentRulePriorityRequest, DescribeInsVPCEndpointsResponse, DescribeDeviceCertificateRequest, ModifyInsPublicEndpointRequest, DeleteInsPublicEndpointRequest, DescribeInsPublicEndpointsRequest, CreateDeviceIdentityResponse, KickOutClientRequest, DescribeDeviceIdentityResponse, ModifyTopicResponse, DeleteClientSubscriptionResponse, DescribeCaCertificateRequest, DescribeMessageEnrichmentRulesRequest, UpdateAuthorizationPolicyPriorityRequest, CreateMessageEnrichmentRuleRequest, DescribeSharedSubscriptionGroupsResponse, CreateJWTAuthenticatorResponse, DeleteAuthorizationPolicyRequest, DescribeDeviceIdentityRequest, DescribeAuthorizationPoliciesRequest, RevokedDeviceCertificateResponse, CreateHttpAuthenticatorRequest, DescribeProductSKUListRequest, DescribeSharedSubscriptionLagRequest, DescribeDeviceCertificateResponse, DescribeInstanceListRequest, DeactivateCaCertificateRequest, ModifyDeviceIdentityRequest, CreateJWTAuthenticatorRequest, DescribeCaCertificatesRequest, ModifyMessageEnrichmentRuleResponse, ModifyAuthorizationPolicyRequest, DescribeTopicListResponse, DeleteTopicResponse, ModifyInstanceCertBindingRequest, ModifyHttpAuthenticatorRequest, DescribeInstanceRequest, DescribeCaCertificatesResponse, ModifyUserRequest, DeleteAuthenticatorResponse, DescribeDeviceIdentitiesResponse } from "./mqtt_models";
|
|
4
4
|
/**
|
|
5
5
|
* mqtt client
|
|
6
6
|
* @class
|
|
@@ -51,6 +51,10 @@ export declare class Client extends AbstractClient {
|
|
|
51
51
|
* 删除设备证书
|
|
52
52
|
*/
|
|
53
53
|
DeleteDeviceCertificate(req: DeleteDeviceCertificateRequest, cb?: (error: string, rep: DeleteDeviceCertificateResponse) => void): Promise<DeleteDeviceCertificateResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 修改集群X509配置
|
|
56
|
+
*/
|
|
57
|
+
ModifyX509Config(req: ModifyX509ConfigRequest, cb?: (error: string, rep: ModifyX509ConfigResponse) => void): Promise<ModifyX509ConfigResponse>;
|
|
54
58
|
/**
|
|
55
59
|
* 删除MQTT实例
|
|
56
60
|
*/
|
|
@@ -59,14 +63,16 @@ export declare class Client extends AbstractClient {
|
|
|
59
63
|
* 根据订阅查询消息
|
|
60
64
|
*/
|
|
61
65
|
DescribeMessageByTopic(req: DescribeMessageByTopicRequest, cb?: (error: string, rep: DescribeMessageByTopicResponse) => void): Promise<DescribeMessageByTopicResponse>;
|
|
62
|
-
/**
|
|
63
|
-
* 修改MQTT JWKS 认证器
|
|
64
|
-
*/
|
|
65
|
-
ModifyJWTAuthenticator(req: ModifyJWTAuthenticatorRequest, cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void): Promise<ModifyJWTAuthenticatorResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* 修改MQTT JWKS 认证器,全量配置修改,需要提交完整的修改后配置。
|
|
68
68
|
*/
|
|
69
69
|
ModifyJWKSAuthenticator(req: ModifyJWKSAuthenticatorRequest, cb?: (error: string, rep: ModifyJWKSAuthenticatorResponse) => void): Promise<ModifyJWKSAuthenticatorResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 查询用户列表,Filter参数使用说明如下:
|
|
72
|
+
|
|
73
|
+
1. Username,用户名称模糊搜索
|
|
74
|
+
*/
|
|
75
|
+
DescribeUserList(req: DescribeUserListRequest, cb?: (error: string, rep: DescribeUserListResponse) => void): Promise<DescribeUserListResponse>;
|
|
70
76
|
/**
|
|
71
77
|
* 创建一条消息属性增强规则
|
|
72
78
|
*/
|
|
@@ -76,15 +82,17 @@ export declare class Client extends AbstractClient {
|
|
|
76
82
|
*/
|
|
77
83
|
DescribeInsPublicEndpoints(req: DescribeInsPublicEndpointsRequest, cb?: (error: string, rep: DescribeInsPublicEndpointsResponse) => void): Promise<DescribeInsPublicEndpointsResponse>;
|
|
78
84
|
/**
|
|
79
|
-
*
|
|
80
|
-
|
|
81
|
-
1. Username,用户名称模糊搜索
|
|
85
|
+
* 查询集群下共享订阅组列表
|
|
82
86
|
*/
|
|
83
|
-
|
|
87
|
+
DescribeSharedSubscriptionGroupsWithSubscriptions(req: DescribeSharedSubscriptionGroupsWithSubscriptionsRequest, cb?: (error: string, rep: DescribeSharedSubscriptionGroupsWithSubscriptionsResponse) => void): Promise<DescribeSharedSubscriptionGroupsWithSubscriptionsResponse>;
|
|
84
88
|
/**
|
|
85
89
|
* 更新MQTT实例公网接入点
|
|
86
90
|
*/
|
|
87
91
|
ModifyInsPublicEndpoint(req: ModifyInsPublicEndpointRequest, cb?: (error: string, rep: ModifyInsPublicEndpointResponse) => void): Promise<ModifyInsPublicEndpointResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* 修改MQTT JWKS 认证器
|
|
94
|
+
*/
|
|
95
|
+
ModifyJWTAuthenticator(req: ModifyJWTAuthenticatorRequest, cb?: (error: string, rep: ModifyJWTAuthenticatorResponse) => void): Promise<ModifyJWTAuthenticatorResponse>;
|
|
88
96
|
/**
|
|
89
97
|
* 查询设备证书详情接口
|
|
90
98
|
*/
|
|
@@ -93,6 +93,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
93
93
|
async DeleteDeviceCertificate(req, cb) {
|
|
94
94
|
return this.request("DeleteDeviceCertificate", req, cb);
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* 修改集群X509配置
|
|
98
|
+
*/
|
|
99
|
+
async ModifyX509Config(req, cb) {
|
|
100
|
+
return this.request("ModifyX509Config", req, cb);
|
|
101
|
+
}
|
|
96
102
|
/**
|
|
97
103
|
* 删除MQTT实例
|
|
98
104
|
*/
|
|
@@ -105,18 +111,20 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
105
111
|
async DescribeMessageByTopic(req, cb) {
|
|
106
112
|
return this.request("DescribeMessageByTopic", req, cb);
|
|
107
113
|
}
|
|
108
|
-
/**
|
|
109
|
-
* 修改MQTT JWKS 认证器
|
|
110
|
-
*/
|
|
111
|
-
async ModifyJWTAuthenticator(req, cb) {
|
|
112
|
-
return this.request("ModifyJWTAuthenticator", req, cb);
|
|
113
|
-
}
|
|
114
114
|
/**
|
|
115
115
|
* 修改MQTT JWKS 认证器,全量配置修改,需要提交完整的修改后配置。
|
|
116
116
|
*/
|
|
117
117
|
async ModifyJWKSAuthenticator(req, cb) {
|
|
118
118
|
return this.request("ModifyJWKSAuthenticator", req, cb);
|
|
119
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 查询用户列表,Filter参数使用说明如下:
|
|
122
|
+
|
|
123
|
+
1. Username,用户名称模糊搜索
|
|
124
|
+
*/
|
|
125
|
+
async DescribeUserList(req, cb) {
|
|
126
|
+
return this.request("DescribeUserList", req, cb);
|
|
127
|
+
}
|
|
120
128
|
/**
|
|
121
129
|
* 创建一条消息属性增强规则
|
|
122
130
|
*/
|
|
@@ -130,12 +138,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
130
138
|
return this.request("DescribeInsPublicEndpoints", req, cb);
|
|
131
139
|
}
|
|
132
140
|
/**
|
|
133
|
-
*
|
|
134
|
-
|
|
135
|
-
1. Username,用户名称模糊搜索
|
|
141
|
+
* 查询集群下共享订阅组列表
|
|
136
142
|
*/
|
|
137
|
-
async
|
|
138
|
-
return this.request("
|
|
143
|
+
async DescribeSharedSubscriptionGroupsWithSubscriptions(req, cb) {
|
|
144
|
+
return this.request("DescribeSharedSubscriptionGroupsWithSubscriptions", req, cb);
|
|
139
145
|
}
|
|
140
146
|
/**
|
|
141
147
|
* 更新MQTT实例公网接入点
|
|
@@ -143,6 +149,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
143
149
|
async ModifyInsPublicEndpoint(req, cb) {
|
|
144
150
|
return this.request("ModifyInsPublicEndpoint", req, cb);
|
|
145
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* 修改MQTT JWKS 认证器
|
|
154
|
+
*/
|
|
155
|
+
async ModifyJWTAuthenticator(req, cb) {
|
|
156
|
+
return this.request("ModifyJWTAuthenticator", req, cb);
|
|
157
|
+
}
|
|
146
158
|
/**
|
|
147
159
|
* 查询设备证书详情接口
|
|
148
160
|
*/
|
|
@@ -57,6 +57,23 @@ export interface DeleteUserRequest {
|
|
|
57
57
|
*/
|
|
58
58
|
Username: string;
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* DescribeSharedSubscriptionGroupsWithSubscriptions返回参数结构体
|
|
62
|
+
*/
|
|
63
|
+
export interface DescribeSharedSubscriptionGroupsWithSubscriptionsResponse {
|
|
64
|
+
/**
|
|
65
|
+
* <p>集群下共享订阅组列表</p>
|
|
66
|
+
*/
|
|
67
|
+
Data?: Array<SharedSubscriptionGroupWithSubscriptions>;
|
|
68
|
+
/**
|
|
69
|
+
* <p>查询总数</p>
|
|
70
|
+
*/
|
|
71
|
+
TotalCount?: number;
|
|
72
|
+
/**
|
|
73
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
74
|
+
*/
|
|
75
|
+
RequestId?: string;
|
|
76
|
+
}
|
|
60
77
|
/**
|
|
61
78
|
* ModifyJWTAuthenticator返回参数结构体
|
|
62
79
|
*/
|
|
@@ -1193,6 +1210,15 @@ export interface ModifyInstanceResponse {
|
|
|
1193
1210
|
*/
|
|
1194
1211
|
RequestId?: string;
|
|
1195
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* ModifyX509Config返回参数结构体
|
|
1215
|
+
*/
|
|
1216
|
+
export interface ModifyX509ConfigResponse {
|
|
1217
|
+
/**
|
|
1218
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1219
|
+
*/
|
|
1220
|
+
RequestId?: string;
|
|
1221
|
+
}
|
|
1196
1222
|
/**
|
|
1197
1223
|
* AddClientSubscription请求参数结构体
|
|
1198
1224
|
*/
|
|
@@ -1550,6 +1576,27 @@ export interface DeleteUserResponse {
|
|
|
1550
1576
|
*/
|
|
1551
1577
|
RequestId?: string;
|
|
1552
1578
|
}
|
|
1579
|
+
/**
|
|
1580
|
+
* ModifyX509Config请求参数结构体
|
|
1581
|
+
*/
|
|
1582
|
+
export interface ModifyX509ConfigRequest {
|
|
1583
|
+
/**
|
|
1584
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
1585
|
+
*/
|
|
1586
|
+
InstanceId: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* <p>证书验证模式</p><p>枚举值:</p><ul><li>TLS: 单向认证</li><li>mTLS: 双向认证</li><li>BYOC: 一机一证</li></ul>
|
|
1589
|
+
*/
|
|
1590
|
+
X509Mode?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* <p>证书注册方式</p><p>枚举值:</p><ul><li>JITP: 自动注册</li><li>API: 手工注册</li></ul>
|
|
1593
|
+
*/
|
|
1594
|
+
DeviceCertificateProvisionType?: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* <p>证书自动后激活状态</p><p>枚举值:</p><ul><li>true: 自动激活</li><li>false: 不激活</li></ul>
|
|
1597
|
+
*/
|
|
1598
|
+
AutomaticActivation?: boolean;
|
|
1599
|
+
}
|
|
1553
1600
|
/**
|
|
1554
1601
|
* ActivateCaCertificate返回参数结构体
|
|
1555
1602
|
*/
|
|
@@ -1895,29 +1942,13 @@ export interface DeactivateDeviceCertificateResponse {
|
|
|
1895
1942
|
RequestId?: string;
|
|
1896
1943
|
}
|
|
1897
1944
|
/**
|
|
1898
|
-
*
|
|
1945
|
+
* DescribeSharedSubscriptionGroupsWithSubscriptions请求参数结构体
|
|
1899
1946
|
*/
|
|
1900
|
-
export interface
|
|
1901
|
-
/**
|
|
1902
|
-
* 用户名
|
|
1903
|
-
*/
|
|
1904
|
-
Username?: string;
|
|
1905
|
-
/**
|
|
1906
|
-
* 密码
|
|
1907
|
-
*/
|
|
1908
|
-
Password?: string;
|
|
1909
|
-
/**
|
|
1910
|
-
* 备注信息
|
|
1911
|
-
*/
|
|
1912
|
-
Remark?: string;
|
|
1947
|
+
export interface DescribeSharedSubscriptionGroupsWithSubscriptionsRequest {
|
|
1913
1948
|
/**
|
|
1914
|
-
*
|
|
1915
|
-
*/
|
|
1916
|
-
CreatedTime?: number;
|
|
1917
|
-
/**
|
|
1918
|
-
* 修改时间,毫秒级时间戳 。
|
|
1949
|
+
* <p>腾讯云MQTT实例ID,从 <a href="https://cloud.tencent.com/document/api/1778/111029">DescribeInstanceList</a>接口或控制台获得。</p>
|
|
1919
1950
|
*/
|
|
1920
|
-
|
|
1951
|
+
InstanceId: string;
|
|
1921
1952
|
}
|
|
1922
1953
|
/**
|
|
1923
1954
|
* ActivateCaCertificate请求参数结构体
|
|
@@ -2731,6 +2762,27 @@ export interface UpdateMessageEnrichmentRulePriorityRequest {
|
|
|
2731
2762
|
*/
|
|
2732
2763
|
Priorities?: Array<MessageEnrichmentRulePriority>;
|
|
2733
2764
|
}
|
|
2765
|
+
/**
|
|
2766
|
+
* 查询共享订阅组(带订阅)
|
|
2767
|
+
*/
|
|
2768
|
+
export interface SharedSubscriptionGroupWithSubscriptions {
|
|
2769
|
+
/**
|
|
2770
|
+
* <p>共享组名</p>
|
|
2771
|
+
*/
|
|
2772
|
+
SharedName?: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* <p>创建时间</p><p>单位:毫秒级时间戳</p>
|
|
2775
|
+
*/
|
|
2776
|
+
CreateTime?: number;
|
|
2777
|
+
/**
|
|
2778
|
+
* <p>更新时间</p><p>单位:毫秒级时间戳</p>
|
|
2779
|
+
*/
|
|
2780
|
+
UpdateTime?: number;
|
|
2781
|
+
/**
|
|
2782
|
+
* <p>订阅表达式</p>
|
|
2783
|
+
*/
|
|
2784
|
+
TopicFilters?: Array<string>;
|
|
2785
|
+
}
|
|
2734
2786
|
/**
|
|
2735
2787
|
* DescribeInsVPCEndpoints返回参数结构体
|
|
2736
2788
|
*/
|
|
@@ -3020,34 +3072,29 @@ export interface DescribeDeviceIdentityRequest {
|
|
|
3020
3072
|
DeviceId: string;
|
|
3021
3073
|
}
|
|
3022
3074
|
/**
|
|
3023
|
-
*
|
|
3075
|
+
* MQTT集群用户信息
|
|
3024
3076
|
*/
|
|
3025
|
-
export interface
|
|
3026
|
-
/**
|
|
3027
|
-
* 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
3028
|
-
*/
|
|
3029
|
-
InstanceId: string;
|
|
3077
|
+
export interface MQTTUserItem {
|
|
3030
3078
|
/**
|
|
3031
|
-
*
|
|
3079
|
+
* 用户名
|
|
3032
3080
|
*/
|
|
3033
|
-
|
|
3081
|
+
Username?: string;
|
|
3034
3082
|
/**
|
|
3035
|
-
*
|
|
3036
|
-
2:DISABLE-不可用
|
|
3083
|
+
* 密码
|
|
3037
3084
|
*/
|
|
3038
|
-
|
|
3085
|
+
Password?: string;
|
|
3039
3086
|
/**
|
|
3040
|
-
*
|
|
3087
|
+
* 备注信息
|
|
3041
3088
|
*/
|
|
3042
|
-
|
|
3089
|
+
Remark?: string;
|
|
3043
3090
|
/**
|
|
3044
|
-
*
|
|
3091
|
+
* 创建时间,毫秒级时间戳 。
|
|
3045
3092
|
*/
|
|
3046
|
-
|
|
3093
|
+
CreatedTime?: number;
|
|
3047
3094
|
/**
|
|
3048
|
-
*
|
|
3095
|
+
* 修改时间,毫秒级时间戳 。
|
|
3049
3096
|
*/
|
|
3050
|
-
|
|
3097
|
+
ModifiedTime?: number;
|
|
3051
3098
|
}
|
|
3052
3099
|
/**
|
|
3053
3100
|
* DescribeAuthorizationPolicies请求参数结构体
|
|
@@ -3255,6 +3302,36 @@ export interface DeactivateCaCertificateRequest {
|
|
|
3255
3302
|
*/
|
|
3256
3303
|
CaSn: string;
|
|
3257
3304
|
}
|
|
3305
|
+
/**
|
|
3306
|
+
* ModifyDeviceIdentity请求参数结构体
|
|
3307
|
+
*/
|
|
3308
|
+
export interface ModifyDeviceIdentityRequest {
|
|
3309
|
+
/**
|
|
3310
|
+
* 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
|
3311
|
+
*/
|
|
3312
|
+
InstanceId: string;
|
|
3313
|
+
/**
|
|
3314
|
+
* 设备id
|
|
3315
|
+
*/
|
|
3316
|
+
DeviceId: string;
|
|
3317
|
+
/**
|
|
3318
|
+
* 1:ENABLED-可用
|
|
3319
|
+
2:DISABLE-不可用
|
|
3320
|
+
*/
|
|
3321
|
+
Status?: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* 主要签名key,需要Base64编码。
|
|
3324
|
+
*/
|
|
3325
|
+
PrimaryKey?: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* 次要签名key,需要Base64编码。
|
|
3328
|
+
*/
|
|
3329
|
+
SecondaryKey?: string;
|
|
3330
|
+
/**
|
|
3331
|
+
* 该设备id的传播属性设置
|
|
3332
|
+
*/
|
|
3333
|
+
PropagatingProperties?: Array<PropagatingProperty>;
|
|
3334
|
+
}
|
|
3258
3335
|
/**
|
|
3259
3336
|
* CreateJWTAuthenticator请求参数结构体
|
|
3260
3337
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RemoveChatRequest, DescribeAgentDutyTaskDetailRequest, DescribeChatDetailRequest, DescribeAgentsRequest, DescribeChatsRequest, ModifyChatTitleResponse, CreateAgentInstanceRequest, DescribeAgentDutyTasksResponse, RecoverAgentInstanceResponse, DescribeAgentInstancesRequest, DescribeAgentsResponse, CreateChatCompletionRequest, DescribeReportUrlResponse, IsolateAgentInstanceResponse, TerminateAgentInstanceResponse, PauseAgentWorkRequest, CreateAgentInstanceResponse, DescribeAgentDutyTasksRequest, DescribeChatDetailResponse, ModifyChatTitleRequest,
|
|
3
|
+
import { RemoveChatRequest, DestroyMemoryPlusSpaceResponse, DescribeMemoryPlusSpacesRequest, DescribeMemoryPlusSpaceResponse, DescribeAgentDutyTaskDetailRequest, DescribeChatDetailRequest, DescribeAgentsRequest, DescribeChatsRequest, ModifyChatTitleResponse, CreateAgentInstanceRequest, DescribeAgentDutyTasksResponse, RecoverAgentInstanceResponse, DescribeMemoryPlusRecordResponse, DescribeAgentInstancesRequest, DestroyMemoryPlusSpaceRequest, DescribeAgentsResponse, CreateChatCompletionRequest, ModifyMemoryPlusSpaceResponse, DescribeServiceAccessKeyRequest, DescribeReportUrlResponse, CreateMemoryPlusSpaceResponse, DescribeMemoryPlusSpaceRequest, IsolateAgentInstanceResponse, CreateMemoryPlusSpaceRequest, TerminateAgentInstanceResponse, PauseAgentWorkRequest, RecoverMemoryPlusSpaceResponse, CreateAgentInstanceResponse, RecoverMemoryPlusSpaceRequest, DescribeAgentDutyTasksRequest, DescribeChatDetailResponse, ModifyChatTitleRequest, DescribeMemoryPlusRecordRequest, ModifyAgentInstanceParametersResponse, IsolateAgentInstanceRequest, DescribeAgentInstanceRequest, IsolateMemoryPlusSpaceResponse, DescribeMemoryPlusSpacesResponse, IsolateMemoryPlusSpaceRequest, ModifyAgentInstanceParametersRequest, ContinueAgentWorkResponse, DescribeServiceAccessKeyResponse, StartAgentTaskResponse, DescribeAgentInstancesResponse, StartAgentTaskRequest, RecoverAgentInstanceRequest, ContinueAgentWorkRequest, DescribeChatsResponse, DescribeAgentInstanceResponse, CreateChatCompletionResponse, DescribeReportUrlRequest, DescribeAgentDutyTaskDetailResponse, ModifyMemoryPlusSpaceRequest, RemoveChatResponse, PauseAgentWorkResponse, TerminateAgentInstanceRequest } from "./tdai_models";
|
|
4
4
|
/**
|
|
5
5
|
* tdai client
|
|
6
6
|
* @class
|
|
@@ -11,14 +11,6 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 本接口(DescribeChatDetail)用于查询对话详情,通常在用户查询会话的历史记录时使用。
|
|
12
12
|
*/
|
|
13
13
|
DescribeChatDetail(req: DescribeChatDetailRequest, cb?: (error: string, rep: DescribeChatDetailResponse) => void): Promise<DescribeChatDetailResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 本接口(RemoveChat)用于删除会话,通常在用户删除会话时使用。
|
|
16
|
-
*/
|
|
17
|
-
RemoveChat(req: RemoveChatRequest, cb?: (error: string, rep: RemoveChatResponse) => void): Promise<RemoveChatResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* 本接口(IsolateAgentInstance)用于隔离智能体实例,通常在用户需要隔离智能体实例时使用。
|
|
20
|
-
*/
|
|
21
|
-
IsolateAgentInstance(req: IsolateAgentInstanceRequest, cb?: (error: string, rep: IsolateAgentInstanceResponse) => void): Promise<IsolateAgentInstanceResponse>;
|
|
22
14
|
/**
|
|
23
15
|
* 本接口(ContinueAgentWork)用于重启智能体实例的值守任务,通常在用户需要重启时使用。
|
|
24
16
|
*/
|
|
@@ -32,55 +24,99 @@ export declare class Client extends AbstractClient {
|
|
|
32
24
|
*/
|
|
33
25
|
PauseAgentWork(req: PauseAgentWorkRequest, cb?: (error: string, rep: PauseAgentWorkResponse) => void): Promise<PauseAgentWorkResponse>;
|
|
34
26
|
/**
|
|
35
|
-
* 本接口(
|
|
36
|
-
*/
|
|
37
|
-
DescribeChats(req: DescribeChatsRequest, cb?: (error: string, rep: DescribeChatsResponse) => void): Promise<DescribeChatsResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* 本接口(DescribeAgentInstance)用于查询智能体实例详情,通常在用户查询所购买的所有智能体实例详情时使用。
|
|
27
|
+
* 本接口(ModifyAgentInstanceParameters)用于修改智能体实例的参数列表,通常在用户需要配置智能体实例时使用。
|
|
40
28
|
*/
|
|
41
|
-
|
|
29
|
+
ModifyAgentInstanceParameters(req: ModifyAgentInstanceParametersRequest, cb?: (error: string, rep: ModifyAgentInstanceParametersResponse) => void): Promise<ModifyAgentInstanceParametersResponse>;
|
|
42
30
|
/**
|
|
43
|
-
*
|
|
31
|
+
* 本接口(DescribeMemoryPlusSpaces)用于查询 Memory正式版实例列表。
|
|
44
32
|
*/
|
|
45
|
-
|
|
33
|
+
DescribeMemoryPlusSpaces(req: DescribeMemoryPlusSpacesRequest, cb?: (error: string, rep: DescribeMemoryPlusSpacesResponse) => void): Promise<DescribeMemoryPlusSpacesResponse>;
|
|
46
34
|
/**
|
|
47
35
|
* 本接口(ModifyChatTitle)用于修改会话标题,通常在用户修改会话标题时使用。
|
|
48
36
|
*/
|
|
49
37
|
ModifyChatTitle(req: ModifyChatTitleRequest, cb?: (error: string, rep: ModifyChatTitleResponse) => void): Promise<ModifyChatTitleResponse>;
|
|
50
38
|
/**
|
|
51
|
-
*
|
|
39
|
+
* 该接口用于启动一个智能体的任务
|
|
52
40
|
*/
|
|
53
|
-
|
|
41
|
+
StartAgentTask(req: StartAgentTaskRequest, cb?: (error: string, rep: StartAgentTaskResponse) => void): Promise<StartAgentTaskResponse>;
|
|
54
42
|
/**
|
|
55
|
-
*
|
|
43
|
+
* 本接口(RecoverMemoryPlusSpace)用于从回收站恢复 Memory 实例。
|
|
56
44
|
*/
|
|
57
|
-
|
|
45
|
+
RecoverMemoryPlusSpace(req: RecoverMemoryPlusSpaceRequest, cb?: (error: string, rep: RecoverMemoryPlusSpaceResponse) => void): Promise<RecoverMemoryPlusSpaceResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 本接口(RemoveChat)用于删除会话,通常在用户删除会话时使用。
|
|
48
|
+
*/
|
|
49
|
+
RemoveChat(req: RemoveChatRequest, cb?: (error: string, rep: RemoveChatResponse) => void): Promise<RemoveChatResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 本接口(IsolateAgentInstance)用于隔离智能体实例,通常在用户需要隔离智能体实例时使用。
|
|
52
|
+
*/
|
|
53
|
+
IsolateAgentInstance(req: IsolateAgentInstanceRequest, cb?: (error: string, rep: IsolateAgentInstanceResponse) => void): Promise<IsolateAgentInstanceResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 本接口(DescribeChats)用于查询对话列表,通常在用户查询会话列表时使用。
|
|
56
|
+
*/
|
|
57
|
+
DescribeChats(req: DescribeChatsRequest, cb?: (error: string, rep: DescribeChatsResponse) => void): Promise<DescribeChatsResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 本接口(DestroyMemoryPlusSpace)用于从回收站彻底销毁 Memory 实例。
|
|
60
|
+
*/
|
|
61
|
+
DestroyMemoryPlusSpace(req: DestroyMemoryPlusSpaceRequest, cb?: (error: string, rep: DestroyMemoryPlusSpaceResponse) => void): Promise<DestroyMemoryPlusSpaceResponse>;
|
|
58
62
|
/**
|
|
59
63
|
* 本接口(TerminateAgentInstance)用于下线智能体实例,通常在用户需要下线智能体实例时使用。
|
|
60
64
|
*/
|
|
61
65
|
TerminateAgentInstance(req: TerminateAgentInstanceRequest, cb?: (error: string, rep: TerminateAgentInstanceResponse) => void): Promise<TerminateAgentInstanceResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* 本接口(DescribeMemoryPlusRecord)用于查询 Memory 实例的记忆数据。
|
|
68
|
+
*/
|
|
69
|
+
DescribeMemoryPlusRecord(req: DescribeMemoryPlusRecordRequest, cb?: (error: string, rep: DescribeMemoryPlusRecordResponse) => void): Promise<DescribeMemoryPlusRecordResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 本接口(DescribeMemoryPlusSpace)用于查询 Memory 正式版实例详情。
|
|
72
|
+
*/
|
|
73
|
+
DescribeMemoryPlusSpace(req: DescribeMemoryPlusSpaceRequest, cb?: (error: string, rep: DescribeMemoryPlusSpaceResponse) => void): Promise<DescribeMemoryPlusSpaceResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 查询智能体值守任务详情
|
|
76
|
+
*/
|
|
77
|
+
DescribeAgentDutyTaskDetail(req: DescribeAgentDutyTaskDetailRequest, cb?: (error: string, rep: DescribeAgentDutyTaskDetailResponse) => void): Promise<DescribeAgentDutyTaskDetailResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 本接口(CreateMemoryPlusSpace)用于创建正式版 Memory 实例。
|
|
80
|
+
*/
|
|
81
|
+
CreateMemoryPlusSpace(req: CreateMemoryPlusSpaceRequest, cb?: (error: string, rep: CreateMemoryPlusSpaceResponse) => void): Promise<CreateMemoryPlusSpaceResponse>;
|
|
62
82
|
/**
|
|
63
83
|
* 本接口(RecoverAgentInstance)用于解隔离智能体实例,通常在用户需要解隔离智能体实例时使用。
|
|
64
84
|
*/
|
|
65
85
|
RecoverAgentInstance(req: RecoverAgentInstanceRequest, cb?: (error: string, rep: RecoverAgentInstanceResponse) => void): Promise<RecoverAgentInstanceResponse>;
|
|
66
86
|
/**
|
|
67
|
-
*
|
|
87
|
+
* 用于创建一次会话的SSE接口
|
|
68
88
|
*/
|
|
69
|
-
|
|
89
|
+
CreateChatCompletion(req: CreateChatCompletionRequest, cb?: (error: string, rep: CreateChatCompletionResponse) => void): Promise<CreateChatCompletionResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 本接口(DescribeAgents)用于查询智能体列表,通常在用户查询所购买的所有智能体列表。
|
|
92
|
+
*/
|
|
93
|
+
DescribeAgents(req: DescribeAgentsRequest, cb?: (error: string, rep: DescribeAgentsResponse) => void): Promise<DescribeAgentsResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 智能体报告地址生成并下载
|
|
96
|
+
*/
|
|
97
|
+
DescribeReportUrl(req?: DescribeReportUrlRequest, cb?: (error: string, rep: DescribeReportUrlResponse) => void): Promise<DescribeReportUrlResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 本接口(DescribeServiceAccessKey)用于查询服务访问密钥。
|
|
100
|
+
*/
|
|
101
|
+
DescribeServiceAccessKey(req: DescribeServiceAccessKeyRequest, cb?: (error: string, rep: DescribeServiceAccessKeyResponse) => void): Promise<DescribeServiceAccessKeyResponse>;
|
|
70
102
|
/**
|
|
71
103
|
* 本接口(DescribeAgentInstances)用于查询智能体实例列表,通常在用户查询所购买的所有智能体列表。
|
|
72
104
|
*/
|
|
73
105
|
DescribeAgentInstances(req: DescribeAgentInstancesRequest, cb?: (error: string, rep: DescribeAgentInstancesResponse) => void): Promise<DescribeAgentInstancesResponse>;
|
|
74
106
|
/**
|
|
75
|
-
*
|
|
107
|
+
* 本接口(DescribeAgentInstance)用于查询智能体实例详情,通常在用户查询所购买的所有智能体实例详情时使用。
|
|
76
108
|
*/
|
|
77
|
-
|
|
109
|
+
DescribeAgentInstance(req: DescribeAgentInstanceRequest, cb?: (error: string, rep: DescribeAgentInstanceResponse) => void): Promise<DescribeAgentInstanceResponse>;
|
|
78
110
|
/**
|
|
79
|
-
* 本接口(
|
|
111
|
+
* 本接口(ModifyMemoryPlusSpace)用于修改正式版 Memory 实例,可修改实例名称与描述。
|
|
80
112
|
*/
|
|
81
|
-
|
|
113
|
+
ModifyMemoryPlusSpace(req: ModifyMemoryPlusSpaceRequest, cb?: (error: string, rep: ModifyMemoryPlusSpaceResponse) => void): Promise<ModifyMemoryPlusSpaceResponse>;
|
|
82
114
|
/**
|
|
83
115
|
* 本接口(CreateAgentInstance)用于创建一个智能体实例,通常在用户购买一个智能体实例时使用。
|
|
84
116
|
*/
|
|
85
117
|
CreateAgentInstance(req: CreateAgentInstanceRequest, cb?: (error: string, rep: CreateAgentInstanceResponse) => void): Promise<CreateAgentInstanceResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* 本接口(IsolateMemoryPlusSpace)用于将正式版 Memory 实例放入回收站隔离。
|
|
120
|
+
*/
|
|
121
|
+
IsolateMemoryPlusSpace(req: IsolateMemoryPlusSpaceRequest, cb?: (error: string, rep: IsolateMemoryPlusSpaceResponse) => void): Promise<IsolateMemoryPlusSpaceResponse>;
|
|
86
122
|
}
|