tencentcloud-sdk-nodejs 4.0.978 → 4.0.979
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 +122 -0
- package/SERVICE_CHANGELOG.md +145 -47
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_client.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +4 -2
- package/src/services/cdn/v20180606/cdn_client.ts +0 -2
- package/src/services/cdn/v20180606/cdn_models.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +20 -0
- package/src/services/cfg/v20210820/cfg_client.ts +22 -9
- package/src/services/cfg/v20210820/cfg_models.ts +121 -63
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/lke/v20231130/lke_client.ts +14 -1
- package/src/services/lke/v20231130/lke_models.ts +96 -36
- package/src/services/ocr/v20181119/ocr_models.ts +12 -0
- package/src/services/thpc/v20230321/thpc_models.ts +2 -2
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/tse/v20201207/tse_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_client.ts +0 -2
- package/src/services/vpc/v20170312/vpc_models.ts +0 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +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/cdb/v20170320/cdb_models.d.ts +4 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +0 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +0 -2
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +20 -0
- package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +7 -3
- package/tencentcloud/services/cfg/v20210820/cfg_client.js +9 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +117 -62
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -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/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +5 -1
- package/tencentcloud/services/lke/v20231130/lke_client.js +6 -0
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +93 -36
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +12 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +2 -2
- 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/vpc/v20170312/vpc_client.d.ts +0 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +0 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +0 -3
- package/test/cfg.v20210820.test.js +12 -2
- package/test/lke.v20231130.test.js +10 -0
|
@@ -3744,7 +3744,7 @@ export interface RecordParams {
|
|
|
3744
3744
|
*/
|
|
3745
3745
|
RecordMode: number;
|
|
3746
3746
|
/**
|
|
3747
|
-
*
|
|
3747
|
+
* 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
|
3748
3748
|
*/
|
|
3749
3749
|
MaxIdleTime?: number;
|
|
3750
3750
|
/**
|
|
@@ -3157,7 +3157,7 @@ export interface KongCertificatesPreview {
|
|
|
3157
3157
|
* Id
|
|
3158
3158
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3159
3159
|
*/
|
|
3160
|
-
Id
|
|
3160
|
+
Id?: string;
|
|
3161
3161
|
/**
|
|
3162
3162
|
* 绑定的域名
|
|
3163
3163
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -5218,7 +5218,7 @@ export interface DescribeCloudNativeAPIGatewaysResponse {
|
|
|
5218
5218
|
/**
|
|
5219
5219
|
* 获取云原生API网关实例列表响应结果。
|
|
5220
5220
|
*/
|
|
5221
|
-
Result
|
|
5221
|
+
Result?: ListCloudNativeAPIGatewayResult;
|
|
5222
5222
|
/**
|
|
5223
5223
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5224
5224
|
*/
|
|
@@ -1698,8 +1698,6 @@ LimitTypes取值范围:
|
|
|
1698
1698
|
该接口一般用来解封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间解封禁, 只能按更粗的云联网实例粒度解封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度解封禁(UnlockCcnBandwidths)
|
|
1699
1699
|
|
|
1700
1700
|
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
1701
|
*/
|
|
1704
1702
|
UnlockCcns(req?: UnlockCcnsRequest, cb?: (error: string, rep: UnlockCcnsResponse) => void): Promise<UnlockCcnsResponse>;
|
|
1705
1703
|
/**
|
|
@@ -2412,8 +2412,6 @@ LimitTypes取值范围:
|
|
|
2412
2412
|
该接口一般用来解封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间解封禁, 只能按更粗的云联网实例粒度解封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度解封禁(UnlockCcnBandwidths)
|
|
2413
2413
|
|
|
2414
2414
|
如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
2415
|
*/
|
|
2418
2416
|
async UnlockCcns(req, cb) {
|
|
2419
2417
|
return this.request("UnlockCcns", req, cb);
|
|
@@ -3079,12 +3079,10 @@ export interface CcnRouteTableInputPolicy {
|
|
|
3079
3079
|
Description: string;
|
|
3080
3080
|
/**
|
|
3081
3081
|
* as-path操作
|
|
3082
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3083
3082
|
*/
|
|
3084
3083
|
OperateAsPath?: string;
|
|
3085
3084
|
/**
|
|
3086
3085
|
* as-path操作模式
|
|
3087
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3088
3086
|
*/
|
|
3089
3087
|
AsPathOperateMode?: string;
|
|
3090
3088
|
}
|
|
@@ -3107,7 +3105,6 @@ export interface DescribeSecurityGroupAssociationStatisticsResponse {
|
|
|
3107
3105
|
export interface ModifyAssistantCidrResponse {
|
|
3108
3106
|
/**
|
|
3109
3107
|
* 辅助CIDR数组。
|
|
3110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3111
3108
|
*/
|
|
3112
3109
|
AssistantCidrSet?: Array<AssistantCidr>;
|
|
3113
3110
|
/**
|
|
@@ -38,9 +38,9 @@ it("cfg.v20210820.CreateTaskFromTemplate", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cfg.v20210820.
|
|
41
|
+
it("cfg.v20210820.CreateTaskFromMultiAction", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.CreateTaskFromMultiAction({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -178,4 +178,14 @@ it("cfg.v20210820.DescribeTask", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
+
it("cfg.v20210820.DescribeTemplate", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeTemplate({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
181
191
|
})
|
|
@@ -158,6 +158,16 @@ it("lke.v20231130.ListRejectedQuestionPreview", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("lke.v20231130.RunReRank", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.RunReRank({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("lke.v20231130.RetryDocParse", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.RetryDocParse({})
|