tencentcloud-sdk-nodejs 4.0.834 → 4.0.836

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +242 -0
  2. package/SERVICE_CHANGELOG.md +460 -529
  3. package/package.json +1 -1
  4. package/products.md +19 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +11 -0
  7. package/src/services/asr/v20190614/asr_client.ts +1 -1
  8. package/src/services/asr/v20190614/asr_models.ts +3 -0
  9. package/src/services/bsca/v20210811/bsca_models.ts +9 -1
  10. package/src/services/ccc/v20200210/ccc_client.ts +2 -2
  11. package/src/services/ccc/v20200210/ccc_models.ts +10 -10
  12. package/src/services/domain/v20180808/domain_client.ts +30 -5
  13. package/src/services/domain/v20180808/domain_models.ts +298 -206
  14. package/src/services/dts/v20211206/dts_models.ts +2 -2
  15. package/src/services/ess/v20201111/ess_client.ts +71 -20
  16. package/src/services/ess/v20201111/ess_models.ts +321 -56
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -2
  18. package/src/services/iai/v20180301/iai_models.ts +10 -9
  19. package/src/services/lcic/v20220817/lcic_models.ts +22 -0
  20. package/src/services/lke/v20231130/lke_models.ts +6 -2
  21. package/src/services/monitor/v20180724/monitor_models.ts +15 -5
  22. package/src/services/ocr/v20181119/ocr_models.ts +10 -10
  23. package/src/services/rce/v20201103/rce_models.ts +5 -4
  24. package/src/services/sqlserver/v20180328/sqlserver_client.ts +12 -0
  25. package/src/services/sqlserver/v20180328/sqlserver_models.ts +32 -0
  26. package/src/services/tat/v20201028/tat_models.ts +4 -4
  27. package/src/services/tke/v20180525/tke_client.ts +27 -0
  28. package/src/services/tke/v20180525/tke_models.ts +125 -5
  29. package/src/services/trtc/v20190722/trtc_client.ts +3 -3
  30. package/src/services/vod/v20180717/vod_client.ts +2 -2
  31. package/src/services/vod/v20180717/vod_models.ts +20 -21
  32. package/tencentcloud/common/sdk_version.d.ts +1 -1
  33. package/tencentcloud/common/sdk_version.js +1 -1
  34. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +11 -0
  35. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  36. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  37. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -0
  38. package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +9 -1
  39. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +2 -2
  40. package/tencentcloud/services/ccc/v20200210/ccc_client.js +2 -2
  41. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -10
  42. package/tencentcloud/services/domain/v20180808/domain_client.d.ts +9 -1
  43. package/tencentcloud/services/domain/v20180808/domain_client.js +12 -0
  44. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +293 -206
  45. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
  46. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +42 -8
  47. package/tencentcloud/services/ess/v20201111/ess_client.js +47 -9
  48. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +316 -56
  49. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -2
  50. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +10 -9
  51. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +22 -0
  52. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +6 -2
  53. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +15 -5
  54. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -10
  55. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +5 -4
  56. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
  57. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
  58. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +30 -0
  59. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +3 -3
  60. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -1
  61. package/tencentcloud/services/tke/v20180525/tke_client.js +12 -0
  62. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +118 -5
  63. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -3
  64. package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -3
  65. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
  66. package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
  67. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +20 -21
  68. package/test/domain.v20180808.test.js +20 -0
  69. package/test/ess.v20201111.test.js +24 -4
  70. package/test/sqlserver.v20180328.test.js +10 -0
  71. package/test/tke.v20180525.test.js +20 -0
@@ -889,7 +889,7 @@ class Client extends abstract_client_1.AbstractClient {
889
889
  return this.request("DeleteAIRecognitionTemplate", req, cb);
890
890
  }
891
891
  /**
892
- * 该接口用于创建点播子应用。
892
+ * 该接口用于创建点播应用。
893
893
  */
