tencentcloud-sdk-nodejs 4.0.318 → 4.0.319
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/CHANGELOG.md +143 -0
- package/SERVICE_CHANGELOG.md +197 -101
- package/package.json +1 -1
- package/products.md +12 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +27 -2
- package/src/services/cat/v20180409/cat_client.ts +12 -0
- package/src/services/cat/v20180409/cat_models.ts +50 -0
- package/src/services/cfg/index.ts +5 -0
- package/src/services/cfg/v20210820/cfg_client.ts +169 -0
- package/src/services/cfg/v20210820/cfg_models.ts +1227 -0
- package/src/services/cfg/v20210820/index.ts +6 -0
- package/src/services/cvm/v20170312/cvm_models.ts +3 -2
- package/src/services/index.ts +1 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/nlp/v20190408/nlp_client.ts +6 -46
- package/src/services/nlp/v20190408/nlp_models.ts +37 -212
- package/src/services/partners/v20180321/partners_client.ts +4 -5
- package/src/services/partners/v20180321/partners_models.ts +18 -3
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/ses/v20201002/ses_client.ts +3 -2
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +6 -6
- 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 +22 -0
- package/tencentcloud/services/cat/v20180409/cat_client.d.ts +5 -1
- package/tencentcloud/services/cat/v20180409/cat_client.js +6 -0
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +42 -0
- package/tencentcloud/services/cfg/index.d.ts +6 -0
- package/tencentcloud/services/cfg/index.js +7 -0
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +50 -0
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +91 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +1015 -0
- package/tencentcloud/services/cfg/v20210820/cfg_models.js +18 -0
- package/tencentcloud/services/cfg/v20210820/index.d.ts +6 -0
- package/tencentcloud/services/cfg/v20210820/index.js +9 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -13
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +0 -18
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +35 -187
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +3 -4
- package/tencentcloud/services/partners/v20180321/partners_client.js +3 -4
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +15 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -0
- package/tencentcloud/services/ses/v20201002/ses_client.js +1 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -6
- package/test/cat.v20180409.test.js +10 -0
- package/test/cfg.v20210820.test.js +121 -0
- package/test/nlp.v20190408.test.js +0 -30
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20210820 = void 0;
|
|
4
|
+
const Models = require("./cfg_models");
|
|
5
|
+
const cfg_client_1 = require("./cfg_client");
|
|
6
|
+
exports.v20210820 = {
|
|
7
|
+
Client: cfg_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -72,6 +72,8 @@ var cdn_1 = require("./cdn");
|
|
|
72
72
|
Object.defineProperty(exports, "cdn", { enumerable: true, get: function () { return cdn_1.cdn; } });
|
|
73
73
|
var cds_1 = require("./cds");
|
|
74
74
|
Object.defineProperty(exports, "cds", { enumerable: true, get: function () { return cds_1.cds; } });
|
|
75
|
+
var cfg_1 = require("./cfg");
|
|
76
|
+
Object.defineProperty(exports, "cfg", { enumerable: true, get: function () { return cfg_1.cfg; } });
|
|
75
77
|
var cfs_1 = require("./cfs");
|
|
76
78
|
Object.defineProperty(exports, "cfs", { enumerable: true, get: function () { return cfs_1.cfs; } });
|
|
77
79
|
var cfw_1 = require("./cfw");
|
|
@@ -480,7 +480,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
|
|
|
480
480
|
*/
|
|
481
481
|
CreateLiveRecordTemplate(req: CreateLiveRecordTemplateRequest, cb?: (error: string, rep: CreateLiveRecordTemplateResponse) => void): Promise<CreateLiveRecordTemplateResponse>;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* 直播播放带宽和流量数据查询。
|
|
484
484
|
*/
|
|
485
485
|
DescribeBillBandwidthAndFluxList(req: DescribeBillBandwidthAndFluxListRequest, cb?: (error: string, rep: DescribeBillBandwidthAndFluxListResponse) => void): Promise<DescribeBillBandwidthAndFluxListResponse>;
|
|
486
486
|
/**
|
|
@@ -698,7 +698,7 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
|
|
|
698
698
|
return this.request("CreateLiveRecordTemplate", req, cb);
|
|
699
699
|
}
|
|
700
700
|
/**
|
|
701
|
-
*
|
|
701
|
+
* 直播播放带宽和流量数据查询。
|
|
702
702
|
*/
|
|
703
703
|
async DescribeBillBandwidthAndFluxList(req, cb) {
|
|
704
704
|
return this.request("DescribeBillBandwidthAndFluxList", req, cb);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { LexicalAnalysisResponse, SentenceEmbeddingRequest,
|
|
3
|
+
import { LexicalAnalysisResponse, SentenceEmbeddingRequest, WordSimilarityRequest, SearchWordItemsResponse, TextSimilarityResponse, WordEmbeddingRequest, ChatBotResponse, AutoSummarizationRequest, ChatBotRequest, TextClassificationResponse, KeywordsExtractionRequest, TextCorrectionRequest, TextCorrectionProResponse, TextSimilarityProRequest, UpdateDictResponse, DescribeDictsRequest, WordSimilarityResponse, CreateWordItemsRequest, DeleteWordItemsResponse, SentenceEmbeddingResponse, UpdateDictRequest, DeleteDictResponse, DescribeWordItemsRequest, TextClassificationRequest, CreateDictResponse, TextSimilarityRequest, AutoSummarizationResponse, WordEmbeddingResponse, DescribeWordItemsResponse, SimilarWordsRequest, DescribeDictRequest, SentimentAnalysisResponse, DeleteWordItemsRequest, DescribeDictResponse, TextCorrectionProRequest, TextCorrectionResponse, TextSimilarityProResponse, DescribeDictsResponse, DependencyParsingRequest, DeleteDictRequest, SimilarWordsResponse, DependencyParsingResponse, LexicalAnalysisRequest, CreateWordItemsResponse, SentimentAnalysisRequest, SearchWordItemsRequest, KeywordsExtractionResponse, CreateDictRequest } from "./nlp_models";
|
|
4
4
|
/**
|
|
5
5
|
* nlp client
|
|
6
6
|
* @class
|
|
@@ -11,10 +11,6 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 根据id或名称查询自定义词库信息。
|
|
12
12
|
*/
|
|
13
13
|
DescribeDict(req: DescribeDictRequest, cb?: (error: string, rep: DescribeDictResponse) => void): Promise<DescribeDictResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
16
|
-
*/
|
|
17
|
-
DescribeEntity(req: DescribeEntityRequest, cb?: (error: string, rep: DescribeEntityResponse) => void): Promise<DescribeEntityResponse>;
|
|
18
14
|
/**
|
|
19
15
|
* 查询指定自定义词库中的词条是否存在。
|
|
20
16
|
*/
|
|
@@ -51,10 +47,6 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
51
47
|
* 根据指定的名称、描述创建自定义词库。
|
|
52
48
|
*/
|
|
53
49
|
CreateDict(req: CreateDictRequest, cb?: (error: string, rep: CreateDictResponse) => void): Promise<CreateDictResponse>;
|
|
54
|
-
/**
|
|
55
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
56
|
-
*/
|
|
57
|
-
DescribeRelation(req: DescribeRelationRequest, cb?: (error: string, rep: DescribeRelationResponse) => void): Promise<DescribeRelationResponse>;
|
|
58
50
|
/**
|
|
59
51
|
* 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
|
|
60
52
|
|
|
@@ -132,10 +124,6 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
132
124
|
所有的功能均基于千亿级大规模互联网语料进行持续迭代更新,以保证效果不断提升,用户无需担心新词发现、歧义消除、调用性能等问题。目前词法分析已经在泛互联网、金融、政务等不同垂直领域提供业务支持,并取得良好的效果。
|
|
133
125
|
*/
|
|
134
126
|
LexicalAnalysis(req: LexicalAnalysisRequest, cb?: (error: string, rep: LexicalAnalysisResponse) => void): Promise<LexicalAnalysisResponse>;
|
|
135
|
-
/**
|
|
136
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
137
|
-
*/
|
|
138
|
-
DescribeTriple(req: DescribeTripleRequest, cb?: (error: string, rep: DescribeTripleResponse) => void): Promise<DescribeTripleResponse>;
|
|
139
127
|
/**
|
|
140
128
|
* 基于关键词提取平台,通过对文本内容进行深度分析,提取出文本内容中的关键信息,为用户实现诸如新闻内容关键词自动提取、评论关键词提取等提供基础服务。
|
|
141
129
|
*/
|
|
@@ -33,12 +33,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async DescribeDict(req, cb) {
|
|
34
34
|
return this.request("DescribeDict", req, cb);
|
|
35
35
|
}
|
|
36
|
-
/**
|
|
37
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
38
|
-
*/
|
|
39
|
-
async DescribeEntity(req, cb) {
|
|
40
|
-
return this.request("DescribeEntity", req, cb);
|
|
41
|
-
}
|
|
42
36
|
/**
|
|
43
37
|
* 查询指定自定义词库中的词条是否存在。
|
|
44
38
|
*/
|
|
@@ -89,12 +83,6 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
89
83
|
async CreateDict(req, cb) {
|
|
90
84
|
return this.request("CreateDict", req, cb);
|
|
91
85
|
}
|
|
92
|
-
/**
|
|
93
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
94
|
-
*/
|
|
95
|
-
async DescribeRelation(req, cb) {
|
|
96
|
-
return this.request("DescribeRelation", req, cb);
|
|
97
|
-
}
|
|
98
86
|
/**
|
|
99
87
|
* 文本分类接口能够对用户输入的文本进行自动分类,将其映射到具体的类目上,用户只需要提供待分类的文本,而无需关注具体实现。
|
|
100
88
|
|
|
@@ -194,12 +182,6 @@ https://ai.tencent.com/ailab/nlp/zh/embedding.html
|
|
|
194
182
|
async LexicalAnalysis(req, cb) {
|
|
195
183
|
return this.request("LexicalAnalysis", req, cb);
|
|
196
184
|
}
|
|
197
|
-
/**
|
|
198
|
-
* 此接口正在维护升级,后续上线另行通知。
|
|
199
|
-
*/
|
|
200
|
-
async DescribeTriple(req, cb) {
|
|
201
|
-
return this.request("DescribeTriple", req, cb);
|
|
202
|
-
}
|
|
203
185
|
/**
|
|
204
186
|
* 基于关键词提取平台,通过对文本内容进行深度分析,提取出文本内容中的关键信息,为用户实现诸如新闻内容关键词自动提取、评论关键词提取等提供基础服务。
|
|
205
187
|
*/
|
|
@@ -29,15 +29,6 @@ export interface SentenceEmbeddingRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
Text: string;
|
|
31
31
|
}
|
|
32
|
-
/**
|
|
33
|
-
* DescribeTriple请求参数结构体
|
|
34
|
-
*/
|
|
35
|
-
export interface DescribeTripleRequest {
|
|
36
|
-
/**
|
|
37
|
-
* 三元组查询条件
|
|
38
|
-
*/
|
|
39
|
-
TripleCondition: string;
|
|
40
|
-
}
|
|
41
32
|
/**
|
|
42
33
|
* WordSimilarity请求参数结构体
|
|
43
34
|
*/
|
|
@@ -129,20 +120,6 @@ export interface ChatBotResponse {
|
|
|
129
120
|
*/
|
|
130
121
|
RequestId?: string;
|
|
131
122
|
}
|
|
132
|
-
/**
|
|
133
|
-
* KeywordsExtraction返回参数结构体
|
|
134
|
-
*/
|
|
135
|
-
export interface KeywordsExtractionResponse {
|
|
136
|
-
/**
|
|
137
|
-
* 关键词提取结果
|
|
138
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
139
|
-
*/
|
|
140
|
-
Keywords: Array<Keyword>;
|
|
141
|
-
/**
|
|
142
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
143
|
-
*/
|
|
144
|
-
RequestId?: string;
|
|
145
|
-
}
|
|
146
123
|
/**
|
|
147
124
|
* AutoSummarization请求参数结构体
|
|
148
125
|
*/
|
|
@@ -175,17 +152,17 @@ export interface ChatBotRequest {
|
|
|
175
152
|
Flag?: number;
|
|
176
153
|
}
|
|
177
154
|
/**
|
|
178
|
-
*
|
|
155
|
+
* TextClassification返回参数结构体
|
|
179
156
|
*/
|
|
180
|
-
export interface
|
|
157
|
+
export interface TextClassificationResponse {
|
|
181
158
|
/**
|
|
182
|
-
*
|
|
159
|
+
* 文本分类结果(文本分类映射表请参见附录)
|
|
183
160
|
*/
|
|
184
|
-
|
|
161
|
+
Classes: Array<ClassificationResult>;
|
|
185
162
|
/**
|
|
186
|
-
*
|
|
163
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
187
164
|
*/
|
|
188
|
-
|
|
165
|
+
RequestId?: string;
|
|
189
166
|
}
|
|
190
167
|
/**
|
|
191
168
|
* KeywordsExtraction请求参数结构体
|
|
@@ -229,35 +206,13 @@ export interface DictInfo {
|
|
|
229
206
|
CreateTime?: string;
|
|
230
207
|
}
|
|
231
208
|
/**
|
|
232
|
-
*
|
|
233
|
-
*/
|
|
234
|
-
export interface DescribeEntityResponse {
|
|
235
|
-
/**
|
|
236
|
-
* 返回查询实体相关信息
|
|
237
|
-
*/
|
|
238
|
-
Content: string;
|
|
239
|
-
/**
|
|
240
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
241
|
-
*/
|
|
242
|
-
RequestId?: string;
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* 词条信息。
|
|
209
|
+
* TextCorrection请求参数结构体
|
|
246
210
|
*/
|
|
247
|
-
export interface
|
|
211
|
+
export interface TextCorrectionRequest {
|
|
248
212
|
/**
|
|
249
|
-
*
|
|
213
|
+
* 待纠错的文本(仅支持UTF-8格式,不超过2000字符)
|
|
250
214
|
*/
|
|
251
215
|
Text: string;
|
|
252
|
-
/**
|
|
253
|
-
* 词条创建时间。
|
|
254
|
-
*/
|
|
255
|
-
CreateTime?: string;
|
|
256
|
-
/**
|
|
257
|
-
* 词条的词性。
|
|
258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
259
|
-
*/
|
|
260
|
-
Pos?: string;
|
|
261
216
|
}
|
|
262
217
|
/**
|
|
263
218
|
* 文本分类结果
|
|
@@ -330,15 +285,6 @@ export interface TextCorrectionProResponse {
|
|
|
330
285
|
*/
|
|
331
286
|
RequestId?: string;
|
|
332
287
|
}
|
|
333
|
-
/**
|
|
334
|
-
* DescribeEntity请求参数结构体
|
|
335
|
-
*/
|
|
336
|
-
export interface DescribeEntityRequest {
|
|
337
|
-
/**
|
|
338
|
-
* 实体名称
|
|
339
|
-
*/
|
|
340
|
-
EntityName: string;
|
|
341
|
-
}
|
|
342
288
|
/**
|
|
343
289
|
* 关键词提取结果
|
|
344
290
|
*/
|
|
@@ -388,13 +334,13 @@ export interface DescribeDictsRequest {
|
|
|
388
334
|
Offset?: number;
|
|
389
335
|
}
|
|
390
336
|
/**
|
|
391
|
-
*
|
|
337
|
+
* WordSimilarity返回参数结构体
|
|
392
338
|
*/
|
|
393
|
-
export interface
|
|
339
|
+
export interface WordSimilarityResponse {
|
|
394
340
|
/**
|
|
395
|
-
*
|
|
341
|
+
* 两个词语的相似度
|
|
396
342
|
*/
|
|
397
|
-
|
|
343
|
+
Similarity?: number;
|
|
398
344
|
/**
|
|
399
345
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
400
346
|
*/
|
|
@@ -437,13 +383,22 @@ export interface CreateWordItemsRequest {
|
|
|
437
383
|
WordItems: Array<WordItem>;
|
|
438
384
|
}
|
|
439
385
|
/**
|
|
440
|
-
*
|
|
386
|
+
* 词条信息。
|
|
441
387
|
*/
|
|
442
|
-
export interface
|
|
388
|
+
export interface WordItem {
|
|
443
389
|
/**
|
|
444
|
-
*
|
|
390
|
+
* 词条文本内容。
|
|
445
391
|
*/
|
|
446
392
|
Text: string;
|
|
393
|
+
/**
|
|
394
|
+
* 词条创建时间。
|
|
395
|
+
*/
|
|
396
|
+
CreateTime?: string;
|
|
397
|
+
/**
|
|
398
|
+
* 词条的词性。
|
|
399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
400
|
+
*/
|
|
401
|
+
Pos?: string;
|
|
447
402
|
}
|
|
448
403
|
/**
|
|
449
404
|
* DeleteWordItems返回参数结构体
|
|
@@ -488,19 +443,6 @@ export interface UpdateDictRequest {
|
|
|
488
443
|
*/
|
|
489
444
|
Name?: string;
|
|
490
445
|
}
|
|
491
|
-
/**
|
|
492
|
-
* TextClassification返回参数结构体
|
|
493
|
-
*/
|
|
494
|
-
export interface TextClassificationResponse {
|
|
495
|
-
/**
|
|
496
|
-
* 文本分类结果(文本分类映射表请参见附录)
|
|
497
|
-
*/
|
|
498
|
-
Classes: Array<ClassificationResult>;
|
|
499
|
-
/**
|
|
500
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
501
|
-
*/
|
|
502
|
-
RequestId?: string;
|
|
503
|
-
}
|
|
504
446
|
/**
|
|
505
447
|
* DeleteDict返回参数结构体
|
|
506
448
|
*/
|
|
@@ -531,19 +473,6 @@ export interface DescribeWordItemsRequest {
|
|
|
531
473
|
*/
|
|
532
474
|
Text?: string;
|
|
533
475
|
}
|
|
534
|
-
/**
|
|
535
|
-
* SearchWordItems请求参数结构体
|
|
536
|
-
*/
|
|
537
|
-
export interface SearchWordItemsRequest {
|
|
538
|
-
/**
|
|
539
|
-
* 自定义词库ID。
|
|
540
|
-
*/
|
|
541
|
-
DictId: string;
|
|
542
|
-
/**
|
|
543
|
-
* 待检索的词条集合。
|
|
544
|
-
*/
|
|
545
|
-
WordItems: Array<WordItem>;
|
|
546
|
-
}
|
|
547
476
|
/**
|
|
548
477
|
* TextClassification请求参数结构体
|
|
549
478
|
*/
|
|
@@ -616,19 +545,6 @@ export interface WordEmbeddingResponse {
|
|
|
616
545
|
*/
|
|
617
546
|
RequestId?: string;
|
|
618
547
|
}
|
|
619
|
-
/**
|
|
620
|
-
* DescribeTriple返回参数结构体
|
|
621
|
-
*/
|
|
622
|
-
export interface DescribeTripleResponse {
|
|
623
|
-
/**
|
|
624
|
-
* 返回三元组信息
|
|
625
|
-
*/
|
|
626
|
-
Content: Array<TripleContent>;
|
|
627
|
-
/**
|
|
628
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
629
|
-
*/
|
|
630
|
-
RequestId?: string;
|
|
631
|
-
}
|
|
632
548
|
/**
|
|
633
549
|
* DescribeWordItems返回参数结构体
|
|
634
550
|
*/
|
|
@@ -860,26 +776,6 @@ export interface SimilarWordsResponse {
|
|
|
860
776
|
*/
|
|
861
777
|
RequestId?: string;
|
|
862
778
|
}
|
|
863
|
-
/**
|
|
864
|
-
* 实体关系查询返回的Object类型
|
|
865
|
-
*/
|
|
866
|
-
export interface EntityRelationObject {
|
|
867
|
-
/**
|
|
868
|
-
* object对应popular值
|
|
869
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
870
|
-
*/
|
|
871
|
-
Popular?: Array<number>;
|
|
872
|
-
/**
|
|
873
|
-
* object对应id
|
|
874
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
875
|
-
*/
|
|
876
|
-
Id?: Array<string>;
|
|
877
|
-
/**
|
|
878
|
-
* object对应name
|
|
879
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
880
|
-
*/
|
|
881
|
-
Name?: Array<string>;
|
|
882
|
-
}
|
|
883
779
|
/**
|
|
884
780
|
* DependencyParsing返回参数结构体
|
|
885
781
|
*/
|
|
@@ -990,80 +886,32 @@ export interface SentimentAnalysisRequest {
|
|
|
990
886
|
Mode?: string;
|
|
991
887
|
}
|
|
992
888
|
/**
|
|
993
|
-
*
|
|
889
|
+
* SearchWordItems请求参数结构体
|
|
994
890
|
*/
|
|
995
|
-
export interface
|
|
996
|
-
/**
|
|
997
|
-
* Subject对应popular
|
|
998
|
-
*/
|
|
999
|
-
Popular?: Array<number>;
|
|
891
|
+
export interface SearchWordItemsRequest {
|
|
1000
892
|
/**
|
|
1001
|
-
*
|
|
893
|
+
* 自定义词库ID。
|
|
1002
894
|
*/
|
|
1003
|
-
|
|
895
|
+
DictId: string;
|
|
1004
896
|
/**
|
|
1005
|
-
*
|
|
897
|
+
* 待检索的词条集合。
|
|
1006
898
|
*/
|
|
1007
|
-
|
|
899
|
+
WordItems: Array<WordItem>;
|
|
1008
900
|
}
|
|
1009
901
|
/**
|
|
1010
|
-
*
|
|
902
|
+
* KeywordsExtraction返回参数结构体
|
|
1011
903
|
*/
|
|
1012
|
-
export interface
|
|
1013
|
-
/**
|
|
1014
|
-
* 实体关系查询返回关系的object
|
|
1015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1016
|
-
*/
|
|
1017
|
-
Object?: Array<EntityRelationObject>;
|
|
1018
|
-
/**
|
|
1019
|
-
* 实体关系查询返回的关系名称
|
|
1020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1021
|
-
*/
|
|
1022
|
-
Relation?: string;
|
|
904
|
+
export interface KeywordsExtractionResponse {
|
|
1023
905
|
/**
|
|
1024
|
-
*
|
|
906
|
+
* 关键词提取结果
|
|
1025
907
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1026
908
|
*/
|
|
1027
|
-
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
* WordSimilarity返回参数结构体
|
|
1031
|
-
*/
|
|
1032
|
-
export interface WordSimilarityResponse {
|
|
1033
|
-
/**
|
|
1034
|
-
* 两个词语的相似度
|
|
1035
|
-
*/
|
|
1036
|
-
Similarity?: number;
|
|
909
|
+
Keywords: Array<Keyword>;
|
|
1037
910
|
/**
|
|
1038
911
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1039
912
|
*/
|
|
1040
913
|
RequestId?: string;
|
|
1041
914
|
}
|
|
1042
|
-
/**
|
|
1043
|
-
* 三元组查询返回的元记录
|
|
1044
|
-
*/
|
|
1045
|
-
export interface TripleContent {
|
|
1046
|
-
/**
|
|
1047
|
-
* 实体流行度
|
|
1048
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1049
|
-
*/
|
|
1050
|
-
Popular?: number;
|
|
1051
|
-
/**
|
|
1052
|
-
* 实体名称
|
|
1053
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1054
|
-
*/
|
|
1055
|
-
Name?: string;
|
|
1056
|
-
/**
|
|
1057
|
-
* 实体order
|
|
1058
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1059
|
-
*/
|
|
1060
|
-
Order?: number;
|
|
1061
|
-
/**
|
|
1062
|
-
* 实体id
|
|
1063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
-
*/
|
|
1065
|
-
Id?: string;
|
|
1066
|
-
}
|
|
1067
915
|
/**
|
|
1068
916
|
* CreateDict请求参数结构体
|
|
1069
917
|
*/
|
|
@@ -12,8 +12,7 @@ export declare class Client extends AbstractClient {
|
|
|
12
12
|
*/
|
|
13
13
|
DescribeAgentSelfPayDeals(req: DescribeAgentSelfPayDealsRequest, cb?: (error: string, rep: DescribeAgentSelfPayDealsResponse) => void): Promise<DescribeAgentSelfPayDealsResponse>;
|
|
14
14
|
/**
|
|
15
|
-
* 【该接口将逐步下线,请切换使用升级版本DescribeAgentDealsByCache
|
|
16
|
-
|
|
15
|
+
* 【该接口将逐步下线,请切换使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
|
17
16
|
*/
|
|
18
17
|
DescribeAgentDealsCache(req: DescribeAgentDealsCacheRequest, cb?: (error: string, rep: DescribeAgentDealsCacheResponse) => void): Promise<DescribeAgentDealsCacheResponse>;
|
|
19
18
|
/**
|
|
@@ -21,7 +20,7 @@ export declare class Client extends AbstractClient {
|
|
|
21
20
|
*/
|
|
22
21
|
ModifyClientRemark(req: ModifyClientRemarkRequest, cb?: (error: string, rep: ModifyClientRemarkResponse) => void): Promise<ModifyClientRemarkResponse>;
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
23
|
+
* 查询代理商名下指定代客的自付订单
|
|
25
24
|
*/
|
|
26
25
|
DescribeAgentSelfPayDealsV2(req: DescribeAgentSelfPayDealsV2Request, cb?: (error: string, rep: DescribeAgentSelfPayDealsV2Response) => void): Promise<DescribeAgentSelfPayDealsV2Response>;
|
|
27
26
|
/**
|
|
@@ -89,7 +88,7 @@ export declare class Client extends AbstractClient {
|
|
|
89
88
|
*/
|
|
90
89
|
AuditApplyClient(req: AuditApplyClientRequest, cb?: (error: string, rep: AuditApplyClientResponse) => void): Promise<AuditApplyClientResponse>;
|
|
91
90
|
/**
|
|
92
|
-
*
|
|
91
|
+
* 供代理商拉取缓存的全量客户订单
|
|
93
92
|
*/
|
|
94
93
|
DescribeAgentDealsByCache(req: DescribeAgentDealsByCacheRequest, cb?: (error: string, rep: DescribeAgentDealsByCacheResponse) => void): Promise<DescribeAgentDealsByCacheResponse>;
|
|
95
94
|
}
|
|
@@ -34,8 +34,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("DescribeAgentSelfPayDeals", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* 【该接口将逐步下线,请切换使用升级版本DescribeAgentDealsByCache
|
|
38
|
-
|
|
37
|
+
* 【该接口将逐步下线,请切换使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
|
39
38
|
*/
|
|
40
39
|
async DescribeAgentDealsCache(req, cb) {
|
|
41
40
|
return this.request("DescribeAgentDealsCache", req, cb);
|
|
@@ -47,7 +46,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
47
46
|
return this.request("ModifyClientRemark", req, cb);
|
|
48
47
|
}
|
|
49
48
|
/**
|
|
50
|
-
*
|
|
49
|
+
* 查询代理商名下指定代客的自付订单
|
|
51
50
|
*/
|
|
52
51
|
async DescribeAgentSelfPayDealsV2(req, cb) {
|
|
53
52
|
return this.request("DescribeAgentSelfPayDealsV2", req, cb);
|
|
@@ -149,7 +148,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
149
148
|
return this.request("AuditApplyClient", req, cb);
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
152
|
-
*
|
|
151
|
+
* 供代理商拉取缓存的全量客户订单
|
|
153
152
|
*/
|
|
154
153
|
async DescribeAgentDealsByCache(req, cb) {
|
|
155
154
|
return this.request("DescribeAgentDealsByCache", req, cb);
|
|
@@ -376,9 +376,13 @@ export interface DescribeAgentPayDealsV2Request {
|
|
|
376
376
|
*/
|
|
377
377
|
OwnerUins?: Array<string>;
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* 子订单号列表
|
|
380
380
|
*/
|
|
381
381
|
DealNames?: Array<string>;
|
|
382
|
+
/**
|
|
383
|
+
* 大订单号列表
|
|
384
|
+
*/
|
|
385
|
+
BigDealIds?: Array<string>;
|
|
382
386
|
}
|
|
383
387
|
/**
|
|
384
388
|
* 产品详情
|
|
@@ -780,9 +784,13 @@ export interface DescribeAgentSelfPayDealsV2Request {
|
|
|
780
784
|
*/
|
|
781
785
|
Status?: number;
|
|
782
786
|
/**
|
|
783
|
-
*
|
|
787
|
+
* 子订单号列表
|
|
784
788
|
*/
|
|
785
789
|
DealNames?: Array<string>;
|
|
790
|
+
/**
|
|
791
|
+
* 大订单号列表
|
|
792
|
+
*/
|
|
793
|
+
BigDealIds?: Array<string>;
|
|
786
794
|
}
|
|
787
795
|
/**
|
|
788
796
|
* DescribeSalesmans返回参数结构体
|
|
@@ -969,9 +977,13 @@ export interface DescribeAgentDealsByCacheRequest {
|
|
|
969
977
|
*/
|
|
970
978
|
OwnerUins?: Array<string>;
|
|
971
979
|
/**
|
|
972
|
-
*
|
|
980
|
+
* 子订单号列表
|
|
973
981
|
*/
|
|
974
982
|
DealNames?: Array<string>;
|
|
983
|
+
/**
|
|
984
|
+
* 大订单号列表
|
|
985
|
+
*/
|
|
986
|
+
BigDealIds?: Array<string>;
|
|
975
987
|
/**
|
|
976
988
|
* 支付方式,0:自付;1:代付
|
|
977
989
|
*/
|
|
@@ -21,6 +21,7 @@ export declare class Client extends AbstractClient {
|
|
|
21
21
|
CreateReceiverDetailWithData(req: CreateReceiverDetailWithDataRequest, cb?: (error: string, rep: CreateReceiverDetailWithDataResponse) => void): Promise<CreateReceiverDetailWithDataResponse>;
|
|
22
22
|
/**
|
|
23
23
|
* 获取邮件发送状态。仅支持查询30天之内的数据
|
|
24
|
+
默认接口请求频率限制:1次/秒
|
|
24
25
|
*/
|
|
25
26
|
GetSendEmailStatus(req: GetSendEmailStatusRequest, cb?: (error: string, rep: GetSendEmailStatusResponse) => void): Promise<GetSendEmailStatusResponse>;
|
|
26
27
|
/**
|
|
@@ -472,7 +472,7 @@ export interface EncodeParams {
|
|
|
472
472
|
*/
|
|
473
473
|
AudioCodec?: number;
|
|
474
474
|
/**
|
|
475
|
-
* 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过
|
|
475
|
+
* 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过2MB。
|
|
476
476
|
*/
|
|
477
477
|
BackgroundImageUrl?: string;
|
|
478
478
|
}
|