tencentcloud-sdk-nodejs 4.0.538 → 4.0.539

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 (81) hide show
  1. package/CHANGELOG.md +225 -0
  2. package/SERVICE_CHANGELOG.md +264 -80
  3. package/package.json +1 -1
  4. package/products.md +25 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bma/index.ts +2 -0
  7. package/src/services/bma/v20221115/bma_client.ts +79 -0
  8. package/src/services/bma/v20221115/bma_models.ts +146 -0
  9. package/src/services/bma/v20221115/index.ts +6 -0
  10. package/src/services/bmeip/v20180625/bmeip_client.ts +2 -2
  11. package/src/services/bmeip/v20180625/bmeip_models.ts +5 -5
  12. package/src/services/car/v20220110/car_models.ts +1 -1
  13. package/src/services/cls/v20201016/cls_client.ts +2 -2
  14. package/src/services/cls/v20201016/cls_models.ts +3 -3
  15. package/src/services/cwp/v20180228/cwp_models.ts +19 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_client.ts +29 -14
  17. package/src/services/cynosdb/v20190107/cynosdb_models.ts +172 -42
  18. package/src/services/dnspod/v20210323/dnspod_client.ts +115 -36
  19. package/src/services/dnspod/v20210323/dnspod_models.ts +531 -19
  20. package/src/services/domain/v20180808/domain_models.ts +1 -0
  21. package/src/services/faceid/v20180301/faceid_models.ts +5 -5
  22. package/src/services/iotvideo/v20211125/iotvideo_models.ts +6 -0
  23. package/src/services/lcic/v20220817/lcic_client.ts +12 -0
  24. package/src/services/lcic/v20220817/lcic_models.ts +40 -0
  25. package/src/services/nlp/v20190408/nlp_client.ts +0 -5
  26. package/src/services/nlp/v20190408/nlp_models.ts +2 -2
  27. package/src/services/redis/v20180412/redis_models.ts +3 -3
  28. package/src/services/tione/v20211111/tione_models.ts +36 -1
  29. package/src/services/tke/v20180525/tke_models.ts +13 -13
  30. package/src/services/tsf/v20180326/tsf_models.ts +12 -0
  31. package/src/services/tts/v20190823/tts_models.ts +7 -3
  32. package/src/services/vod/v20180717/vod_client.ts +0 -1
  33. package/src/services/vod/v20180717/vod_models.ts +10 -17
  34. package/src/services/wedata/v20210820/wedata_client.ts +2 -0
  35. package/src/services/wedata/v20210820/wedata_models.ts +85 -0
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/bma/index.d.ts +4 -0
  39. package/tencentcloud/services/bma/index.js +2 -0
  40. package/tencentcloud/services/bma/v20221115/bma_client.d.ts +26 -0
  41. package/tencentcloud/services/bma/v20221115/bma_client.js +55 -0
  42. package/tencentcloud/services/bma/v20221115/bma_models.d.ts +112 -0
  43. package/tencentcloud/services/bma/v20221115/bma_models.js +18 -0
  44. package/tencentcloud/services/bma/v20221115/index.d.ts +6 -0
  45. package/tencentcloud/services/bma/v20221115/index.js +9 -0
  46. package/tencentcloud/services/bmeip/v20180625/bmeip_client.d.ts +2 -2
  47. package/tencentcloud/services/bmeip/v20180625/bmeip_client.js +2 -2
  48. package/tencentcloud/services/bmeip/v20180625/bmeip_models.d.ts +5 -5
  49. package/tencentcloud/services/car/v20220110/car_models.d.ts +1 -1
  50. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +2 -2
  51. package/tencentcloud/services/cls/v20201016/cls_client.js +2 -2
  52. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +3 -3
  53. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -1
  54. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
  55. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
  56. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +146 -36
  57. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +37 -13
  58. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +54 -18
  59. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +450 -17
  60. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +1 -0
  61. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -5
  62. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
  63. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  64. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  65. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +34 -0
  66. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +0 -5
  67. package/tencentcloud/services/nlp/v20190408/nlp_client.js +0 -5
  68. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +2 -2
  69. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -3
  70. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +30 -1
  71. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +13 -13
  72. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +10 -0
  73. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +6 -2
  74. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +0 -1
  75. package/tencentcloud/services/vod/v20180717/vod_client.js +0 -1
  76. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +10 -17
  77. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +70 -0
  78. package/test/bma.v20221115.test.js +61 -0
  79. package/test/cynosdb.v20190107.test.js +14 -4
  80. package/test/dnspod.v20210323.test.js +74 -14
  81. package/test/lcic.v20220817.test.js +10 -0
