tencentcloud-sdk-nodejs 4.0.835 → 4.0.836

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 (48) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/SERVICE_CHANGELOG.md +294 -131
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +11 -0
  7. package/src/services/asr/v20190614/asr_client.ts +1 -1
  8. package/src/services/asr/v20190614/asr_models.ts +3 -0
  9. package/src/services/bsca/v20210811/bsca_models.ts +9 -1
  10. package/src/services/ccc/v20200210/ccc_client.ts +2 -2
  11. package/src/services/ccc/v20200210/ccc_models.ts +10 -10
  12. package/src/services/dts/v20211206/dts_models.ts +2 -2
  13. package/src/services/ess/v20201111/ess_client.ts +1 -1
  14. package/src/services/ess/v20201111/ess_models.ts +123 -1
  15. package/src/services/lcic/v20220817/lcic_models.ts +22 -0
  16. package/src/services/lke/v20231130/lke_models.ts +5 -1
  17. package/src/services/ocr/v20181119/ocr_models.ts +10 -10
  18. package/src/services/rce/v20201103/rce_models.ts +5 -4
  19. package/src/services/tat/v20201028/tat_models.ts +4 -4
  20. package/src/services/tke/v20180525/tke_client.ts +27 -0
  21. package/src/services/tke/v20180525/tke_models.ts +125 -5
  22. package/src/services/vod/v20180717/vod_client.ts +2 -2
  23. package/src/services/vod/v20180717/vod_models.ts +20 -21
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +11 -0
  27. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  28. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  29. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +3 -0
  30. package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +9 -1
  31. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +2 -2
  32. package/tencentcloud/services/ccc/v20200210/ccc_client.js +2 -2
  33. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -10
  34. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
  35. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  36. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +123 -1
  37. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +22 -0
  38. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +5 -1
  39. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -10
  40. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +5 -4
  41. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +3 -3
  42. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -1
  43. package/tencentcloud/services/tke/v20180525/tke_client.js +12 -0
  44. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +118 -5
  45. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
  46. package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
  47. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +20 -21
  48. package/test/tke.v20180525.test.js +20 -0
