tencentcloud-sdk-nodejs 4.0.469 → 4.0.470

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 (46) hide show
  1. package/CHANGELOG.md +295 -0
  2. package/SERVICE_CHANGELOG.md +532 -7
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/captcha/v20190722/captcha_models.ts +1 -0
  7. package/src/services/cls/v20201016/cls_models.ts +9 -3
  8. package/src/services/dcdb/v20180411/dcdb_client.ts +37 -1
  9. package/src/services/dcdb/v20180411/dcdb_models.ts +121 -6
  10. package/src/services/gme/v20180711/gme_client.ts +7 -3
  11. package/src/services/gme/v20180711/gme_models.ts +100 -32
  12. package/src/services/live/v20180801/live_models.ts +8 -1
  13. package/src/services/mongodb/v20190725/mongodb_client.ts +15 -0
  14. package/src/services/mongodb/v20190725/mongodb_models.ts +162 -0
  15. package/src/services/ocr/v20181119/ocr_models.ts +162 -0
  16. package/src/services/partners/v20180321/partners_client.ts +93 -80
  17. package/src/services/partners/v20180321/partners_models.ts +75 -0
  18. package/src/services/tag/v20180813/tag_models.ts +1 -1
  19. package/src/services/vod/v20180717/vod_models.ts +41 -0
  20. package/src/services/wedata/v20210820/wedata_models.ts +10 -0
  21. package/src/services/yinsuda/v20220527/yinsuda_models.ts +16 -0
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -0
  25. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +8 -3
  26. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +13 -1
  27. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +18 -0
  28. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +104 -6
  29. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +2 -2
  30. package/tencentcloud/services/gme/v20180711/gme_client.js +1 -1
  31. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +86 -26
  32. package/tencentcloud/services/live/v20180801/live_models.d.ts +7 -1
  33. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  34. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  35. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +138 -0
  36. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +130 -0
  37. package/tencentcloud/services/partners/v20180321/partners_client.d.ts +35 -31
  38. package/tencentcloud/services/partners/v20180321/partners_client.js +51 -45
  39. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +63 -0
  40. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +1 -1
  41. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +35 -0
  42. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +8 -0
  43. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +13 -0
  44. package/test/dcdb.v20180411.test.js +30 -0
  45. package/test/mongodb.v20190725.test.js +10 -0
  46. package/test/partners.v20180321.test.js +50 -40
@@ -259,6 +259,13 @@ export interface CreateTranscodeTemplateRequest {
259
259
  * 极速高清转码参数。
260
260
  */
261
261
  TEHDConfig?: TEHDConfig;
262
+ /**
263
+ * 切片类型,当 Container 为 hls 时有效,可选值:
264
+ <li>ts:ts 切片;</li>
265
+ <li>fmp4:fmp4 切片。</li>
266
+ 默认值:ts。
267
+ */
268
+ SegmentType?: string;
262
269
  }
263
270
  /**
264
271
  * 转场操作
@@ -517,6 +524,10 @@ export interface AdaptiveDynamicStreamingTemplate {
517
524
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
518
525
  */
519
526
  UpdateTime: string;
527
+ /**
528
+ * 切片类型,仅当 Format 为 HLS 时有效。
529
+ */
530
+ SegmentType: string;
520
531
  }
521
532
  /**
522
533
  * DeleteAnimatedGraphicsTemplate返回参数结构体
@@ -1830,6 +1841,13 @@ export interface CreateAdaptiveDynamicStreamingTemplateRequest {
1830
1841
  * 模板描述信息,长度限制:256 个字符。
1831
1842
  */
1832
1843
  Comment?: string;
1844
+ /**
1845
+ * 切片类型,当 Format 为 HLS 时有效,可选值:
1846
+ <li>ts:ts 切片;</li>
1847
+ <li>fmp4:fmp4 切片。</li>
1848
+ 默认值:ts。
1849
+ */
1850
+ SegmentType?: string;
1833
1851
  }
1834
1852
  /**
1835
1853
  * PushUrlCache返回参数结构体
@@ -1971,6 +1989,12 @@ export interface ModifyTranscodeTemplateRequest {
1971
1989
  * 极速高清转码参数。
1972
1990
  */
1973
1991
  TEHDConfig?: TEHDConfigForUpdate;
1992
+ /**
1993
+ * 切片类型,当 Container 为 hls 时有效,可选值:
1994
+ <li>ts:ts 切片;</li>
1995
+ <li>fmp4:fmp4 切片。</li>
1996
+ */
1997
+ SegmentType?: string;
1974
1998
  }
