tencentcloud-sdk-nodejs 4.0.510 → 4.0.512

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 (83) hide show
  1. package/CHANGELOG.md +372 -0
  2. package/SERVICE_CHANGELOG.md +481 -15
  3. package/package.json +1 -1
  4. package/products.md +23 -23
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +4 -7
  7. package/src/services/asr/v20190614/asr_models.ts +6 -1
  8. package/src/services/cbs/v20170312/cbs_client.ts +13 -1
  9. package/src/services/cbs/v20170312/cbs_models.ts +41 -11
  10. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  11. package/src/services/cls/v20201016/cls_models.ts +10 -4
  12. package/src/services/cpdp/v20190820/cpdp_client.ts +41 -3
  13. package/src/services/cpdp/v20190820/cpdp_models.ts +311 -99
  14. package/src/services/cvm/v20170312/cvm_client.ts +23 -9
  15. package/src/services/cvm/v20170312/cvm_models.ts +73 -28
  16. package/src/services/dbbrain/v20210527/dbbrain_client.ts +19 -6
  17. package/src/services/dbbrain/v20210527/dbbrain_models.ts +60 -0
  18. package/src/services/ecm/v20190719/ecm_models.ts +2 -2
  19. package/src/services/ess/v20201111/ess_client.ts +3 -2
  20. package/src/services/ess/v20201111/ess_models.ts +81 -15
  21. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -2
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +86 -20
  23. package/src/services/lcic/v20220817/lcic_models.ts +4 -4
  24. package/src/services/monitor/v20180724/monitor_models.ts +2 -2
  25. package/src/services/pts/v20210728/pts_models.ts +39 -13
  26. package/src/services/region/v20220627/region_models.ts +60 -0
  27. package/src/services/sms/v20210111/sms_models.ts +1 -1
  28. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  29. package/src/services/tdmq/v20200217/tdmq_models.ts +82 -26
  30. package/src/services/teo/v20220901/teo_client.ts +11 -111
  31. package/src/services/teo/v20220901/teo_models.ts +253 -888
  32. package/src/services/trp/v20210515/trp_client.ts +20 -7
  33. package/src/services/trp/v20210515/trp_models.ts +74 -4
  34. package/src/services/yinsuda/v20220527/yinsuda_client.ts +3 -2
  35. package/src/services/yinsuda/v20220527/yinsuda_models.ts +79 -48
  36. package/tencentcloud/common/abstract_client.js +1 -1
  37. package/tencentcloud/common/sdk_version.d.ts +1 -1
  38. package/tencentcloud/common/sdk_version.js +1 -1
  39. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +4 -7
  40. package/tencentcloud/services/asr/v20190614/asr_client.js +4 -7
  41. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -1
  42. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +5 -1
  43. package/tencentcloud/services/cbs/v20170312/cbs_client.js +6 -0
  44. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +36 -10
  45. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  46. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -3
  47. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +13 -1
  48. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +18 -0
  49. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +266 -85
  50. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +8 -3
  51. package/tencentcloud/services/cvm/v20170312/cvm_client.js +10 -3
  52. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +65 -26
  53. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
  54. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
  55. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +50 -0
  56. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +2 -2
  57. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -1
  58. package/tencentcloud/services/ess/v20201111/ess_client.js +2 -1
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +80 -14
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
  62. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +85 -19
  63. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -4
  64. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
  65. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +34 -13
  66. package/tencentcloud/services/region/v20220627/region_models.d.ts +50 -0
  67. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +1 -1
  68. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  69. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +72 -26
  70. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -33
  71. package/tencentcloud/services/teo/v20220901/teo_client.js +0 -48
  72. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +181 -724
  73. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +8 -3
  74. package/tencentcloud/services/trp/v20210515/trp_client.js +10 -3
  75. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +62 -4
  76. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +1 -1
  77. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +68 -42
  78. package/test/cbs.v20170312.test.js +10 -0
  79. package/test/cpdp.v20190820.test.js +30 -0
  80. package/test/cvm.v20170312.test.js +12 -2
  81. package/test/dbbrain.v20210527.test.js +12 -2
  82. package/test/teo.v20220901.test.js +0 -80
  83. package/test/trp.v20210515.test.js +12 -2
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeProductsRequest, CreateCorporationOrderResponse, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateCodeBatchResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, DeleteProductRequest, CreateTraceChainResponse, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCorpQuotasResponse, DescribeCodePackStatusResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DescribeCodesByPackResponse, CreateProductResponse, CreateTraceDataRequest, DescribeCorpQuotasRequest, CreateProductRequest, CreateCustomPackRequest, CreateCodePackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, ModifyTraceDataRanksRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, DeleteProductResponse, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribeCustomRulesRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateCorporationOrderRequest, CreateTraceCodesResponse, DeleteTraceDataRequest, DescribeTmpTokenRequest, CreateMerchantResponse, DescribeMerchantsResponse, DescribeTraceDataListRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribeTraceCodeByIdRequest, DeleteMerchantRequest, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, ModifyCodeBatchResponse } from "./trp_models";
3
+ import { DescribeProductsRequest, CreateCorporationOrderResponse, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateCodeBatchResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, DeleteProductRequest, CreateTraceChainResponse, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCorpQuotasResponse, DescribeCodePackStatusResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DescribeCodesByPackResponse, CreateProductResponse, CreateTraceDataRequest, DescribeCorpQuotasRequest, CreateProductRequest, CreateCustomPackRequest, CreateCodePackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, ModifyTraceDataRanksRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, DeleteProductResponse, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, ModifyTraceCodeUnlinkRequest, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribeCustomRulesRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateCorporationOrderRequest, CreateTraceCodesResponse, DeleteTraceDataRequest, ModifyTraceCodeUnlinkResponse, DescribeTmpTokenRequest, CreateMerchantResponse, DescribeMerchantsResponse, DescribeTraceDataListRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribeTraceCodeByIdRequest, DeleteMerchantRequest, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, ModifyCodeBatchResponse } from "./trp_models";
4
4
  /**
5
5
  * trp client
6
6
  * @class
@@ -16,9 +16,10 @@ export declare class Client extends AbstractClient {
16
16
  */
