tencentcloud-sdk-nodejs 4.1.64 → 4.1.65
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 -2
- package/es/services/kms/v20190118/kms_client.js +59 -14
- package/es/services/lke/v20231130/lke_client.js +16 -4
- package/es/services/trocket/v20230308/trocket_client.js +5 -2
- package/es/services/wedata/v20210820/wedata_client.js +10 -4
- package/package.json +1 -1
- package/tencentcloud/common/abstract_client.d.ts +111 -13
- package/tencentcloud/common/abstract_client.js +82 -15
- package/tencentcloud/common/common_client.d.ts +7 -0
- package/tencentcloud/common/common_client.js +7 -0
- package/tencentcloud/common/cvm_role_credential.d.ts +6 -0
- package/tencentcloud/common/cvm_role_credential.js +10 -1
- package/tencentcloud/common/http/http_connection.js +1 -2
- package/tencentcloud/common/interface.d.ts +35 -36
- package/tencentcloud/common/interface.js +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/common/sign.js +1 -1
- package/tencentcloud/common/sse_response_model.d.ts +26 -2
- package/tencentcloud/common/sse_response_model.js +17 -2
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +27 -3
- package/tencentcloud/services/bh/v20230418/bh_client.js +39 -3
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +311 -56
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +25 -19
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +25 -19
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +143 -107
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +44 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +1 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +1 -3
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +93 -6
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5703 -5666
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -2
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +76 -16
- package/tencentcloud/services/kms/v20190118/kms_client.js +112 -22
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +572 -53
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +21 -5
- package/tencentcloud/services/lke/v20231130/lke_client.js +30 -6
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +5094 -4554
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +0 -4
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +4 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +14 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +10 -6
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +12 -6
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +195 -117
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -9
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +15 -7
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +20 -8
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +256 -54
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { GetWsTokenResponse, GetAppSecretRequest, ListSelectDocResponse, DeleteDocRequest, GetAppSecretResponse, UploadAttributeLabelResponse, CreateSharedKnowledgeRequest, CreateCorpResponse, DescribeKnowledgeUsageResponse, DeleteSharedKnowledgeResponse, ListUnsatisfiedReplyRequest, DeleteQARequest, CreateDocCateRequest, ListRejectedQuestionPreviewResponse, CreateCorpRequest, QueryRewriteResponse, DeleteAttributeLabelRequest, DescribeRobotBizIDByAppKeyResponse, ListDocCateRequest, DescribeDocResponse, DeleteVarResponse, ListQACateResponse, CreateSharedKnowledgeResponse, RenameDocRequest, StopWorkflowRunResponse, GenerateQAResponse, SaveDocRequest, ListSharedKnowledgeResponse, DescribeAttributeLabelResponse, ModifyAttributeLabelResponse, RetryDocParseResponse, DeleteAgentResponse, GetEmbeddingResponse, GroupQAResponse, RetryReleaseRequest, ListAppCategoryRequest, ReconstructDocumentResponse, DescribeKnowledgeUsageRequest, DeleteSharedKnowledgeRequest, ModifyAgentRequest, ReconstructDocumentRequest, CreateAttributeLabelRequest, ListAppResponse, ExportQAListRequest, GetDocPreviewResponse, CreateReleaseResponse, QueryRewriteRequest, GenerateQARequest, ListReferShareKnowledgeRequest, ListAttributeLabelRequest, DeleteDocResponse, DescribeSegmentsResponse, UploadAttributeLabelRequest, DescribeAppAgentListRequest, CreateQAResponse, DescribeReleaseInfoResponse, ModifyRejectedQuestionRequest, DescribeWorkflowRunResponse, ListReleaseDocPreviewRequest, ListRejectedQuestionResponse, ListReleaseResponse, ListModelResponse, CreateVarResponse, CreateQACateRequest, DescribeSearchStatsGraphRequest, RateMsgRecordResponse, DescribeReferRequest, ReferShareKnowledgeRequest, GetAppKnowledgeCountRequest, CreateWorkflowRunResponse, GetAnswerTypeDataCountRequest, ListUnsatisfiedReplyResponse, CreateWorkflowRunRequest, DescribeQARequest, ListQARequest, IsTransferIntentResponse, ModifyAppResponse, ListAppCategoryResponse, DescribeStorageCredentialRequest, IgnoreUnsatisfiedReplyRequest, ListReleaseConfigPreviewResponse, DescribeReleaseResponse, CheckAttributeLabelReferRequest, UpdateVarResponse, ConvertDocumentRequest, ListWorkflowRunsRequest, ListReleaseDocPreviewResponse, RetryDocAuditRequest, ExportUnsatisfiedReplyRequest, ExportUnsatisfiedReplyResponse, DescribeReferResponse, ListDocCateResponse, GetReconstructDocumentResultResponse, GetLikeDataCountRequest, ListAttributeLabelResponse, ModifyQAAttrRangeRequest, DeleteRejectedQuestionResponse, ListRejectedQuestionPreviewRequest, ListSelectDocRequest, ModifyAppRequest, DeleteDocCateRequest, DescribeConcurrencyUsageRequest, ListQACateRequest, ListReleaseQAPreviewRequest, DescribeAppResponse, DeleteAppRequest, GetVarListResponse, DescribeCorpResponse, DescribeNodeRunResponse, ModifyQAResponse, DeleteQAResponse, GetMsgRecordRequest, DescribeSearchStatsGraphResponse, ModifyAgentResponse, ModifyQAAttrRangeResponse, StopDocParseResponse, DescribeAppAgentListResponse, DescribeQAResponse, DescribeReleaseInfoRequest, ModifyQARequest, DeleteDocCateResponse, ExportAttributeLabelResponse, DescribeWorkflowRunRequest, DescribeUnsatisfiedReplyContextRequest, StopWorkflowRunRequest, ListReleaseRequest, ListModelRequest, ListDocResponse, CreateAppResponse, CreateQARequest, RateMsgRecordRequest, RenameDocResponse, CreateReleaseRequest, ExportAttributeLabelRequest, ModifyQACateRequest, CreateAgentRequest, UpdateSharedKnowledgeRequest, StopDocParseRequest, DeleteQACateResponse, DescribeDocRequest, DescribeTokenUsageGraphRequest, DescribeConcurrencyUsageGraphRequest, DescribeReleaseRequest, CreateRejectedQuestionRequest, ModifyDocAttrRangeResponse, DescribeCallStatsGraphRequest, GetReconstructDocumentResultRequest, ListQAResponse, VerifyQARequest, ListAppKnowledgeDetailResponse, CreateRejectedQuestionResponse, DescribeTokenUsageGraphResponse, ModifyDocCateRequest, DeleteVarRequest, DeleteRejectedQuestionRequest, GetLikeDataCountResponse, DeleteAttributeLabelResponse, VerifyQAResponse, DescribeSharedKnowledgeRequest, ModifyDocRequest, ListWorkflowRunsResponse, RunReRankRequest, DescribeTokenUsageRequest, CreateAttributeLabelResponse, CreateAgentResponse, IsTransferIntentRequest, ModifyRejectedQuestionResponse, ModifyDocCateResponse, DescribeCallStatsGraphResponse, DescribeStorageCredentialResponse, CheckAttributeLabelExistResponse, GetTaskStatusRequest, DescribeRobotBizIDByAppKeyRequest, CreateVarRequest, ListRejectedQuestionRequest, ModifyDocResponse, UpdateSharedKnowledgeResponse, DeleteAgentRequest, CheckAttributeLabelExistRequest, ListAppRequest, ListReferShareKnowledgeResponse, CreateDocCateResponse, ExportQAListResponse, CreateQACateResponse, ListDocRequest, GetAnswerTypeDataCountResponse, GetMsgRecordResponse, ReferShareKnowledgeResponse, GetDocPreviewRequest, DescribeCorpRequest, DescribeAttributeLabelRequest, ListSharedKnowledgeRequest, RetryDocParseRequest, GroupDocRequest, GroupQARequest, ModifyAttributeLabelRequest, ListUsageCallDetailRequest, GetTaskStatusResponse, ConvertDocumentResponse, DescribeKnowledgeUsagePieGraphResponse, GetVarListRequest, ListReleaseQAPreviewResponse, CreateAppRequest, DeleteAppResponse, DescribeUnsatisfiedReplyContextResponse, ModifyDocAttrRangeRequest, DescribeKnowledgeUsagePieGraphRequest, GetEmbeddingRequest, DescribeAppRequest, DescribeNodeRunRequest, DescribeConcurrencyUsageGraphResponse, RetryDocAuditResponse, RetryReleaseResponse, DescribeSharedKnowledgeResponse, RunReRankResponse, DescribeConcurrencyUsageResponse, UpdateVarRequest, DeleteQACateRequest, GetWsTokenRequest, DescribeTokenUsageResponse, ListReleaseConfigPreviewRequest, GroupDocResponse, ListUsageCallDetailResponse, GetAppKnowledgeCountResponse, ListAppKnowledgeDetailRequest, SaveDocResponse, ModifyQACateResponse, CheckAttributeLabelReferResponse, DescribeSegmentsRequest, IgnoreUnsatisfiedReplyResponse } from "./lke_models";
|
|
4
4
|
/**
|
|
5
5
|
* lke client
|
|
6
6
|
* @class
|
|
@@ -51,6 +51,10 @@ export declare class Client extends AbstractClient {
|
|
|
51
51
|
* 此接口用来停止正在进行的工作流异步运行实例。
|
|
52
52
|
*/
|
|
53
53
|
StopWorkflowRun(req: StopWorkflowRunRequest, cb?: (error: string, rep: StopWorkflowRunResponse) => void): Promise<StopWorkflowRunResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 修改Agent信息
|
|
56
|
+
*/
|
|
57
|
+
ModifyAgent(req: ModifyAgentRequest, cb?: (error: string, rep: ModifyAgentResponse) => void): Promise<ModifyAgentResponse>;
|
|
54
58
|
/**
|
|
55
59
|
* 创建标签
|
|
56
60
|
*/
|
|
@@ -122,9 +126,9 @@ export declare class Client extends AbstractClient {
|
|
|
122
126
|
*/
|
|
123
127
|
DescribeSearchStatsGraph(req: DescribeSearchStatsGraphRequest, cb?: (error: string, rep: DescribeSearchStatsGraphResponse) => void): Promise<DescribeSearchStatsGraphResponse>;
|
|
124
128
|
/**
|
|
125
|
-
*
|
|
129
|
+
* Doc分类删除
|
|
126
130
|
*/
|
|
127
|
-
|
|
131
|
+
DeleteDocCate(req: DeleteDocCateRequest, cb?: (error: string, rep: DeleteDocCateResponse) => void): Promise<DeleteDocCateResponse>;
|
|
128
132
|
/**
|
|
129
133
|
* 校验问答
|
|
130
134
|
*/
|
|
@@ -202,9 +206,9 @@ export declare class Client extends AbstractClient {
|
|
|
202
206
|
*/
|
|
203
207
|
DescribeNodeRun(req: DescribeNodeRunRequest, cb?: (error: string, rep: DescribeNodeRunResponse) => void): Promise<DescribeNodeRunResponse>;
|
|
204
208
|
/**
|
|
205
|
-
*
|
|
209
|
+
* 此接口可查询已创建的所有工作流异步运行实例。
|
|
206
210
|
*/
|
|
207
|
-
|
|
211
|
+
ListWorkflowRuns(req: ListWorkflowRunsRequest, cb?: (error: string, rep: ListWorkflowRunsResponse) => void): Promise<ListWorkflowRunsResponse>;
|
|
208
212
|
/**
|
|
209
213
|
* 获取QA分类
|
|
210
214
|
*/
|
|
@@ -225,6 +229,10 @@ export declare class Client extends AbstractClient {
|
|
|
225
229
|
* 修改文档
|
|
226
230
|
*/
|
|
227
231
|
ModifyDoc(req: ModifyDocRequest, cb?: (error: string, rep: ModifyDocResponse) => void): Promise<ModifyDocResponse>;
|
|
232
|
+
/**
|
|
233
|
+
* 删除Agent
|
|
234
|
+
*/
|
|
235
|
+
DeleteAgent(req: DeleteAgentRequest, cb?: (error: string, rep: DeleteAgentResponse) => void): Promise<DeleteAgentResponse>;
|
|
228
236
|
/**
|
|
229
237
|
* 创建QA分类
|
|
230
238
|
*/
|
|
@@ -282,6 +290,10 @@ export declare class Client extends AbstractClient {
|
|
|
282
290
|
* 导出QA列表
|
|
283
291
|
*/
|
|
284
292
|
ExportQAList(req: ExportQAListRequest, cb?: (error: string, rep: ExportQAListResponse) => void): Promise<ExportQAListResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* 你创建一个Agent
|
|
295
|
+
*/
|
|
296
|
+
CreateAgent(req: CreateAgentRequest, cb?: (error: string, rep: CreateAgentResponse) => void): Promise<CreateAgentResponse>;
|
|
285
297
|
/**
|
|
286
298
|
* 上传导入属性标签
|
|
287
299
|
*/
|
|
@@ -394,6 +406,10 @@ export declare class Client extends AbstractClient {
|
|
|
394
406
|
* 创建了工作流的异步运行实例后,通过本接口可以查询整体的运行详情。
|
|
395
407
|
*/
|
|
396
408
|
DescribeWorkflowRun(req: DescribeWorkflowRunRequest, cb?: (error: string, rep: DescribeWorkflowRunResponse) => void): Promise<DescribeWorkflowRunResponse>;
|
|
409
|
+
/**
|
|
410
|
+
* 查询指定应用下的Agent列表
|
|
411
|
+
*/
|
|
412
|
+
DescribeAppAgentList(req: DescribeAppAgentListRequest, cb?: (error: string, rep: DescribeAppAgentListResponse) => void): Promise<DescribeAppAgentListResponse>;
|
|
397
413
|
/**
|
|
398
414
|
* 文档解析重试
|
|
399
415
|
*/
|
|
@@ -93,6 +93,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
93
93
|
async StopWorkflowRun(req, cb) {
|
|
94
94
|
return this.request("StopWorkflowRun", req, cb);
|
|
95
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* 修改Agent信息
|
|
98
|
+
*/
|
|
99
|
+
async ModifyAgent(req, cb) {
|
|
100
|
+
return this.request("ModifyAgent", req, cb);
|
|
101
|
+
}
|
|
96
102
|
/**
|
|
97
103
|
* 创建标签
|
|
98
104
|
*/
|
|
@@ -198,10 +204,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
198
204
|
return this.request("DescribeSearchStatsGraph", req, cb);
|
|
199
205
|
}
|
|
200
206
|
/**
|
|
201
|
-
*
|
|
207
|
+
* Doc分类删除
|
|
202
208
|
*/
|
|
203
|
-
async
|
|
204
|
-
return this.request("
|
|
209
|
+
async DeleteDocCate(req, cb) {
|
|
210
|
+
return this.request("DeleteDocCate", req, cb);
|
|
205
211
|
}
|
|
206
212
|
/**
|
|
207
213
|
* 校验问答
|
|
@@ -318,10 +324,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
318
324
|
return this.request("DescribeNodeRun", req, cb);
|
|
319
325
|
}
|
|
320
326
|
/**
|
|
321
|
-
*
|
|
327
|
+
* 此接口可查询已创建的所有工作流异步运行实例。
|
|
322
328
|
*/
|
|
323
|
-
async
|
|
324
|
-
return this.request("
|
|
329
|
+
async ListWorkflowRuns(req, cb) {
|
|
330
|
+
return this.request("ListWorkflowRuns", req, cb);
|
|
325
331
|
}
|
|
326
332
|
/**
|
|
327
333
|
* 获取QA分类
|
|
@@ -353,6 +359,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
353
359
|
async ModifyDoc(req, cb) {
|
|
354
360
|
return this.request("ModifyDoc", req, cb);
|
|
355
361
|
}
|
|
362
|
+
/**
|
|
363
|
+
* 删除Agent
|
|
364
|
+
*/
|
|
365
|
+
async DeleteAgent(req, cb) {
|
|
366
|
+
return this.request("DeleteAgent", req, cb);
|
|
367
|
+
}
|
|
356
368
|
/**
|
|
357
369
|
* 创建QA分类
|
|
358
370
|
*/
|
|
@@ -438,6 +450,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
438
450
|
async ExportQAList(req, cb) {
|
|
439
451
|
return this.request("ExportQAList", req, cb);
|
|
440
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* 你创建一个Agent
|
|
455
|
+
*/
|
|
456
|
+
async CreateAgent(req, cb) {
|
|
457
|
+
return this.request("CreateAgent", req, cb);
|
|
458
|
+
}
|
|
441
459
|
/**
|
|
442
460
|
* 上传导入属性标签
|
|
443
461
|
*/
|
|
@@ -602,6 +620,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
602
620
|
async DescribeWorkflowRun(req, cb) {
|
|
603
621
|
return this.request("DescribeWorkflowRun", req, cb);
|
|
604
622
|
}
|
|
623
|
+
/**
|
|
624
|
+
* 查询指定应用下的Agent列表
|
|
625
|
+
*/
|
|
626
|
+
async DescribeAppAgentList(req, cb) {
|
|
627
|
+
return this.request("DescribeAppAgentList", req, cb);
|
|
628
|
+
}
|
|
605
629
|
/**
|
|
606
630
|
* 文档解析重试
|
|
607
631
|
*/
|