1975
1999
  /**
1976
2000
  * 智能精彩片段结果类型
@@ -5432,6 +5456,12 @@ export interface ModifyAdaptiveDynamicStreamingTemplateRequest {
5432
5456
  * 模板描述信息,长度限制:256 个字符。
5433
5457
  */
5434
5458
  Comment?: string;
5459
+ /**
5460
+ * 切片类型,当 Format 为 HLS 时有效,可选值:
5461
+ <li>ts:ts 切片;</li>
5462
+ <li>fmp4:fmp4 切片。</li>
5463
+ */
5464
+ SegmentType?: string;
5435
5465
  }
5436
5466
  /**
5437
5467
  * 视频转动图结果信息
@@ -9114,6 +9144,10 @@ export interface TranscodeTemplate {
9114
9144
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
9115
9145
  */
9116
9146
  UpdateTime: string;
9147
+ /**
9148
+ * 切片类型,仅当 Container 为 hls 时有效。
9149
+ */
9150
+ SegmentType: string;
9117
9151
  }
9118
9152
  /**
9119
9153
  * DescribeCDNUsageData请求参数结构体
@@ -9940,6 +9974,7 @@ export interface StatDataItem {
9940
9974
  <li>转码时长的数据,单位是秒。</li>
9941
9975
  <li>流量数据,单位是字节。</li>
9942
9976
  <li>带宽数据,单位是比特每秒。</li>
9977
+ <li>直播剪辑数据,单位是秒。</li>
9943
9978
  */
9944
9979
  Value: number;
9945
9980
  }
@@ -1108,6 +1108,10 @@ export interface DeleteCustomFunctionRequest {
1108
1108
  * 函数 ID
1109
1109
  */
1110
1110
  FunctionId: string;
1111
+ /**
1112
+ * 项目ID,必须填
1113
+ */
1114
+ ProjectId?: string;
1111
1115
  }
1112
1116
  /**
1113
1117
  * 任务分页数据查询
@@ -3996,4 +4000,8 @@ export interface SubmitCustomFunctionRequest {
3996
4000
  * 备注信息
3997
4001
  */
3998
4002
  Comment: string;
4003
+ /**
4004
+ * 项目ID
4005
+ */
4006
+ ProjectId?: string;
3999
4007
  }
