tencentcloud-sdk-nodejs 4.0.510 → 4.0.511

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 (36) hide show
  1. package/CHANGELOG.md +164 -0
  2. package/SERVICE_CHANGELOG.md +267 -15
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  7. package/src/services/dbbrain/v20210527/dbbrain_client.ts +19 -6
  8. package/src/services/dbbrain/v20210527/dbbrain_models.ts +60 -0
  9. package/src/services/ecm/v20190719/ecm_models.ts +2 -2
  10. package/src/services/ess/v20201111/ess_models.ts +74 -8
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +75 -9
  12. package/src/services/tdmq/v20200217/tdmq_models.ts +82 -26
  13. package/src/services/teo/v20220901/teo_client.ts +11 -111
  14. package/src/services/teo/v20220901/teo_models.ts +250 -885
  15. package/src/services/trp/v20210515/trp_models.ts +27 -2
  16. package/src/services/yinsuda/v20220527/yinsuda_client.ts +3 -2
  17. package/src/services/yinsuda/v20220527/yinsuda_models.ts +79 -48
  18. package/tencentcloud/common/abstract_client.js +1 -1
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  22. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
  23. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
  24. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +50 -0
  25. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
  26. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +74 -8
  27. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +75 -9
  28. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +72 -26
  29. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -33
  30. package/tencentcloud/services/teo/v20220901/teo_client.js +0 -48
  31. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +178 -721
  32. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +22 -2
  33. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +1 -1
  34. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +68 -42
  35. package/test/dbbrain.v20210527.test.js +12 -2
  36. package/test/teo.v20220901.test.js +0 -80
@@ -278,7 +278,7 @@ export interface CodePack {
278
278
  */
279
279
  Amount: number;
280
280
  /**
281
- * 码长度
281
+ * 防伪码长度
282
282
  注意:此字段可能返回 null,表示取不到有效值。
283
283
  */
284
284
  CodeLength: number;
@@ -1201,6 +1201,10 @@ export interface CreateCustomPackRequest {
1201
1201
  * 批次ID,如果传了生码后会同时绑定批次,并激活码
1202
1202
  */
1203
1203
  BatchId?: string;
1204
+ /**
1205
+ * 是否有流水码 0:无 1:有
1206
+ */
1207
+ SerialType?: number;
1204
1208
  }
1205
1209
  /**
1206
1210
  * CreateCodePack请求参数结构体
@@ -1242,6 +1246,10 @@ export interface CreateCodePackRequest {
1242
1246
  * 批次ID,如果传了生码后会同时绑定批次,并激活码
1243
1247
  */
1244
1248
  BatchId?: string;
1249
+ /**
1250
+ * 是否有流水码 0:无 1:有
1251
+ */
1252
+ SerialType?: number;
1245
1253
  }
1246
1254
  /**
1247
1255
  * CreateCodeBatch请求参数结构体
@@ -1264,7 +1272,7 @@ export interface CreateCodeBatchRequest {
1264
1272
  */
1265
1273
  BatchType?: number;
1266
1274
  /**
1267
- * 批次ID,系统自动生成
1275
+ * 批次ID,留空时系统自动生成
1268
1276
  */
1269
1277
  BatchId?: string;
1270
1278
  /**
@@ -1279,6 +1287,10 @@ export interface CreateCodeBatchRequest {
1279
1287
  * 克隆批次ID,同时会复制溯源信息
1280
1288
  */
1281
1289
  CloneId?: string;
1290
+ /**
1291
+ * 批次编号,业务字段不判断唯一性
1292
+ */
1293
+ BatchCode?: string;
1282
1294
  }
1283
1295
  /**
1284
1296
  * 溯源数据项
@@ -1761,6 +1773,10 @@ export interface ModifyCodeBatchRequest {
1761
1773
  * 备注
1762
1774
  */
1763
1775
  Remark?: string;
1776
+ /**
1777
+ * 批次编码,业务字段不判断唯一性
1778
+ */
1779
+ BatchCode?: string;
1764
1780
  }
1765
1781
  /**
1766
1782
  * DescribeProductById请求参数结构体
@@ -2295,6 +2311,10 @@ export interface DescribeCodePacksRequest {
2295
2311
  * 企业ID
2296
2312
  */
2297
2313
  CorpId?: number;
