tencentcloud-sdk-nodejs 4.0.768 → 4.0.770
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 +227 -0
- package/SERVICE_CHANGELOG.md +218 -33
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +3 -4
- package/src/services/batch/v20170312/batch_models.ts +3 -3
- package/src/services/cat/v20180409/cat_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdc/v20201214/cdc_models.ts +3 -3
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +4 -1
- package/src/services/cfw/v20190904/cfw_models.ts +7 -7
- package/src/services/cvm/v20170312/cvm_models.ts +4 -4
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +17 -13
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_client.ts +9 -6
- package/src/services/ess/v20201111/ess_client.ts +50 -6
- package/src/services/ess/v20201111/ess_models.ts +86 -10
- package/src/services/essbasic/v20210526/essbasic_client.ts +21 -22
- package/src/services/essbasic/v20210526/essbasic_models.ts +19 -14
- package/src/services/oceanus/v20190422/oceanus_client.ts +16 -3
- package/src/services/oceanus/v20190422/oceanus_models.ts +100 -22
- package/src/services/scf/v20180416/scf_models.ts +6 -2
- package/src/services/tcss/v20201101/tcss_models.ts +29 -5
- package/src/services/teo/v20220901/teo_models.ts +5 -5
- package/src/services/tiw/v20190919/tiw_models.ts +101 -10
- package/src/services/tms/v20201229/tms_client.ts +18 -2
- package/src/services/tms/v20201229/tms_models.ts +250 -65
- package/src/services/trp/v20210515/trp_client.ts +1 -1
- package/src/services/trp/v20210515/trp_models.ts +17 -3
- package/src/services/tse/v20201207/tse_client.ts +76 -16
- package/src/services/tse/v20201207/tse_models.ts +237 -58
- package/src/services/tsf/v20180326/tsf_models.ts +24 -20
- package/src/services/vod/v20180717/vod_client.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +11 -10
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +3 -4
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +3 -3
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +3 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +4 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +7 -7
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +17 -13
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +3 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +3 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +43 -7
- package/tencentcloud/services/ess/v20201111/ess_client.js +44 -6
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +84 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +20 -21
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +20 -21
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +18 -13
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +96 -21
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +6 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +29 -5
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +5 -5
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +101 -10
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +5 -1
- package/tencentcloud/services/tms/v20201229/tms_client.js +6 -0
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +243 -64
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.js +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +17 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +25 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +36 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +227 -58
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +24 -20
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +11 -10
- package/test/ess.v20201111.test.js +10 -0
- package/test/oceanus.v20190422.test.js +10 -0
- package/test/tms.v20201229.test.js +10 -0
- package/test/tse.v20201207.test.js +54 -4
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 内容审核多级标签结构
|
|
3
|
+
*/
|
|
4
|
+
export interface LabelGrade {
|
|
5
|
+
/**
|
|
6
|
+
* 内容审核结果客户定制标签码
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
Code?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 内容审核结果客户定制一级标签
|
|
12
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13
|
+
*/
|
|
14
|
+
Grade1?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 内容审核结果客户定制二级标签
|
|
17
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18
|
+
*/
|
|
19
|
+
Grade2?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 内容审核结果客户定制三级标签
|
|
22
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23
|
+
*/
|
|
24
|
+
Grade3?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 该字段用于返回审核结果明细字段的标签及分数
|
|
28
|
+
*/
|
|
29
|
+
export interface Tag {
|
|
30
|
+
/**
|
|
31
|
+
* 该字段用于返回命中的关键词
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
*/
|
|
34
|
+
Keyword?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 该字段用于返回子标签
|
|
37
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
*/
|
|
39
|
+
SubLabel?: string;
|
|
40
|
+
/**
|
|
41
|
+
* 该字段用于返回子标签对应的分数
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
Score?: number;
|
|
45
|
+
}
|
|
1
46
|
/**
|
|
2
47
|
* 情感分析结果
|
|
3
48
|
*/
|
|
@@ -55,6 +100,48 @@ export interface RiskDetails {
|
|
|
55
100
|
*/
|
|
56
101
|
Level: number;
|
|
57
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* ModerateText返回参数结构体
|
|
105
|
+
*/
|
|
106
|
+
export interface ModerateTextResponse {
|
|
107
|
+
/**
|
|
108
|
+
* 该字段用于返回检测对象对应请求参数中的DataId,与输入的DataId字段中的内容对应
|
|
109
|
+
*/
|
|
110
|
+
DataId?: string;
|
|
111
|
+
/**
|
|
112
|
+
* 该字段用于返回请求参数中的BizType参数
|
|
113
|
+
*/
|
|
114
|
+
BizType?: string;
|
|
115
|
+
/**
|
|
116
|
+
* 该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。
|
|
117
|
+
返回值:Block:建议屏蔽,Review :建议人工复审,Pass:建议通过
|
|
118
|
+
*/
|
|
119
|
+
Suggestion?: string;
|
|
120
|
+
/**
|
|
121
|
+
* 命中标签,可参阅对应数据结构(LabelGrade)的详细描述
|
|
122
|
+
*/
|
|
123
|
+
Label?: LabelGrade;
|
|
124
|
+
/**
|
|
125
|
+
* 命中标签对应腾讯侧定义的标签
|
|
126
|
+
*/
|
|
127
|
+
TcLabelCodes?: Array<string>;
|
|
128
|
+
/**
|
|
129
|
+
* 该字段用于返回当前标签(Label)下被检测文本命中的关键词信息,用于标注文本违规的具体原因(如:加我微信)。该参数可能会有多个返回值,代表命中的多个关键词;如返回值为空且Score不为空,则代表识别结果所对应的恶意标签(Label)是来自于语义模型判断的返回值
|
|
130
|
+
*/
|
|
131
|
+
Keywords?: Array<string>;
|
|
132
|
+
/**
|
|
133
|
+
* 该字段用于返回文本审核的详细结果,返回值信息可参阅对应数据结构(ModerationDetail)的详细描述
|
|
134
|
+
*/
|
|
135
|
+
ModerationDetails?: Array<ModerationDetail>;
|
|
136
|
+
/**
|
|
137
|
+
* 该字段用于返回审核结果置信度,使用百分制。分数越高表示结果可信度越高。
|
|
138
|
+
*/
|
|
139
|
+
Score?: number;
|
|
140
|
+
/**
|
|
141
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
142
|
+
*/
|
|
143
|
+
RequestId?: string;
|
|
144
|
+
}
|
|
58
145
|
/**
|
|
59
146
|
* TextModeration请求参数结构体
|
|
60
147
|
*/
|
|
@@ -85,54 +172,69 @@ export interface TextModerationRequest {
|
|
|
85
172
|
*/
|
|
86
173
|
export interface DetailResults {
|
|
87
174
|
/**
|
|
88
|
-
* 该字段用于返回检测结果所对应的全部恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad
|
|
175
|
+
* 该字段用于返回检测结果所对应的全部恶意标签。<br>返回值:**Normal**:正常,**Porn**:色情,**Abuse**:谩骂,**Ad**:广告;以及其他令人反感、不安全或不适宜的内容类型。
|
|
89
176
|
*/
|
|
90
|
-
Label
|
|
177
|
+
Label?: string;
|
|
91
178
|
/**
|
|
92
179
|
* 该字段用于返回对应当前标签的后续操作建议。当您获取到判定结果后,返回值表示系统推荐的后续操作;建议您按照业务所需,对不同违规类型与建议值进行处理。<br>返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
|
93
180
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
94
181
|
*/
|
|
95
|
-
Suggestion
|
|
182
|
+
Suggestion?: string;
|
|
96
183
|
/**
|
|
97
184
|
* 该字段用于返回检测文本命中的关键词信息,用于标注文本违规的具体原因(如:*加我微信*)。该参数可能会有多个返回值,代表命中的多个关键词;如返回值为空且Score不为空,则代表识别结果所对应的恶意标签(Label)是来自于语义模型判断的返回值。
|
|
98
185
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
99
186
|
*/
|
|
100
|
-
Keywords
|
|
187
|
+
Keywords?: Array<string>;
|
|
101
188
|
/**
|
|
102
189
|
* 该字段用于返回当前标签(Label)下的置信度,取值范围:0(**置信度最低**)-100(**置信度最高** ),越高代表文本越有可能属于当前返回的标签;如:*色情 99*,则表明该文本非常有可能属于色情内容;*色情 0*,则表明该文本不属于色情内容。
|
|
103
190
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
104
191
|
*/
|
|
105
|
-
Score
|
|
192
|
+
Score?: number;
|
|
106
193
|
/**
|
|
107
|
-
*
|
|
194
|
+
* 该字段用于返回自定义关键词对应的词库类型,取值为**1**(黑白库)和**2**(自定义关键词库),若未配置自定义关键词库,则默认值为1(黑白库匹配)。
|
|
108
195
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
109
196
|
*/
|
|
110
|
-
LibType
|
|
197
|
+
LibType?: number;
|
|
111
198
|
/**
|
|
112
|
-
*
|
|
199
|
+
* 该字段用于返回自定义库的ID,以方便自定义库管理和配置。
|
|
113
200
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
114
201
|
*/
|
|
115
|
-
LibId
|
|
202
|
+
LibId?: string;
|
|
116
203
|
/**
|
|
117
|
-
*
|
|
204
|
+
* 该字段用于返回自定义库的名称,以方便自定义库管理和配置。
|
|
118
205
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
119
206
|
*/
|
|
120
|
-
LibName
|
|
207
|
+
LibName?: string;
|
|
121
208
|
/**
|
|
122
209
|
* 该字段用于返回当前标签(Label)下的二级标签。
|
|
123
210
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
124
211
|
*/
|
|
125
|
-
SubLabel
|
|
212
|
+
SubLabel?: string;
|
|
126
213
|
/**
|
|
127
214
|
* 该字段用于返回当前一级标签(Label)下的关键词、子标签及分数。
|
|
128
215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
129
216
|
*/
|
|
130
|
-
Tags
|
|
217
|
+
Tags?: Array<Tag>;
|
|
131
218
|
/**
|
|
132
219
|
* 该字段用于返回违规文本命中信息
|
|
133
220
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
221
|
*/
|
|
135
|
-
HitInfos
|
|
222
|
+
HitInfos?: Array<HitInfo>;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* 模型检测结果
|
|
226
|
+
*/
|
|
227
|
+
export interface ModelResult {
|
|
228
|
+
/**
|
|
229
|
+
* 模型检测出的违规内容
|
|
230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
231
|
+
*/
|
|
232
|
+
Content?: string;
|
|
233
|
+
/**
|
|
234
|
+
* 模型检测出的违规内容的位置
|
|
235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
236
|
+
*/
|
|
237
|
+
Positions?: Array<Positions>;
|
|
136
238
|
}
|
|
137
239
|
/**
|
|
138
240
|
* 关键词命中位置信息
|
|
@@ -160,84 +262,71 @@ export interface HitInfo {
|
|
|
160
262
|
Positions: Array<Positions>;
|
|
161
263
|
}
|
|
162
264
|
/**
|
|
163
|
-
*
|
|
265
|
+
* 文本审核明细结果
|
|
164
266
|
*/
|
|
165
|
-
export interface
|
|
267
|
+
export interface ModerationDetail {
|
|
166
268
|
/**
|
|
167
|
-
*
|
|
269
|
+
* 审核建议,Block表示建议拦截,Review表示建议人工复审,Pass表示建议放行
|
|
168
270
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
169
271
|
*/
|
|
170
|
-
|
|
272
|
+
Suggestion?: string;
|
|
171
273
|
/**
|
|
172
|
-
*
|
|
274
|
+
* 命中标签,含标签码和一二三级标签名
|
|
173
275
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
174
276
|
*/
|
|
175
|
-
|
|
277
|
+
Label?: LabelGrade;
|
|
176
278
|
/**
|
|
177
|
-
*
|
|
279
|
+
* 标签得分
|
|
178
280
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
179
281
|
*/
|
|
180
|
-
Score
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* 用于表示业务用户的账号相关信息
|
|
184
|
-
*/
|
|
185
|
-
export interface User {
|
|
186
|
-
/**
|
|
187
|
-
* 该字段表示业务用户ID,填写后,系统可根据账号过往违规历史优化审核结果判定,有利于存在可疑违规风险时的辅助判断。<br>
|
|
188
|
-
备注:该字段可传入微信openid、QQopenid、字符串等账号信息,与账号类别参数(AccountType)配合使用可确定唯一账号。
|
|
189
|
-
*/
|
|
190
|
-
UserId?: string;
|
|
191
|
-
/**
|
|
192
|
-
* 该字段表示业务用户对应的账号昵称信息。
|
|
193
|
-
*/
|
|
194
|
-
Nickname?: string;
|
|
195
|
-
/**
|
|
196
|
-
* 该字段表示业务用户ID对应的账号类型,取值:**1**-微信uin,**2**-QQ号,**3**-微信群uin,**4**-qq群号,**5**-微信openid,**6**-QQopenid,**7**-其它string。<br>
|
|
197
|
-
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
|
|
198
|
-
*/
|
|
199
|
-
AccountType?: number;
|
|
282
|
+
Score?: number;
|
|
200
283
|
/**
|
|
201
|
-
*
|
|
202
|
-
|
|
284
|
+
* label对应腾讯侧命中标签码
|
|
285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
203
286
|
*/
|
|
204
|
-
|
|
287
|
+
TcLabelCodes?: Array<string>;
|
|
205
288
|
/**
|
|
206
|
-
*
|
|
207
|
-
|
|
289
|
+
* 库检测命中详情
|
|
290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
208
291
|
*/
|
|
209
|
-
|
|
292
|
+
LibResults?: Array<LibCheckResult>;
|
|
210
293
|
/**
|
|
211
|
-
*
|
|
212
|
-
|
|
294
|
+
* 模型检测详情
|
|
295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
213
296
|
*/
|
|
214
|
-
|
|
297
|
+
ModelResults?: Array<ModelResult>;
|
|
215
298
|
/**
|
|
216
|
-
*
|
|
217
|
-
|
|
299
|
+
* 情绪正负向检测结果
|
|
300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
218
301
|
*/
|
|
219
|
-
|
|
302
|
+
SentimentResult?: SentimentDetail;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* ModerateText请求参数结构体
|
|
306
|
+
*/
|
|
307
|
+
export interface ModerateTextRequest {
|
|
220
308
|
/**
|
|
221
|
-
*
|
|
222
|
-
备注:头像图片大小不超过5MB,建议分辨率不低于256x256;图片下载时间限制为3秒,超过则会返回下载超时。
|
|
309
|
+
* 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密
|
|
223
310
|
*/
|
|
224
|
-
|
|
311
|
+
Content: string;
|
|
225
312
|
/**
|
|
226
|
-
*
|
|
313
|
+
* 该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。
|
|
314
|
+
备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype
|
|
227
315
|
*/
|
|
228
|
-
|
|
316
|
+
BizType?: string;
|
|
229
317
|
/**
|
|
230
|
-
*
|
|
318
|
+
* 该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。
|
|
319
|
+
取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,长度不超过64个字符
|
|
231
320
|
*/
|
|
232
|
-
|
|
321
|
+
DataId?: string;
|
|
233
322
|
/**
|
|
234
|
-
*
|
|
323
|
+
* 该字段表示待检测对象对应的用户相关信息,传入后可便于甄别相应违规风险用户
|
|
235
324
|
*/
|
|
236
|
-
|
|
325
|
+
User?: User;
|
|
237
326
|
/**
|
|
238
|
-
*
|
|
327
|
+
* 该字段表示待检测对象对应的设备相关信息,传入后可便于甄别相应违规风险设备
|
|
239
328
|
*/
|
|
240
|
-
|
|
329
|
+
Device?: Device;
|
|
241
330
|
}
|
|
242
331
|
/**
|
|
243
332
|
* 用于表示业务用户对应的设备信息
|
|
@@ -354,3 +443,93 @@ export interface TextModerationResponse {
|
|
|
354
443
|
*/
|
|
355
444
|
RequestId?: string;
|
|
356
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* 库检测结果
|
|
448
|
+
*/
|
|
449
|
+
export interface LibCheckResult {
|
|
450
|
+
/**
|
|
451
|
+
* 库ID
|
|
452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
453
|
+
*/
|
|
454
|
+
LibId?: string;
|
|
455
|
+
/**
|
|
456
|
+
* 库名称
|
|
457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
458
|
+
*/
|
|
459
|
+
LibName?: string;
|
|
460
|
+
/**
|
|
461
|
+
* 库类型
|
|
462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
463
|
+
*/
|
|
464
|
+
LibType?: number;
|
|
465
|
+
/**
|
|
466
|
+
* 命中的关键词
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
+
*/
|
|
469
|
+
Keyword?: string;
|
|
470
|
+
/**
|
|
471
|
+
* 命中的关键词在送审文本的位置,可能存在多个位置,每个位置显示开始位置和结束位置
|
|
472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
473
|
+
*/
|
|
474
|
+
Positions?: Array<Positions>;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* 用于表示业务用户的账号相关信息
|
|
478
|
+
*/
|
|
479
|
+
export interface User {
|
|
480
|
+
/**
|
|
481
|
+
* 该字段表示业务用户ID,填写后,系统可根据账号过往违规历史优化审核结果判定,有利于存在可疑违规风险时的辅助判断。<br>
|
|
482
|
+
备注:该字段可传入微信openid、QQopenid、字符串等账号信息,与账号类别参数(AccountType)配合使用可确定唯一账号。
|
|
483
|
+
*/
|
|
484
|
+
UserId?: string;
|
|
485
|
+
/**
|
|
486
|
+
* 该字段表示业务用户对应的账号昵称信息。
|
|
487
|
+
*/
|
|
488
|
+
Nickname?: string;
|
|
489
|
+
/**
|
|
490
|
+
* 该字段表示业务用户ID对应的账号类型,取值:**1**-微信uin,**2**-QQ号,**3**-微信群uin,**4**-qq群号,**5**-微信openid,**6**-QQopenid,**7**-其它string。<br>
|
|
491
|
+
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
|
|
492
|
+
*/
|
|
493
|
+
AccountType?: number;
|
|
494
|
+
/**
|
|
495
|
+
* 该字段表示业务用户对应账号的性别信息。<br>
|
|
496
|
+
取值:**0**(默认值,代表性别未知)、**1**(男性)、**2**(女性)。
|
|
497
|
+
*/
|
|
498
|
+
Gender?: number;
|
|
499
|
+
/**
|
|
500
|
+
* 该字段表示业务用户对应账号的年龄信息。<br>
|
|
501
|
+
取值:**0**(默认值,代表年龄未知)-(**自定义年龄上限**)之间的整数。
|
|
502
|
+
*/
|
|
503
|
+
Age?: number;
|
|
504
|
+
/**
|
|
505
|
+
* 该字段表示业务用户对应账号的等级信息。<br>
|
|
506
|
+
取值:**0**(默认值,代表等级未知)、**1**(等级较低)、**2**(等级中等)、**3**(等级较高),目前**暂不支持自定义等级**。
|
|
507
|
+
*/
|
|
508
|
+
Level?: number;
|
|
509
|
+
/**
|
|
510
|
+
* 该字段表示业务用户对应账号的手机号信息,支持全球各地区手机号的记录。<br>
|
|
511
|
+
备注:请保持手机号格式的统一,如区号格式(086/+86)等。
|
|
512
|
+
*/
|
|
513
|
+
Phone?: string;
|
|
514
|
+
/**
|
|
515
|
+
* 该字段表示业务用户头像图片的访问链接(URL),支持PNG、JPG、JPEG、BMP、GIF、WEBP格式。
|
|
516
|
+
备注:头像图片大小不超过5MB,建议分辨率不低于256x256;图片下载时间限制为3秒,超过则会返回下载超时。
|
|
517
|
+
*/
|
|
518
|
+
HeadUrl?: string;
|
|
519
|
+
/**
|
|
520
|
+
* 该字段表示业务用户的简介信息,支持汉字、英文及特殊符号,长度不超过5000个汉字字符。
|
|
521
|
+
*/
|
|
522
|
+
Desc?: string;
|
|
523
|
+
/**
|
|
524
|
+
* 该字段表示业务群聊场景时的房间ID。
|
|
525
|
+
*/
|
|
526
|
+
RoomId?: string;
|
|
527
|
+
/**
|
|
528
|
+
* 该字段表示消息接受者ID
|
|
529
|
+
*/
|
|
530
|
+
ReceiverId?: string;
|
|
531
|
+
/**
|
|
532
|
+
* 消息生成时间,精确到毫秒
|
|
533
|
+
*/
|
|
534
|
+
SendTime?: number;
|
|
535
|
+
}
|
|
@@ -152,7 +152,7 @@ export declare class Client extends AbstractClient {
|
|
|
152
152
|
/**
|
|
153
153
|
* 查询批次列表
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
旧版接口已经弃用,新业务请使用新版的接口 DescribeCodeBatches
|
|
156
156
|
*/
|
|
157
157
|
DescribeCodeBatchs(req: DescribeCodeBatchsRequest, cb?: (error: string, rep: DescribeCodeBatchsResponse) => void): Promise<DescribeCodeBatchsResponse>;
|
|
158
158
|
/**
|
|
@@ -242,7 +242,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
242
242
|
/**
|
|
243
243
|
* 查询批次列表
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
旧版接口已经弃用,新业务请使用新版的接口 DescribeCodeBatches
|
|
246
246
|
*/
|
|
247
247
|
async DescribeCodeBatchs(req, cb) {
|
|
248
248
|
return this.request("DescribeCodeBatchs", req, cb);
|
|
@@ -194,6 +194,11 @@ export interface Quota {
|
|
|
194
194
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
195
195
|
*/
|
|
196
196
|
Version?: string;
|
|
197
|
+
/**
|
|
198
|
+
* 是否开启企业认证
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
ProductCertify?: number;
|
|
197
202
|
}
|
|
198
203
|
/**
|
|
199
204
|
* 安心计划二维码
|
|
@@ -332,6 +337,10 @@ export interface DescribeProductsRequest {
|
|
|
332
337
|
* 企业ID
|
|
333
338
|
*/
|
|
334
339
|
CorpId?: number;
|
|
340
|
+
/**
|
|
341
|
+
* 认证状态
|
|
342
|
+
*/
|
|
343
|
+
CertState?: number;
|
|
335
344
|
}
|
|
336
345
|
/**
|
|
337
346
|
* CreateCorporationOrder返回参数结构体
|
|
@@ -754,12 +763,12 @@ export interface DescribeProductsResponse {
|
|
|
754
763
|
* 商品列表
|
|
755
764
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
756
765
|
*/
|
|
757
|
-
Products
|
|
766
|
+
Products?: Array<Product>;
|
|
758
767
|
/**
|
|
759
768
|
* 总数
|
|
760
769
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
761
770
|
*/
|
|
762
|
-
TotalCount
|
|
771
|
+
TotalCount?: number;
|
|
763
772
|
/**
|
|
764
773
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
765
774
|
*/
|
|
@@ -1740,7 +1749,7 @@ export interface CreateCodeBatchRequest {
|
|
|
1740
1749
|
*/
|
|
1741
1750
|
Remark?: string;
|
|
1742
1751
|
/**
|
|
1743
|
-
*
|
|
1752
|
+
* 模板ID,或者活动ID
|
|
1744
1753
|
*/
|
|
1745
1754
|
MpTpl?: string;
|
|
1746
1755
|
/**
|
|
@@ -2854,6 +2863,11 @@ export interface Product {
|
|
|
2854
2863
|
* 商户名称
|
|
2855
2864
|
*/
|
|
2856
2865
|
MerchantName?: string;
|
|
2866
|
+
/**
|
|
2867
|
+
* 认证状态
|
|
2868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2869
|
+
*/
|
|
2870
|
+
CertState?: number;
|
|
2857
2871
|
}
|
|
2858
2872
|
/**
|
|
2859
2873
|
* DescribeTmpToken请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, ModifyCloudNativeAPIGatewayResponse, CloseWafProtectionRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, OpenWafProtectionResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest,
|
|
3
|
+
import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServiceResponse, DeleteCloudNativeAPIGatewayPublicNetworkResponse, DeleteCloudNativeAPIGatewayRouteRateLimitResponse, DeleteWafDomainsRequest, DescribeCloudNativeAPIGatewayServiceRateLimitRequest, CreateCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayNodesRequest, ModifyCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayUpstreamRequest, DeleteNativeGatewayServerGroupResponse, ModifyCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayRouteRateLimitResponse, DescribeSREInstanceAccessAddressResponse, ModifyCloudNativeAPIGatewayCanaryRuleResponse, DescribeUpstreamHealthCheckConfigRequest, CreateNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayCertificatesRequest, ModifyCloudNativeAPIGatewayRouteRateLimitRequest, ModifyCloudNativeAPIGatewayResponse, CloseWafProtectionRequest, ModifyCloudNativeAPIGatewayServiceResponse, DescribeCloudNativeAPIGatewayNodesResponse, CreateCloudNativeAPIGatewayResponse, DescribeUpstreamHealthCheckConfigResponse, OpenWafProtectionResponse, DeleteCloudNativeAPIGatewayCertificateResponse, DeleteCloudNativeAPIGatewayCanaryRuleRequest, DescribeZookeeperServerInterfacesRequest, DescribeNacosReplicasRequest, CreateCloudNativeAPIGatewayServiceRequest, ModifyConsoleNetworkRequest, ModifyCloudNativeAPIGatewayCertificateRequest, CreateWafDomainsResponse, DescribeCloudNativeAPIGatewayServicesRequest, DescribeCloudNativeAPIGatewayUpstreamResponse, DescribeCloudNativeAPIGatewayCertificatesResponse, UpdateEngineInternetAccessRequest, CreateCloudNativeAPIGatewayCanaryRuleResponse, DescribeSREInstancesRequest, DeleteEngineResponse, DescribeCloudNativeAPIGatewayRoutesResponse, DescribeWafProtectionResponse, DescribeZookeeperReplicasRequest, UpdateUpstreamTargetsRequest, DeleteCloudNativeAPIGatewayServiceResponse, ModifyNetworkAccessStrategyRequest, DeleteCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayPortsResponse, CreateCloudNativeAPIGatewayRouteRateLimitRequest, DeleteNativeGatewayServerGroupRequest, ModifyCloudNativeAPIGatewayRouteResponse, DescribeNacosReplicasResponse, DeleteCloudNativeAPIGatewayServiceRateLimitRequest, ModifyUpstreamNodeStatusRequest, DescribeCloudNativeAPIGatewayConfigResponse, CreateCloudNativeAPIGatewayRouteResponse, DescribeCloudNativeAPIGatewayConfigRequest, DescribeCloudNativeAPIGatewaysRequest, DescribeNacosServerInterfacesResponse, DescribeCloudNativeAPIGatewayServiceRateLimitResponse, DeleteCloudNativeAPIGatewayServiceRequest, CreateCloudNativeAPIGatewayCertificateResponse, CreateCloudNativeAPIGatewayCanaryRuleRequest, ModifyNativeGatewayServerGroupRequest, DescribeCloudNativeAPIGatewayRouteRateLimitRequest, DescribeOneCloudNativeAPIGatewayServiceRequest, DescribeCloudNativeAPIGatewaysResponse, UpdateEngineInternetAccessResponse, UpdateCloudNativeAPIGatewaySpecRequest, DescribeCloudNativeAPIGatewayServicesResponse, DeleteCloudNativeAPIGatewayRouteRateLimitRequest, DeleteEngineRequest, CreateCloudNativeAPIGatewayPublicNetworkResponse, DescribeWafDomainsResponse, ModifyNetworkBasicInfoRequest, ModifyCloudNativeAPIGatewayServiceRateLimitRequest, DescribeSREInstanceAccessAddressRequest, DescribeCloudNativeAPIGatewayCanaryRulesResponse, UpdateUpstreamTargetsResponse, DeleteCloudNativeAPIGatewayCertificateRequest, DeleteCloudNativeAPIGatewayServiceRateLimitResponse, CloseWafProtectionResponse, UpdateUpstreamHealthCheckConfigRequest, UpdateCloudNativeAPIGatewaySpecResponse, DescribeZookeeperServerInterfacesResponse, ModifyNetworkAccessStrategyResponse, DescribeNativeGatewayServerGroupsRequest, DeleteCloudNativeAPIGatewayRequest, DescribeCloudNativeAPIGatewayCertificateDetailsResponse, UpdateCloudNativeAPIGatewayCertificateInfoRequest, DescribeOneCloudNativeAPIGatewayServiceResponse, ModifyCloudNativeAPIGatewayServiceRequest, DeleteCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayCertificateRequest, DescribeWafDomainsRequest, DescribeWafProtectionRequest, ModifyUpstreamNodeStatusResponse, CreateCloudNativeAPIGatewayPublicNetworkRequest, DescribeCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayRequest, DescribeNativeGatewayServerGroupsResponse, OpenWafProtectionRequest, DeleteCloudNativeAPIGatewayPublicNetworkRequest, DeleteCloudNativeAPIGatewayRouteRequest, DescribeCloudNativeAPIGatewayRoutesRequest, CreateEngineResponse, CreateCloudNativeAPIGatewayServiceRateLimitResponse, ModifyCloudNativeAPIGatewayServiceRateLimitResponse, DescribeNacosServerInterfacesRequest, UpdateUpstreamHealthCheckConfigResponse, DescribeSREInstancesResponse, DescribeCloudNativeAPIGatewayCertificateDetailsRequest, CreateWafDomainsRequest, CreateCloudNativeAPIGatewayRouteRequest, CreateNativeGatewayServerGroupResponse, CreateCloudNativeAPIGatewayServiceRateLimitRequest, DescribeZookeeperReplicasResponse, CreateEngineRequest, ModifyCloudNativeAPIGatewayCanaryRuleRequest, ModifyConsoleNetworkResponse, DeleteWafDomainsResponse, ModifyCloudNativeAPIGatewayRequest, ModifyCloudNativeAPIGatewayRouteRateLimitResponse, DescribeCloudNativeAPIGatewayCanaryRulesRequest, DeleteCloudNativeAPIGatewayCanaryRuleResponse, DescribeCloudNativeAPIGatewayPortsRequest, ModifyNativeGatewayServerGroupResponse, UpdateCloudNativeAPIGatewayCertificateInfoResponse, ModifyNetworkBasicInfoResponse } from "./tse_models";
|
|
4
4
|
/**
|
|
5
5
|
* tse client
|
|
6
6
|
* @class
|
|
@@ -8,9 +8,13 @@ import { DescribeCloudNativeAPIGatewayResponse, CreateCloudNativeAPIGatewayServi
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 修改网关实例Konga网络配置
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
ModifyConsoleNetwork(req: ModifyConsoleNetworkRequest, cb?: (error: string, rep: ModifyConsoleNetworkResponse) => void): Promise<ModifyConsoleNetworkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 创建公网网络配置
|
|
16
|
+
*/
|
|
17
|
+
CreateCloudNativeAPIGatewayPublicNetwork(req: CreateCloudNativeAPIGatewayPublicNetworkRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayPublicNetworkResponse) => void): Promise<CreateCloudNativeAPIGatewayPublicNetworkResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 获取云原生网关服务健康检查配置
|
|
16
20
|
*/
|
|
@@ -43,6 +47,10 @@ export declare class Client extends AbstractClient {
|
|
|
43
47
|
* 获取云原生网关服务详情
|
|
44
48
|
*/
|
|
45
49
|
DescribeOneCloudNativeAPIGatewayService(req: DescribeOneCloudNativeAPIGatewayServiceRequest, cb?: (error: string, rep: DescribeOneCloudNativeAPIGatewayServiceResponse) => void): Promise<DescribeOneCloudNativeAPIGatewayServiceResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 获取云原生网关服务详情下的Upstream列表
|
|
52
|
+
*/
|
|
53
|
+
DescribeCloudNativeAPIGatewayUpstream(req: DescribeCloudNativeAPIGatewayUpstreamRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayUpstreamResponse) => void): Promise<DescribeCloudNativeAPIGatewayUpstreamResponse>;
|
|
46
54
|
/**
|
|
47
55
|
* 查询云原生网关证书列表
|
|
48
56
|
*/
|
|
@@ -59,6 +67,10 @@ export declare class Client extends AbstractClient {
|
|
|
59
67
|
* 修改云原生网关的灰度规则
|
|
60
68
|
*/
|
|
61
69
|
ModifyCloudNativeAPIGatewayCanaryRule(req: ModifyCloudNativeAPIGatewayCanaryRuleRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayCanaryRuleResponse) => void): Promise<ModifyCloudNativeAPIGatewayCanaryRuleResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 删除公网网络配置
|
|
72
|
+
*/
|
|
73
|
+
DeleteCloudNativeAPIGatewayPublicNetwork(req: DeleteCloudNativeAPIGatewayPublicNetworkRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayPublicNetworkResponse) => void): Promise<DeleteCloudNativeAPIGatewayPublicNetworkResponse>;
|
|
62
74
|
/**
|
|
63
75
|
* 删除 WAF 防护域名
|
|
64
76
|
*/
|
|
@@ -175,6 +187,10 @@ export declare class Client extends AbstractClient {
|
|
|
175
187
|
* 开启 WAF 防护
|
|
176
188
|
*/
|
|
177
189
|
OpenWafProtection(req: OpenWafProtectionRequest, cb?: (error: string, rep: OpenWafProtectionResponse) => void): Promise<OpenWafProtectionResponse>;
|
|
190
|
+
/**
|
|
191
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
192
|
+
*/
|
|
193
|
+
UpdateUpstreamTargets(req: UpdateUpstreamTargetsRequest, cb?: (error: string, rep: UpdateUpstreamTargetsResponse) => void): Promise<UpdateUpstreamTargetsResponse>;
|
|
178
194
|
/**
|
|
179
195
|
* 修改云原生API网关实例基础信息
|
|
180
196
|
*/
|
|
@@ -188,9 +204,13 @@ export declare class Client extends AbstractClient {
|
|
|
188
204
|
*/
|
|
189
205
|
DeleteCloudNativeAPIGateway(req: DeleteCloudNativeAPIGatewayRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayResponse) => void): Promise<DeleteCloudNativeAPIGatewayResponse>;
|
|
190
206
|
/**
|
|
191
|
-
*
|
|
207
|
+
* 修改云原生API网关实例网络基本信息,比如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
192
208
|
*/
|
|
193
|
-
|
|
209
|
+
ModifyNetworkBasicInfo(req: ModifyNetworkBasicInfoRequest, cb?: (error: string, rep: ModifyNetworkBasicInfoResponse) => void): Promise<ModifyNetworkBasicInfoResponse>;
|
|
210
|
+
/**
|
|
211
|
+
* 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
212
|
+
*/
|
|
213
|
+
ModifyNetworkAccessStrategy(req: ModifyNetworkAccessStrategyRequest, cb?: (error: string, rep: ModifyNetworkAccessStrategyResponse) => void): Promise<ModifyNetworkAccessStrategyResponse>;
|
|
194
214
|
/**
|
|
195
215
|
* 删除云原生网关证书
|
|
196
216
|
*/
|
|
@@ -28,10 +28,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("tse.tencentcloudapi.com", "2020-12-07", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 修改网关实例Konga网络配置
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async ModifyConsoleNetwork(req, cb) {
|
|
34
|
+
return this.request("ModifyConsoleNetwork", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 创建公网网络配置
|
|
38
|
+
*/
|
|
39
|
+
async CreateCloudNativeAPIGatewayPublicNetwork(req, cb) {
|
|
40
|
+
return this.request("CreateCloudNativeAPIGatewayPublicNetwork", req, cb);
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* 获取云原生网关服务健康检查配置
|
|
@@ -81,6 +87,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
81
87
|
async DescribeOneCloudNativeAPIGatewayService(req, cb) {
|
|
82
88
|
return this.request("DescribeOneCloudNativeAPIGatewayService", req, cb);
|
|
83
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 获取云原生网关服务详情下的Upstream列表
|
|
92
|
+
*/
|
|
93
|
+
async DescribeCloudNativeAPIGatewayUpstream(req, cb) {
|
|
94
|
+
return this.request("DescribeCloudNativeAPIGatewayUpstream", req, cb);
|
|
95
|
+
}
|
|
84
96
|
/**
|
|
85
97
|
* 查询云原生网关证书列表
|
|
86
98
|
*/
|
|
@@ -105,6 +117,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
105
117
|
async ModifyCloudNativeAPIGatewayCanaryRule(req, cb) {
|
|
106
118
|
return this.request("ModifyCloudNativeAPIGatewayCanaryRule", req, cb);
|
|
107
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* 删除公网网络配置
|
|
122
|
+
*/
|
|
123
|
+
async DeleteCloudNativeAPIGatewayPublicNetwork(req, cb) {
|
|
124
|
+
return this.request("DeleteCloudNativeAPIGatewayPublicNetwork", req, cb);
|
|
125
|
+
}
|
|
108
126
|
/**
|
|
109
127
|
* 删除 WAF 防护域名
|
|
110
128
|
*/
|
|
@@ -279,6 +297,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
279
297
|
async OpenWafProtection(req, cb) {
|
|
280
298
|
return this.request("OpenWafProtection", req, cb);
|
|
281
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* 更新网关上游实例列表,仅支持IPList服务类型
|
|
302
|
+
*/
|
|
303
|
+
async UpdateUpstreamTargets(req, cb) {
|
|
304
|
+
return this.request("UpdateUpstreamTargets", req, cb);
|
|
305
|
+
}
|
|
282
306
|
/**
|
|
283
307
|
* 修改云原生API网关实例基础信息
|
|
284
308
|
*/
|
|
@@ -298,10 +322,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
298
322
|
return this.request("DeleteCloudNativeAPIGateway", req, cb);
|
|
299
323
|
}
|
|
300
324
|
/**
|
|
301
|
-
*
|
|
325
|
+
* 修改云原生API网关实例网络基本信息,比如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
302
326
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
327
|
+
async ModifyNetworkBasicInfo(req, cb) {
|
|
328
|
+
return this.request("ModifyNetworkBasicInfo", req, cb);
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* 修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
|
|
332
|
+
*/
|
|
333
|
+
async ModifyNetworkAccessStrategy(req, cb) {
|
|
334
|
+
return this.request("ModifyNetworkAccessStrategy", req, cb);
|
|
305
335
|
}
|
|
306
336
|
/**
|
|
307
337
|
* 删除云原生网关证书
|