@@ -675,6 +675,23 @@ export interface DescribeDocumentsByRoomRequest {
675
675
  */
676
676
  Owner?: string;
677
677
  }
678
+ /**
679
+ * DescribeCurrentMemberList请求参数结构体
680
+ */
681
+ export interface DescribeCurrentMemberListRequest {
682
+ /**
683
+ * 房间Id。
684
+ */
685
+ RoomId: number;
686
+ /**
687
+ * 分页查询当前页数,从1开始递增。
688
+ */
689
+ Page: number;
690
+ /**
691
+ * 每页数据量,最大1000。
692
+ */
693
+ Limit: number;
694
+ }
678
695
  /**
679
696
  * DescribeSdkAppIdUsers返回参数结构体
680
697
  */
@@ -1240,6 +1257,23 @@ export interface BatchRegisterResponse {
1240
1257
  */
1241
1258
  RequestId?: string;
1242
1259
  }
1260
+ /**
1261
+ * DescribeCurrentMemberList返回参数结构体
1262
+ */
1263
+ export interface DescribeCurrentMemberListResponse {
1264
+ /**
1265
+ * 记录总数。当前房间的总人数。
1266
+ */
1267
+ Total?: number;
1268
+ /**
1269
+ * 成员记录列表。
1270
+ */
1271
+ MemberRecords?: Array<MemberRecord>;
1272
+ /**
1273
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1274
+ */
1275
+ RequestId?: string;
1276
+ }
1243
1277
  /**
1244
1278
  * LoginUser请求参数结构体
1245
1279
  */
