tencentcloud-sdk-nodejs 4.0.842 → 4.0.844
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 +399 -0
- package/SERVICE_CHANGELOG.md +460 -80
- package/package.json +1 -6
- package/products.md +34 -34
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_models.ts +41 -36
- package/src/services/ccc/v20200210/ccc_models.ts +1 -1
- package/src/services/cfs/v20190719/cfs_models.ts +36 -22
- package/src/services/cfw/v20190904/cfw_client.ts +1 -1
- package/src/services/cfw/v20190904/cfw_models.ts +3 -3
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +8 -4
- package/src/services/cls/v20201016/cls_models.ts +115 -39
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +16 -3
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +109 -43
- package/src/services/dcdb/v20180411/dcdb_client.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +8 -3
- package/src/services/domain/v20180808/domain_client.ts +13 -1
- package/src/services/domain/v20180808/domain_models.ts +36 -4
- package/src/services/dts/v20211206/dts_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +25 -8
- package/src/services/ess/v20201111/ess_models.ts +60 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +40 -7
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +25 -5
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +131 -23
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/lke/v20231130/lke_client.ts +27 -1
- package/src/services/lke/v20231130/lke_models.ts +238 -3
- package/src/services/mariadb/v20170312/mariadb_client.ts +1 -1
- package/src/services/mariadb/v20170312/mariadb_models.ts +1 -1
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/mps/v20190612/mps_client.ts +2 -1
- package/src/services/mps/v20190612/mps_models.ts +66 -42
- package/src/services/ocr/v20181119/ocr_client.ts +22 -7
- package/src/services/ocr/v20181119/ocr_models.ts +346 -259
- package/src/services/rce/v20201103/rce_models.ts +10 -5
- package/src/services/rum/v20210622/rum_models.ts +34 -34
- package/src/services/tdmq/v20200217/tdmq_models.ts +6 -6
- package/src/services/teo/v20220901/teo_client.ts +1 -0
- package/src/services/teo/v20220901/teo_models.ts +75 -12
- package/src/services/tms/v20201229/tms_client.ts +13 -1
- package/src/services/tms/v20201229/tms_models.ts +40 -16
- package/src/services/tmt/v20180321/tmt_models.ts +1 -1
- package/src/services/tse/v20201207/tse_client.ts +3 -2
- package/src/services/tse/v20201207/tse_models.ts +37 -13
- package/src/services/waf/v20180125/waf_models.ts +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_models.d.ts +41 -36
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +36 -22
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +3 -3
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +8 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +115 -39
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +105 -42
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +8 -3
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +34 -4
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +14 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +57 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +40 -7
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +18 -6
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +19 -5
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +129 -23
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +9 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +12 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +232 -3
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +65 -42
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +341 -257
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +10 -5
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +34 -34
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +6 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +74 -12
- 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 +38 -16
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +36 -13
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
- package/test/cynosdb.v20190107.test.js +10 -0
- package/test/domain.v20180808.test.js +10 -0
- package/test/ess.v20201111.test.js +12 -2
- package/test/hunyuan.v20230901.test.js +10 -0
- package/test/lke.v20231130.test.js +20 -0
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tms.v20201229.test.js +10 -0
|
@@ -720,6 +720,19 @@ export interface QpsThreshold {
|
|
|
720
720
|
*/
|
|
721
721
|
Max: number;
|
|
722
722
|
}
|
|
723
|
+
/**
|
|
724
|
+
* DescribeCloudNativeAPIGatewayConfig返回参数结构体
|
|
725
|
+
*/
|
|
726
|
+
export interface DescribeCloudNativeAPIGatewayConfigResponse {
|
|
727
|
+
/**
|
|
728
|
+
* 获取云原生API网关响应结果。
|
|
729
|
+
*/
|
|
730
|
+
Result?: DescribeCloudNativeAPIGatewayConfigResult;
|
|
731
|
+
/**
|
|
732
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
733
|
+
*/
|
|
734
|
+
RequestId?: string;
|
|
735
|
+
}
|
|
723
736
|
/**
|
|
724
737
|
* ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
|
|
725
738
|
*/
|
|
@@ -2772,17 +2785,17 @@ export interface KongPassiveHealthCheck {
|
|
|
2772
2785
|
Type?: string;
|
|
2773
2786
|
}
|
|
2774
2787
|
/**
|
|
2775
|
-
*
|
|
2788
|
+
* CreateGovernanceServices请求参数结构体
|
|
2776
2789
|
*/
|
|
2777
|
-
export interface
|
|
2790
|
+
export interface CreateGovernanceServicesRequest {
|
|
2778
2791
|
/**
|
|
2779
|
-
*
|
|
2792
|
+
* tse 实例 id。
|
|
2780
2793
|
*/
|
|
2781
|
-
|
|
2794
|
+
InstanceId: string;
|
|
2782
2795
|
/**
|
|
2783
|
-
*
|
|
2796
|
+
* 服务信息。
|
|
2784
2797
|
*/
|
|
2785
|
-
|
|
2798
|
+
GovernanceServices: Array<GovernanceServiceInput>;
|
|
2786
2799
|
}
|
|
2787
2800
|
/**
|
|
2788
2801
|
* DescribeCloudNativeAPIGateway请求参数结构体
|
|
@@ -4098,17 +4111,17 @@ export interface DescribeGovernanceServicesResponse {
|
|
|
4098
4111
|
RequestId?: string;
|
|
4099
4112
|
}
|
|
4100
4113
|
/**
|
|
4101
|
-
*
|
|
4114
|
+
* 云原生网关限流插件参数限流的精确Qps阈值
|
|
4102
4115
|
*/
|
|
4103
|
-
export interface
|
|
4116
|
+
export interface AccurateQpsThreshold {
|
|
4104
4117
|
/**
|
|
4105
|
-
*
|
|
4118
|
+
* qps阈值控制维度,包含:second、minute、hour、day、month、year
|
|
4106
4119
|
*/
|
|
4107
|
-
|
|
4120
|
+
Unit: string;
|
|
4108
4121
|
/**
|
|
4109
|
-
*
|
|
4122
|
+
* 全局配置ID
|
|
4110
4123
|
*/
|
|
4111
|
-
|
|
4124
|
+
GlobalConfigId: string;
|
|
4112
4125
|
}
|
|
4113
4126
|
/**
|
|
4114
4127
|
* CreateGovernanceNamespaces返回参数结构体
|
|
@@ -5830,6 +5843,11 @@ export interface LimitRule {
|
|
|
5830
5843
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5831
5844
|
*/
|
|
5832
5845
|
QpsThresholds?: Array<QpsThreshold>;
|
|
5846
|
+
/**
|
|
5847
|
+
* 精确限流阈值
|
|
5848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5849
|
+
*/
|
|
5850
|
+
AccurateQpsThresholds?: Array<AccurateQpsThreshold>;
|
|
5833
5851
|
}
|
|
5834
5852
|
/**
|
|
5835
5853
|
* CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
|
|
@@ -7316,6 +7334,10 @@ export interface CreateEngineRequest {
|
|
|
7316
7334
|
如果只有一个磁盘,storageCapacity与storageOption里面的capacity应该一致
|
|
7317
7335
|
*/
|
|
7318
7336
|
StorageOption?: Array<StorageOption>;
|
|
7337
|
+
/**
|
|
7338
|
+
* ZK引擎实例,可用区分布约束,STRICT:强约束,PERMISSIVE: 弱约束
|
|
7339
|
+
*/
|
|
7340
|
+
AffinityConstraint?: string;
|
|
7319
7341
|
}
|
|
7320
7342
|
/**
|
|
7321
7343
|
* ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
|
|
@@ -7677,7 +7699,8 @@ export interface EngineRegionInfo {
|
|
|
7677
7699
|
*/
|
|
7678
7700
|
VpcInfos: Array<VpcInfo>;
|
|
7679
7701
|
/**
|
|
7680
|
-
* 是否为主地域
|
|
7702
|
+
* Polaris: 是否为主地域
|
|
7703
|
+
Zookeeper: 是否为Leader固定地域
|
|
7681
7704
|
*/
|
|
7682
7705
|
MainRegion?: boolean;
|
|
7683
7706
|
/**
|
|
@@ -278,6 +278,16 @@ it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("cynosdb.v20190107.DescribeChangedParamsAfterUpgrade", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DescribeChangedParamsAfterUpgrade({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
281
291
|
it("cynosdb.v20190107.DescribeAccountPrivileges", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.DescribeAccountPrivileges({})
|
|
@@ -288,6 +288,16 @@ it("domain.v20180808.BatchModifyDomainInfo", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
+
it("domain.v20180808.ModifyTemplate", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.ModifyTemplate({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
291
301
|
it("domain.v20180808.TransferProhibitionBatch", async function () {
|
|
292
302
|
try {
|
|
293
303
|
const data = await client.TransferProhibitionBatch({})
|
|
@@ -128,6 +128,16 @@ it("ess.v20201111.CreateFlowGroupSignReview", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("ess.v20201111.UnbindEmployeeUserIdWithClientOpenId", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.UnbindEmployeeUserIdWithClientOpenId({})
|
|
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("ess.v20201111.RenewAutoSignLicense", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.RenewAutoSignLicense({})
|
|
@@ -168,9 +178,9 @@ it("ess.v20201111.ModifyExtendedService", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("ess.v20201111.
|
|
181
|
+
it("ess.v20201111.DescribeBatchOrganizationRegistrationUrls", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeBatchOrganizationRegistrationUrls({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.hunyuan.v20230901.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("hunyuan.v20230901.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("hunyuan.v20230901.ChatCompletions", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ChatCompletions({})
|
|
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
|
+
|
|
21
31
|
it("hunyuan.v20230901.ChatPro", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ChatPro({})
|
|
@@ -478,6 +478,16 @@ it("lke.v20231130.CreateQA", async function () {
|
|
|
478
478
|
}
|
|
479
479
|
})
|
|
480
480
|
|
|
481
|
+
it("lke.v20231130.QueryParseDocResult", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.QueryParseDocResult({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
481
491
|
it("lke.v20231130.ListAttributeLabel", async function () {
|
|
482
492
|
try {
|
|
483
493
|
const data = await client.ListAttributeLabel({})
|
|
@@ -588,6 +598,16 @@ it("lke.v20231130.ModifyDoc", async function () {
|
|
|
588
598
|
}
|
|
589
599
|
})
|
|
590
600
|
|
|
601
|
+
it("lke.v20231130.ParseDoc", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.ParseDoc({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
591
611
|
it("lke.v20231130.GetWsToken", async function () {
|
|
592
612
|
try {
|
|
593
613
|
const data = await client.GetWsToken({})
|
|
@@ -518,6 +518,16 @@ it("ocr.v20181119.HmtResidentPermitOCR", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("ocr.v20181119.RecognizeGeneralTextImageWarn", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.RecognizeGeneralTextImageWarn({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
521
531
|
it("ocr.v20181119.SmartStructuralOCR", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.SmartStructuralOCR({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tms.v20201229.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tms.v20201229.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tms.v20201229.AnswerQuestion", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.AnswerQuestion({})
|
|
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
|
+
|
|
21
31
|
it("tms.v20201229.ModerateText", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ModerateText({})
|