17
17
  DescribeCustomRules(req: DescribeCustomRulesRequest, cb?: (error: string, rep: DescribeCustomRulesResponse) => void): Promise<DescribeCustomRulesResponse>;
18
18
  /**
19
- * 修改溯源信息的排序
19
+ * 解绑溯源码和批次的关系,让溯源码重置为未关联的状态,以便关联其他批次
20
+ 注意:溯源码必须属于指定的批次才会解绑
20
21
  */
21
- ModifyTraceDataRanks(req: ModifyTraceDataRanksRequest, cb?: (error: string, rep: ModifyTraceDataRanksResponse) => void): Promise<ModifyTraceDataRanksResponse>;
22
+ ModifyTraceCodeUnlink(req: ModifyTraceCodeUnlinkRequest, cb?: (error: string, rep: ModifyTraceCodeUnlinkResponse) => void): Promise<ModifyTraceCodeUnlinkResponse>;
22
23
  /**
23
24
  * 查自定义码规则
24
25
  */
@@ -35,6 +36,10 @@ export declare class Client extends AbstractClient {
35
36
  * 查询二维码列表
36
37
  */
37
38
  DescribeTraceCodes(req: DescribeTraceCodesRequest, cb?: (error: string, rep: DescribeTraceCodesResponse) => void): Promise<DescribeTraceCodesResponse>;
39
+ /**
40
+ * 修改溯源信息的排序
41
+ */
42
+ ModifyTraceDataRanks(req: ModifyTraceDataRanksRequest, cb?: (error: string, rep: ModifyTraceDataRanksResponse) => void): Promise<ModifyTraceDataRanksResponse>;
38
43
  /**
39
44
  * 查询码包的二维码列表,上限 3 万
40
45
  */
@@ -40,10 +40,11 @@ class Client extends abstract_client_1.AbstractClient {
40
40
  return this.request("DescribeCustomRules", req, cb);
41
41
  }
42
42
  /**
43
- * 修改溯源信息的排序
43
+ * 解绑溯源码和批次的关系,让溯源码重置为未关联的状态,以便关联其他批次
44
+ 注意:溯源码必须属于指定的批次才会解绑
44
45
  */
45
- async ModifyTraceDataRanks(req, cb) {
46
- return this.request("ModifyTraceDataRanks", req, cb);
46
+ async ModifyTraceCodeUnlink(req, cb) {
47
+ return this.request("ModifyTraceCodeUnlink", req, cb);
47
48
  }
48
49
  /**
49
50
  * 查自定义码规则
@@ -69,6 +70,12 @@ class Client extends abstract_client_1.AbstractClient {
69
70
  async DescribeTraceCodes(req, cb) {
70
71
  return this.request("DescribeTraceCodes", req, cb);
71
72
  }
73
+ /**
74
+ * 修改溯源信息的排序
75
+ */
76
+ async ModifyTraceDataRanks(req, cb) {
77
+ return this.request("ModifyTraceDataRanks", req, cb);
78
+ }
72
79
  /**
73
80
  * 查询码包的二维码列表,上限 3 万
74
81
  */
@@ -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
  * 溯源数据项
@@ -1641,6 +1653,23 @@ export interface CreateCustomRuleResponse {
1641
1653
  */
1642
1654
  RequestId?: string;
1643
1655
  }
1656
+ /**
1657
+ * ModifyTraceCodeUnlink请求参数结构体
1658
+ */
1659
+ export interface ModifyTraceCodeUnlinkRequest {
1660
+ /**
1661
+ * 批次ID
1662
+ */
1663
+ BatchId: string;
1664
+ /**
1665
+ * 溯源码列表
1666
+ */
1667
+ Codes: Array<string>;
1668
+ /**
1669
+ * 企业ID
1670
+ */
1671
+ CorpId?: number;
1672
+ }
1644
1673
  /**
1645
1674
  * DescribeCodePacks返回参数结构体
1646
1675
  */
@@ -1746,7 +1775,7 @@ export interface ModifyCodeBatchRequest {
1746
1775
  */
1747
1776
  Status?: number;
1748
1777
  /**
1749
- * 模版ID,或者活动ID
1778
+ * 模板ID,或者活动ID
1750
1779
  */
1751
1780
  MpTpl?: string;
1752
1781
  /**
@@ -1761,6 +1790,10 @@ export interface ModifyCodeBatchRequest {
1761
1790
  * 备注
1762
1791
  */
1763
1792
  Remark?: string;
1793
+ /**
1794
+ * 批次编码,业务字段不判断唯一性
1795
+ */
1796
+ BatchCode?: string;
1764
1797
  }
1765
1798
  /**
1766
1799
  * DescribeProductById请求参数结构体
@@ -1914,6 +1947,27 @@ export interface DeleteTraceDataRequest {
1914
1947
  */
1915
1948
  CorpId?: number;
1916
1949
  }
1950
+ /**
1951
+ * ModifyTraceCodeUnlink返回参数结构体
1952
+ */
1953
+ export interface ModifyTraceCodeUnlinkResponse {
1954
+ /**
1955
+ * 成功解绑溯源码的数量
1956
+ */
1957
+ UnlinkCnt: number;
1958
+ /**
1959
+ * 当前批次的码数量
1960
+ */
1961
+ CodeCnt: number;
1962
+ /**
1963
+ * 批次ID
1964
+ */
1965
+ BatchId: string;
1966
+ /**
1967
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1968
+ */
1969
+ RequestId?: string;
1970
+ }
1917
1971
  /**
1918
1972
  * 商户信息
1919
1973
  */
@@ -2295,6 +2349,10 @@ export interface DescribeCodePacksRequest {
2295
2349
  * 企业ID
2296
2350
  */
2297
2351
  CorpId?: number;
2352
+ /**
2353
+ * 是否有流水码 0:无 1:有
2354
+ */
2355
+ SerialType?: number;
2298
2356
  }
2299
2357
  /**
2300
2358
  * DescribeJobFileUrl返回参数结构体
@@ -2376,7 +2434,7 @@ export interface ModifyCodeBatchResponse {
2376
2434
  /**
2377
2435
  * 批次ID
2378
2436
  */
2379
- BatchId: string;
2437
+ BatchId?: string;
2380
2438
  /**
2381
2439
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2382
2440
  */
@@ -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
  * 歌曲基础信息。
@@ -348,6 +348,16 @@ it("cbs.v20170312.UnbindAutoSnapshotPolicy", async function () {
348
348
  }
349
349
  })
