tencentcloud-sdk-nodejs 4.1.182 → 4.1.183
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/aiart/v20221229/aiart_client.js +2 -8
- package/es/services/apm/v20210622/apm_client.js +12 -0
- package/es/services/ccc/v20200210/ccc_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +10 -18
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +10 -22
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +23 -99
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +17 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +24 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +251 -67
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +33 -21
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +4 -0
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +95 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +87 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +27 -33
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +67 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +64 -96
- package/tencentcloud/services/live/v20180801/live_models.d.ts +12 -43
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +2 -2
- package/tencentcloud/services/mps/v20190612/mps_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +160 -25
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -4
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +69 -7
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +14 -10
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +31 -31
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +65 -40
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +16 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +21 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +197 -6
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.183";
|
|
@@ -9,9 +9,6 @@ export class Client extends AbstractClient {
|
|
|
9
9
|
async SubmitTrainPortraitModelJob(req, cb) {
|
|
10
10
|
return this.request("SubmitTrainPortraitModelJob", req, cb);
|
|
11
11
|
}
|
|
12
|
-
async UploadTrainPortraitImages(req, cb) {
|
|
13
|
-
return this.request("UploadTrainPortraitImages", req, cb);
|
|
14
|
-
}
|
|
15
12
|
async SubmitDrawPortraitJob(req, cb) {
|
|
16
13
|
return this.request("SubmitDrawPortraitJob", req, cb);
|
|
17
14
|
}
|
|
@@ -27,9 +24,6 @@ export class Client extends AbstractClient {
|
|
|
27
24
|
async GenerateAvatar(req, cb) {
|
|
28
25
|
return this.request("GenerateAvatar", req, cb);
|
|
29
26
|
}
|
|
30
|
-
async DescribeTemplateToImageJob(req, cb) {
|
|
31
|
-
return this.request("DescribeTemplateToImageJob", req, cb);
|
|
32
|
-
}
|
|
33
27
|
async QueryTextToImageJob(req, cb) {
|
|
34
28
|
return this.request("QueryTextToImageJob", req, cb);
|
|
35
29
|
}
|
|
@@ -63,8 +57,8 @@ export class Client extends AbstractClient {
|
|
|
63
57
|
async SubmitTextToImageJob(req, cb) {
|
|
64
58
|
return this.request("SubmitTextToImageJob", req, cb);
|
|
65
59
|
}
|
|
66
|
-
async
|
|
67
|
-
return this.request("
|
|
60
|
+
async UploadTrainPortraitImages(req, cb) {
|
|
61
|
+
return this.request("UploadTrainPortraitImages", req, cb);
|
|
68
62
|
}
|
|
69
63
|
async QueryDrawPortraitJob(req, cb) {
|
|
70
64
|
return this.request("QueryDrawPortraitJob", req, cb);
|
|
@@ -6,6 +6,9 @@ export class Client extends AbstractClient {
|
|
|
6
6
|
async ModifyApmInstance(req, cb) {
|
|
7
7
|
return this.request("ModifyApmInstance", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DescribeApmVulnerabilityDetail(req, cb) {
|
|
10
|
+
return this.request("DescribeApmVulnerabilityDetail", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async DescribeGeneralSpanList(req, cb) {
|
|
10
13
|
return this.request("DescribeGeneralSpanList", req, cb);
|
|
11
14
|
}
|
|
@@ -69,6 +72,9 @@ export class Client extends AbstractClient {
|
|
|
69
72
|
async CreateProfileTask(req, cb) {
|
|
70
73
|
return this.request("CreateProfileTask", req, cb);
|
|
71
74
|
}
|
|
75
|
+
async DescribeApmAllVulCount(req, cb) {
|
|
76
|
+
return this.request("DescribeApmAllVulCount", req, cb);
|
|
77
|
+
}
|
|
72
78
|
async DescribeApmApplicationConfig(req, cb) {
|
|
73
79
|
return this.request("DescribeApmApplicationConfig", req, cb);
|
|
74
80
|
}
|
|
@@ -81,7 +87,13 @@ export class Client extends AbstractClient {
|
|
|
81
87
|
async ModifyApmApplicationConfig(req, cb) {
|
|
82
88
|
return this.request("ModifyApmApplicationConfig", req, cb);
|
|
83
89
|
}
|
|
90
|
+
async DescribeOPRAllVulCount(req, cb) {
|
|
91
|
+
return this.request("DescribeOPRAllVulCount", req, cb);
|
|
92
|
+
}
|
|
84
93
|
async DescribeServiceOverview(req, cb) {
|
|
85
94
|
return this.request("DescribeServiceOverview", req, cb);
|
|
86
95
|
}
|
|
96
|
+
async DescribeApmVulnerabilityCount(req, cb) {
|
|
97
|
+
return this.request("DescribeApmVulnerabilityCount", req, cb);
|
|
98
|
+
}
|
|
87
99
|
}
|
|
@@ -102,6 +102,9 @@ export class Client extends AbstractClient {
|
|
|
102
102
|
async DescribeCarrierPrivilegeNumberApplicants(req, cb) {
|
|
103
103
|
return this.request("DescribeCarrierPrivilegeNumberApplicants", req, cb);
|
|
104
104
|
}
|
|
105
|
+
async DescribeFlashSMSList(req, cb) {
|
|
106
|
+
return this.request("DescribeFlashSMSList", req, cb);
|
|
107
|
+
}
|
|
105
108
|
async DescribeTelSession(req, cb) {
|
|
106
109
|
return this.request("DescribeTelSession", req, cb);
|
|
107
110
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.183";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { SubmitDrawPortraitJobResponse, RefineImageRequest, QueryTextToImageJobResponse, ImageToImageRequest, QueryTrainPortraitModelJobRequest, GenerateAvatarRequest, UploadTrainPortraitImagesResponse,
|
|
3
|
+
import { SubmitDrawPortraitJobResponse, RefineImageRequest, QueryTextToImageJobResponse, ImageToImageRequest, QueryTrainPortraitModelJobRequest, GenerateAvatarRequest, UploadTrainPortraitImagesResponse, UploadTrainPortraitImagesRequest, QueryMemeJobRequest, QueryGlamPicJobResponse, ImageOutpaintingRequest, ReplaceBackgroundResponse, QueryMemeJobResponse, QueryDrawPortraitJobResponse, QueryTrainPortraitModelJobResponse, ChangeClothesResponse, SubmitTextToImageJobRequest, SubmitGlamPicJobResponse, SubmitMemeJobResponse, SubmitTrainPortraitModelJobRequest, SketchToImageRequest, SubmitTextToImageProJobResponse, SubmitGlamPicJobRequest, QueryTextToImageProJobResponse, TextToImageLiteRequest, TextToImageRapidResponse, SubmitTextToImageJobResponse, ImageInpaintingRemovalResponse, SubmitMemeJobRequest, QueryTextToImageJobRequest, ReplaceBackgroundRequest, SubmitTextToImageProJobRequest, SubmitTrainPortraitModelJobResponse, QueryDrawPortraitJobRequest, ImageToImageResponse, TextToImageRapidRequest, QueryGlamPicJobRequest, ImageInpaintingRemovalRequest, ChangeClothesRequest, ImageOutpaintingResponse, TextToImageLiteResponse, QueryTextToImageProJobRequest, GenerateAvatarResponse, RefineImageResponse, SketchToImageResponse, SubmitDrawPortraitJobRequest } from "./aiart_models";
|
|
4
4
|
/**
|
|
5
5
|
* aiart client
|
|
6
6
|
* @class
|
|
@@ -26,17 +26,6 @@ export declare class Client extends AbstractClient {
|
|
|
26
26
|
SubmitTrainPortraitModelJob(req: SubmitTrainPortraitModelJobRequest, cb?: (error: string, rep: SubmitTrainPortraitModelJobResponse) => void): Promise<SubmitTrainPortraitModelJobResponse>;
|
|
27
27
|
/**
|
|
28
28
|
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
29
|
-
本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。
|
|
30
|
-
可选模式:
|
|
31
|
-
- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。
|
|
32
|
-
- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
|
33
|
-
- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。
|
|
34
|
-
|
|
35
|
-
上传写真训练图片默认提供1个并发。
|
|
36
|
-
*/
|
|
37
|
-
UploadTrainPortraitImages(req: UploadTrainPortraitImagesRequest, cb?: (error: string, rep: UploadTrainPortraitImagesResponse) => void): Promise<UploadTrainPortraitImagesResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
40
29
|
生成图片分为提交任务和查询任务2个接口:
|
|
41
30
|
|
|
42
31
|
- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。
|
|
@@ -66,10 +55,6 @@ export declare class Client extends AbstractClient {
|
|
|
66
55
|
百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
67
56
|
*/
|
|
68
57
|
GenerateAvatar(req: GenerateAvatarRequest, cb?: (error: string, rep: GenerateAvatarResponse) => void): Promise<GenerateAvatarResponse>;
|
|
69
|
-
/**
|
|
70
|
-
* 查询图片特效任务
|
|
71
|
-
*/
|
|
72
|
-
DescribeTemplateToImageJob(req: DescribeTemplateToImageJobRequest, cb?: (error: string, rep: DescribeTemplateToImageJobResponse) => void): Promise<DescribeTemplateToImageJobResponse>;
|
|
73
58
|
/**
|
|
74
59
|
* 混元生图接口,基于混元大模型,根据输入的文本描述快速生成图片。
|
|
75
60
|
默认提供0个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
@@ -148,9 +133,16 @@ AI 美照默认提供1个并发,代表最多能同时处理1个已提交的任
|
|
|
148
133
|
*/
|
|
149
134
|
SubmitTextToImageJob(req: SubmitTextToImageJobRequest, cb?: (error: string, rep: SubmitTextToImageJobResponse) => void): Promise<SubmitTextToImageJobResponse>;
|
|
150
135
|
/**
|
|
151
|
-
*
|
|
136
|
+
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
137
|
+
本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。
|
|
138
|
+
可选模式:
|
|
139
|
+
- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。
|
|
140
|
+
- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
|
141
|
+
- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。
|
|
142
|
+
|
|
143
|
+
上传写真训练图片默认提供1个并发。
|
|
152
144
|
*/
|
|
153
|
-
|
|
145
|
+
UploadTrainPortraitImages(req: UploadTrainPortraitImagesRequest, cb?: (error: string, rep: UploadTrainPortraitImagesResponse) => void): Promise<UploadTrainPortraitImagesResponse>;
|
|
154
146
|
/**
|
|
155
147
|
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
156
148
|
生成图片分为提交任务和查询任务2个接口:
|
|
@@ -50,19 +50,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
53
|
-
本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。
|
|
54
|
-
可选模式:
|
|
55
|
-
- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。
|
|
56
|
-
- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
|
57
|
-
- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。
|
|
58
|
-
|
|
59
|
-
上传写真训练图片默认提供1个并发。
|
|
60
|
-
*/
|
|
61
|
-
async UploadTrainPortraitImages(req, cb) {
|
|
62
|
-
return this.request("UploadTrainPortraitImages", req, cb);
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
66
53
|
生成图片分为提交任务和查询任务2个接口:
|
|
67
54
|
|
|
68
55
|
- 提交生成写真图片任务:选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 生成写真图片,获得任务 ID。
|
|
@@ -102,12 +89,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
102
89
|
async GenerateAvatar(req, cb) {
|
|
103
90
|
return this.request("GenerateAvatar", req, cb);
|
|
104
91
|
}
|
|
105
|
-
/**
|
|
106
|
-
* 查询图片特效任务
|
|
107
|
-
*/
|
|
108
|
-
async DescribeTemplateToImageJob(req, cb) {
|
|
109
|
-
return this.request("DescribeTemplateToImageJob", req, cb);
|
|
110
|
-
}
|
|
111
92
|
/**
|
|
112
93
|
* 混元生图接口,基于混元大模型,根据输入的文本描述快速生成图片。
|
|
113
94
|
默认提供0个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
@@ -208,10 +189,17 @@ AI 美照默认提供1个并发,代表最多能同时处理1个已提交的任
|
|
|
208
189
|
return this.request("SubmitTextToImageJob", req, cb);
|
|
209
190
|
}
|
|
210
191
|
/**
|
|
211
|
-
*
|
|
192
|
+
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
193
|
+
本接口用于上传人像图片并指定对应的写真模型 ID。上传的图片要求是同一个人,建议上传单人、正脸、脸部区域占比较大、脸部清晰无遮挡、无大角度偏转、无夸张表情的图片。
|
|
194
|
+
可选模式:
|
|
195
|
+
- 常规训练模式:上传20 - 25张图片用于模型训练,完成训练后可生成写真图片。
|
|
196
|
+
- 快速训练模式:仅需上传1张图片用于模型训练,训练速度更快,完成训练后可生成写真图片。
|
|
197
|
+
- 免训练模式:仅需上传1张图片,跳过训练环节,直接生成写真图片。
|
|
198
|
+
|
|
199
|
+
上传写真训练图片默认提供1个并发。
|
|
212
200
|
*/
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
201
|
+
async UploadTrainPortraitImages(req, cb) {
|
|
202
|
+
return this.request("UploadTrainPortraitImages", req, cb);
|
|
215
203
|
}
|
|
216
204
|
/**
|
|
217
205
|
* AI 写真分为上传训练图片、训练写真模型(可选跳过)、生成写真图片3个环节,需要依次调用对应接口。
|
|
@@ -252,31 +252,6 @@ export interface UploadTrainPortraitImagesResponse {
|
|
|
252
252
|
*/
|
|
253
253
|
RequestId?: string;
|
|
254
254
|
}
|
|
255
|
-
/**
|
|
256
|
-
* SubmitTemplateToImageJob请求参数结构体
|
|
257
|
-
*/
|
|
258
|
-
export interface SubmitTemplateToImageJobRequest {
|
|
259
|
-
/**
|
|
260
|
-
* <p>算法将根据输入的图片,结合文本描述智能生成与之相关的图像。Base64 和 Url 必须提供一个,如果都提供以 Url 为准。图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。</p>
|
|
261
|
-
*/
|
|
262
|
-
Image: Image;
|
|
263
|
-
/**
|
|
264
|
-
* <p>绘画风格当前仅支持美术馆风格(gallerying)。</p>
|
|
265
|
-
*/
|
|
266
|
-
Style?: string;
|
|
267
|
-
/**
|
|
268
|
-
* <p>特效模式,默认使用人像模式。</p>枚举值:<ul><li> Person: 人像模式,仅支持上传人像图片。</li><li> Pet: 宠物模式,支持宠物等非人像图片。</li></ul>默认值:Person
|
|
269
|
-
*/
|
|
270
|
-
Mode?: string;
|
|
271
|
-
/**
|
|
272
|
-
* <p>为生成结果图添加显式水印标识的开关,默认为1。<br />1:添加。<br />0:不添加。<br />其他数值:默认按1处理。<br />建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。</p>
|
|
273
|
-
*/
|
|
274
|
-
LogoAdd?: number;
|
|
275
|
-
/**
|
|
276
|
-
* <p>标识内容设置。默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。</p>
|
|
277
|
-
*/
|
|
278
|
-
LogoParam?: LogoParam;
|
|
279
|
-
}
|
|
280
255
|
/**
|
|
281
256
|
* UploadTrainPortraitImages请求参数结构体
|
|
282
257
|
*/
|
|
@@ -528,19 +503,6 @@ export interface QueryTrainPortraitModelJobResponse {
|
|
|
528
503
|
*/
|
|
529
504
|
RequestId?: string;
|
|
530
505
|
}
|
|
531
|
-
/**
|
|
532
|
-
* SubmitTextToImageProJob返回参数结构体
|
|
533
|
-
*/
|
|
534
|
-
export interface SubmitTextToImageProJobResponse {
|
|
535
|
-
/**
|
|
536
|
-
* 任务 ID。
|
|
537
|
-
*/
|
|
538
|
-
JobId?: string;
|
|
539
|
-
/**
|
|
540
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
541
|
-
*/
|
|
542
|
-
RequestId?: string;
|
|
543
|
-
}
|
|
544
506
|
/**
|
|
545
507
|
* ChangeClothes返回参数结构体
|
|
546
508
|
*/
|
|
@@ -616,13 +578,15 @@ export interface SubmitMemeJobResponse {
|
|
|
616
578
|
RequestId?: string;
|
|
617
579
|
}
|
|
618
580
|
/**
|
|
619
|
-
*
|
|
581
|
+
* SubmitTrainPortraitModelJob请求参数结构体
|
|
620
582
|
*/
|
|
621
|
-
export interface
|
|
583
|
+
export interface SubmitTrainPortraitModelJobRequest {
|
|
622
584
|
/**
|
|
623
|
-
*
|
|
585
|
+
* 在上传写真训练图片时指定的写真模型 ID。
|
|
586
|
+
每个 AI 写真模型自训练完成起1年内有效,有效期内可使用模型生成图片,期满后需要重新训练模型。
|
|
587
|
+
|
|
624
588
|
*/
|
|
625
|
-
|
|
589
|
+
ModelId: string;
|
|
626
590
|
}
|
|
627
591
|
/**
|
|
628
592
|
* SketchToImage请求参数结构体
|
|
@@ -685,35 +649,6 @@ export interface Rect {
|
|
|
685
649
|
*/
|
|
686
650
|
Height?: number;
|
|
687
651
|
}
|
|
688
|
-
/**
|
|
689
|
-
* DescribeTemplateToImageJob返回参数结构体
|
|
690
|
-
*/
|
|
691
|
-
export interface DescribeTemplateToImageJobResponse {
|
|
692
|
-
/**
|
|
693
|
-
* 当前任务状态码:
|
|
694
|
-
1:等待中、2:运行中、4:处理失败、5:处理完成。
|
|
695
|
-
*/
|
|
696
|
-
Status?: string;
|
|
697
|
-
/**
|
|
698
|
-
* 任务处理失败错误码。
|
|
699
|
-
|
|
700
|
-
*/
|
|
701
|
-
ErrorCode?: string;
|
|
702
|
-
/**
|
|
703
|
-
* 任务处理失败错误信息。
|
|
704
|
-
|
|
705
|
-
*/
|
|
706
|
-
ErrorMessage?: string;
|
|
707
|
-
/**
|
|
708
|
-
* 生成图 URL 列表,有效期1小时,请及时保存。
|
|
709
|
-
|
|
710
|
-
*/
|
|
711
|
-
ResultImage?: Array<string>;
|
|
712
|
-
/**
|
|
713
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
714
|
-
*/
|
|
715
|
-
RequestId?: string;
|
|
716
|
-
}
|
|
717
652
|
/**
|
|
718
653
|
* 融合信息
|
|
719
654
|
*/
|
|
@@ -728,11 +663,11 @@ export interface FaceInfo {
|
|
|
728
663
|
TemplateFaceRect?: Rect;
|
|
729
664
|
}
|
|
730
665
|
/**
|
|
731
|
-
*
|
|
666
|
+
* SubmitTextToImageProJob返回参数结构体
|
|
732
667
|
*/
|
|
733
|
-
export interface
|
|
668
|
+
export interface SubmitTextToImageProJobResponse {
|
|
734
669
|
/**
|
|
735
|
-
*
|
|
670
|
+
* 任务 ID。
|
|
736
671
|
*/
|
|
737
672
|
JobId?: string;
|
|
738
673
|
/**
|
|
@@ -938,15 +873,23 @@ export interface Filter {
|
|
|
938
873
|
Occlusion?: number;
|
|
939
874
|
}
|
|
940
875
|
/**
|
|
941
|
-
*
|
|
876
|
+
* TextToImageRapid返回参数结构体
|
|
942
877
|
*/
|
|
943
|
-
export interface
|
|
878
|
+
export interface TextToImageRapidResponse {
|
|
944
879
|
/**
|
|
945
|
-
*
|
|
946
|
-
|
|
947
|
-
|
|
880
|
+
* 根据入参 RspImgType 填入不同,返回不同的内容。
|
|
881
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
|
882
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
|
948
883
|
*/
|
|
949
|
-
|
|
884
|
+
ResultImage?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Seed
|
|
887
|
+
*/
|
|
888
|
+
Seed?: number;
|
|
889
|
+
/**
|
|
890
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
891
|
+
*/
|
|
892
|
+
RequestId?: string;
|
|
950
893
|
}
|
|
951
894
|
/**
|
|
952
895
|
* SubmitTextToImageJob返回参数结构体
|
|
@@ -1454,25 +1397,6 @@ export interface RefineImageResponse {
|
|
|
1454
1397
|
*/
|
|
1455
1398
|
RequestId?: string;
|
|
1456
1399
|
}
|
|
1457
|
-
/**
|
|
1458
|
-
* TextToImageRapid返回参数结构体
|
|
1459
|
-
*/
|
|
1460
|
-
export interface TextToImageRapidResponse {
|
|
1461
|
-
/**
|
|
1462
|
-
* 根据入参 RspImgType 填入不同,返回不同的内容。
|
|
1463
|
-
如果传入 base64 则返回生成图 Base64 编码。
|
|
1464
|
-
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
|
1465
|
-
*/
|
|
1466
|
-
ResultImage?: string;
|
|
1467
|
-
/**
|
|
1468
|
-
* Seed
|
|
1469
|
-
*/
|
|
1470
|
-
Seed?: number;
|
|
1471
|
-
/**
|
|
1472
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1473
|
-
*/
|
|
1474
|
-
RequestId?: string;
|
|
1475
|
-
}
|
|
1476
1400
|
/**
|
|
1477
1401
|
* SketchToImage返回参数结构体
|
|
1478
1402
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeApmAssociationResponse, CreateApmInstanceRequest, DescribeServiceOverviewResponse, DescribeApmSampleConfigRequest, DescribeApmSampleConfigResponse, DescribeServiceOverviewRequest, DescribeTopologyNewResponse, ModifyApmApplicationConfigResponse, DescribeApmServiceMetricResponse, ModifyApmAssociationRequest, DescribeGeneralOTSpanListResponse, DescribeApmApplicationConfigResponse, DescribeApmAssociationRequest, CreateProfileTaskRequest, DescribeApmPrometheusRuleRequest, CreateApmPrometheusRuleResponse, TerminateApmInstanceResponse, DescribeApmAgentResponse, CreateApmSampleConfigRequest, DescribeTagValuesRequest, CreateApmSampleConfigResponse, ModifyApmAssociationResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, ModifyApmPrometheusRuleRequest, ModifyApmInstanceResponse, DescribeGeneralMetricDataResponse, ModifyApmInstanceRequest,
|
|
3
|
+
import { DescribeApmAssociationResponse, CreateApmInstanceRequest, DescribeApmVulnerabilityCountResponse, DescribeServiceOverviewResponse, DescribeApmSampleConfigRequest, DescribeApmAllVulCountResponse, DescribeApmSampleConfigResponse, DescribeServiceOverviewRequest, DescribeTopologyNewResponse, DescribeOPRAllVulCountResponse, ModifyApmApplicationConfigResponse, DescribeApmServiceMetricResponse, ModifyApmAssociationRequest, DescribeGeneralOTSpanListResponse, DescribeApmApplicationConfigResponse, DescribeApmAssociationRequest, CreateProfileTaskRequest, DescribeApmVulnerabilityDetailRequest, DeleteApmSampleConfigResponse, DescribeApmPrometheusRuleRequest, CreateApmPrometheusRuleResponse, TerminateApmInstanceResponse, DescribeApmAgentResponse, CreateApmSampleConfigRequest, DescribeTagValuesRequest, CreateApmSampleConfigResponse, ModifyApmAssociationResponse, DescribeGeneralSpanListRequest, DescribeApmAgentRequest, DescribeMetricRecordsRequest, DescribeGeneralMetricDataRequest, ModifyApmPrometheusRuleRequest, ModifyApmInstanceResponse, DescribeGeneralMetricDataResponse, ModifyApmInstanceRequest, DescribeApmInstancesResponse, DescribeApmPrometheusRuleResponse, ModifyApmSampleConfigResponse, DescribeApmApplicationConfigRequest, CreateProfileTaskResponse, DescribeApmVulnerabilityDetailResponse, ModifyApmPrometheusRuleResponse, DescribeMetricRecordsResponse, DescribeGeneralOTSpanListRequest, DescribeGeneralApmApplicationConfigResponse, CreateApmInstanceResponse, DescribeGeneralApmApplicationConfigRequest, DescribeTopologyNewRequest, DescribeApmInstancesRequest, DeleteApmSampleConfigRequest, DescribeApmVulnerabilityCountRequest, ModifyApmSampleConfigRequest, TerminateApmInstanceRequest, ModifyGeneralApmApplicationConfigRequest, DescribeApmServiceMetricRequest, CreateApmPrometheusRuleRequest, DescribeApmAllVulCountRequest, DescribeTagValuesResponse, DescribeGeneralSpanListResponse, ModifyApmApplicationConfigRequest, ModifyGeneralApmApplicationConfigResponse, DescribeOPRAllVulCountRequest } from "./apm_models";
|
|
4
4
|
/**
|
|
5
5
|
* apm client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 修改APM业务系统接口
|
|
12
12
|
*/
|
|
13
13
|
ModifyApmInstance(req: ModifyApmInstanceRequest, cb?: (error: string, rep: ModifyApmInstanceResponse) => void): Promise<ModifyApmInstanceResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 查询漏洞详情
|
|
16
|
+
*/
|
|
17
|
+
DescribeApmVulnerabilityDetail(req: DescribeApmVulnerabilityDetailRequest, cb?: (error: string, rep: DescribeApmVulnerabilityDetailResponse) => void): Promise<DescribeApmVulnerabilityDetailResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 通用查询调用链列表
|
|
16
20
|
*/
|
|
@@ -116,6 +120,10 @@ export declare class Client extends AbstractClient {
|
|
|
116
120
|
* 创建事件任务
|
|
117
121
|
*/
|
|
118
122
|
CreateProfileTask(req: CreateProfileTaskRequest, cb?: (error: string, rep: CreateProfileTaskResponse) => void): Promise<CreateProfileTaskResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* 查询用户所有漏洞信息
|
|
125
|
+
*/
|
|
126
|
+
DescribeApmAllVulCount(req: DescribeApmAllVulCountRequest, cb?: (error: string, rep: DescribeApmAllVulCountResponse) => void): Promise<DescribeApmAllVulCountResponse>;
|
|
119
127
|
/**
|
|
120
128
|
* 查询应用配置接口
|
|
121
129
|
*/
|
|
@@ -132,8 +140,16 @@ export declare class Client extends AbstractClient {
|
|
|
132
140
|
* 修改应用配置接口
|
|
133
141
|
*/
|
|
134
142
|
ModifyApmApplicationConfig(req: ModifyApmApplicationConfigRequest, cb?: (error: string, rep: ModifyApmApplicationConfigResponse) => void): Promise<ModifyApmApplicationConfigResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* 查询用户所有漏洞信息
|
|
145
|
+
*/
|
|
146
|
+
DescribeOPRAllVulCount(req: DescribeOPRAllVulCountRequest, cb?: (error: string, rep: DescribeOPRAllVulCountResponse) => void): Promise<DescribeOPRAllVulCountResponse>;
|
|
135
147
|
/**
|
|
136
148
|
* 应用概览数据拉取
|
|
137
149
|
*/
|
|
138
150
|
DescribeServiceOverview(req: DescribeServiceOverviewRequest, cb?: (error: string, rep: DescribeServiceOverviewResponse) => void): Promise<DescribeServiceOverviewResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* 查询漏洞指标
|
|
153
|
+
*/
|
|
154
|
+
DescribeApmVulnerabilityCount(req: DescribeApmVulnerabilityCountRequest, cb?: (error: string, rep: DescribeApmVulnerabilityCountResponse) => void): Promise<DescribeApmVulnerabilityCountResponse>;
|
|
139
155
|
}
|
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async ModifyApmInstance(req, cb) {
|
|
34
34
|
return this.request("ModifyApmInstance", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 查询漏洞详情
|
|
38
|
+
*/
|
|
39
|
+
async DescribeApmVulnerabilityDetail(req, cb) {
|
|
40
|
+
return this.request("DescribeApmVulnerabilityDetail", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 通用查询调用链列表
|
|
38
44
|
*/
|
|
@@ -180,6 +186,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
180
186
|
async CreateProfileTask(req, cb) {
|
|
181
187
|
return this.request("CreateProfileTask", req, cb);
|
|
182
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* 查询用户所有漏洞信息
|
|
191
|
+
*/
|
|
192
|
+
async DescribeApmAllVulCount(req, cb) {
|
|
193
|
+
return this.request("DescribeApmAllVulCount", req, cb);
|
|
194
|
+
}
|
|
183
195
|
/**
|
|
184
196
|
* 查询应用配置接口
|
|
185
197
|
*/
|
|
@@ -204,11 +216,23 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
204
216
|
async ModifyApmApplicationConfig(req, cb) {
|
|
205
217
|
return this.request("ModifyApmApplicationConfig", req, cb);
|
|
206
218
|
}
|
|
219
|
+
/**
|
|
220
|
+
* 查询用户所有漏洞信息
|
|
221
|
+
*/
|
|
222
|
+
async DescribeOPRAllVulCount(req, cb) {
|
|
223
|
+
return this.request("DescribeOPRAllVulCount", req, cb);
|
|
224
|
+
}
|
|
207
225
|
/**
|
|
208
226
|
* 应用概览数据拉取
|
|
209
227
|
*/
|
|
210
228
|
async DescribeServiceOverview(req, cb) {
|
|
211
229
|
return this.request("DescribeServiceOverview", req, cb);
|
|
212
230
|
}
|
|
231
|
+
/**
|
|
232
|
+
* 查询漏洞指标
|
|
233
|
+
*/
|
|
234
|
+
async DescribeApmVulnerabilityCount(req, cb) {
|
|
235
|
+
return this.request("DescribeApmVulnerabilityCount", req, cb);
|
|
236
|
+
}
|
|
213
237
|
}
|
|
214
238
|
exports.Client = Client;
|