tencentcloud-sdk-nodejs-lowcode 4.0.781 → 4.0.1040
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/README.md +67 -27
- package/package.json +3 -2
- package/src/services/lowcode/v20210108/lowcode_client.ts +128 -4
- package/src/services/lowcode/v20210108/lowcode_models.ts +916 -97
- 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/products.md +0 -245
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeDataSourceListRequest, DescribeDataSourceListResponse } from "./lowcode_models";
|
|
2
|
+
import { DescribeKnowledgeSetListRequest, UploadKnowledgeDocumentSetRequest, UpdateKnowledgeSetResponse, SearchDocListRequest, DescribeKnowledgeDocumentSetListResponse, SearchDocListResponse, DeleteKnowledgeSetResponse, UpdateKnowledgeSetRequest, DescribeKnowledgeDocumentSetDetailRequest, CreateKnowledgeSetResponse, DeleteKnowledgeSetRequest, DescribeKnowledgeDocumentSetListRequest, DescribeDataSourceListRequest, DeleteKnowledgeDocumentSetRequest, DescribeKnowledgeSetListResponse, DescribeDataSourceListResponse, UploadKnowledgeDocumentSetResponse, DeleteKnowledgeDocumentSetResponse, CreateKnowledgeSetRequest, DescribeKnowledgeDocumentSetDetailResponse } from "./lowcode_models";
|
|
3
3
|
/**
|
|
4
4
|
* lowcode client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 创建知识库
|
|
11
|
+
*/
|
|
12
|
+
CreateKnowledgeSet(req: CreateKnowledgeSetRequest, cb?: (error: string, rep: CreateKnowledgeSetResponse) => void): Promise<CreateKnowledgeSetResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 更新知识库
|
|
15
|
+
*/
|
|
16
|
+
UpdateKnowledgeSet(req: UpdateKnowledgeSetRequest, cb?: (error: string, rep: UpdateKnowledgeSetResponse) => void): Promise<UpdateKnowledgeSetResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 知识库文档搜索接口
|
|
19
|
+
*/
|
|
20
|
+
SearchDocList(req: SearchDocListRequest, cb?: (error: string, rep: SearchDocListResponse) => void): Promise<SearchDocListResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* 查询知识库
|
|
23
|
+
*/
|
|
24
|
+
DescribeKnowledgeSetList(req: DescribeKnowledgeSetListRequest, cb?: (error: string, rep: DescribeKnowledgeSetListResponse) => void): Promise<DescribeKnowledgeSetListResponse>;
|
|
9
25
|
/**
|
|
10
26
|
* 获取数据源详情列表
|
|
11
27
|
*/
|
|
12
28
|
DescribeDataSourceList(req: DescribeDataSourceListRequest, cb?: (error: string, rep: DescribeDataSourceListResponse) => void): Promise<DescribeDataSourceListResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* 删除知识库下文档
|
|
31
|
+
*/
|
|
32
|
+
DeleteKnowledgeDocumentSet(req: DeleteKnowledgeDocumentSetRequest, cb?: (error: string, rep: DeleteKnowledgeDocumentSetResponse) => void): Promise<DeleteKnowledgeDocumentSetResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* 获取知识库下文档详情
|
|
35
|
+
*/
|
|
36
|
+
DescribeKnowledgeDocumentSetDetail(req: DescribeKnowledgeDocumentSetDetailRequest, cb?: (error: string, rep: DescribeKnowledgeDocumentSetDetailResponse) => void): Promise<DescribeKnowledgeDocumentSetDetailResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 更新知识库
|
|
39
|
+
*/
|
|
40
|
+
UploadKnowledgeDocumentSet(req: UploadKnowledgeDocumentSetRequest, cb?: (error: string, rep: UploadKnowledgeDocumentSetResponse) => void): Promise<UploadKnowledgeDocumentSetResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 查询知识库下文件集合
|
|
43
|
+
*/
|
|
44
|
+
DescribeKnowledgeDocumentSetList(req: DescribeKnowledgeDocumentSetListRequest, cb?: (error: string, rep: DescribeKnowledgeDocumentSetListResponse) => void): Promise<DescribeKnowledgeDocumentSetListResponse>;
|
|
45
|
+
/**
|
|
46
|
+
* 删除知识库
|
|
47
|
+
*/
|
|
48
|
+
DeleteKnowledgeSet(req: DeleteKnowledgeSetRequest, cb?: (error: string, rep: DeleteKnowledgeSetResponse) => void): Promise<DeleteKnowledgeSetResponse>;
|
|
13
49
|
}
|
|
@@ -27,11 +27,65 @@ class Client extends TencentCloudCommon.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;
|