tencentcloud-sdk-nodejs 4.0.1038 → 4.0.1039
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/package.json +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +0 -24
- package/src/services/cdwch/v20200915/cdwch_models.ts +34 -10
- package/src/services/clb/v20180317/clb_models.ts +4 -0
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +16 -9
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -5
- package/src/services/lke/v20231130/lke_models.ts +33 -3
- package/src/services/lkeap/v20240522/lkeap_client.ts +2 -5
- package/src/services/lkeap/v20240522/lkeap_models.ts +6 -1
- package/src/services/lowcode/v20210108/lowcode_client.ts +128 -4
- package/src/services/lowcode/v20210108/lowcode_models.ts +916 -97
- package/src/services/monitor/v20180724/monitor_client.ts +13 -0
- package/src/services/monitor/v20180724/monitor_models.ts +90 -0
- package/src/services/rce/v20201103/rce_models.ts +0 -11
- package/src/services/redis/v20180412/redis_models.ts +0 -55
- package/src/services/tdid/v20210519/tdid_client.ts +8 -4
- package/src/services/tdid/v20210519/tdid_models.ts +49 -25
- package/src/services/tsf/v20180326/tsf_models.ts +0 -44
- package/src/services/waf/v20180125/waf_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +0 -24
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +34 -10
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +16 -9
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -5
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +33 -3
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +2 -5
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +2 -5
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +6 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +37 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +54 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +882 -97
- 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 +87 -0
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +0 -11
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +0 -55
- package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +5 -2
- package/tencentcloud/services/tdid/v20210519/tdid_client.js +4 -1
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +46 -23
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +0 -44
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
|
@@ -1551,45 +1551,69 @@ export interface InstanceNode {
|
|
|
1551
1551
|
/**
|
|
1552
1552
|
* IP地址
|
|
1553
1553
|
*/
|
|
1554
|
-
Ip
|
|
1554
|
+
Ip?: string;
|
|
1555
1555
|
/**
|
|
1556
1556
|
* 机型,如 S1
|
|
1557
1557
|
*/
|
|
1558
|
-
Spec
|
|
1558
|
+
Spec?: string;
|
|
1559
1559
|
/**
|
|
1560
1560
|
* cpu核数
|
|
1561
1561
|
*/
|
|
1562
|
-
Core
|
|
1562
|
+
Core?: number;
|
|
1563
1563
|
/**
|
|
1564
1564
|
* 内存大小
|
|
1565
1565
|
*/
|
|
1566
|
-
Memory
|
|
1566
|
+
Memory?: number;
|
|
1567
1567
|
/**
|
|
1568
1568
|
* 磁盘类型
|
|
1569
1569
|
*/
|
|
1570
|
-
DiskType
|
|
1570
|
+
DiskType?: string;
|
|
1571
1571
|
/**
|
|
1572
1572
|
* 磁盘大小
|
|
1573
1573
|
*/
|
|
1574
|
-
DiskSize
|
|
1574
|
+
DiskSize?: number;
|
|
1575
1575
|
/**
|
|
1576
1576
|
* 所属clickhouse cluster名称
|
|
1577
1577
|
*/
|
|
1578
|
-
Cluster
|
|
1578
|
+
Cluster?: string;
|
|
1579
1579
|
/**
|
|
1580
1580
|
* 节点所属的分组信息
|
|
1581
1581
|
*/
|
|
1582
|
-
NodeGroups
|
|
1582
|
+
NodeGroups?: Array<GroupInfo>;
|
|
1583
1583
|
/**
|
|
1584
1584
|
* VPC IP
|
|
1585
1585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1586
1586
|
*/
|
|
1587
|
-
Rip
|
|
1587
|
+
Rip?: string;
|
|
1588
1588
|
/**
|
|
1589
1589
|
* ture的时候表示该节点上部署了chproxy进程
|
|
1590
1590
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1591
1591
|
*/
|
|
1592
|
-
IsCHProxy
|
|
1592
|
+
IsCHProxy?: boolean;
|
|
1593
|
+
/**
|
|
1594
|
+
* 节点状态
|
|
1595
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1596
|
+
*/
|
|
1597
|
+
Status?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* 节点uuid
|
|
1600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1601
|
+
*/
|
|
1602
|
+
UUID?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* 区
|
|
1605
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1606
|
+
*/
|
|
1607
|
+
Zone?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* 区描述
|
|
1610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1611
|
+
*/
|
|
1612
|
+
ZoneDesc?: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* 真实资源id
|
|
1615
|
+
*/
|
|
1616
|
+
RealResourceId?: string;
|
|
1593
1617
|
}
|
|
1594
1618
|
/**
|
|
1595
1619
|
* 集群配置信息
|
|
@@ -3601,6 +3601,10 @@ export interface CreateTargetGroupRequest {
|
|
|
3601
3601
|
* 目标组绑定的后端服务器
|
|
3602
3602
|
*/
|
|
3603
3603
|
TargetGroupInstances?: Array<TargetGroupInstance>;
|
|
3604
|
+
/**
|
|
3605
|
+
* 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), 默认为v1(旧版目标组)。
|
|
3606
|
+
*/
|
|
3607
|
+
Type?: string;
|
|
3604
3608
|
/**
|
|
3605
3609
|
* 标签。
|
|
3606
3610
|
*/
|
|
@@ -1152,7 +1152,7 @@ export interface CompareObject {
|
|
|
1152
1152
|
*/
|
|
1153
1153
|
ObjectItems?: Array<CompareObjectItem>;
|
|
1154
1154
|
/**
|
|
1155
|
-
* 高级对象类型,目前只支持mongodb链路。如
|
|
1155
|
+
* 高级对象类型,目前只支持mongodb链路。如index(索引),shardkey(片键),schema(库表)
|
|
1156
1156
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1157
1157
|
*/
|
|
1158
1158
|
AdvancedObjects?: Array<string>;
|
|
@@ -1498,17 +1498,18 @@ export interface DetectInfoBestFrame {
|
|
|
1498
1498
|
*/
|
|
1499
1499
|
export interface GetWeChatBillDetailsResponse {
|
|
1500
1500
|
/**
|
|
1501
|
-
*
|
|
1501
|
+
* 是否还有下一页。
|
|
1502
|
+
- 该字段为true时,需要将NextCursor的值作为入参Cursor继续调用本接口。
|
|
1502
1503
|
*/
|
|
1503
|
-
HasNextPage
|
|
1504
|
+
HasNextPage?: boolean;
|
|
1504
1505
|
/**
|
|
1505
|
-
*
|
|
1506
|
+
* 下一页的游标,用于分页。
|
|
1506
1507
|
*/
|
|
1507
|
-
NextCursor
|
|
1508
|
+
NextCursor?: number;
|
|
1508
1509
|
/**
|
|
1509
|
-
*
|
|
1510
|
+
* 数据。
|
|
1510
1511
|
*/
|
|
1511
|
-
WeChatBillDetails
|
|
1512
|
+
WeChatBillDetails?: Array<WeChatBillDetail>;
|
|
1512
1513
|
/**
|
|
1513
1514
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1514
1515
|
*/
|
|
@@ -2086,15 +2087,21 @@ export interface MinorsVerificationResponse {
|
|
|
2086
2087
|
*/
|
|
2087
2088
|
export interface GetWeChatBillDetailsRequest {
|
|
2088
2089
|
/**
|
|
2089
|
-
* 拉取的日期(YYYY-MM-DD
|
|
2090
|
+
* 拉取的日期(YYYY-MM-DD)。
|
|
2091
|
+
- 最大可追溯到365天前。
|
|
2092
|
+
- 当天6点后才能拉取前一天的数据。
|
|
2090
2093
|
*/
|
|
2091
2094
|
Date: string;
|
|
2092
2095
|
/**
|
|
2093
|
-
*
|
|
2096
|
+
* 游标。
|
|
2097
|
+
- 用于分页。
|
|
2098
|
+
- 取第一页时传0,取后续页面时,传入本接口响应中返回的NextCursor字段的值。
|
|
2094
2099
|
*/
|
|
2095
2100
|
Cursor: number;
|
|
2096
2101
|
/**
|
|
2097
|
-
* 需要拉取账单详情业务对应的RuleId
|
|
2102
|
+
* 需要拉取账单详情业务对应的RuleId。
|
|
2103
|
+
- 不传会返回所有RuleId数据。
|
|
2104
|
+
- 默认为空字符串。
|
|
2098
2105
|
*/
|
|
2099
2106
|
RuleId?: string;
|
|
2100
2107
|
}
|
|
@@ -3,11 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface ChatCompletionsRequest {
|
|
5
5
|
/**
|
|
6
|
-
* 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision
|
|
7
|
-
各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。
|
|
8
|
-
|
|
9
|
-
注意:
|
|
10
|
-
不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
|
6
|
+
* 模型名称,可选值包括 hunyuan-lite、hunyuan-standard、hunyuan-standard-256K、hunyuan-code、hunyuan-role、hunyuan-functioncall、hunyuan-vision、hunyuan-turbo、hunyuan-turbo-latest、hunyuan-turbo-20241223、hunyuan-turbo-20241120、hunyuan-large、hunyuan-large-longcontext、hunyuan-turbo-vision、hunyuan-standard-vision、hunyuan-lite-vision、hunyuan-turbos-20250226、hunyuan-turbos-latest。各模型介绍请阅读 [产品概述](https://cloud.tencent.com/document/product/1729/104753) 中的说明。注意:不同的模型计费不同,请根据 [购买指南](https://cloud.tencent.com/document/product/1729/97731) 按需调用。
|
|
11
7
|
*/
|
|
12
8
|
Model: string;
|
|
13
9
|
/**
|
|
@@ -4230,6 +4230,16 @@ export interface ListDocItem {
|
|
|
4230
4230
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4231
4231
|
*/
|
|
4232
4232
|
IsAllowRetry?: boolean;
|
|
4233
|
+
/**
|
|
4234
|
+
* 0:文档比对处理 1:文档生成问答
|
|
4235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4236
|
+
*/
|
|
4237
|
+
Processing?: Array<number | bigint>;
|
|
4238
|
+
/**
|
|
4239
|
+
* 文档创建落库时间
|
|
4240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4241
|
+
*/
|
|
4242
|
+
CreateTime?: string;
|
|
4233
4243
|
}
|
|
4234
4244
|
/**
|
|
4235
4245
|
* ParseDoc请求参数结构体
|
|
@@ -4333,6 +4343,11 @@ export interface AppModel {
|
|
|
4333
4343
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4334
4344
|
*/
|
|
4335
4345
|
TopP?: string;
|
|
4346
|
+
/**
|
|
4347
|
+
* 模型资源状态 1:资源可用;2:资源已用尽
|
|
4348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4349
|
+
*/
|
|
4350
|
+
ResourceStatus?: number;
|
|
4336
4351
|
}
|
|
4337
4352
|
/**
|
|
4338
4353
|
* 计费统计信息
|
|
@@ -6474,8 +6489,7 @@ export interface DescribeCorpResponse {
|
|
|
6474
6489
|
*/
|
|
6475
6490
|
CorpBizId?: string;
|
|
6476
6491
|
/**
|
|
6477
|
-
*
|
|
6478
|
-
|
|
6492
|
+
* 应用配额
|
|
6479
6493
|
*/
|
|
6480
6494
|
RobotQuota?: number;
|
|
6481
6495
|
/**
|
|
@@ -6483,6 +6497,22 @@ export interface DescribeCorpResponse {
|
|
|
6483
6497
|
|
|
6484
6498
|
*/
|
|
6485
6499
|
FullName?: string;
|
|
6500
|
+
/**
|
|
6501
|
+
* 是否试用
|
|
6502
|
+
*/
|
|
6503
|
+
IsTrial?: boolean;
|
|
6504
|
+
/**
|
|
6505
|
+
* 是否试用过期
|
|
6506
|
+
*/
|
|
6507
|
+
IsTrialExpired?: boolean;
|
|
6508
|
+
/**
|
|
6509
|
+
* 可用应用数量
|
|
6510
|
+
*/
|
|
6511
|
+
AvailableAppQuota?: number;
|
|
6512
|
+
/**
|
|
6513
|
+
* 是否支持自定义模型配置
|
|
6514
|
+
*/
|
|
6515
|
+
IsSupportCustomModel?: boolean;
|
|
6486
6516
|
/**
|
|
6487
6517
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6488
6518
|
*/
|
|
@@ -6856,7 +6886,7 @@ export interface CreateQACateRequest {
|
|
|
6856
6886
|
*/
|
|
6857
6887
|
BotBizId: string;
|
|
6858
6888
|
/**
|
|
6859
|
-
* 父级业务ID
|
|
6889
|
+
* 父级业务ID,创建顶级分类时传字符串"0"
|
|
6860
6890
|
*/
|
|
6861
6891
|
ParentBizId: string;
|
|
6862
6892
|
/**
|
|
@@ -71,7 +71,7 @@ export declare class Client extends AbstractClient {
|
|
|
71
71
|
CreateAttributeLabel(req: CreateAttributeLabelRequest, cb?: (error: string, rep: CreateAttributeLabelResponse) => void): Promise<CreateAttributeLabelResponse>;
|
|
72
72
|
/**
|
|
73
73
|
* 本接口为异步接口的发起请求接口,用于发起文档解析任务。
|
|
74
|
-
文档解析支持将图片或PDF
|
|
74
|
+
文档解析支持将图片或PDF、DOCX、PPTX、EXCEL等文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。具体支持文件类型请查看下方输入参数列表。
|
|
75
75
|
|
|
76
76
|
体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
|
|
77
77
|
*/
|
|
@@ -132,11 +132,8 @@ export declare class Client extends AbstractClient {
|
|
|
132
132
|
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
133
133
|
|
|
134
134
|
### 计费说明
|
|
135
|
-
- 限时免费
|
|
136
|
-
|
|
137
|
-
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价,单账号限制接口并发上限为5。
|
|
138
|
-
- 标准计费(2025年2月26日起生效)
|
|
139
135
|
|
|
136
|
+
- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。
|
|
140
137
|

|
|
141
138
|
|
|
142
139
|
### Openai兼容协议接口
|
|
@@ -121,7 +121,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
123
|
* 本接口为异步接口的发起请求接口,用于发起文档解析任务。
|
|
124
|
-
文档解析支持将图片或PDF
|
|
124
|
+
文档解析支持将图片或PDF、DOCX、PPTX、EXCEL等文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。具体支持文件类型请查看下方输入参数列表。
|
|
125
125
|
|
|
126
126
|
体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
|
|
127
127
|
*/
|
|
@@ -202,11 +202,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
202
202
|
- 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。
|
|
203
203
|
|
|
204
204
|
### 计费说明
|
|
205
|
-
- 限时免费
|
|
206
|
-
|
|
207
|
-
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价,单账号限制接口并发上限为5。
|
|
208
|
-
- 标准计费(2025年2月26日起生效)
|
|
209
205
|
|
|
206
|
+
- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。
|
|
210
207
|

|
|
211
208
|
|
|
212
209
|
### Openai兼容协议接口
|
|
@@ -524,7 +524,12 @@ export interface ModifyAttributeLabelRequest {
|
|
|
524
524
|
*/
|
|
525
525
|
export interface GetReconstructDocumentResultResponse {
|
|
526
526
|
/**
|
|
527
|
-
*
|
|
527
|
+
* 任务状态。
|
|
528
|
+
- `Success`:执行完成
|
|
529
|
+
- `Processing`:执行中
|
|
530
|
+
- `Pause`: 暂停
|
|
531
|
+
- `Failed`:执行失败
|
|
532
|
+
- `WaitExecute`:等待执行
|
|
528
533
|
*/
|
|
529
534
|
Status?: string;
|
|
530
535
|
/**
|
|
@@ -1,14 +1,50 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeDataSourceListRequest, DescribeDataSourceListResponse } from "./lowcode_models";
|
|
3
|
+
import { DescribeKnowledgeSetListRequest, UploadKnowledgeDocumentSetRequest, UpdateKnowledgeSetResponse, SearchDocListRequest, DescribeKnowledgeDocumentSetListResponse, SearchDocListResponse, DeleteKnowledgeSetResponse, UpdateKnowledgeSetRequest, DescribeKnowledgeDocumentSetDetailRequest, CreateKnowledgeSetResponse, DeleteKnowledgeSetRequest, DescribeKnowledgeDocumentSetListRequest, DescribeDataSourceListRequest, DeleteKnowledgeDocumentSetRequest, DescribeKnowledgeSetListResponse, DescribeDataSourceListResponse, UploadKnowledgeDocumentSetResponse, DeleteKnowledgeDocumentSetResponse, CreateKnowledgeSetRequest, DescribeKnowledgeDocumentSetDetailResponse } from "./lowcode_models";
|
|
4
4
|
/**
|
|
5
5
|
* lowcode client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 创建知识库
|
|
12
|
+
*/
|
|
13
|
+
CreateKnowledgeSet(req: CreateKnowledgeSetRequest, cb?: (error: string, rep: CreateKnowledgeSetResponse) => void): Promise<CreateKnowledgeSetResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 更新知识库
|
|
16
|
+
*/
|
|
17
|
+
UpdateKnowledgeSet(req: UpdateKnowledgeSetRequest, cb?: (error: string, rep: UpdateKnowledgeSetResponse) => void): Promise<UpdateKnowledgeSetResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 知识库文档搜索接口
|
|
20
|
+
*/
|
|
21
|
+
SearchDocList(req: SearchDocListRequest, cb?: (error: string, rep: SearchDocListResponse) => void): Promise<SearchDocListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 查询知识库
|
|
24
|
+
*/
|
|
25
|
+
DescribeKnowledgeSetList(req: DescribeKnowledgeSetListRequest, cb?: (error: string, rep: DescribeKnowledgeSetListResponse) => void): Promise<DescribeKnowledgeSetListResponse>;
|
|
10
26
|
/**
|
|
11
27
|
* 获取数据源详情列表
|
|
12
28
|
*/
|
|
13
29
|
DescribeDataSourceList(req: DescribeDataSourceListRequest, cb?: (error: string, rep: DescribeDataSourceListResponse) => void): Promise<DescribeDataSourceListResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 删除知识库下文档
|
|
32
|
+
*/
|
|
33
|
+
DeleteKnowledgeDocumentSet(req: DeleteKnowledgeDocumentSetRequest, cb?: (error: string, rep: DeleteKnowledgeDocumentSetResponse) => void): Promise<DeleteKnowledgeDocumentSetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 获取知识库下文档详情
|
|
36
|
+
*/
|
|
37
|
+
DescribeKnowledgeDocumentSetDetail(req: DescribeKnowledgeDocumentSetDetailRequest, cb?: (error: string, rep: DescribeKnowledgeDocumentSetDetailResponse) => void): Promise<DescribeKnowledgeDocumentSetDetailResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 更新知识库
|
|
40
|
+
*/
|
|
41
|
+
UploadKnowledgeDocumentSet(req: UploadKnowledgeDocumentSetRequest, cb?: (error: string, rep: UploadKnowledgeDocumentSetResponse) => void): Promise<UploadKnowledgeDocumentSetResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 查询知识库下文件集合
|
|
44
|
+
*/
|
|
45
|
+
DescribeKnowledgeDocumentSetList(req: DescribeKnowledgeDocumentSetListRequest, cb?: (error: string, rep: DescribeKnowledgeDocumentSetListResponse) => void): Promise<DescribeKnowledgeDocumentSetListResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 删除知识库
|
|
48
|
+
*/
|
|
49
|
+
DeleteKnowledgeSet(req: DeleteKnowledgeSetRequest, cb?: (error: string, rep: DeleteKnowledgeSetResponse) => void): Promise<DeleteKnowledgeSetResponse>;
|
|
14
50
|
}
|
|
@@ -27,11 +27,65 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("lowcode.tencentcloudapi.com", "2021-01-08", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 创建知识库
|
|
32
|
+
*/
|
|
33
|
+
async CreateKnowledgeSet(req, cb) {
|
|
34
|
+
return this.request("CreateKnowledgeSet", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 更新知识库
|
|
38
|
+
*/
|
|
39
|
+
async UpdateKnowledgeSet(req, cb) {
|
|
40
|
+
return this.request("UpdateKnowledgeSet", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 知识库文档搜索接口
|
|
44
|
+
*/
|
|
45
|
+
async SearchDocList(req, cb) {
|
|
46
|
+
return this.request("SearchDocList", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 查询知识库
|
|
50
|
+
*/
|
|
51
|
+
async DescribeKnowledgeSetList(req, cb) {
|
|
52
|
+
return this.request("DescribeKnowledgeSetList", req, cb);
|
|
53
|
+
}
|
|
30
54
|
/**
|
|
31
55
|
* 获取数据源详情列表
|
|
32
56
|
*/
|
|
33
57
|
async DescribeDataSourceList(req, cb) {
|
|
34
58
|
return this.request("DescribeDataSourceList", req, cb);
|
|
35
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* 删除知识库下文档
|
|
62
|
+
*/
|
|
63
|
+
async DeleteKnowledgeDocumentSet(req, cb) {
|
|
64
|
+
return this.request("DeleteKnowledgeDocumentSet", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 获取知识库下文档详情
|
|
68
|
+
*/
|
|
69
|
+
async DescribeKnowledgeDocumentSetDetail(req, cb) {
|
|
70
|
+
return this.request("DescribeKnowledgeDocumentSetDetail", req, cb);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* 更新知识库
|
|
74
|
+
*/
|
|
75
|
+
async UploadKnowledgeDocumentSet(req, cb) {
|
|
76
|
+
return this.request("UploadKnowledgeDocumentSet", req, cb);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 查询知识库下文件集合
|
|
80
|
+
*/
|
|
81
|
+
async DescribeKnowledgeDocumentSetList(req, cb) {
|
|
82
|
+
return this.request("DescribeKnowledgeDocumentSetList", req, cb);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 删除知识库
|
|
86
|
+
*/
|
|
87
|
+
async DeleteKnowledgeSet(req, cb) {
|
|
88
|
+
return this.request("DeleteKnowledgeSet", req, cb);
|
|
89
|
+
}
|
|
36
90
|
}
|
|
37
91
|
exports.Client = Client;
|