2314
+ /**
2315
+ * 是否有流水码 0:无 1:有
2316
+ */
2317
+ SerialType?: number;
2298
2318
  }
2299
2319
  /**
2300
2320
  * DescribeJobFileUrl返回参数结构体
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, CreateKTVRobotRequest, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest, DescribeKTVMusicsByTagResponse, SearchKTVMusicsResponse, DescribeKTVMatchMusicsResponse, DescribeKTVTagsResponse, SyncKTVRobotCommandResponse, BatchDescribeKTVMusicDetailsResponse, DescribeKTVMusicsByTagRequest, SearchKTVMusicsRequest, DestroyKTVRobotRequest, DescribeKTVRobotsRequest, DescribeKTVTagsRequest } from "./yinsuda_models";
3
+ import { DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest, CreateKTVRobotRequest, DescribeKTVMusicsByTagResponse, SearchKTVMusicsResponse, DescribeKTVMatchMusicsResponse, DescribeKTVTagsResponse, SyncKTVRobotCommandResponse, BatchDescribeKTVMusicDetailsResponse, DescribeKTVMusicsByTagRequest, SearchKTVMusicsRequest, DestroyKTVRobotRequest, DescribeKTVRobotsRequest, DescribeKTVTagsRequest } from "./yinsuda_models";
4
4
  /**
5
5
  * yinsuda client
6
6
  * @class
@@ -76,30 +76,21 @@ export interface MusicAlbumCoverInfo {
76
76
  Url: string;
77
77
  }
78
78
  /**
79
- * CreateKTVRobot请求参数结构体
79
+ * AME 曲库歌曲基础信息。
80
80
  */
81
- export interface CreateKTVRobotRequest {
81
+ export interface AMEMusicBaseInfo {
82
82
  /**
83
- * 应用名称。
84
- */
85
- AppName: string;
86
- /**
87
- * 用户标识。
83
+ * 歌曲 Id。
88
84
  */
89
- UserId: string;
90
- /**
91
- * RTC厂商类型,取值有:
92
- <li>TRTC</li>
93
- */
94
- RTCSystem: string;
85
+ MusicId: string;
95
86
  /**
96
- * 进房参数。
87
+ * 歌曲名称。
97
88
  */
98
- JoinRoomInput: JoinRoomInput;
89
+ Name: string;
99
90
  /**
100
- * 创建机器人时初始化参数。
91
+ * 歌手列表。
101
92
  */
102
- SyncRobotCommands?: Array<SyncRobotCommand>;
93
+ SingerSet: Array<string>;
103
94
  }
104
95
  /**
105
96
  * 联想词信息。
@@ -162,6 +153,44 @@ export interface DescribeKTVPlaylistDetailRequest {
162
153
  */
163
154
  RightFilters?: Array<string>;
164
155
  }
156
+ /**
157
+ * 歌曲详细信息。
158
+ */
159
+ export interface KTVMusicDetailInfo {
160
+ /**
161
+ * 歌曲基础信息。
162
+ */
163
+ KTVMusicBaseInfo: KTVMusicBaseInfo;
164
+ /**
165
+ * 播放凭证。
166
+ */
167
+ PlayToken: string;
168
+ /**
169
+ * 歌词下载链接。
170
+ */
171
+ LyricsUrl: string;
172
+ /**
173
+ * 音高数据下载链接。
174
+ */
175
+ MidiUrl: string;
176
+ /**
177
+ * 副歌片段信息。
178
+ */
179
+ ChorusClipSet: Array<ChorusClip>;
180
+ /**
181
+ * 前奏间隔。
182
+ */
183
+ PreludeInterval: number;
184
+ /**
185
+ * 歌曲流派列表。
186
+ */
187
+ GenreSet: Array<string>;
188
+ /**
189
+ * 节拍信息。
190
+ 注意:此字段可能返回 null,表示取不到有效值。
191
+ */
192
+ BPMInfo: KTVBPMInfo;
193
+ }
165
194
  /**
166
195
  * CreateKTVRobot返回参数结构体
167
196
  */
@@ -310,6 +339,11 @@ export interface KTVMatchMusic {
310
339
  * 命中规则。
311
340
  */
312
341
  MatchRule: KTVMatchRule;
342
+ /**
343
+ * AME 歌曲基础信息,仅在使用音速达歌曲 Id 匹配 AME 曲库时有效。
344
+ 注意:此字段可能返回 null,表示取不到有效值。
345
+ */
346
+ AMEMusicBaseInfo: AMEMusicBaseInfo;
313
347
  }
