tencentcloud-sdk-nodejs 4.0.872 → 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 +269 -0
- package/SERVICE_CHANGELOG.md +288 -70
- package/package.json +1 -1
- package/products.md +24 -24
- 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/billing/v20180709/billing_models.ts +2 -2
- package/src/services/cam/v20190116/cam_client.ts +45 -32
- package/src/services/cam/v20190116/cam_models.ts +124 -54
- package/src/services/cat/v20180409/cat_models.ts +5 -0
- package/src/services/ccc/v20200210/ccc_models.ts +1 -1
- package/src/services/cds/v20180420/cds_client.ts +4 -2
- package/src/services/cls/v20201016/cls_models.ts +13 -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 +7 -8
- 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 +6 -2
- package/src/services/mongodb/v20190725/mongodb_client.ts +52 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +203 -32
- package/src/services/monitor/v20180724/monitor_client.ts +6 -4
- package/src/services/monitor/v20180724/monitor_models.ts +1 -1
- package/src/services/tmt/v20180321/tmt_models.ts +4 -4
- package/src/services/trtc/v20190722/trtc_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/billing/v20180709/billing_models.d.ts +2 -2
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +15 -11
- package/tencentcloud/services/cam/v20190116/cam_client.js +21 -15
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +120 -53
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +5 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
- package/tencentcloud/services/cds/v20180420/cds_client.d.ts +3 -1
- package/tencentcloud/services/cds/v20180420/cds_client.js +3 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +13 -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 +7 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -8
- 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 +6 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +17 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +24 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +194 -32
- 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/tmt/v20180321/tmt_models.d.ts +4 -4
- package/tencentcloud/services/trtc/v20190722/trtc_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/cam.v20190116.test.js +26 -16
- package/test/emr.v20190103.test.js +10 -0
- package/test/hunyuan.v20230901.test.js +4 -24
- package/test/mongodb.v20190725.test.js +40 -0
- 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
|
*/
|
|
@@ -118,9 +118,9 @@ it("cam.v20190116.GetUser", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
-
it("cam.v20190116.
|
|
121
|
+
it("cam.v20190116.UpdateUserOIDCConfig", async function () {
|
|
122
122
|
try {
|
|
123
|
-
const data = await client.
|
|
123
|
+
const data = await client.UpdateUserOIDCConfig({})
|
|
124
124
|
expect(data).to.be.ok
|
|
125
125
|
} catch(error) {
|
|
126
126
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +188,16 @@ it("cam.v20190116.UpdateRoleDescription", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("cam.v20190116.BuildDataFlowAuthToken", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.BuildDataFlowAuthToken({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
191
201
|
it("cam.v20190116.UpdateSAMLProvider", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.UpdateSAMLProvider({})
|
|
@@ -518,6 +528,16 @@ it("cam.v20190116.GetSecurityLastUsed", async function () {
|
|
|
518
528
|
}
|
|
519
529
|
})
|
|
520
530
|
|
|
531
|
+
it("cam.v20190116.CreateGroup", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.CreateGroup({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
521
541
|
it("cam.v20190116.DeletePolicy", async function () {
|
|
522
542
|
try {
|
|
523
543
|
const data = await client.DeletePolicy({})
|
|
@@ -528,9 +548,9 @@ it("cam.v20190116.DeletePolicy", async function () {
|
|
|
528
548
|
}
|
|
529
549
|
})
|
|
530
550
|
|
|
531
|
-
it("cam.v20190116.
|
|
551
|
+
it("cam.v20190116.DeletePolicyVersion", async function () {
|
|
532
552
|
try {
|
|
533
|
-
const data = await client.
|
|
553
|
+
const data = await client.DeletePolicyVersion({})
|
|
534
554
|
expect(data).to.be.ok
|
|
535
555
|
} catch(error) {
|
|
536
556
|
expect(error.requestId).to.be.ok
|
|
@@ -768,9 +788,9 @@ it("cam.v20190116.GetRolePermissionBoundary", async function () {
|
|
|
768
788
|
}
|
|
769
789
|
})
|
|
770
790
|
|
|
771
|
-
it("cam.v20190116.
|
|
791
|
+
it("cam.v20190116.DeleteUserPermissionsBoundary", async function () {
|
|
772
792
|
try {
|
|
773
|
-
const data = await client.
|
|
793
|
+
const data = await client.DeleteUserPermissionsBoundary({})
|
|
774
794
|
expect(data).to.be.ok
|
|
775
795
|
} catch(error) {
|
|
776
796
|
expect(error.requestId).to.be.ok
|
|
@@ -858,16 +878,6 @@ it("cam.v20190116.GetRole", async function () {
|
|
|
858
878
|
}
|
|
859
879
|
})
|
|
860
880
|
|
|
861
|
-
it("cam.v20190116.DeletePolicyVersion", async function () {
|
|
862
|
-
try {
|
|
863
|
-
const data = await client.DeletePolicyVersion({})
|
|
864
|
-
expect(data).to.be.ok
|
|
865
|
-
} catch(error) {
|
|
866
|
-
expect(error.requestId).to.be.ok
|
|
867
|
-
expect(error.code).to.be.ok
|
|
868
|
-
}
|
|
869
|
-
})
|
|
870
|
-
|
|
871
881
|
it("cam.v20190116.ListPolicies", async function () {
|
|
872
882
|
try {
|
|
873
883
|
const data = await client.ListPolicies({})
|
|
@@ -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
|
|
@@ -128,6 +128,16 @@ it("mongodb.v20190725.IsolateDBInstance", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("mongodb.v20190725.SetBackupRules", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.SetBackupRules({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("mongodb.v20190725.InquirePriceModifyDBInstanceSpec", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.InquirePriceModifyDBInstanceSpec({})
|
|
@@ -138,6 +148,16 @@ it("mongodb.v20190725.InquirePriceModifyDBInstanceSpec", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
151
|
+
it("mongodb.v20190725.DescribeBackupRules", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DescribeBackupRules({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
141
161
|
it("mongodb.v20190725.DescribeAsyncRequestInfo", async function () {
|
|
142
162
|
try {
|
|
143
163
|
const data = await client.DescribeAsyncRequestInfo({})
|
|
@@ -318,6 +338,16 @@ it("mongodb.v20190725.AssignProject", async function () {
|
|
|
318
338
|
}
|
|
319
339
|
})
|
|
320
340
|
|
|
341
|
+
it("mongodb.v20190725.DescribeTransparentDataEncryptionStatus", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.DescribeTransparentDataEncryptionStatus({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
321
351
|
it("mongodb.v20190725.DescribeAccountUsers", async function () {
|
|
322
352
|
try {
|
|
323
353
|
const data = await client.DescribeAccountUsers({})
|
|
@@ -358,6 +388,16 @@ it("mongodb.v20190725.KillOps", async function () {
|
|
|
358
388
|
}
|
|
359
389
|
})
|
|
360
390
|
|
|
391
|
+
it("mongodb.v20190725.EnableTransparentDataEncryption", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.EnableTransparentDataEncryption({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
361
401
|
it("mongodb.v20190725.CreateBackupDBInstance", async function () {
|
|
362
402
|
try {
|
|
363
403
|
const data = await client.CreateBackupDBInstance({})
|
|
@@ -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({})
|