tencentcloud-sdk-nodejs 4.0.280 → 4.0.281

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 (45) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/SERVICE_CHANGELOG.md +176 -5
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_client.ts +1 -0
  7. package/src/services/ame/v20190916/ame_models.ts +23 -0
  8. package/src/services/cbs/v20170312/cbs_client.ts +16 -0
  9. package/src/services/cbs/v20170312/cbs_models.ts +60 -0
  10. package/src/services/chdfs/v20201112/chdfs_models.ts +10 -10
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  12. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  13. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +5 -5
  14. package/src/services/ivld/v20210903/ivld_client.ts +227 -29
  15. package/src/services/ivld/v20210903/ivld_models.ts +643 -107
  16. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  17. package/src/services/monitor/v20180724/monitor_models.ts +2 -2
  18. package/src/services/organization/v20210331/organization_models.ts +12 -0
  19. package/src/services/ses/v20201002/ses_models.ts +1 -1
  20. package/src/services/tcss/v20201101/tcss_models.ts +1 -1
  21. package/src/services/vod/v20180717/vod_models.ts +38 -4
  22. package/src/services/vpc/v20170312/vpc_models.ts +4 -2
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +20 -0
  26. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +8 -1
  27. package/tencentcloud/services/cbs/v20170312/cbs_client.js +9 -0
  28. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +51 -0
  29. package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +10 -10
  30. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  31. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  32. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -5
  33. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +93 -11
  34. package/tencentcloud/services/ivld/v20210903/ivld_client.js +123 -13
  35. package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +529 -71
  36. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  37. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  38. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
  39. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +10 -0
  40. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  41. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
  42. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +32 -2
  43. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -2
  44. package/test/cbs.v20170312.test.js +10 -0
  45. package/test/ivld.v20210903.test.js +146 -6