350
350
 
351
+ it("cbs.v20170312.CreateDiskBackup", async function () {
352
+ try {
353
+ const data = await client.CreateDiskBackup({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
351
361
  it("cbs.v20170312.DescribeDiskStoragePool", async function () {
352
362
  try {
353
363
  const data = await client.DescribeDiskStoragePool({})
@@ -188,6 +188,16 @@ it("cpdp.v20190820.QueryBankTransactionDetails", async function () {
188
188
  }
189
189
  })
190
190
 
191
+ it("cpdp.v20190820.QueryFlexServiceProviderAccountBalance", async function () {
192
+ try {
193
+ const data = await client.QueryFlexServiceProviderAccountBalance({})
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
+
191
201
  it("cpdp.v20190820.CreateOpenBankExternalSubMerchantRegistration", async function () {
192
202
  try {
193
203
  const data = await client.CreateOpenBankExternalSubMerchantRegistration({})
@@ -1768,6 +1778,16 @@ it("cpdp.v20190820.QueryMerchantInfoForManagement", async function () {
1768
1778
  }
1769
1779
  })
1770
1780
 
1781
+ it("cpdp.v20190820.ModifyFlexFundingAccount", async function () {
1782
+ try {
1783
+ const data = await client.ModifyFlexFundingAccount({})
1784
+ expect(data).to.be.ok
1785
+ } catch(error) {
1786
+ expect(error.requestId).to.be.ok
1787
+ expect(error.code).to.be.ok
1788
+ }
1789
+ })
1790
+
1771
1791
  it("cpdp.v20190820.RevokeMemberRechargeThirdPay", async function () {
1772
1792
  try {
1773
1793
  const data = await client.RevokeMemberRechargeThirdPay({})
@@ -2008,6 +2028,16 @@ it("cpdp.v20190820.QueryOpenBankExternalSubMerchantRegistration", async function
2008
2028
  }
2009
2029
  })
2010
2030
 
2031
+ it("cpdp.v20190820.AddFlexFundingAccount", async function () {
2032
+ try {
2033
+ const data = await client.AddFlexFundingAccount({})
2034
+ expect(data).to.be.ok
2035
+ } catch(error) {
2036
+ expect(error.requestId).to.be.ok
2037
+ expect(error.code).to.be.ok
2038
+ }
2039
+ })
2040
+
2011
2041
  it("cpdp.v20190820.UnifiedCloudOrder", async function () {
2012
2042
  try {
2013
2043
  const data = await client.UnifiedCloudOrder({})
@@ -368,6 +368,16 @@ it("cvm.v20170312.DescribeImportImageOs", async function () {
368
368
  }
369
369
  })
370
370
 
371
+ it("cvm.v20170312.DeleteHpcClusters", async function () {
372
+ try {
373
+ const data = await client.DeleteHpcClusters({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
371
381
  it("cvm.v20170312.InquiryPriceRenewInstances", async function () {
372
382
  try {
373
383
  const data = await client.InquiryPriceRenewInstances({})
@@ -638,9 +648,9 @@ it("cvm.v20170312.RebootInstances", async function () {
638
648
  }
639
649
  })
640
650
 
641
- it("cvm.v20170312.DeleteHpcClusters", async function () {
651
+ it("cvm.v20170312.InquiryPriceRenewHosts", async function () {
642
652
  try {
643
- const data = await client.DeleteHpcClusters({})
653
+ const data = await client.InquiryPriceRenewHosts({})
644
654
  expect(data).to.be.ok
645
655
  } catch(error) {
646
656
  expect(error.requestId).to.be.ok
@@ -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({})
@@ -38,9 +38,9 @@ it("trp.v20210515.DescribeCustomRules", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("trp.v20210515.ModifyTraceDataRanks", async function () {
41
+ it("trp.v20210515.ModifyTraceCodeUnlink", async function () {
42
42
  try {
43
- const data = await client.ModifyTraceDataRanks({})
43
+ const data = await client.ModifyTraceCodeUnlink({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -88,6 +88,16 @@ it("trp.v20210515.DescribeTraceCodes", async function () {
88
88
  }
89
89
  })
90
90
 
91
+ it("trp.v20210515.ModifyTraceDataRanks", async function () {
92
+ try {
93
+ const data = await client.ModifyTraceDataRanks({})
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
+
91
101
  it("trp.v20210515.DescribeCodesByPack", async function () {
92
102
  try {
93
103
  const data = await client.DescribeCodesByPack({})