tencentcloud-sdk-nodejs 4.0.873 → 4.0.874
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 +159 -0
- package/SERVICE_CHANGELOG.md +217 -47
- package/package.json +1 -1
- package/products.md +15 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +8 -7
- package/src/services/asr/v20190614/asr_models.ts +10 -4
- package/src/services/ccc/v20200210/ccc_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +4 -0
- package/src/services/domain/v20180808/domain_client.ts +2 -3
- package/src/services/domain/v20180808/domain_models.ts +8 -8
- package/src/services/dsgc/v20190723/dsgc_models.ts +5 -1
- package/src/services/dts/v20180330/dts_client.ts +4 -2
- package/src/services/emr/v20190103/emr_client.ts +20 -4
- package/src/services/emr/v20190103/emr_models.ts +274 -78
- package/src/services/ess/v20201111/ess_client.ts +3 -4
- package/src/services/ess/v20201111/ess_models.ts +19 -4
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +22 -4
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +20 -56
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +44 -224
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +4 -0
- package/src/services/monitor/v20180724/monitor_client.ts +6 -4
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/tse/v20201207/tse_models.ts +2 -2
- package/src/services/waf/v20180125/waf_client.ts +24 -0
- package/src/services/waf/v20180125/waf_models.ts +51 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +8 -7
- package/tencentcloud/services/asr/v20190614/asr_client.js +8 -7
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +10 -4
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -0
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +0 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +0 -1
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +8 -8
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +5 -1
- package/tencentcloud/services/dts/v20180330/dts_client.d.ts +3 -1
- package/tencentcloud/services/dts/v20180330/dts_client.js +3 -1
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +268 -78
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +19 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +22 -4
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +10 -30
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +11 -35
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +44 -220
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +4 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +5 -3
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -2
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +47 -0
- package/test/emr.v20190103.test.js +10 -0
- package/test/hunyuan.v20230901.test.js +4 -24
- package/test/waf.v20180125.test.js +20 -0
|
@@ -3056,6 +3056,15 @@ export interface PostAttackDownloadTaskRequest {
|
|
|
3056
3056
|
*/
|
|
3057
3057
|
Count?: number;
|
|
3058
3058
|
}
|
|
3059
|
+
/**
|
|
3060
|
+
* ModifyAreaBanAreas返回参数结构体
|
|
3061
|
+
*/
|
|
3062
|
+
export interface ModifyAreaBanAreasResponse {
|
|
3063
|
+
/**
|
|
3064
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3065
|
+
*/
|
|
3066
|
+
RequestId?: string;
|
|
3067
|
+
}
|
|
3059
3068
|
/**
|
|
3060
3069
|
* ModifyAntiFakeUrlStatus请求参数结构体
|
|
3061
3070
|
*/
|
|
@@ -3391,6 +3400,19 @@ export interface ApiPkg {
|
|
|
3391
3400
|
*/
|
|
3392
3401
|
IsAPISecurityTrial?: number;
|
|
3393
3402
|
}
|
|
3403
|
+
/**
|
|
3404
|
+
* DescribeAreaBanSupportAreas返回参数结构体
|
|
3405
|
+
*/
|
|
3406
|
+
export interface DescribeAreaBanSupportAreasResponse {
|
|
3407
|
+
/**
|
|
3408
|
+
* 地域封禁的地域列表,要解析成json后使用
|
|
3409
|
+
*/
|
|
3410
|
+
Data?: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3413
|
+
*/
|
|
3414
|
+
RequestId?: string;
|
|
3415
|
+
}
|
|
3394
3416
|
/**
|
|
3395
3417
|
* DescribePorts请求参数结构体
|
|
3396
3418
|
*/
|
|
@@ -3755,6 +3777,10 @@ export interface GoodsDetailNew {
|
|
|
3755
3777
|
*/
|
|
3756
3778
|
ResourceId?: string;
|
|
3757
3779
|
}
|
|
3780
|
+
/**
|
|
3781
|
+
* DescribeAreaBanSupportAreas请求参数结构体
|
|
3782
|
+
*/
|
|
3783
|
+
export declare type DescribeAreaBanSupportAreasRequest = null;
|
|
3758
3784
|
/**
|
|
3759
3785
|
* 产品明细
|
|
3760
3786
|
*/
|
|
@@ -8420,6 +8446,27 @@ export interface AddSpartaProtectionRequest {
|
|
|
8420
8446
|
*/
|
|
8421
8447
|
ProbeStatus?: number;
|
|
8422
8448
|
}
|
|
8449
|
+
/**
|
|
8450
|
+
* ModifyAreaBanAreas请求参数结构体
|
|
8451
|
+
*/
|
|
8452
|
+
export interface ModifyAreaBanAreasRequest {
|
|
8453
|
+
/**
|
|
8454
|
+
* 需要修改的域名
|
|
8455
|
+
*/
|
|
8456
|
+
Domain: string;
|
|
8457
|
+
/**
|
|
8458
|
+
* 需要调整的地域信息,一个字符串数组
|
|
8459
|
+
*/
|
|
8460
|
+
Areas: Array<string>;
|
|
8461
|
+
/**
|
|
8462
|
+
* 定时任务类型
|
|
8463
|
+
*/
|
|
8464
|
+
JobType?: string;
|
|
8465
|
+
/**
|
|
8466
|
+
* 定时任务配置
|
|
8467
|
+
*/
|
|
8468
|
+
JobDateTime?: JobDateTime;
|
|
8469
|
+
}
|
|
8423
8470
|
/**
|
|
8424
8471
|
* ModifyModuleStatus返回参数结构体
|
|
8425
8472
|
*/
|
|
@@ -98,6 +98,16 @@ it("emr.v20190103.InquirePriceRenewEmr", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("emr.v20190103.DescribeClusterFlowStatusDetail", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeClusterFlowStatusDetail({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("emr.v20190103.InquiryPriceScaleOutInstance", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.InquiryPriceScaleOutInstance({})
|
|
@@ -18,19 +18,9 @@ const client = new tencentcloud.hunyuan.v20230901.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("hunyuan.v20230901.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("hunyuan.v20230901.
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.SubmitHunyuanImageJob({})
|
|
24
|
-
expect(data).to.be.ok
|
|
25
|
-
} catch(error) {
|
|
26
|
-
expect(error.requestId).to.be.ok
|
|
27
|
-
expect(error.code).to.be.ok
|
|
28
|
-
}
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
it("hunyuan.v20230901.ChatPro", async function () {
|
|
21
|
+
it("hunyuan.v20230901.ChatCompletions", async function () {
|
|
32
22
|
try {
|
|
33
|
-
const data = await client.
|
|
23
|
+
const data = await client.ChatCompletions({})
|
|
34
24
|
expect(data).to.be.ok
|
|
35
25
|
} catch(error) {
|
|
36
26
|
expect(error.requestId).to.be.ok
|
|
@@ -48,19 +38,9 @@ it("hunyuan.v20230901.QueryHunyuanImageJob", async function () {
|
|
|
48
38
|
}
|
|
49
39
|
})
|
|
50
40
|
|
|
51
|
-
it("hunyuan.v20230901.
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.ChatStd({})
|
|
54
|
-
expect(data).to.be.ok
|
|
55
|
-
} catch(error) {
|
|
56
|
-
expect(error.requestId).to.be.ok
|
|
57
|
-
expect(error.code).to.be.ok
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
|
|
61
|
-
it("hunyuan.v20230901.ChatCompletions", async function () {
|
|
41
|
+
it("hunyuan.v20230901.SubmitHunyuanImageJob", async function () {
|
|
62
42
|
try {
|
|
63
|
-
const data = await client.
|
|
43
|
+
const data = await client.SubmitHunyuanImageJob({})
|
|
64
44
|
expect(data).to.be.ok
|
|
65
45
|
} catch(error) {
|
|
66
46
|
expect(error.requestId).to.be.ok
|
|
@@ -348,6 +348,16 @@ it("waf.v20180125.DeleteAntiInfoLeakRule", async function () {
|
|
|
348
348
|
}
|
|
349
349
|
})
|
|
350
350
|
|
|
351
|
+
it("waf.v20180125.ModifyAreaBanAreas", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifyAreaBanAreas({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
351
361
|
it("waf.v20180125.CreateDeals", async function () {
|
|
352
362
|
try {
|
|
353
363
|
const data = await client.CreateDeals({})
|
|
@@ -358,6 +368,16 @@ it("waf.v20180125.CreateDeals", async function () {
|
|
|
358
368
|
}
|
|
359
369
|
})
|
|
360
370
|
|
|
371
|
+
it("waf.v20180125.DescribeAreaBanSupportAreas", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeAreaBanSupportAreas({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
361
381
|
it("waf.v20180125.UpsertCCAutoStatus", async function () {
|
|
362
382
|
try {
|
|
363
383
|
const data = await client.UpsertCCAutoStatus({})
|