@@ -105,7 +105,7 @@ export declare class Client extends AbstractClient {
105
105
  */
106
106
  DescribePolicyGroupInfo(req: DescribePolicyGroupInfoRequest, cb?: (error: string, rep: DescribePolicyGroupInfoResponse) => void): Promise<DescribePolicyGroupInfoResponse>;
107
107
  /**
108
- * 查询云监控产品列表
108
+ * 查询云监控产品列表,支持云服务器CVM、云数据库、云消息队列、负载均衡、容器服务、专线等云产品。
109
109
  */
110
110
  DescribeProductList(req: DescribeProductListRequest, cb?: (error: string, rep: DescribeProductListResponse) => void): Promise<DescribeProductListResponse>;
111
111
  /**
@@ -167,7 +167,7 @@ class Client extends abstract_client_1.AbstractClient {
167
167
  return this.request("DescribePolicyGroupInfo", req, cb);
168
168
  }
169
169
  /**
170
- * 查询云监控产品列表
170
+ * 查询云监控产品列表,支持云服务器CVM、云数据库、云消息队列、负载均衡、容器服务、专线等云产品。
171
171
  */
172
172
  async DescribeProductList(req, cb) {
173
173
  return this.request("DescribeProductList", req, cb);
@@ -3526,12 +3526,12 @@ export interface DescribeProductListResponse {
3526
3526
  * 产品信息列表
3527
3527
  注意:此字段可能返回 null,表示取不到有效值。
3528
3528
  */
3529
- ProductList?: Array<ProductSimple>;
3529
+ ProductList: Array<ProductSimple>;
3530
3530
  /**
3531
3531
  * 产品总数
3532
3532
  注意:此字段可能返回 null,表示取不到有效值。
3533
3533
  */
3534
- TotalCount?: number;
3534
+ TotalCount: number;
3535
3535
  /**
3536
3536
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3537
3537
  */
@@ -90,6 +90,16 @@ export interface DescribeOrganizationResponse {
90
90
  注意:此字段可能返回 null,表示取不到有效值。
91
91
  */
92
92
  IsAllowQuit: string;
93
+ /**
94
+ * 代付者Uin
95
+ 注意:此字段可能返回 null,表示取不到有效值。
96
+ */
97
+ PayUin: string;
98
+ /**
99
+ * 代付者名称
100
+ 注意:此字段可能返回 null,表示取不到有效值。
101
+ */
102
+ PayName: string;
93
103
  /**
94
104
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
95
105
  */
@@ -21,7 +21,7 @@ export interface BatchSendEmailRequest {
21
21
  */
22
22
  TaskType: number;
23
23
  /**
24
- * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人将会回复到腾讯云(暂未支持)
24
+ * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人将会回复到腾讯云
25
25
  */
26
26
  ReplyToAddresses?: string;
27
27
  /**
@@ -9552,7 +9552,7 @@ export interface DescribeAssetHostListRequest {
9552
9552
  <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
9553
9553
  <li>HostID- string - 是否必填:否 - 主机id搜索</li>
9554
9554
  <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
9555
- <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),"TENCENTCLOUD":"腾讯云服务器","OTHERCLOUD":"非腾讯云服务器"</li>
9555
+ <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
9556
9556
  <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
9557
9557
  */
9558
9558
  Filters?: Array<AssetFilters>;
@@ -5416,21 +5416,40 @@ export interface CreateSuperPlayerConfigRequest {
5416
5416
  * 播放器配置名称,长度限制:64 个字符。只允许出现 [0-9a-zA-Z] 及 _- 字符(如 test_ABC-123),同一个用户该名称唯一。
5417
5417
  */
5418
5418
  Name: string;
5419
+ /**
5420
+ * 播放的音视频类型,可选值:
5421
+ <li>AdaptiveDynamicStream:自适应码流输出;</li>
5422
+ <li>Transcode:转码输出;</li>
5423
+ <li>Original:原始音视频。</li>
5424
+ 默认为 AdaptiveDynamicStream。
5425
+ */
5426
+ AudioVideoType?: string;
5419
5427
  /**
5420
5428
  * 播放 DRM 保护的自适应码流开关:
5421
5429
  <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li>
5422
5430
  <li>OFF:关闭,表示播放未加密的自适应码流输出。</li>
5423
5431
  默认为 OFF。
5432
+ 当 AudioVideoType 为 AdaptiveDynamicStream 时,此参数有效。
5424
5433
  */
5425
5434
  DrmSwitch?: string;
5426
5435
  /**
5427
- * 允许输出的未加密的自适应码流模板 ID,当 DrmSwitch 为 OFF 时必填。
5436
+ * 允许输出的未加密的自适应码流模板 ID
5437
+
5438
+ 当 AudioVideoType 为 AdaptiveDynamicStream 并且 DrmSwitch 为 OFF 时,此参数为必填。
5428
5439
  */
5429
5440
  AdaptiveDynamicStreamingDefinition?: number;
5430
5441
  /**
5431
- * 允许输出的 DRM 自适应码流模板内容,当 DrmSwitch 为 ON 时必填。
5442
+ * 允许输出的 DRM 自适应码流模板内容。
5443
+
5444
+ 当 AudioVideoType 为 AdaptiveDynamicStream 并且 DrmSwitch 为 ON 时,此参数为必填。
5432
5445
  */
5433
5446
  DrmStreamingsInfo?: DrmStreamingsInfo;
5447
+ /**
5448
+ * 允许输出的转码模板 ID。
5449
+
5450
+ 当 AudioVideoType 为 Transcode 时必填。
5451
+ */
5452
+ TranscodeDefinition?: number;
5434
5453
  /**
5435
5454
  * 允许输出的雪碧图模板 ID。
5436
5455
  */
@@ -10689,6 +10708,13 @@ export interface ModifySuperPlayerConfigRequest {
10689
10708
  * 播放器配置名称。
10690
10709
  */
10691
10710
  Name: string;
10711
+ /**
10712
+ * 播放的音视频类型,可选值:
10713
+ <li>AdaptiveDynamicStream:自适应码流输出;</li>
10714
+ <li>Transcode:转码输出;</li>
10715
+ <li>Original:原始音视频。</li>
10716
+ */
10717
+ AudioVideoType?: string;
10692
10718
  /**
10693
10719
  * 播放 DRM 保护的自适应码流开关:
10694
10720
  <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li>
@@ -10703,6 +10729,10 @@ export interface ModifySuperPlayerConfigRequest {
10703
10729
  * 允许输出的 DRM 自适应码流模板内容。
10704
10730
  */
10705
10731
  DrmStreamingsInfo?: DrmStreamingsInfoForUpdate;
10732
+ /**
10733
+ * 允许输出的转码模板 ID。
10734
+ */
10735
+ TranscodeDefinition?: number;
10706
10736
  /**
10707
10737
  * 允许输出的雪碧图模板 ID。
10708
10738
  */
@@ -2730,6 +2730,7 @@ DIRECTCONNECT:专线网关;
2730
2730
  PEERCONNECTION:对等连接;
2731
2731
  NAT:NAT网关;
2732
2732
  NORMAL_CVM:普通云服务器;
2733
+ CCN:云联网网关;
2733
2734
  */
2734
2735
  NextHopType?: string;
2735
2736
  /**
@@ -2739,6 +2740,7 @@ NORMAL_CVM:普通云服务器;
2739
2740
  下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678;
2740
2741
  下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
2741
2742
  下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
2743
+ 下一跳类型为CCN,取值云联网ID,形如:ccn-44csczop;
2742
2744
  */
2743
2745
  NextHopDestination?: string;
2744
2746
  /**
@@ -2754,12 +2756,12 @@ export interface DescribeNetDetectStatesResponse {
2754
2756
  * 符合条件的网络探测验证结果对象数组。
2755
2757
  注意:此字段可能返回 null,表示取不到有效值。
2756
2758
  */
2757
- NetDetectStateSet?: Array<NetDetectState>;
2759
+ NetDetectStateSet: Array<NetDetectState>;
2758
2760
  /**
2759
2761
  * 符合条件的网络探测验证结果对象数量。
2760
2762
  注意:此字段可能返回 null,表示取不到有效值。
2761
2763
  */
2762
- TotalCount?: number;
2764
+ TotalCount: number;
2763
2765
  /**
2764
2766
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2765
2767
  */
@@ -38,6 +38,16 @@ it("cbs.v20170312.RenewDisk", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("cbs.v20170312.CopySnapshotCrossRegions", async function () {
42
+ try {
43
+ const data = await client.CopySnapshotCrossRegions({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
41
51
  it("cbs.v20170312.DescribeInstancesDiskNum", async function () {
42
52
  try {
43
53
  const data = await client.DescribeInstancesDiskNum({})
@@ -38,9 +38,9 @@ it("ivld.v20210903.ImportMedia", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("ivld.v20210903.DescribeMedias", async function () {
41
+ it("ivld.v20210903.CreateCustomPerson", async function () {
42
42
  try {
43
- const data = await client.DescribeMedias({})
43
+ const data = await client.CreateCustomPerson({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,49 @@ it("ivld.v20210903.DescribeMedias", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("ivld.v20210903.DescribeMedia", async function () {
51
+ it("ivld.v20210903.DeleteCustomPersonImage", async function () {
52
52
  try {
53
- const data = await client.DescribeMedia({})
53
+ const data = await client.DeleteCustomPersonImage({})
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("ivld.v20210903.UpdateCustomCategory", async function () {
62
+ try {
63
+ const data = await client.UpdateCustomCategory({})
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
+
71
+ it("ivld.v20210903.UpdateCustomPerson", async function () {
72
+ try {
73
+ const data = await client.UpdateCustomPerson({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("ivld.v20210903.DeleteCustomCategory", async function () {
82
+ try {
83
+ const data = await client.DeleteCustomCategory({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("ivld.v20210903.AddCustomPersonImage", async function () {
92
+ try {
93
+ const data = await client.AddCustomPersonImage({})
54
94
  expect(data).to.be.ok
55
95
  } catch(error) {
56
96
  expect(error.requestId).to.be.ok
@@ -68,6 +108,16 @@ it("ivld.v20210903.DescribeTaskDetail", async function () {
68
108
  }
69
109
  })
70
110
 
111
+ it("ivld.v20210903.CreateDefaultCategories", async function () {
112
+ try {
113
+ const data = await client.CreateDefaultCategories({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
71
121
  it("ivld.v20210903.DescribeTask", async function () {
72
122
  try {
73
123
  const data = await client.DescribeTask({})
@@ -78,9 +128,49 @@ it("ivld.v20210903.DescribeTask", async function () {
78
128
  }
79
129
  })
80
130
 
81
- it("ivld.v20210903.DescribeTasks", async function () {
131
+ it("ivld.v20210903.DescribeCustomPersonDetail", async function () {
82
132
  try {
83
- const data = await client.DescribeTasks({})
133
+ const data = await client.DescribeCustomPersonDetail({})
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
+
141
+ it("ivld.v20210903.CreateCustomCategory", async function () {
142
+ try {
143
+ const data = await client.CreateCustomCategory({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("ivld.v20210903.DescribeCustomPersons", async function () {
152
+ try {
153
+ const data = await client.DescribeCustomPersons({})
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
+
161
+ it("ivld.v20210903.DeleteCustomPerson", async function () {
162
+ try {
163
+ const data = await client.DeleteCustomPerson({})
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
+
171
+ it("ivld.v20210903.DescribeMedia", async function () {
172
+ try {
173
+ const data = await client.DescribeMedia({})
84
174
  expect(data).to.be.ok
85
175
  } catch(error) {
86
176
  expect(error.requestId).to.be.ok
@@ -98,4 +188,54 @@ it("ivld.v20210903.DeleteMedia", async function () {
98
188
  }
99
189
  })
100
190
 
191
+ it("ivld.v20210903.DescribeTasks", async function () {
192
+ try {
193
+ const data = await client.DescribeTasks({})
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
+
201
+ it("ivld.v20210903.CreateCustomGroup", async function () {
202
+ try {
203
+ const data = await client.CreateCustomGroup({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
211
+ it("ivld.v20210903.DescribeCustomCategories", async function () {
212
+ try {
213
+ const data = await client.DescribeCustomCategories({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("ivld.v20210903.DescribeCustomGroup", async function () {
222
+ try {
223
+ const data = await client.DescribeCustomGroup({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("ivld.v20210903.DescribeMedias", async function () {
232
+ try {
233
+ const data = await client.DescribeMedias({})
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
+
101
241
  })