894
894
  async CreateSubAppId(req, cb) {
895
895
  return this.request("CreateSubAppId", req, cb);
@@ -1065,7 +1065,7 @@ class Client extends abstract_client_1.AbstractClient {
1065
1065
  return this.request("DescribeSuperPlayerConfigs", req, cb);
1066
1066
  }
1067
1067
  /**
1068
- * 该接口用于获取当前账号的子应用列表,包含主应用。
1068
+ * 该接口用于获取当前账号的应用列表。
1069
1069
  */
1070
1070
  async DescribeSubAppIds(req, cb) {
1071
1071
  return this.request("DescribeSubAppIds", req, cb);
@@ -255,7 +255,7 @@ export interface WeChatMiniProgramPublishRequest {
255
255
  */
256
256
  FileId: string;
257
257
  /**
258
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
258
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
259
259
  */
260
260
  SubAppId?: number;
261
261
  /**
@@ -2997,7 +2997,7 @@ export interface ReviewAudioVideoRequest {
2997
2997
  */
2998
2998
  FileId: string;
2999
2999
  /**
3000
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
3000
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
3001
3001
  */
3002
3002
  SubAppId?: number;
3003
3003
  /**
@@ -4895,7 +4895,7 @@ export interface SetCLSPushTargetRequest {
4895
4895
  */
4896
4896
  Domain: string;
4897
4897
  /**
4898
- * 点播应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
4898
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
4899
4899
  */
4900
4900
  SubAppId?: number;
4901
4901
  /**
@@ -5880,11 +5880,11 @@ export interface DescribeAdaptiveDynamicStreamingTemplatesResponse {
5880
5880
  /**
5881
5881
  * 符合过滤条件的记录总数。
5882
5882
  */
5883
- TotalCount: number;
5883
+ TotalCount?: number;
5884
5884
  /**
5885
5885
  * 转自适应码流模板详情列表。
5886
5886
  */
5887
- AdaptiveDynamicStreamingTemplateSet: Array<AdaptiveDynamicStreamingTemplate>;
5887
+ AdaptiveDynamicStreamingTemplateSet?: Array<AdaptiveDynamicStreamingTemplate>;
5888
5888
  /**
5889
5889
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5890
5890
  */
@@ -5932,7 +5932,7 @@ export interface TimeRange {
5932
5932
  */
5933
5933
  export interface DescribeAdaptiveDynamicStreamingTemplatesRequest {
5934
5934
  /**
5935
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
5935
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
5936
5936
  */
5937
5937
  SubAppId?: number;
5938
5938
  /**
@@ -8270,7 +8270,7 @@ export interface DeleteMediaRequest {
8270
8270
  */
8271
8271
  FileId: string;
8272
8272
  /**
8273
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8273
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
8274
8274
  */
8275
8275
  SubAppId?: number;
8276
8276
  /**
@@ -8485,11 +8485,11 @@ export interface DeleteRebuildMediaTemplateResponse {
8485
8485
  */
8486
8486
  export interface DescribeSubAppIdsResponse {
8487
8487
  /**
8488
- * 子应用信息集合。
8488
+ * 应用信息集合。
8489
8489
  */
8490
8490
  SubAppIdInfoSet?: Array<SubAppIdInfo>;
8491
8491
  /**
8492
- * 子应用总数量。
8492
+ * 应用总数量。
8493
8493
  */
8494
8494
  TotalCount?: number;
8495
8495
  /**
@@ -10019,9 +10019,9 @@ export interface ModifySubAppIdStatusRequest {
10019
10019
  */
10020
10020
  export interface CreateSubAppIdResponse {
10021
10021
  /**
10022
- * 新创建的子应用 ID。
10022
+ * 新创建的应用 ID。
10023
10023
  */
10024
- SubAppId: number;
10024
+ SubAppId?: number;
10025
10025
  /**
10026
10026
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10027
10027
  */
@@ -11504,7 +11504,7 @@ export interface ApplyUploadRequest {
11504
11504
  */
11505
11505
  MediaType: string;
11506
11506
  /**
11507
- * <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
11507
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
11508
11508
  */
11509
11509
  SubAppId?: number;
11510
11510
  /**
@@ -13052,7 +13052,7 @@ export interface PushUrlCacheRequest {
13052
13052
  */
13053
13053
  Urls: Array<string>;
13054
13054
  /**
13055
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
13055
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
13056
13056
  */
13057
13057
  SubAppId?: number;
13058
13058
  }
@@ -15458,11 +15458,11 @@ export interface DescribeTasksResponse {
15458
15458
  */
15459
15459
  export interface DescribeSubAppIdsRequest {
15460
15460
  /**
15461
- * 子应用名称。
15461
+ * 应用名称。
15462
15462
  */
15463
15463
  Name?: string;
15464
15464
  /**
15465
- * 标签信息,查询指定标签的子应用列表。
15465
+ * 标签信息,查询指定标签的应用列表。
15466
15466
  */
15467
15467
  Tags?: Array<ResourceTag>;
15468
15468
  /**
@@ -17750,7 +17750,7 @@ export interface RestoreMediaRequest {
17750
17750
  */
17751
17751
  FileIds: Array<string>;
17752
17752
  /**
17753
- * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
17753
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
17754
17754
  */
17755
17755
  SubAppId?: number;
17756
17756
  /**
@@ -17960,11 +17960,11 @@ export interface AiRecognitionTaskAsrWordsResult {
17960
17960
  */
17961
17961
  export interface CreateSubAppIdRequest {
17962
17962
  /**
17963
- * 子应用名称,长度限制:40个字符。
17963
+ * 应用名称,长度限制:40个字符。
17964
17964
  */
17965
17965
  Name: string;
17966
17966
  /**
17967
- * 子应用简介,长度限制: 300个字符。
17967
+ * 应用简介,长度限制: 300个字符。
17968
17968
  */
17969
17969
  Description?: string;
17970
17970
  }
@@ -19475,8 +19475,7 @@ export interface DescribeStorageDetailsRequest {
19475
19475
  */
19476
19476
  EndTime: string;
19477
19477
  /**
19478
- * <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
19479
- 当该字段为1时,表示以管理员身份查询所有子应用(含主应用)的用量合计。</b>
19478
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
19480
19479
  */
19481
19480
  SubAppId?: number;
19482
19481
  /**
@@ -19495,7 +19494,7 @@ export interface DescribeStorageDetailsRequest {
19495
19494
  <li>DeepArchiveStorage:深度归档存储。</li>
19496
19495
  <li>DeletedInfrequentStorage:低频存储提前删除量。</li>
19497
19496
  <li>DeletedArchiveStorage:归档提前删除量。</li>
19498
- <li>DeletedDeepArchiveStorage:深度归档提前删除量。
19497
+ <li>DeletedDeepArchiveStorage:深度归档提前删除量。</li>
19499
19498
  <li>ArchiveStandardRetrieval:归档标准取回量。</li>
19500
19499
  <li>ArchiveExpeditedRetrieval:归档快速取回量。</li>
19501
19500
  <li>ArchiveBulkRetrieval:归档批量取回量。</li>
@@ -28,6 +28,16 @@ it("domain.v20180808.SetDomainAutoRenew", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("domain.v20180808.DescribeReservedBidInfo", async function () {
32
+ try {
33
+ const data = await client.DescribeReservedBidInfo({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("domain.v20180808.ModifyCustomDnsHost", async function () {
32
42
  try {
33
43
  const data = await client.ModifyCustomDnsHost({})
@@ -78,6 +88,16 @@ it("domain.v20180808.DescribePreDomainList", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("domain.v20180808.BidPreDomains", async function () {
92
+ try {
93
+ const data = await client.BidPreDomains({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
81
101
  it("domain.v20180808.DescribeCustomDnsHostSet", async function () {
82
102
  try {
83
103
  const data = await client.DescribeCustomDnsHostSet({})
@@ -228,9 +228,19 @@ it("ess.v20201111.CreateFlowApprovers", async function () {
228
228
  }
229
229
  })
230
230
 
231
- it("ess.v20201111.ModifyIntegrationDepartment", async function () {
231
+ it("ess.v20201111.DescribeCancelFlowsTask", async function () {
232
232
  try {
233
- const data = await client.ModifyIntegrationDepartment({})
233
+ const data = await client.DescribeCancelFlowsTask({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
241
+ it("ess.v20201111.CreateOrganizationAuthUrl", async function () {
242
+ try {
243
+ const data = await client.CreateOrganizationAuthUrl({})
234
244
  expect(data).to.be.ok
235
245
  } catch(error) {
236
246
  expect(error.requestId).to.be.ok
@@ -308,9 +318,9 @@ it("ess.v20201111.CreateFlow", async function () {
308
318
  }
309
319
  })
310
320
 
311
- it("ess.v20201111.DescribeCancelFlowsTask", async function () {
321
+ it("ess.v20201111.CreateBatchOrganizationRegistrationTasks", async function () {
312
322
  try {
313
- const data = await client.DescribeCancelFlowsTask({})
323
+ const data = await client.CreateBatchOrganizationRegistrationTasks({})
314
324
  expect(data).to.be.ok
315
325
  } catch(error) {
316
326
  expect(error.requestId).to.be.ok
@@ -458,6 +468,16 @@ it("ess.v20201111.DescribeExtendedServiceAuthDetail", async function () {
458
468
  }
459
469
  })
460
470
 
471
+ it("ess.v20201111.ModifyIntegrationDepartment", async function () {
472
+ try {
473
+ const data = await client.ModifyIntegrationDepartment({})
474
+ expect(data).to.be.ok
475
+ } catch(error) {
476
+ expect(error.requestId).to.be.ok
477
+ expect(error.code).to.be.ok
478
+ }
479
+ })
480
+
461
481
  it("ess.v20201111.CreateExtendedServiceAuthInfos", async function () {
462
482
  try {
463
483
  const data = await client.CreateExtendedServiceAuthInfos({})
@@ -748,6 +748,16 @@ it("sqlserver.v20180328.ModifyInstanceParam", async function () {
748
748
  }
749
749
  })
750
750
 
751
+ it("sqlserver.v20180328.DescribeRestoreTimeRange", async function () {
752
+ try {
753
+ const data = await client.DescribeRestoreTimeRange({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
751
761
  it("sqlserver.v20180328.DescribeSlowlogs", async function () {
752
762
  try {
753
763
  const data = await client.DescribeSlowlogs({})
@@ -58,6 +58,16 @@ it("tke.v20180525.CreateCluster", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("tke.v20180525.DescribeSupportedRuntime", async function () {
62
+ try {
63
+ const data = await client.DescribeSupportedRuntime({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
61
71
  it("tke.v20180525.InstallEdgeLogAgent", async function () {
62
72
  try {
63
73
  const data = await client.InstallEdgeLogAgent({})
@@ -2188,6 +2198,16 @@ it("tke.v20180525.CreateClusterEndpointVip", async function () {
2188
2198
  }
2189
2199
  })
2190
2200
 
2201
+ it("tke.v20180525.ModifyClusterRuntimeConfig", async function () {
2202
+ try {
2203
+ const data = await client.ModifyClusterRuntimeConfig({})
2204
+ expect(data).to.be.ok
2205
+ } catch(error) {
2206
+ expect(error.requestId).to.be.ok
2207
+ expect(error.code).to.be.ok
2208
+ }
2209
+ })
2210
+
2191
2211
  it("tke.v20180525.DescribeRouteTableConflicts", async function () {
2192
2212
  try {
2193
2213
  const data = await client.DescribeRouteTableConflicts({})