@@ -157,6 +157,7 @@ import {
157
157
  DescribeClusterReleaseHistoryResponse,
158
158
  DescribeImagesRequest,
159
159
  UninstallEdgeLogAgentResponse,
160
+ DescribeSupportedRuntimeRequest,
160
161
  AddVpcCniSubnetsRequest,
161
162
  DescribePrometheusAlertHistoryResponse,
162
163
  ExistedInstancesPara,
@@ -258,6 +259,7 @@ import {
258
259
  UpgradeClusterReleaseResponse,
259
260
  DescribePrometheusAlertPolicyRequest,
260
261
  DeleteClusterAsGroupsResponse,
262
+ ModifyClusterRuntimeConfigRequest,
261
263
  RegionInstance,
262
264
  DescribePrometheusConfigRequest,
263
265
  DescribeEdgeLogSwitchesRequest,
@@ -469,6 +471,7 @@ import {
469
471
  CreatePrometheusAlertRuleRequest,
470
472
  UpdateEKSClusterRequest,
471
473
  CreateTKEEdgeClusterRequest,
474
+ DescribeSupportedRuntimeResponse,
472
475
  CreateClusterVirtualNodePoolResponse,
473
476
  CreateEKSClusterResponse,
474
477
  CreateImageCacheResponse,
@@ -509,12 +512,14 @@ import {
509
512
  CreateClusterEndpointVipResponse,
510
513
  TaskStepInfo,
511
514
  DeletePrometheusAlertRuleRequest,
515
+ NodePoolRuntime,
512
516
  ModifyReservedInstanceScopeResponse,
513
517
  DescribeRouteTableConflictsRequest,
514
518
  DeleteClusterEndpointVipResponse,
515
519
  ClusterBasicSettings,
516
520
  PrometheusTemp,
517
521
  DescribeBackupStorageLocationsResponse,
522
+ OptionalRuntimes,
518
523
  ModifyClusterAsGroupAttributeResponse,
519
524
  DeletePrometheusTempRequest,
520
525
  DescribeTKEEdgeScriptResponse,
@@ -583,6 +588,7 @@ import {
583
588
  DescribePodsBySpecRequest,
584
589
  UpdateClusterKubeconfigResponse,
585
590
  ForwardApplicationRequestV3Response,
591
+ RuntimeConfig,
586
592
  ModifyClusterAuthenticationOptionsRequest,
587
593
  DeleteClusterEndpointVipRequest,
588
594
  LivenessOrReadinessProbe,
@@ -592,6 +598,7 @@ import {
592
598
  DescribeVpcCniPodLimitsRequest,
593
599
  DeleteImageCachesResponse,
594
600
  DescribeEKSContainerInstanceRegionsResponse,
601
+ ModifyClusterRuntimeConfigResponse,
595
602
  ModifyPrometheusRecordRuleYamlResponse,
596
603
  DescribeTKEEdgeScriptRequest,
597
604
  AddVpcCniSubnetsResponse,
@@ -673,6 +680,16 @@ export class Client extends AbstractClient {
673
680
  return this.request("CreateCluster", req, cb)
674
681
  }
675
682
 
683
+ /**
684
+ * 根据K8S版本获取可选运行时版本
685
+ */
686
+ async DescribeSupportedRuntime(
687
+ req: DescribeSupportedRuntimeRequest,
688
+ cb?: (error: string, rep: DescribeSupportedRuntimeResponse) => void
689
+ ): Promise<DescribeSupportedRuntimeResponse> {
690
+ return this.request("DescribeSupportedRuntime", req, cb)
691
+ }
692
+
676
693
  /**
677
694
  * 在tke@edge集群的边缘节点上安装日志采集组件
678
695
  */
@@ -2803,6 +2820,16 @@ export class Client extends AbstractClient {
2803
2820
  return this.request("CreateClusterEndpointVip", req, cb)
2804
2821
  }
2805
2822
 
2823
+ /**
2824
+ * 修改集群及节点池纬度运行时配置
2825
+ */
2826
+ async ModifyClusterRuntimeConfig(
2827
+ req: ModifyClusterRuntimeConfigRequest,
2828
+ cb?: (error: string, rep: ModifyClusterRuntimeConfigResponse) => void
2829
+ ): Promise<ModifyClusterRuntimeConfigResponse> {
2830
+ return this.request("ModifyClusterRuntimeConfig", req, cb)
2831
+ }
2832
+
2806
2833
  /**
2807
2834
  * 查询路由表冲突列表
2808
2835
  */
@@ -3042,6 +3042,16 @@ export interface UninstallEdgeLogAgentResponse {
3042
3042
  RequestId?: string
3043
3043
  }
3044
3044
 
3045
+ /**
3046
+ * DescribeSupportedRuntime请求参数结构体
3047
+ */
3048
+ export interface DescribeSupportedRuntimeRequest {
3049
+ /**
3050
+ * K8S版本
3051
+ */
3052
+ K8sVersion: string
3053
+ }
3054
+
3045
3055
  /**
3046
3056
  * AddVpcCniSubnets请求参数结构体
3047
3057
  */
@@ -5357,6 +5367,28 @@ export interface DeleteClusterAsGroupsResponse {
5357
5367
  RequestId?: string
5358
5368
  }
5359
5369
 
5370
+ /**
5371
+ * ModifyClusterRuntimeConfig请求参数结构体
5372
+ */
5373
+ export interface ModifyClusterRuntimeConfigRequest {
5374
+ /**
5375
+ * 集群ID,必填
5376
+ */
5377
+ ClusterId: string
5378
+ /**
5379
+ * 当需要修改运行时版本是根据另外的K8S版本获取时,需填写。例如升级校验有冲突后修改场景
5380
+ */
5381
+ DstK8SVersion?: string
5382
+ /**
5383
+ * 需要修改集群运行时时填写
5384
+ */
5385
+ ClusterRuntimeConfig?: RuntimeConfig
5386
+ /**
5387
+ * 需要修改节点池运行时时,填需要修改的部分
5388
+ */
5389
+ NodePoolRuntimeConfig?: Array<NodePoolRuntime>
5390
+ }
5391
+
5360
5392
  /**
5361
5393
  * 地域属性信息
5362
5394
  */
@@ -6172,7 +6204,7 @@ export interface EnableClusterAuditRequest {
6172
6204
  */
6173
6205
  export interface CreateClusterRouteTableRequest {
6174
6206
  /**
6175
- * 路由表名称
6207
+ * 路由表名称,一般为集群ID
6176
6208
  */
6177
6209
  RouteTableName: string
6178
6210
  /**
@@ -6184,7 +6216,7 @@ export interface CreateClusterRouteTableRequest {
6184
6216
  */
6185
6217
  VpcId: string
6186
6218
  /**
6187
- * 是否忽略CIDR冲突
6219
+ * 是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略
6188
6220
  */
6189
6221
  IgnoreClusterCidrConflict?: number
6190
6222
  }
@@ -6627,11 +6659,11 @@ export interface CreateClusterRouteRequest {
6627
6659
  */
6628
6660
  RouteTableName: string
6629
6661
  /**
6630
- * 目的端CIDR。
6662
+ * 目的节点的 PodCIDR
6631
6663
  */
6632
6664
  DestinationCidrBlock: string
6633
6665
  /**
6634
- * 下一跳地址。
6666
+ * 下一跳地址,即目的节点的内网 IP 地址
6635
6667
  */
6636
6668
  GatewayIp: string
6637
6669
  }
@@ -7236,7 +7268,7 @@ export interface ForwardTKEEdgeApplicationRequestV3Response {
7236
7268
  /**
7237
7269
  * 请求集群addon后返回的数据
7238
7270
  */
7239
- ResponseBody: string
7271
+ ResponseBody?: string
7240
7272
  /**
7241
7273
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7242
7274
  */
@@ -10062,6 +10094,21 @@ export interface CreateTKEEdgeClusterRequest {
10062
10094
  TagSpecification?: TagSpecification
10063
10095
  }
10064
10096
 
10097
+ /**
10098
+ * DescribeSupportedRuntime返回参数结构体
10099
+ */
10100
+ export interface DescribeSupportedRuntimeResponse {
10101
+ /**
10102
+ * 可选运行时列表
10103
+ 注意:此字段可能返回 null,表示取不到有效值。
10104
+ */
10105
+ OptionalRuntimes?: Array<OptionalRuntimes>
10106
+ /**
10107
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10108
+ */
10109
+ RequestId?: string
10110
+ }
10111
+
10065
10112
  /**
10066
10113
  * CreateClusterVirtualNodePool返回参数结构体
10067
10114
  */
@@ -10826,6 +10873,32 @@ export interface DeletePrometheusAlertRuleRequest {
10826
10873
  AlertIds: Array<string>
10827
10874
  }
10828
10875
 
10876
+ /**
10877
+ * NodePool的运行时配置
10878
+ */
10879
+ export interface NodePoolRuntime {
10880
+ /**
10881
+ * 节点池ID
10882
+ 注意:此字段可能返回 null,表示取不到有效值。
10883
+ */
10884
+ NodePoolId?: string
10885
+ /**
10886
+ * 运行时类型
10887
+ 注意:此字段可能返回 null,表示取不到有效值。
10888
+ */
10889
+ RuntimeType?: string
10890
+ /**
10891
+ * 运行时版本
10892
+ 注意:此字段可能返回 null,表示取不到有效值。
10893
+ */
10894
+ RuntimeVersion?: string
10895
+ /**
10896
+ * 节点池名称
10897
+ 注意:此字段可能返回 null,表示取不到有效值。
10898
+ */
10899
+ NodePoolName?: string
10900
+ }
10901
+
10829
10902
  /**
10830
10903
  * ModifyReservedInstanceScope返回参数结构体
10831
10904
  */
@@ -11005,6 +11078,27 @@ export interface DescribeBackupStorageLocationsResponse {
11005
11078
  RequestId?: string
11006
11079
  }
11007
11080
 
11081
+ /**
11082
+ * 可选运行时
11083
+ */
11084
+ export interface OptionalRuntimes {
11085
+ /**
11086
+ * 运行时类型
11087
+ 注意:此字段可能返回 null,表示取不到有效值。
11088
+ */
11089
+ RuntimeType?: string
11090
+ /**
11091
+ * 运行时版本列表
11092
+ 注意:此字段可能返回 null,表示取不到有效值。
11093
+ */
11094
+ RuntimeVersions?: Array<string>
11095
+ /**
11096
+ * 该类型的默认运行时版本
11097
+ 注意:此字段可能返回 null,表示取不到有效值。
11098
+ */
11099
+ DefaultVersion?: string
11100
+ }
11101
+
11008
11102
  /**
11009
11103
  * ModifyClusterAsGroupAttribute返回参数结构体
11010
11104
  */
@@ -12404,6 +12498,22 @@ export interface ForwardApplicationRequestV3Response {
12404
12498
  RequestId?: string
12405
12499
  }
12406
12500
 
12501
+ /**
12502
+ * 运行时配置
12503
+ */
12504
+ export interface RuntimeConfig {
12505
+ /**
12506
+ * 运行时类型
12507
+ 注意:此字段可能返回 null,表示取不到有效值。
12508
+ */
12509
+ RuntimeType?: string
12510
+ /**
12511
+ * 运行时版本
12512
+ 注意:此字段可能返回 null,表示取不到有效值。
12513
+ */
12514
+ RuntimeVersion?: string
12515
+ }
12516
+
12407
12517
  /**
12408
12518
  * ModifyClusterAuthenticationOptions请求参数结构体
12409
12519
  */
@@ -12595,6 +12705,16 @@ export interface DescribeEKSContainerInstanceRegionsResponse {
12595
12705
  RequestId?: string
12596
12706
  }
12597
12707
 
12708
+ /**
12709
+ * ModifyClusterRuntimeConfig返回参数结构体
12710
+ */
12711
+ export interface ModifyClusterRuntimeConfigResponse {
12712
+ /**
12713
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12714
+ */
12715
+ RequestId?: string
12716
+ }
12717
+
12598
12718
  /**
12599
12719
  * ModifyPrometheusRecordRuleYaml返回参数结构体
12600
12720
  */
@@ -2142,7 +2142,7 @@ export class Client extends AbstractClient {
2142
2142
  }
2143
2143
 
2144
2144
  /**
2145
- * 该接口用于创建点播子应用。
2145
+ * 该接口用于创建点播应用。
2146
2146
  */
2147
2147
  async CreateSubAppId(
2148
2148
  req: CreateSubAppIdRequest,
@@ -2426,7 +2426,7 @@ export class Client extends AbstractClient {
2426
2426
  }
2427
2427
 
2428
2428
  /**
2429
- * 该接口用于获取当前账号的子应用列表,包含主应用。
2429
+ * 该接口用于获取当前账号的应用列表。
2430
2430
  */
2431
2431
  async DescribeSubAppIds(
2432
2432
  req: DescribeSubAppIdsRequest,
@@ -283,7 +283,7 @@ export interface WeChatMiniProgramPublishRequest {
283
283
  */
284
284
  FileId: string
285
285
  /**
286
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
286
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
287
287
  */
288
288
  SubAppId?: number
289
289
  /**
@@ -3133,7 +3133,7 @@ export interface ReviewAudioVideoRequest {
3133
3133
  */
3134
3134
  FileId: string
3135
3135
  /**
3136
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
3136
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
3137
3137
  */
3138
3138
  SubAppId?: number
3139
3139
  /**
@@ -5113,7 +5113,7 @@ export interface SetCLSPushTargetRequest {
5113
5113
  */
5114
5114
  Domain: string
5115
5115
  /**
5116
- * 点播应用 ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
5116
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
5117
5117
  */
5118
5118
  SubAppId?: number
5119
5119
  /**
@@ -6137,11 +6137,11 @@ export interface DescribeAdaptiveDynamicStreamingTemplatesResponse {
6137
6137
  /**
6138
6138
  * 符合过滤条件的记录总数。
6139
6139
  */
6140
- TotalCount: number
6140
+ TotalCount?: number
6141
6141
  /**
6142
6142
  * 转自适应码流模板详情列表。
6143
6143
  */
6144
- AdaptiveDynamicStreamingTemplateSet: Array<AdaptiveDynamicStreamingTemplate>
6144
+ AdaptiveDynamicStreamingTemplateSet?: Array<AdaptiveDynamicStreamingTemplate>
6145
6145
  /**
6146
6146
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6147
6147
  */
@@ -6193,7 +6193,7 @@ export interface TimeRange {
6193
6193
  */
6194
6194
  export interface DescribeAdaptiveDynamicStreamingTemplatesRequest {
6195
6195
  /**
6196
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
6196
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
6197
6197
  */
6198
6198
  SubAppId?: number
6199
6199
  /**
@@ -8626,7 +8626,7 @@ export interface DeleteMediaRequest {
8626
8626
  */
8627
8627
  FileId: string
8628
8628
  /**
8629
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
8629
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
8630
8630
  */
8631
8631
  SubAppId?: number
8632
8632
  /**
@@ -8849,11 +8849,11 @@ export interface DeleteRebuildMediaTemplateResponse {
8849
8849
  */
8850
8850
  export interface DescribeSubAppIdsResponse {
8851
8851
  /**
8852
- * 子应用信息集合。
8852
+ * 应用信息集合。
8853
8853
  */
8854
8854
  SubAppIdInfoSet?: Array<SubAppIdInfo>
8855
8855
  /**
8856
- * 子应用总数量。
8856
+ * 应用总数量。
8857
8857
  */
8858
8858
  TotalCount?: number
8859
8859
  /**
@@ -10448,9 +10448,9 @@ export interface ModifySubAppIdStatusRequest {
10448
10448
  */
10449
10449
  export interface CreateSubAppIdResponse {
10450
10450
  /**
10451
- * 新创建的子应用 ID。
10451
+ * 新创建的应用 ID。
10452
10452
  */
10453
- SubAppId: number
10453
+ SubAppId?: number
10454
10454
  /**
10455
10455
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10456
10456
  */
@@ -11997,7 +11997,7 @@ export interface ApplyUploadRequest {
11997
11997
  */
11998
11998
  MediaType: string
11999
11999
  /**
12000
- * <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
12000
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
12001
12001
  */
12002
12002
  SubAppId?: number
12003
12003
  /**
@@ -13602,7 +13602,7 @@ export interface PushUrlCacheRequest {
13602
13602
  */
13603
13603
  Urls: Array<string>
13604
13604
  /**
13605
- * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
13605
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
13606
13606
  */
13607
13607
  SubAppId?: number
13608
13608
  }
@@ -16102,11 +16102,11 @@ export interface DescribeTasksResponse {
16102
16102
  */
16103
16103
  export interface DescribeSubAppIdsRequest {
16104
16104
  /**
16105
- * 子应用名称。
16105
+ * 应用名称。
16106
16106
  */
16107
16107
  Name?: string
16108
16108
  /**
16109
- * 标签信息,查询指定标签的子应用列表。
16109
+ * 标签信息,查询指定标签的应用列表。
16110
16110
  */
16111
16111
  Tags?: Array<ResourceTag>
16112
16112
  /**
@@ -18479,7 +18479,7 @@ export interface RestoreMediaRequest {
18479
18479
  */
18480
18480
  FileIds: Array<string>
18481
18481
  /**
18482
- * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
18482
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
18483
18483
  */
18484
18484
  SubAppId?: number
18485
18485
  /**
@@ -18696,11 +18696,11 @@ export interface AiRecognitionTaskAsrWordsResult {
18696
18696
  */
18697
18697
  export interface CreateSubAppIdRequest {
18698
18698
  /**
18699
- * 子应用名称,长度限制:40个字符。
18699
+ * 应用名称,长度限制:40个字符。
18700
18700
  */
18701
18701
  Name: string
18702
18702
  /**
18703
- * 子应用简介,长度限制: 300个字符。
18703
+ * 应用简介,长度限制: 300个字符。
18704
18704
  */
18705
18705
  Description?: string
18706
18706
  }
@@ -20266,8 +20266,7 @@ export interface DescribeStorageDetailsRequest {
20266
20266
  */
20267
20267
  EndTime: string
20268
20268
  /**
20269
- * <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
20270
- 当该字段为1时,表示以管理员身份查询所有子应用(含主应用)的用量合计。</b>
20269
+ * <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
20271
20270
  */
20272
20271
  SubAppId?: number
20273
20272
  /**
@@ -20286,7 +20285,7 @@ export interface DescribeStorageDetailsRequest {
20286
20285
  <li>DeepArchiveStorage:深度归档存储。</li>
20287
20286
  <li>DeletedInfrequentStorage:低频存储提前删除量。</li>
20288
20287
  <li>DeletedArchiveStorage:归档提前删除量。</li>
20289
- <li>DeletedDeepArchiveStorage:深度归档提前删除量。
20288
+ <li>DeletedDeepArchiveStorage:深度归档提前删除量。</li>
20290
20289
  <li>ArchiveStandardRetrieval:归档标准取回量。</li>
20291
20290
  <li>ArchiveExpeditedRetrieval:归档快速取回量。</li>
20292
20291
  <li>ArchiveBulkRetrieval:归档批量取回量。</li>
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.835";
1
+ export declare const sdkVersion = "4.0.836";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.835";
4
+ exports.sdkVersion = "4.0.836";
@@ -49,6 +49,13 @@ export interface SubmitTextToImageProJobRequest {
49
49
  engine2
50
50
  */
51
51
  Engine?: string;
52
+ /**
53
+ * prompt 扩写开关。1为开启,0为关闭,不传默认开启。
54
+ 开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
55
+ 如果关闭扩写,将直接使用原始输入的 prompt 生成图片。
56
+ 建议开启,在多数场景下可提升生成图片效果、丰富生成图片细节。
57
+ */
58
+ Revise?: number;
52
59
  }
53
60
  /**
54
61
  * logo参数
@@ -188,6 +195,10 @@ export interface QueryTextToImageProJobResponse {
188
195
 
189
196
  */
190
197
  ResultDetails?: Array<string>;
198
+ /**
199
+ * 对应 SubmitTextToImageProJob 接口中 Revise 参数。开启扩写时,返回扩写后的 prompt 文本。 如果关闭扩写,将直接返回原始输入的 prompt。
200
+ */
201
+ RevisedPrompt?: Array<string>;
191
202
  /**
192
203
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
193
204
  */
@@ -59,7 +59,7 @@ export declare class Client extends AbstractClient {
59
59
  */
60
60
  DeleteAsrVocab(req: DeleteAsrVocabRequest, cb?: (error: string, rep: DeleteAsrVocabResponse) => void): Promise<DeleteAsrVocabResponse>;
61
61
  /**
62
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
62
+ * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
63
63
  */
64
64
  SentenceRecognition(req: SentenceRecognitionRequest, cb?: (error: string, rep: SentenceRecognitionResponse) => void): Promise<SentenceRecognitionResponse>;
65
65
  /**
@@ -101,7 +101,7 @@ class Client extends abstract_client_1.AbstractClient {
101
101
  return this.request("DeleteAsrVocab", req, cb);
102
102
  }
103
103
  /**
104
- * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
104
+ * 本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
105
105
  */
106
106
  async SentenceRecognition(req, cb) {
107
107
  return this.request("SentenceRecognition", req, cb);
@@ -143,6 +143,7 @@ export interface CreateAsyncRecognitionTaskRequest {
143
143
  • 16k_es:西班牙语;
144
144
  • 16k_hi:印地语;
145
145
  • 16k_fr:法语;
146
+ • 16k_de:法语;
146
147
  */
147
148
  EngineType: string;
148
149
  /**
@@ -252,6 +253,7 @@ export interface SentenceRecognitionRequest {
252
253
  • 16k_es:西班牙语;
253
254
  • 16k_hi:印地语;
254
255
  • 16k_fr:法语;
256
+ • 16k_de:德语;
255
257
  • 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
256
258
  */
257
259
  EngSerViceType: string;
@@ -610,6 +612,7 @@ export interface CreateRecTaskRequest {
610
612
  • **16k_hi:**印地语;
611
613
  • **16k_fr:**法语;
612
614
  • **16k_zh_medical:**中文医疗引擎;
615
+ • **16k_de:**德语;
613
616
  */
614
617
  EngineModelType: string;
615
618
  /**
@@ -23,6 +23,10 @@ export interface DescribeKBComponentVulnerabilityRequest {
23
23
  * 组件的PURL,其中Name和Version为必填字段
24
24
  */
25
25
  PURL: PURL;
26
+ /**
27
+ * 语言,ZH或EN
28
+ */
29
+ Language?: string;
26
30
  }
27
31
  /**
28
32
  * 受漏洞影响的组件信息。
@@ -87,7 +91,7 @@ export interface DescribeKBComponentVulnerabilityResponse {
87
91
  * 漏洞信息列表
88
92
  注意:此字段可能返回 null,表示取不到有效值。
89
93
  */
90
- VulnerabilityList: Array<ComponentVulnerabilityUnion>;
94
+ VulnerabilityList?: Array<ComponentVulnerabilityUnion>;
91
95
  /**
92
96
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
93
97
  */
@@ -372,6 +376,10 @@ export interface DescribeKBVulnerabilityRequest {
372
376
  * 根据CNNVD ID查询(不能与其他参数同时存在)
373
377
  */
374
378
  CNNVDID?: Array<string>;
379
+ /**
380
+ * 语言,ZH或EN
381
+ */
382
+ Language?: string;
375
383
  }
376
384
  /**
377
385
  * 描述漏洞详细信息。
@@ -56,7 +56,7 @@ export declare class Client extends AbstractClient {
56
56
  */
57
57
  DeleteStaff(req: DeleteStaffRequest, cb?: (error: string, rep: DeleteStaffResponse) => void): Promise<DeleteStaffResponse>;
58
58
  /**
59
- * 修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
59
+ * 修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
60
60
  */
61
61
  ModifyCompanyApply(req: ModifyCompanyApplyRequest, cb?: (error: string, rep: ModifyCompanyApplyResponse) => void): Promise<ModifyCompanyApplyResponse>;
62
62
  /**
@@ -100,7 +100,7 @@ export declare class Client extends AbstractClient {
100
100
  */
101
101
  DescribePredictiveDialingSessions(req: DescribePredictiveDialingSessionsRequest, cb?: (error: string, rep: DescribePredictiveDialingSessionsResponse) => void): Promise<DescribePredictiveDialingSessionsResponse>;
102
102
  /**
103
- * 创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
103
+ * 创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
104
104
  */
105
105
  CreateCompanyApply(req: CreateCompanyApplyRequest, cb?: (error: string, rep: CreateCompanyApplyResponse) => void): Promise<CreateCompanyApplyResponse>;
106
106
  /**
@@ -100,7 +100,7 @@ class Client extends abstract_client_1.AbstractClient {
100
100
  return this.request("DeleteStaff", req, cb);
101
101
  }
102
102
  /**
103
- * 修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
103
+ * 修改公司资质申请,只能修改状态为驳回或待审核的申请单。(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
104
104
  */
105
105
  async ModifyCompanyApply(req, cb) {
106
106
  return this.request("ModifyCompanyApply", req, cb);
@@ -166,7 +166,7 @@ class Client extends abstract_client_1.AbstractClient {
166
166
  return this.request("DescribePredictiveDialingSessions", req, cb);
167
167
  }
168
168
  /**
169
- * 创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模版:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
169
+ * 创建公司资质申请(1、首次使用接口,建议先在云联络中心控制台查看各个资料模板:https://console.cloud.tencent.com/ccc/enterprise/update。2、参数中图片Url建议使用腾讯云Cos存储的临时链接)
170
170
  */
171
171
  async CreateCompanyApply(req, cb) {
172
172
  return this.request("CreateCompanyApply", req, cb);