314
348
  /**
315
349
  * TRTC推流进房信息
@@ -384,42 +418,30 @@ export interface BatchDescribeKTVMusicDetailsRequest {
384
418
  MusicIds: Array<string>;
385
419
  }
386
420
  /**
387
- * 歌曲详细信息。
421
+ * CreateKTVRobot请求参数结构体
388
422
  */
389
- export interface KTVMusicDetailInfo {
390
- /**
391
- * 歌曲基础信息。
392
- */
393
- KTVMusicBaseInfo: KTVMusicBaseInfo;
394
- /**
395
- * 播放凭证。
396
- */
397
- PlayToken: string;
398
- /**
399
- * 歌词下载链接。
400
- */
401
- LyricsUrl: string;
423
+ export interface CreateKTVRobotRequest {
402
424
  /**
403
- * 音高数据下载链接。
425
+ * 应用名称。
404
426
  */
405
- MidiUrl: string;
427
+ AppName: string;
406
428
  /**
407
- * 副歌片段信息。
429
+ * 用户标识。
408
430
  */
409
- ChorusClipSet: Array<ChorusClip>;
431
+ UserId: string;
410
432
  /**
411
- * 前奏间隔。
433
+ * RTC厂商类型,取值有:
434
+ <li>TRTC</li>
412
435
  */
413
- PreludeInterval: number;
436
+ RTCSystem: string;
414
437
  /**
415
- * 歌曲流派列表。
438
+ * 进房参数。
416
439
  */
417
- GenreSet: Array<string>;
440
+ JoinRoomInput: JoinRoomInput;
418
441
  /**
419
- * 节拍信息。
420
- 注意:此字段可能返回 null,表示取不到有效值。
442
+ * 创建机器人时初始化参数。
421
443
  */
422
- BPMInfo: KTVBPMInfo;
444
+ SyncRobotCommands?: Array<SyncRobotCommand>;
423
445
  }
424
446
  /**
425
447
  * DescribeKTVMusicsByTag返回参数结构体
@@ -700,6 +722,10 @@ export interface KTVMatchRule {
700
722
  注意:此字段可能返回 null,表示取不到有效值。
701
723
  */
702
724
  MusicInfo?: KTVMatchRuleMusicInfo;
725
+ /**
726
+ * 音速达歌曲 Id,用于匹配 AME 曲库歌曲。
727
+ */
728
+ MusicIdToMatchAME?: string;
703
729
  }