@@ -217,6 +217,10 @@ export interface DescribeKTVPlaylistsResponse {
217
217
  * 歌单基础信息。
218
218
  */
219
219
  PlaylistBaseInfoSet: Array<KTVPlaylistBaseInfo>;
220
+ /**
221
+ * 歌单总数。
222
+ */
223
+ TotalCount: number;
220
224
  /**
221
225
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
222
226
  */
@@ -238,8 +242,17 @@ export interface DescribeKTVPlaylistsRequest {
238
242
  * 类型列表,取值有:
239
243
  <li>OfficialRec:官方推荐;</li>
240
244
  <li>Customize:自定义。</li>
245
+ 默认值为 OfficialRec。
241
246
  */
242
247
  Types?: Array<string>;
248
+ /**
249
+ * 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。
250
+ */
251
+ Offset?: number;
252
+ /**
253
+ * 分页返回的记录条数,默认值:20,最大值:50。
254
+ */
255
+ Limit?: number;
243
256
  }
244
257
  /**
245
258
  * DescribeKTVPlaylistDetail返回参数结构体
@@ -248,6 +248,16 @@ it("dcdb.v20180411.ModifyDBInstancesProject", async function () {
248
248
  }
249
249
  })
250
250
 
251
+ it("dcdb.v20180411.ModifyInstanceVip", async function () {
252
+ try {
253
+ const data = await client.ModifyInstanceVip({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
251
261
  it("dcdb.v20180411.DescribeSqlLogs", async function () {
252
262
  try {
253
263
  const data = await client.DescribeSqlLogs({})
@@ -318,6 +328,16 @@ it("dcdb.v20180411.CreateAccount", async function () {
318
328
  }
319
329
  })
320
330
 
331
+ it("dcdb.v20180411.ModifyInstanceNetwork", async function () {
332
+ try {
333
+ const data = await client.ModifyInstanceNetwork({})
334
+ expect(data).to.be.ok
335
+ } catch(error) {
336
+ expect(error.requestId).to.be.ok
337
+ expect(error.code).to.be.ok
338
+ }
339
+ })
340
+
321
341
  it("dcdb.v20180411.KillSession", async function () {
322
342
  try {
323
343
  const data = await client.KillSession({})
@@ -478,6 +498,16 @@ it("dcdb.v20180411.DestroyHourDCDBInstance", async function () {
478
498
  }
479
499
  })
480
500
 
501
+ it("dcdb.v20180411.ModifyInstanceVport", async function () {
502
+ try {
503
+ const data = await client.ModifyInstanceVport({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
481
511
  it("dcdb.v20180411.DescribeDBSecurityGroups", async function () {
482
512
  try {
483
513
  const data = await client.DescribeDBSecurityGroups({})
@@ -28,6 +28,16 @@ it("mongodb.v20190725.TerminateDBInstances", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("mongodb.v20190725.DescribeDBInstanceNodeProperty", async function () {
32
+ try {
33
+ const data = await client.DescribeDBInstanceNodeProperty({})
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("mongodb.v20190725.DescribeDBInstanceDeal", async function () {
32
42
  try {
33
43
  const data = await client.DescribeDBInstanceDeal({})
@@ -18,9 +18,9 @@ const client = new tencentcloud.partners.v20180321.Client({
18
18
  })
19
19
  describe("partners.v20180321.test.js", function () {
20
20
 
21
- it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
21
+ it("partners.v20180321.DescribeAgentDealsCache", async function () {
22
22
  try {
23
- const data = await client.DescribeAgentSelfPayDeals({})
23
+ const data = await client.DescribeAgentDealsCache({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("partners.v20180321.DescribeAgentDealsCache", async function () {
31
+ it("partners.v20180321.DescribeAgentBills", async function () {
32
32
  try {
33
- const data = await client.DescribeAgentDealsCache({})
33
+ const data = await client.DescribeAgentBills({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("partners.v20180321.DescribeAgentDealsCache", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("partners.v20180321.ModifyClientRemark", async function () {
41
+ it("partners.v20180321.AgentTransferMoney", async function () {
42
42
  try {
43
- const data = await client.ModifyClientRemark({})
43
+ const data = await client.AgentTransferMoney({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("partners.v20180321.ModifyClientRemark", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
51
+ it("partners.v20180321.DescribeRebateInfos", async function () {
52
52
  try {
53
- const data = await client.DescribeAgentSelfPayDealsV2({})
53
+ const data = await client.DescribeRebateInfos({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("partners.v20180321.AgentPayDeals", async function () {
61
+ it("partners.v20180321.RemovePayRelationForClient", async function () {
62
62
  try {
63
- const data = await client.AgentPayDeals({})
63
+ const data = await client.RemovePayRelationForClient({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("partners.v20180321.AgentPayDeals", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("partners.v20180321.DescribeAgentBills", async function () {
71
+ it("partners.v20180321.ModifyClientRemark", async function () {
72
72
  try {
73
- const data = await client.DescribeAgentBills({})
73
+ const data = await client.ModifyClientRemark({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("partners.v20180321.DescribeAgentBills", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("partners.v20180321.AgentTransferMoney", async function () {
81
+ it("partners.v20180321.DescribeClientBalance", async function () {
82
82
  try {
83
- const data = await client.AgentTransferMoney({})
83
+ const data = await client.DescribeClientBalance({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("partners.v20180321.AgentTransferMoney", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("partners.v20180321.DescribeRebateInfos", async function () {
91
+ it("partners.v20180321.DescribeClientBalanceNew", async function () {
92
92
  try {
93
- const data = await client.DescribeRebateInfos({})
93
+ const data = await client.DescribeClientBalanceNew({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("partners.v20180321.DescribeRebateInfos", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("partners.v20180321.DescribeSalesmans", async function () {
101
+ it("partners.v20180321.DescribeAgentClientGrade", async function () {
102
102
  try {
103
- const data = await client.DescribeSalesmans({})
103
+ const data = await client.DescribeAgentClientGrade({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("partners.v20180321.DescribeSalesmans", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("partners.v20180321.RemovePayRelationForClient", async function () {
111
+ it("partners.v20180321.DescribeUnbindClientList", async function () {
112
112
  try {
113
- const data = await client.RemovePayRelationForClient({})
113
+ const data = await client.DescribeUnbindClientList({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,19 @@ it("partners.v20180321.RemovePayRelationForClient", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("partners.v20180321.DescribeClientBalanceNew", async function () {
121
+ it("partners.v20180321.AgentPayDeals", async function () {
122
122
  try {
123
- const data = await client.DescribeClientBalanceNew({})
123
+ const data = await client.AgentPayDeals({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("partners.v20180321.DescribeSalesmans", async function () {
132
+ try {
133
+ const data = await client.DescribeSalesmans({})
124
134
  expect(data).to.be.ok
125
135
  } catch(error) {
126
136
  expect(error.requestId).to.be.ok
@@ -138,9 +148,9 @@ it("partners.v20180321.DescribeAgentPayDeals", async function () {
138
148
  }
139
149
  })
140
150
 
141
- it("partners.v20180321.DescribeUnbindClientList", async function () {
151
+ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
142
152
  try {
143
- const data = await client.DescribeUnbindClientList({})
153
+ const data = await client.DescribeAgentPayDealsV2({})
144
154
  expect(data).to.be.ok
145
155
  } catch(error) {
146
156
  expect(error.requestId).to.be.ok
@@ -148,9 +158,9 @@ it("partners.v20180321.DescribeUnbindClientList", async function () {
148
158
  }
149
159
  })
150
160
 
151
- it("partners.v20180321.DescribeAgentClients", async function () {
161
+ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
152
162
  try {
153
- const data = await client.DescribeAgentClients({})
163
+ const data = await client.DescribeAgentAuditedClients({})
154
164
  expect(data).to.be.ok
155
165
  } catch(error) {
156
166
  expect(error.requestId).to.be.ok
@@ -158,9 +168,9 @@ it("partners.v20180321.DescribeAgentClients", async function () {
158
168
  }
159
169
  })
160
170
 
161
- it("partners.v20180321.DescribeClientBalance", async function () {
171
+ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
162
172
  try {
163
- const data = await client.DescribeClientBalance({})
173
+ const data = await client.DescribeAgentSelfPayDealsV2({})
164
174
  expect(data).to.be.ok
165
175
  } catch(error) {
166
176
  expect(error.requestId).to.be.ok
@@ -168,9 +178,9 @@ it("partners.v20180321.DescribeClientBalance", async function () {
168
178
  }
169
179
  })
170
180
 
171
- it("partners.v20180321.DescribeAgentClientGrade", async function () {
181
+ it("partners.v20180321.AuditApplyClient", async function () {
172
182
  try {
173
- const data = await client.DescribeAgentClientGrade({})
183
+ const data = await client.AuditApplyClient({})
174
184
  expect(data).to.be.ok
175
185
  } catch(error) {
176
186
  expect(error.requestId).to.be.ok
@@ -178,9 +188,9 @@ it("partners.v20180321.DescribeAgentClientGrade", async function () {
178
188
  }
179
189
  })
180
190
 
181
- it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
191
+ it("partners.v20180321.DescribeAgentDealsByCache", async function () {
182
192
  try {
183
- const data = await client.DescribeAgentPayDealsV2({})
193
+ const data = await client.DescribeAgentDealsByCache({})
184
194
  expect(data).to.be.ok
185
195
  } catch(error) {
186
196
  expect(error.requestId).to.be.ok
@@ -188,9 +198,9 @@ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
188
198
  }
189
199
  })
190
200
 
191
- it("partners.v20180321.DescribeAgentAuditedClients", async function () {
201
+ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
192
202
  try {
193
- const data = await client.DescribeAgentAuditedClients({})
203
+ const data = await client.DescribeAgentSelfPayDeals({})
194
204
  expect(data).to.be.ok
195
205
  } catch(error) {
196
206
  expect(error.requestId).to.be.ok
@@ -198,9 +208,9 @@ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
198
208
  }
199
209
  })
200
210
 
201
- it("partners.v20180321.CreatePayRelationForClient", async function () {
211
+ it("partners.v20180321.DescribeRebateInfosNew", async function () {
202
212
  try {
203
- const data = await client.CreatePayRelationForClient({})
213
+ const data = await client.DescribeRebateInfosNew({})
204
214
  expect(data).to.be.ok
205
215
  } catch(error) {
206
216
  expect(error.requestId).to.be.ok
@@ -208,9 +218,9 @@ it("partners.v20180321.CreatePayRelationForClient", async function () {
208
218
  }
209
219
  })
210
220
 
211
- it("partners.v20180321.AuditApplyClient", async function () {
221
+ it("partners.v20180321.DescribeAgentClients", async function () {
212
222
  try {
213
- const data = await client.AuditApplyClient({})
223
+ const data = await client.DescribeAgentClients({})
214
224
  expect(data).to.be.ok
215
225
  } catch(error) {
216
226
  expect(error.requestId).to.be.ok
@@ -218,9 +228,9 @@ it("partners.v20180321.AuditApplyClient", async function () {
218
228
  }
219
229
  })
220
230
 
221
- it("partners.v20180321.DescribeAgentDealsByCache", async function () {
231
+ it("partners.v20180321.CreatePayRelationForClient", async function () {
222
232
  try {
223
- const data = await client.DescribeAgentDealsByCache({})
233
+ const data = await client.CreatePayRelationForClient({})
224
234
  expect(data).to.be.ok
225
235
  } catch(error) {
226
236
  expect(error.requestId).to.be.ok