@@ -32,11 +32,6 @@ export declare class Client extends AbstractClient {
32
32
 
33
33
  该词向量服务由腾讯知文自然语言处理团队联合腾讯AI Lab共同打造。使用的词向量基于千亿级大规模互联网语料并采用AI Lab自研的DSG算法训练而成,开源的词向量包含800多万中文词汇,在覆盖率、新鲜度及准确性等三方面性能突出。
34
34
 
35
- 腾讯AI Lab词向量相关资料:
36
-
37
- https://ai.tencent.com/ailab/zh/news/detial?id=22
38
-
39
- https://ai.tencent.com/ailab/nlp/zh/embedding.html
40
35
  */
41
36
  WordEmbedding(req: WordEmbeddingRequest, cb?: (error: string, rep: WordEmbeddingResponse) => void): Promise<WordEmbeddingResponse>;
42
37
  /**
@@ -62,11 +62,6 @@ class Client extends abstract_client_1.AbstractClient {
62
62
 
63
63
  该词向量服务由腾讯知文自然语言处理团队联合腾讯AI Lab共同打造。使用的词向量基于千亿级大规模互联网语料并采用AI Lab自研的DSG算法训练而成,开源的词向量包含800多万中文词汇,在覆盖率、新鲜度及准确性等三方面性能突出。
64
64
 
65
- 腾讯AI Lab词向量相关资料:
66
-
67
- https://ai.tencent.com/ailab/zh/news/detial?id=22
68
-
69
- https://ai.tencent.com/ailab/nlp/zh/embedding.html
70
65
  */
71
66
  async WordEmbedding(req, cb) {
72
67
  return this.request("WordEmbedding", req, cb);
@@ -556,11 +556,11 @@ export interface WordEmbeddingResponse {
556
556
  /**
557
557
  * 词向量数组
558
558
  */
559
- Vector?: Array<number>;
559
+ Vector: Array<number>;
560
560
  /**
561
561
  * 词向量的维度
562
562
  */
563
- Dimension?: number;
563
+ Dimension: number;
564
564
  /**
565
565
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
566
566
  */
@@ -535,11 +535,11 @@ export interface DescribeSlowLogResponse {
535
535
  /**
536
536
  * 慢查询总数。
537
537
  */
538
- TotalCount: number;
538
+ TotalCount?: number;
539
539
  /**
540
540
  * 慢查询详情。
541
541
  */
542
- InstanceSlowlogDetail: Array<InstanceSlowlogDetail>;
542
+ InstanceSlowlogDetail?: Array<InstanceSlowlogDetail>;
543
543
  /**
544
544
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
545
545
  */
@@ -3176,7 +3176,7 @@ export interface DescribeSlowLogRequest {
3176
3176
  */
3177
3177
  EndTime: string;
3178
3178
  /**
3179
- * 慢查询平均执行时间阈值(单位:微秒)。
3179
+ * 慢查询平均执行时间阈值(单位:毫秒)。
3180
3180
  */
3181
3181
  MinQueryTime?: number;
3182
3182
  /**
@@ -1063,6 +1063,10 @@ export interface SpecPrice {
1063
1063
  * 优惠后的价格,单位:分
1064
1064
  */
1065
1065
  RealTotalCost: number;
1066
+ /**
1067
+ * 计费项数量
1068
+ */
1069
+ SpecCount?: number;
1066
1070
  }
1067
1071
  /**
1068
1072
  * DescribeTrainingMetrics请求参数结构体
@@ -2452,6 +2456,16 @@ export interface DatasetInfo {
2452
2456
  注意:此字段可能返回 null,表示取不到有效值。
2453
2457
  */
2454
2458
  DatasetScope: string;
2459
+ /**
2460
+ * 数据集OCR子场景
2461
+ 注意:此字段可能返回 null,表示取不到有效值。
2462
+ */
2463
+ OcrScene: string;
2464
+ /**
2465
+ * 数据集字典修改状态
2466
+ 注意:此字段可能返回 null,表示取不到有效值。
2467
+ */
2468
+ AnnotationKeyStatus: string;
2455
2469
  }
2456
2470
  /**
2457
2471
  * DescribeModelAccelerateTask返回参数结构体
@@ -3303,6 +3317,21 @@ export interface DatasetGroup {
3303
3317
  注意:此字段可能返回 null,表示取不到有效值。
3304
3318
  */
3305
3319
  DatasetScope: string;
3320
+ /**
3321
+ * 数据集OCR子场景
3322
+ 注意:此字段可能返回 null,表示取不到有效值。
3323
+ */
3324
+ OcrScene: string;
3325
+ /**
3326
+ * 数据集字典修改状态
3327
+ 注意:此字段可能返回 null,表示取不到有效值。
3328
+ */
3329
+ AnnotationKeyStatus: string;
3330
+ /**
3331
+ * 文本数据集导入方式
3332
+ 注意:此字段可能返回 null,表示取不到有效值。
3333
+ */
3334
+ ContentType?: string;
3306
3335
  }
3307
3336
  /**
3308
3337
  * DescribeTrainingModels请求参数结构体
@@ -5295,7 +5324,7 @@ export interface DescribeBillingSpecsPriceResponse {
5295
5324
  /**
5296
5325
  * 计费项价格,支持批量返回
5297
5326
  */
5298
- SpecsPrice: Array<SpecPrice>;
5327
+ SpecsPrice?: Array<SpecPrice>;
5299
5328
  /**
5300
5329
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5301
5330
  */
@@ -2465,11 +2465,11 @@ export interface DescribePrometheusAlertHistoryResponse {
2465
2465
  /**
2466
2466
  * 告警历史
2467
2467
  */
2468
- Items: Array<PrometheusAlertHistoryItem>;
2468
+ Items?: Array<PrometheusAlertHistoryItem>;
2469
2469
  /**
2470
2470
  * 总数
2471
2471
  */
2472
- Total: number;
2472
+ Total?: number;
2473
2473
  /**
2474
2474
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2475
2475
  */
@@ -3399,11 +3399,11 @@ export interface DescribePrometheusAlertRuleResponse {
3399
3399
  /**
3400
3400
  * 告警详情
3401
3401
  */
3402
- AlertRules: Array<PrometheusAlertRuleDetail>;
3402
+ AlertRules?: Array<PrometheusAlertRuleDetail>;
3403
3403
  /**
3404
3404
  * 总数
3405
3405
  */
3406
- Total: number;
3406
+ Total?: number;
3407
3407
  /**
3408
3408
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3409
3409
  */
@@ -4753,37 +4753,37 @@ export interface DescribePrometheusInstanceResponse {
4753
4753
  /**
4754
4754
  * 实例id
4755
4755
  */
4756
- InstanceId: string;
4756
+ InstanceId?: string;
4757
4757
  /**
4758
4758
  * 实例名称
4759
4759
  */
4760
- Name: string;
4760
+ Name?: string;
4761
4761
  /**
4762
4762
  * 私有网络id
4763
4763
  */
4764
- VpcId: string;
4764
+ VpcId?: string;
4765
4765
  /**
4766
4766
  * 子网id
4767
4767
  */
4768
- SubnetId: string;
4768
+ SubnetId?: string;
4769
4769
  /**
4770
4770
  * cos桶名称
4771
4771
  */
4772
- COSBucket: string;
4772
+ COSBucket?: string;
4773
4773
  /**
4774
4774
  * 数据查询地址
4775
4775
  */
4776
- QueryAddress: string;
4776
+ QueryAddress?: string;
4777
4777
  /**
4778
4778
  * 实例中grafana相关的信息
4779
4779
  注意:此字段可能返回 null,表示取不到有效值。
4780
4780
  */
4781
- Grafana: PrometheusGrafanaInfo;
4781
+ Grafana?: PrometheusGrafanaInfo;
4782
4782
  /**
4783
4783
  * 用户自定义alertmanager
4784
4784
  注意:此字段可能返回 null,表示取不到有效值。
4785
4785
  */
4786
- AlertManagerUrl: string;
4786
+ AlertManagerUrl?: string;
4787
4787
  /**
4788
4788
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4789
4789
  */
@@ -6630,7 +6630,7 @@ export interface CreatePrometheusAlertRuleResponse {
6630
6630
  /**
6631
6631
  * 告警id
6632
6632
  */
6633
- Id: string;
6633
+ Id?: string;
6634
6634
  /**
6635
6635
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6636
6636
  */
@@ -1699,6 +1699,11 @@ export interface GatewayPluginBoundParam {
1699
1699
  * ModifyNamespace返回参数结构体
1700
1700
  */
1701
1701
  export interface ModifyNamespaceResponse {
1702
+ /**
1703
+ * Result
1704
+ 注意:此字段可能返回 null,表示取不到有效值。
1705
+ */
1706
+ Result?: boolean;
1702
1707
  /**
1703
1708
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1704
1709
  */
@@ -9925,6 +9930,11 @@ export interface VmGroupOther {
9925
9930
  注意:此字段可能返回 null,表示取不到有效值。
9926
9931
  */
9927
9932
  IsNotEqualServiceConfig: boolean;
9933
+ /**
9934
+ * HealthCheckSettings
9935
+ 注意:此字段可能返回 null,表示取不到有效值。
9936
+ */
9937
+ HealthCheckSettings?: HealthCheckSettings;
9928
9938
  }
9929
9939
  /**
9930
9940
  * DescribeTaskLastStatus返回参数结构体
@@ -26,7 +26,7 @@ export interface CreateTtsTaskResponse {
26
26
  /**
27
27
  * 任务 id
28
28
  */
29
- Data: CreateTtsTaskRespData;
29
+ Data?: CreateTtsTaskRespData;
30
30
  /**
31
31
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
32
32
  */
@@ -138,7 +138,11 @@ export interface CreateTtsTaskRequest {
138
138
  */
139
139
  ProjectId?: number;
140
140
  /**
141
- * 标准音色<li>10510000-智逍遥,旁对白阅读风格男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/document/product/1073/34112)<br><li>100510000-智逍遥,旁对白阅读风格男声(精品)</li><li>101001-智瑜,情感女声(精品)</li><li>101002-智聆,通用女声(精品)</li><li>101003-智美,客服女声(精品)</li><li>101004-智云,通用男声(精品)</li><li>101005-智莉,通用女声(精品)</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声(精品)</li><li>101008-智琪,客服女声(精品)</li><li>101009-智芸,知性女声(精品)</li><li>101010-智华,通用男声(精品)</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声(精品)</li><li>101018-智靖,情感男声(精品)</li><li>101019-智彤,粤语女声</li><li>101050-WeJack,英文男声(精品)</li><li>101051-WeRose,英文女声(精品)</li>
141
+ * 标准音色<li>10510000-智逍遥,旁对白阅读风格男声</li><li>1001-智瑜,情感女声</li><li>1002-智聆,通用女声</li><li>1003-智美,客服女声</li><li>1004-智云,通用男声</li><li>1005-智莉,通用女声</li><li>1007-智娜,客服女声</li><li>1008-智琪,客服女声</li><li>1009-智芸,知性女声</li><li>1010-智华,通用男声</li><li>1017-智蓉,情感女声</li><li>1018-智靖,情感男声</li><li>1050-WeJack,英文男声</li><li>1051-WeRose,英文女声</li>精品音色<br>精品音色拟真度更高,价格不同于标准音色,查看[购买指南](https://cloud.tencent.com/document/product/1073/34112)<br><li>100510000-智逍遥,阅读男声</li><li>101001-智瑜,情感女声</li><li>101002-智聆,通用女声</li><li>101003-智美,客服女声</li><li>101004-智云,通用男声</li><li>101005-智莉,通用女声</li><li>101006-智言,助手女声</li><li>101007-智娜,客服女声</li><li>101008-智琪,客服女声</li><li>101009-智芸,知性女声</li><li>101010-智华,通用男声</li><li>101011-智燕,新闻女声</li><li>101012-智丹,新闻女声</li><li>101013-智辉,新闻男声</li><li>101014-智宁,新闻男声</li><li>101015-智萌,男童声</li><li>101016-智甜,女童声</li><li>101017-智蓉,情感女声</li><li>101018-智靖,情感男声</li><li>101019-智彤,粤语女声</li><li>101020-智刚,新闻男声</li><li>101021-智瑞,新闻男声</li><li>101022-智虹,新闻女声</li><li>101023-智萱,聊天女声</li><li>101024-智皓,聊天男声</li><li>101025-智薇,聊天女声</li><li>101026-智希,通用女声</li><li>101027-智梅,通用女声</li><li>101028-智洁,通用女声</li><li>101029-智凯,通用男声</li><li>101030-智柯,通用男声</li><li>101031-智奎,通用男声</li><li>101032-智芳,通用女声</li><li>101033-智蓓,客服女声</li><li>101034-智莲,通用女声</li><li>101035-智依,通用女声</li><li>101040-智川,四川女声</li><li>101050-WeJack,英文男声</li><li>101051-WeRose,英文女声</li><li>101052-智味,通用男声</li>
142
+ <li>101053-智方,通用男声</li>
143
+ <li>101054-智友,通用男声</li>
144
+ <li>101055-智付,通用女声</li>
145
+ <li>101056-智林,东北男声</li>
142
146
  */
143
147
  VoiceType?: number;
144
148
  /**
@@ -345,7 +345,6 @@ export declare class Client extends AbstractClient {
345
345
  * 对点播中的音视频媒体发起审核任务,智能检测视频画面、画面中的文字、语音中的文字、声音出现的违规内容。
346
346
 
347
347
  如使用事件通知,事件通知的类型为 [音视频审核完成](https://cloud.tencent.com/document/product/266/81258)。
348
-
349
348
  */
350
349
  ReviewAudioVideo(req: ReviewAudioVideoRequest, cb?: (error: string, rep: ReviewAudioVideoResponse) => void): Promise<ReviewAudioVideoResponse>;
351
350
  /**
@@ -475,7 +475,6 @@ class Client extends abstract_client_1.AbstractClient {
475
475
  * 对点播中的音视频媒体发起审核任务,智能检测视频画面、画面中的文字、语音中的文字、声音出现的违规内容。
476
476
 
477
477
  如使用事件通知,事件通知的类型为 [音视频审核完成](https://cloud.tencent.com/document/product/266/81258)。
478
-
479
478
  */
480
479
  async ReviewAudioVideo(req, cb) {
481
480
  return this.request("ReviewAudioVideo", req, cb);
@@ -2512,7 +2512,7 @@ export interface ReviewAudioVideoRequest {
2512
2512
  ReviewContents?: Array<string>;
2513
2513
  /**
2514
2514
  * 审核模板 ID,默认值为 10。取值范围:
2515
- <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
2515
+ <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴力(Terror)和不适宜的信息(Polity)。</li>
2516
2516
  */
2517
2517
  Definition?: number;
2518
2518
  /**
@@ -3488,11 +3488,10 @@ export interface ReviewAudioVideoSegmentItem {
3488
3488
  /**
3489
3489
  * 嫌疑片段最可能的违规的标签,取值范围:
3490
3490
  <li>Porn:色情;</li>
3491
- <li>Terror:暴恐;</li>
3491
+ <li>Terror:暴力;</li>
3492
3492
  <li>Polity:不适宜的信息;</li>
3493
3493
  <li>Ad:广告;</li>
3494
3494
  <li>Illegal:违法;</li>
3495
- <li>Religion:宗教;</li>
3496
3495
  <li>Abuse:谩骂;</li>
3497
3496
  <li>Moan:娇喘。</li>
3498
3497
  */
@@ -4582,11 +4581,10 @@ export interface ReviewImageSegmentItem {
4582
4581
  /**
4583
4582
  * 嫌疑片段最可能的违规的标签,取值范围:
4584
4583
  <li>Porn:色情;</li>
4585
- <li>Terror:暴恐;</li>
4584
+ <li>Terror:暴力;</li>
4586
4585
  <li>Polity:不适宜的信息;</li>
4587
4586
  <li>Ad:广告;</li>
4588
4587
  <li>Illegal:违法;</li>
4589
- <li>Religion:宗教;</li>
4590
4588
  <li>Abuse:谩骂。</li>
4591
4589
  */
4592
4590
  Label?: string;
@@ -4780,10 +4778,9 @@ export interface CreateReviewTemplateRequest {
4780
4778
  /**
4781
4779
  * 需要返回的违规标签列表,可选值为:
4782
4780
  <li>Porn:色情;</li>
4783
- <li>Terror:暴恐;</li>
4781
+ <li>Terror:暴力;</li>
4784
4782
  <li>Polity:不适宜的信息;</li>
4785
4783
  <li>Illegal:违法;</li>
4786
- <li>Religion:宗教;</li>
4787
4784
  <li>Abuse:谩骂;</li>
4788
4785
  <li>Ad:广告;</li>
4789
4786
  <li>Moan:娇喘。</li>
@@ -6062,11 +6059,10 @@ export interface ReviewAudioVideoTaskOutput {
6062
6059
  /**
6063
6060
  * 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违规的标签,取值范围:
6064
6061
  <li>Porn:色情;</li>
6065
- <li>Terror:暴恐;</li>
6062
+ <li>Terror:暴力;</li>
6066
6063
  <li>Polity:不适宜的信息;</li>
6067
6064
  <li>Ad:广告;</li>
6068
6065
  <li>Illegal:违法;</li>
6069
- <li>Religion:宗教;</li>
6070
6066
  <li>Abuse:谩骂;</li>
6071
6067
  <li>Moan:娇喘。</li>
6072
6068
  */
@@ -6375,10 +6371,9 @@ export interface ModifyReviewTemplateRequest {
6375
6371
  /**
6376
6372
  * 需要返回的违规标签列表,可选值为:
6377
6373
  <li>Porn:色情;</li>
6378
- <li>Terror:暴恐;</li>
6374
+ <li>Terror:暴力;</li>
6379
6375
  <li>Polity:不适宜的信息;</li>
6380
6376
  <li>Illegal:违法;</li>
6381
- <li>Religion:宗教;</li>
6382
6377
  <li>Abuse:谩骂;</li>
6383
6378
  <li>Ad:广告;</li>
6384
6379
  <li>Moan:娇喘。</li>
@@ -8541,11 +8536,10 @@ export interface ReviewImageResult {
8541
8536
  /**
8542
8537
  * 当 Suggestion 为 review 或 block 时有效,表示最可能的违规的标签,取值范围:
8543
8538
  <li>Porn:色情;</li>
8544
- <li>Terror:暴恐;</li>
8539
+ <li>Terror:暴力;</li>
8545
8540
  <li>Polity:不适宜的信息;</li>
8546
8541
  <li>Ad:广告;</li>
8547
8542
  <li>Illegal:违法;</li>
8548
- <li>Religion:宗教;</li>
8549
8543
  <li>Abuse:谩骂。</li>
8550
8544
  */
8551
8545
  Label?: string;
@@ -13815,7 +13809,7 @@ export interface ReviewAudioVideoResponse {
13815
13809
  /**
13816
13810
  * 任务 ID
13817
13811
  */
13818
- TaskId: string;
13812
+ TaskId?: string;
13819
13813
  /**
13820
13814
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13821
13815
  */
@@ -15351,11 +15345,10 @@ Form 表示违禁的形式,取值范围:
15351
15345
  <li>Voice:声音。</li>
15352
15346
  Label 表示违禁的标签,取值范围:
15353
15347
  <li>Porn:色情;</li>
15354
- <li>Terror:暴恐;</li>
15348
+ <li>Terror:暴力;</li>
15355
15349
  <li>Polity:不适宜的信息;</li>
15356
15350
  <li>Ad:广告;</li>
15357
15351
  <li>Illegal:违法;</li>
15358
- <li>Religion:宗教;</li>
15359
15352
  <li>Abuse:谩骂;</li>
15360
15353
  <li>Moan:娇喘。</li>
15361
15354
  */
@@ -15513,7 +15506,7 @@ export interface ReviewImageRequest {
15513
15506
  FileId: string;
15514
15507
  /**
15515
15508
  * 图片审核模板 ID,取值范围:
15516
- <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
15509
+ <li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴力(Terror)和不适宜的信息(Polity)。</li>
15517
15510
  */
15518
15511
  Definition: number;
15519
15512
  /**
@@ -5013,6 +5013,46 @@ export interface GenHiveTableDDLSqlRequest {
5013
5013
  * 上游节点的字段信息
5014
5014
  */
5015
5015
  SourceFieldInfoList?: Array<SourceFieldInfo>;
5016
+ /**
5017
+ * 分区字段
5018
+ */
5019
+ Partitions?: Array<Partition>;
5020
+ /**
5021
+ * 建表属性
5022
+ */
5023
+ Properties?: Array<Property>;
5024
+ /**
5025
+ * 建表模式,0:向导模式,1:ddl
5026
+ */
5027
+ TableMode?: number;
5028
+ /**
5029
+ * DLC表版本,v1/v2
5030
+ */
5031
+ TableVersion?: string;
5032
+ /**
5033
+ * 是否upsert写入
5034
+ */
5035
+ UpsertFlag?: boolean;
5036
+ /**
5037
+ * 表描述信息
5038
+ */
5039
+ TableComment?: string;
5040
+ /**
5041
+ * 增加的文件数量阈值, 超过值将触发小文件合并
5042
+ */
5043
+ AddDataFiles?: number;
5044
+ /**
5045
+ * 增加的Equality delete数量阈值, 超过值将触发小文件合并
5046
+ */
5047
+ AddEqualityDeletes?: number;
5048
+ /**
5049
+ * 增加的Position delete数量阈值, 超过值将触发小文件合并
5050
+ */
5051
+ AddPositionDeletes?: number;
5052
+ /**
5053
+ * 增加的delete file数量阈值
5054
+ */
5055
+ AddDeleteFiles?: number;
5016
5056
  }
5017
5057
  /**
5018
5058
  * DescribeRuleExecResultsByPage请求参数结构体
@@ -10786,6 +10826,23 @@ export interface DeleteInLongAgentRequest {
10786
10826
  */
10787
10827
  ProjectId: string;
10788
10828
  }
10829
+ /**
10830
+ * 分区参数
10831
+ */
10832
+ export interface Partition {
10833
+ /**
10834
+ * 分区转换策略
10835
+ */
10836
+ Transform?: string;
10837
+ /**
10838
+ * 分区字段名
10839
+ */
10840
+ Name?: string;
10841
+ /**
10842
+ * 策略参数
10843
+ */
10844
+ TransformArgs?: Array<string>;
10845
+ }
10789
10846
  /**
10790
10847
  * RuleDimCnt 规则维度统计
10791
10848
  */
@@ -10853,6 +10910,19 @@ export interface DescribeDimensionScoreRequest {
10853
10910
  */
10854
10911
  DatasourceId?: string;
10855
10912
  }
10913
+ /**
10914
+ * dlc建表属性
10915
+ */
10916
+ export interface Property {
10917
+ /**
10918
+ * key值
10919
+ */
10920
+ Key: string;
10921
+ /**
10922
+ * value值
10923
+ */
10924
+ Value: string;
10925
+ }
10856
10926
  /**
10857
10927
  * 采集器关联的集成任务
10858
10928
  */
@@ -0,0 +1,61 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.bma.v20221115.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("bma.v20221115.test.js", function () {
20
+
21
+ it("bma.v20221115.CreateBPFakeAPP", async function () {
22
+ try {
23
+ const data = await client.CreateBPFakeAPP({})
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
+ it("bma.v20221115.CreateBPFakeURL", async function () {
32
+ try {
33
+ const data = await client.CreateBPFakeURL({})
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
+
41
+ it("bma.v20221115.CreateBPFakeURLs", async function () {
42
+ try {
43
+ const data = await client.CreateBPFakeURLs({})
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
+
51
+ it("bma.v20221115.CreateBPFakeAPPList", async function () {
52
+ try {
53
+ const data = await client.CreateBPFakeAPPList({})
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
+ })
@@ -568,9 +568,9 @@ it("cynosdb.v20190107.DescribeResourcesByDealName", async function () {
568
568
  }
569
569
  })
570
570
 
571
- it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
571
+ it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
572
572
  try {
573
- const data = await client.GrantAccountPrivileges({})
573
+ const data = await client.ExportInstanceSlowQueries({})
574
574
  expect(data).to.be.ok
575
575
  } catch(error) {
576
576
  expect(error.requestId).to.be.ok
@@ -678,9 +678,9 @@ it("cynosdb.v20190107.DescribeAuditLogFiles", async function () {
678
678
  }
679
679
  })
680
680
 
681
- it("cynosdb.v20190107.ExportInstanceSlowQueries", async function () {
681
+ it("cynosdb.v20190107.DescribeZones", async function () {
682
682
  try {
683
- const data = await client.ExportInstanceSlowQueries({})
683
+ const data = await client.DescribeZones({})
684
684
  expect(data).to.be.ok
685
685
  } catch(error) {
686
686
  expect(error.requestId).to.be.ok
@@ -718,6 +718,16 @@ it("cynosdb.v20190107.ModifyAuditRuleTemplates", async function () {
718
718
  }
719
719
  })
720
720
 
721
+ it("cynosdb.v20190107.GrantAccountPrivileges", async function () {
722
+ try {
723
+ const data = await client.GrantAccountPrivileges({})
724
+ expect(data).to.be.ok
725
+ } catch(error) {
726
+ expect(error.requestId).to.be.ok
727
+ expect(error.code).to.be.ok
728
+ }
729
+ })
730
+
721
731
  it("cynosdb.v20190107.SearchClusterTables", async function () {
722
732
  try {
723
733
  const data = await client.SearchClusterTables({})