704
730
  /**
705
731
  * 歌曲基础信息。
@@ -268,6 +268,16 @@ it("dbbrain.v20210527.DescribeAllUserContact", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("dbbrain.v20210527.DescribeRedisTopKeyPrefixList", async function () {
272
+ try {
273
+ const data = await client.DescribeRedisTopKeyPrefixList({})
274
+ expect(data).to.be.ok
275
+ } catch(error) {
276
+ expect(error.requestId).to.be.ok
277
+ expect(error.code).to.be.ok
278
+ }
279
+ })
280
+
271
281
  it("dbbrain.v20210527.DescribeDBDiagEvent", async function () {
272
282
  try {
273
283
  const data = await client.DescribeDBDiagEvent({})
@@ -288,9 +298,9 @@ it("dbbrain.v20210527.DescribeDBDiagHistory", async function () {
288
298
  }
289
299
  })
290
300
 
291
- it("dbbrain.v20210527.DescribeRedisTopKeyPrefixList", async function () {
301
+ it("dbbrain.v20210527.DescribeProxyProcessStatistics", async function () {
292
302
  try {
293
- const data = await client.DescribeRedisTopKeyPrefixList({})
303
+ const data = await client.DescribeProxyProcessStatistics({})
294
304
  expect(data).to.be.ok
295
305
  } catch(error) {
296
306
  expect(error.requestId).to.be.ok
@@ -18,16 +18,6 @@ const client = new tencentcloud.teo.v20220901.Client({
18
18
  })
19
19
  describe("teo.v20220901.test.js", function () {
20
20
 
21
- it("teo.v20220901.CreateDnsRecord", async function () {
22
- try {
23
- const data = await client.CreateDnsRecord({})
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
-
31
21
  it("teo.v20220901.CreatePurgeTask", async function () {
32
22
  try {
33
23
  const data = await client.CreatePurgeTask({})
@@ -108,16 +98,6 @@ it("teo.v20220901.ModifyZone", async function () {
108
98
  }
109
99
  })
110
100
 
111
- it("teo.v20220901.CreateLoadBalancing", async function () {
112
- try {
113
- const data = await client.CreateLoadBalancing({})
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
-
121
101
  it("teo.v20220901.ModifyDDoSPolicyHost", async function () {
122
102
  try {
123
103
  const data = await client.ModifyDDoSPolicyHost({})
@@ -518,26 +498,6 @@ it("teo.v20220901.DescribeTimingL7CacheData", async function () {
518
498
  }
519
499
  })
520
500
 
521
- it("teo.v20220901.DescribeLoadBalancing", async function () {
522
- try {
523
- const data = await client.DescribeLoadBalancing({})
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
-
531
- it("teo.v20220901.DeleteLoadBalancing", async function () {
532
- try {
533
- const data = await client.DeleteLoadBalancing({})
534
- expect(data).to.be.ok
535
- } catch(error) {
536
- expect(error.requestId).to.be.ok
537
- expect(error.code).to.be.ok
538
- }
539
- })
540
-
541
501
  it("teo.v20220901.DescribeBotData", async function () {
542
502
  try {
543
503
  const data = await client.DescribeBotData({})
@@ -618,16 +578,6 @@ it("teo.v20220901.DescribeTopL7AnalysisData", async function () {
618
578
  }
619
579
  })
620
580
 
621
- it("teo.v20220901.DeleteDnsRecords", async function () {
622
- try {
623
- const data = await client.DeleteDnsRecords({})
624
- expect(data).to.be.ok
625
- } catch(error) {
626
- expect(error.requestId).to.be.ok
627
- expect(error.code).to.be.ok
628
- }
629
- })
630
-
631
581
  it("teo.v20220901.ModifySecurityPolicy", async function () {
632
582
  try {
633
583
  const data = await client.ModifySecurityPolicy({})
@@ -798,16 +748,6 @@ it("teo.v20220901.DescribeZoneDDoSPolicy", async function () {
798
748
  }
799
749
  })
800
750
 
801
- it("teo.v20220901.ModifyLoadBalancing", async function () {
802
- try {
803
- const data = await client.ModifyLoadBalancing({})
804
- expect(data).to.be.ok
805
- } catch(error) {
806
- expect(error.requestId).to.be.ok
807
- expect(error.code).to.be.ok
808
- }
809
- })
810
-
811
751
  it("teo.v20220901.ModifySecurityWafGroupPolicy", async function () {
812
752
  try {
813
753
  const data = await client.ModifySecurityWafGroupPolicy({})
@@ -1098,16 +1038,6 @@ it("teo.v20220901.ModifyZoneCnameSpeedUp", async function () {
1098
1038
  }
1099
1039
  })
1100
1040
 
1101
- it("teo.v20220901.ModifyDnsRecord", async function () {
1102
- try {
1103
- const data = await client.ModifyDnsRecord({})
1104
- expect(data).to.be.ok
1105
- } catch(error) {
1106
- expect(error.requestId).to.be.ok
1107
- expect(error.code).to.be.ok
1108
- }
1109
- })
1110
-
1111
1041
  it("teo.v20220901.DescribeHostsSetting", async function () {
1112
1042
  try {
1113
1043
  const data = await client.DescribeHostsSetting({})
@@ -1208,16 +1138,6 @@ it("teo.v20220901.DescribeRateLimitIntelligenceRule", async function () {
1208
1138
  }
1209
1139
  })
1210
1140
 
1211
- it("teo.v20220901.DescribeDnsRecords", async function () {
1212
- try {
1213
- const data = await client.DescribeDnsRecords({})
1214
- expect(data).to.be.ok
1215
- } catch(error) {
1216
- expect(error.requestId).to.be.ok
1217
- expect(error.code).to.be.ok
1218
- }
1219
- })
1220
-
1221
1141
  it("teo.v20220901.DescribeBotLog", async function () {
1222
1142
  try {
1223
1143
  const data = await client.DescribeBotLog({})