tencentcloud-sdk-nodejs 4.1.34 → 4.1.36

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 (57) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/billing/v20180709/billing_client.js +46 -4
  3. package/es/services/cdb/v20170320/cdb_client.js +0 -3
  4. package/es/services/ess/v20201111/ess_client.js +3 -0
  5. package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
  6. package/es/services/gaap/v20180529/gaap_client.js +5 -14
  7. package/es/services/wedata/v20210820/wedata_client.js +21 -0
  8. package/package.json +1 -1
  9. package/tencentcloud/common/sdk_version.d.ts +1 -1
  10. package/tencentcloud/common/sdk_version.js +1 -1
  11. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +16 -0
  12. package/tencentcloud/services/as/v20180419/as_models.d.ts +20 -9
  13. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -0
  14. package/tencentcloud/services/bh/v20230418/bh_client.d.ts +1 -1
  15. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +171 -89
  16. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +61 -5
  17. package/tencentcloud/services/billing/v20180709/billing_client.js +90 -6
  18. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +860 -224
  19. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -7
  20. package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -8
  21. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +84 -115
  22. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +5 -1
  23. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +14 -10
  24. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
  25. package/tencentcloud/services/ess/v20201111/ess_client.js +10 -0
  26. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +59 -11
  27. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -1
  28. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -0
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +209 -149
  30. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +7 -25
  31. package/tencentcloud/services/gaap/v20180529/gaap_client.js +9 -33
  32. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +58 -243
  33. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +86 -16
  34. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +26 -21
  35. package/tencentcloud/services/keewidb/v20220308/keewidb_models.d.ts +1 -0
  36. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
  37. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
  38. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -3
  39. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +54 -1
  40. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +0 -3
  41. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +12 -0
  42. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +4 -4
  43. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +8 -0
  44. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +45 -0
  45. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
  46. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +0 -10
  47. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +4 -5
  48. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -1
  49. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +105 -37
  50. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  51. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -0
  52. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  53. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +12 -12
  54. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +66 -11
  55. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +29 -1
  56. package/tencentcloud/services/wedata/v20210820/wedata_client.js +42 -0
  57. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +2469 -1795
@@ -52,13 +52,13 @@ export interface RegionDetail {
52
52
  SupportFeature?: SupportFeature;
53
53
  }
54
54
  /**
55
- * 网络加速的目标地址信息
55
+ * DisableGlobalDomain返回参数结构体
56
56
  */
57
- export interface DestAddressInfo {
57
+ export interface DisableGlobalDomainResponse {
58
58
  /**
59
- * 加速的目标IP,可多ip一起加速
59
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
60
60
  */
61
- DestIp: Array<string>;
61
+ RequestId?: string;
62
62
  }
63
63
  /**
64
64
  * DescribeUDPListeners请求参数结构体
@@ -150,19 +150,6 @@ export interface DeleteProxyGroupRequest {
150
150
  */
151
151
  Force?: number;
152
152
  }
153
- /**
154
- * OpenSecurityPolicy返回参数结构体
155
- */
156
- export interface OpenSecurityPolicyResponse {
157
- /**
158
- * 异步流程ID,可以通过DescribeAsyncTaskStatus接口查询流程运行状态
159
- */
160
- TaskId?: string;
161
- /**
162
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
163
- */
164
- RequestId?: string;
165
- }
166
153
  /**
167
154
  * ModifyGlobalDomainAttribute请求参数结构体
168
155
  */
@@ -457,15 +444,6 @@ export interface DescribeProxyGroupStatisticsResponse {
457
444
  */
458
445
  RequestId?: string;
459
446
  }
460
- /**
461
- * DisableGlobalDomain返回参数结构体
462
- */
463
- export interface DisableGlobalDomainResponse {
464
- /**
465
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
466
- */
467
- RequestId?: string;
468
- }
469
447
  /**
470
448
  * DescribeResourcesByTag返回参数结构体
471
449
  */
@@ -554,15 +532,6 @@ export interface DescribeHTTPListenersRequest {
554
532
  */
555
533
  SearchValue?: string;
556
534
  }
557
- /**
558
- * BindListenerRealServers返回参数结构体
559
- */
560
- export interface BindListenerRealServersResponse {
561
- /**
562
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
563
- */
564
- RequestId?: string;
565
- }
566
535
  /**
567
536
  * DescribeCustomHeader返回参数结构体
568
537
  */
@@ -727,6 +696,23 @@ export interface DescribeHTTPSListenersRequest {
727
696
  */
728
697
  Http3Supported?: number;
729
698
  }
699
+ /**
700
+ * DescribeAccessRegionsByDestRegion返回参数结构体
701
+ */
702
+ export interface DescribeAccessRegionsByDestRegionResponse {
703
+ /**
704
+ * 可用加速区域数量
705
+ */
706
+ TotalCount?: number;
707
+ /**
708
+ * 可用加速区域信息列表
709
+ */
710
+ AccessRegionSet?: Array<AccessRegionDetial>;
711
+ /**
712
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
713
+ */
714
+ RequestId?: string;
715
+ }
730
716
  /**
731
717
  * DescribeCountryAreaMapping请求参数结构体
732
718
  */
@@ -925,13 +911,36 @@ export interface BindListenerRealServersRequest {
925
911
  RealServerBindSet?: Array<RealServerBindSetReq>;
926
912
  }
927
913
  /**
928
- * DeleteDomainErrorPageInfo返回参数结构体
914
+ * ModifyProxyConfiguration请求参数结构体
929
915
  */
930
- export interface DeleteDomainErrorPageInfoResponse {
916
+ export interface ModifyProxyConfigurationRequest {
931
917
  /**
932
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
918
+ * (旧参数,请切换到ProxyId)通道的实例ID。
933
919
  */
934
- RequestId?: string;
920
+ InstanceId?: string;
921
+ /**
922
+ * 需要调整到的目标带宽,单位:Mbps。
923
+ Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
924
+ */
925
+ Bandwidth?: number;
926
+ /**
927
+ * 需要调整到的目标并发值,单位:万。
928
+ Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
929
+ */
930
+ Concurrent?: number;
931
+ /**
932
+ * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
933
+ 更多详细信息请参阅:如何保证幂等性。
934
+ */
935
+ ClientToken?: string;
936
+ /**
937
+ * (新参数)通道的实例ID。
938
+ */
939
+ ProxyId?: string;
940
+ /**
941
+ * 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费)
942
+ */
943
+ BillingType?: number;
935
944
  }
936
945
  /**
937
946
  * DescribeRuleRealServers请求参数结构体
@@ -1225,29 +1234,17 @@ export interface DeleteDomainRequest {
1225
1234
  Force: number;
1226
1235
  }
1227
1236
  /**
1228
- * CreateFirstLinkSession请求参数结构体
1237
+ * OpenSecurityPolicy返回参数结构体
1229
1238
  */
1230
- export interface CreateFirstLinkSessionRequest {
1231
- /**
1232
- * 模版ID
1233
- */
1234
- TemplateId: string;
1235
- /**
1236
- * 终端网络信息
1237
- */
1238
- SrcAddressInfo: SrcAddressInfo;
1239
- /**
1240
- * 加速目标网络信息
1241
- */
1242
- DestAddressInfo: DestAddressInfo;
1239
+ export interface OpenSecurityPolicyResponse {
1243
1240
  /**
1244
- * 终端设备信息
1241
+ * 异步流程ID,可以通过DescribeAsyncTaskStatus接口查询流程运行状态
1245
1242
  */
1246
- DeviceInfo?: DeviceInfo;
1243
+ TaskId?: string;
1247
1244
  /**
1248
- * 接口扩展参数,如果是电信用户,需要填充CTCC Token字段
1245
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1249
1246
  */
1250
- Capacity?: Capacity;
1247
+ RequestId?: string;
1251
1248
  }
1252
1249
  /**
1253
1250
  * ModifyCertificateAttributes返回参数结构体
@@ -1567,15 +1564,6 @@ export interface DescribeRealServerStatisticsRequest {
1567
1564
  */
1568
1565
  Granularity?: number;
1569
1566
  }
1570
- /**
1571
- * DeleteFirstLinkSession请求参数结构体
1572
- */
1573
- export interface DeleteFirstLinkSessionRequest {
1574
- /**
1575
- * 单次加速唯一会话Id
1576
- */
1577
- SessionId: string;
1578
- }
1579
1567
  /**
1580
1568
  * 添加源站的源站信息返回值
1581
1569
  */
@@ -1765,17 +1753,9 @@ export interface DescribeProxiesRequest {
1765
1753
  OrderField?: string;
1766
1754
  }
1767
1755
  /**
1768
- * DescribeAccessRegionsByDestRegion返回参数结构体
1756
+ * BindListenerRealServers返回参数结构体
1769
1757
  */
1770
- export interface DescribeAccessRegionsByDestRegionResponse {
1771
- /**
1772
- * 可用加速区域数量
1773
- */
1774
- TotalCount?: number;
1775
- /**
1776
- * 可用加速区域信息列表
1777
- */
1778
- AccessRegionSet?: Array<AccessRegionDetial>;
1758
+ export interface BindListenerRealServersResponse {
1779
1759
  /**
1780
1760
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1781
1761
  */
@@ -2651,19 +2631,6 @@ export interface ProxyGroupInfo {
2651
2631
  */
2652
2632
  FeatureBitmap?: number;
2653
2633
  }
2654
- /**
2655
- * 接口扩展参数
2656
- */
2657
- export interface Capacity {
2658
- /**
2659
- * 电信鉴权的Token
2660
- */
2661
- CTCCToken?: string;
2662
- /**
2663
- * 终端所处在的省份,建议不填写由服务端自动获取,若需填写请填写带有省、市、自治区、特别行政区等后缀的省份中文全称
2664
- */
2665
- Province?: string;
2666
- }
2667
2634
  /**
2668
2635
  * DescribeCertificates返回参数结构体
2669
2636
  */
@@ -3011,38 +2978,6 @@ export interface CreateRuleRequest {
3011
2978
  */
3012
2979
  ForcedRedirect?: string;
3013
2980
  }
3014
- /**
3015
- * ModifyProxyConfiguration请求参数结构体
3016
- */
3017
- export interface ModifyProxyConfigurationRequest {
3018
- /**
3019
- * (旧参数,请切换到ProxyId)通道的实例ID。
3020
- */
3021
- InstanceId?: string;
3022
- /**
3023
- * 需要调整到的目标带宽,单位:Mbps。
3024
- Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
3025
- */
3026
- Bandwidth?: number;
3027
- /**
3028
- * 需要调整到的目标并发值,单位:万。
3029
- Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到
3030
- */
3031
- Concurrent?: number;
3032
- /**
3033
- * 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
3034
- 更多详细信息请参阅:如何保证幂等性。
3035
- */
3036
- ClientToken?: string;
3037
- /**
3038
- * (新参数)通道的实例ID。
3039
- */
3040
- ProxyId?: string;
3041
- /**
3042
- * 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费)
3043
- */
3044
- BillingType?: number;
3045
- }
3046
2981
  /**
3047
2982
  * CreateGlobalDomainDns请求参数结构体
3048
2983
  */
@@ -3708,46 +3643,6 @@ export interface NewRealServer {
3708
3643
  */
3709
3644
  RealServerIP?: string;
3710
3645
  }
3711
- /**
3712
- * DescribeFirstLinkSession返回参数结构体
3713
- */
3714
- export interface DescribeFirstLinkSessionResponse {
3715
- /**
3716
- * 会话状态,具体如下:
3717
- 1: 加速中;
3718
- 0: 非加速中。
3719
- 注意:此字段可能返回 null,表示取不到有效值。
3720
- */
3721
- Status: number;
3722
- /**
3723
- * 剩余加速时间,单位秒。
3724
- 注意:此字段可能返回 null,表示取不到有效值。
3725
- */
3726
- Duration: number;
3727
- /**
3728
- * 加速套餐类型。
3729
- 套餐说明如下:
3730
- T100K:上/下行保障100kbps;
3731
- BD4M:下行带宽保障4Mbps;
3732
- BU4M:上行带宽保障4Mbps。
3733
- 注意:此字段可能返回 null,表示取不到有效值。
3734
- */
3735
- SuiteType: string;
3736
- /**
3737
- * 加速终端的公网ip
3738
- 注意:此字段可能返回 null,表示取不到有效值。
3739
- */
3740
- SrcPublicIpv4: string;
3741
- /**
3742
- * 加速目标ip
3743
- 注意:此字段可能返回 null,表示取不到有效值。
3744
- */
3745
- DestIpv4: Array<string>;
3746
- /**
3747
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3748
- */
3749
- RequestId?: string;
3750
- }
3751
3646
  /**
3752
3647
  * DescribeHTTPListeners返回参数结构体
3753
3648
  */
@@ -4027,25 +3922,6 @@ export interface SecurityPolicyRuleOut {
4027
3922
  */
4028
3923
  PolicyId?: string;
4029
3924
  }
4030
- /**
4031
- * CreateFirstLinkSession返回参数结构体
4032
- */
4033
- export interface CreateFirstLinkSessionResponse {
4034
- /**
4035
- * 加速成功时返回,单次加速唯一会话Id。。
4036
- 注意:此字段可能返回 null,表示取不到有效值。
4037
- */
4038
- SessionId: string;
4039
- /**
4040
- * 剩余的加速时间,单位秒。
4041
- 注意:此字段可能返回 null,表示取不到有效值。
4042
- */
4043
- Duration: number;
4044
- /**
4045
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4046
- */
4047
- RequestId?: string;
4048
- }
4049
3925
  /**
4050
3926
  * 已绑定的源站信息
4051
3927
  */
@@ -4200,15 +4076,6 @@ export interface ModifyRuleAttributeRequest {
4200
4076
  */
4201
4077
  ForcedRedirect?: string;
4202
4078
  }
4203
- /**
4204
- * DescribeFirstLinkSession请求参数结构体
4205
- */
4206
- export interface DescribeFirstLinkSessionRequest {
4207
- /**
4208
- * 单次加速唯一会话Id
4209
- */
4210
- SessionId: string;
4211
- }
4212
4079
  /**
4213
4080
  * BindRuleRealServers返回参数结构体
4214
4081
  */
@@ -4249,19 +4116,6 @@ export interface DescribeGroupAndStatisticsProxyRequest {
4249
4116
  */
4250
4117
  ProjectId: number;
4251
4118
  }
4252
- /**
4253
- * 网络加速的原地址信息
4254
- */
4255
- export interface SrcAddressInfo {
4256
- /**
4257
- * 内网Ip4地址
4258
- */
4259
- SrcIpv4: string;
4260
- /**
4261
- * 公网Ip4地址
4262
- */
4263
- SrcPublicIpv4: string;
4264
- }
4265
4119
  /**
4266
4120
  * ModifyUDPListenerAttribute请求参数结构体
4267
4121
  */
@@ -4756,9 +4610,9 @@ export interface CloseProxyGroupResponse {
4756
4610
  RequestId?: string;
4757
4611
  }
4758
4612
  /**
4759
- * DeleteFirstLinkSession返回参数结构体
4613
+ * DeleteDomainErrorPageInfo返回参数结构体
4760
4614
  */
4761
- export interface DeleteFirstLinkSessionResponse {
4615
+ export interface DeleteDomainErrorPageInfoResponse {
4762
4616
  /**
4763
4617
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4764
4618
  */
@@ -5178,45 +5032,6 @@ export interface OpenProxyGroupRequest {
5178
5032
  */
5179
5033
  GroupId: string;
5180
5034
  }
5181
- /**
5182
- * 终端设备信息
5183
- */
5184
- export interface DeviceInfo {
5185
- /**
5186
- * 设备数据卡所属的运营商
5187
- 1:移动
5188
- 2:电信
5189
- 3:联通
5190
- 4:广电
5191
- 99:其他
5192
- */
5193
- Vendor?: number;
5194
- /**
5195
- * 设备操作系统
5196
- 1:Android
5197
- 2: IOS
5198
- 99:其他
5199
- */
5200
- OS?: number;
5201
- /**
5202
- * 设备唯一标识
5203
- IOS 填写 IDFV
5204
- Android 填写 IMEI
5205
- */
5206
- DeviceId?: string;
5207
- /**
5208
- * 用户手机号码
5209
- */
5210
- PhoneNum?: string;
5211
- /**
5212
- * 无线信息
5213
- 1:4G
5214
- 2:5G
5215
- 3:WIFI
5216
- 99:其他
5217
- */
5218
- Wireless?: number;
5219
- }
5220
5035
  /**
5221
5036
  * UDP类型监听器信息
5222
5037
  */
@@ -11,6 +11,31 @@ export interface Character {
11
11
  */
12
12
  SystemPrompt?: string;
13
13
  }
14
+ /**
15
+ * 用户位置信息
16
+ */
17
+ export interface Approximate {
18
+ /**
19
+ * 表示 ISO 国家代码
20
+ */
21
+ Country?: string;
22
+ /**
23
+ * 表示城市名称
24
+ */
25
+ City?: string;
26
+ /**
27
+ * 表示区域名称
28
+ */
29
+ Region?: string;
30
+ /**
31
+ * 表示IANA时区
32
+ */
33
+ Timezone?: string;
34
+ /**
35
+ * 表示详细地址
36
+ */
37
+ Address?: string;
38
+ }
14
39
  /**
15
40
  * 翻译接口返回的回复,支持多个
16
41
  */
@@ -51,6 +76,23 @@ export interface Usage {
51
76
  */
52
77
  TotalTokens?: number;
53
78
  }
79
+ /**
80
+ * logo参数
81
+ */
82
+ export interface LogoParam {
83
+ /**
84
+ * 水印url
85
+ */
86
+ LogoUrl?: string;
87
+ /**
88
+ * 水印base64,url和base64二选一传入
89
+ */
90
+ LogoImage?: string;
91
+ /**
92
+ * 水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
93
+ */
94
+ LogoRect?: LogoRect;
95
+ }
54
96
  /**
55
97
  * RunThread请求参数结构体
56
98
  */
@@ -152,7 +194,7 @@ export interface File3D {
152
194
  */
153
195
  Type?: string;
154
196
  /**
155
- * 文件的Url
197
+ * 文件的Url(有效期24小时)
156
198
  */
157
199
  Url?: string;
158
200
  }
@@ -1242,23 +1284,19 @@ export interface ChatCompletionsRequest {
1242
1284
  * 是否开启深度阅读,默认是false,在值为true时,会返回深度阅读的结果信息。说明:1.深度阅读需要开启插件增强,即设置EnableEnhancement为true,当设置EnableDeepRead为true时EnableEnhancement默认为true;2.目前暂时只支持单文档单轮的深度阅读;3.深度阅读功能的文件上传可以使用FilesUploads接口,具体参数详见FilesUploads接口文档
1243
1285
  */
1244
1286
  EnableDeepRead?: boolean;
1287
+ /**
1288
+ * 知识注入相关的参数信息
1289
+ */
1290
+ WebSearchOptions?: WebSearchOptions;
1245
1291
  }
1246
1292
  /**
1247
- * logo参数
1293
+ * 外部知识
1248
1294
  */
1249
- export interface LogoParam {
1295
+ export interface Knowledge {
1250
1296
  /**
1251
- * 水印url
1297
+ * 表示具体的知识信息文本
1252
1298
  */
1253
- LogoUrl?: string;
1254
- /**
1255
- * 水印base64,url和base64二选一传入
1256
- */
1257
- LogoImage?: string;
1258
- /**
1259
- * 水印图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配
1260
- */
1261
- LogoRect?: LogoRect;
1299
+ Text?: string;
1262
1300
  }
1263
1301
  /**
1264
1302
  * FilesUploads请求参数结构体
@@ -1672,6 +1710,19 @@ export interface History {
1672
1710
  */
1673
1711
  Seed?: number;
1674
1712
  }
1713
+ /**
1714
+ * 用户位置详细信息
1715
+ */
1716
+ export interface UserLocation {
1717
+ /**
1718
+ * 表示位置类型
1719
+ */
1720
+ Type?: string;
1721
+ /**
1722
+ * 用户近似位置的详细信息
1723
+ */
1724
+ Approximate?: Approximate;
1725
+ }
1675
1726
  /**
1676
1727
  * FilesList请求参数结构体
1677
1728
  */
@@ -1736,6 +1787,19 @@ export interface QueryHunyuanTo3DJobResponse {
1736
1787
  */
1737
1788
  RequestId?: string;
1738
1789
  }
1790
+ /**
1791
+ * 知识注入相关的参数信息
1792
+ */
1793
+ export interface WebSearchOptions {
1794
+ /**
1795
+ * 表示用户注入的知识信息
1796
+ */
1797
+ Knowledge?: Array<Knowledge>;
1798
+ /**
1799
+ * 用户位置详细信息
1800
+ */
1801
+ UserLocation?: UserLocation;
1802
+ }
1739
1803
  /**
1740
1804
  * ActivateService请求参数结构体
1741
1805
  */
@@ -1831,11 +1895,17 @@ export interface SubmitHunyuanTo3DJobRequest {
1831
1895
  */
1832
1896
  Prompt?: string;
1833
1897
  /**
1834
- * 输入图 Base64 数据。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
1898
+ * 输入图 Base64 数据。
1899
+ 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
1900
+ 格式:jpg,png,jpeg,webp。
1901
+ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
1835
1902
  */
1836
1903
  ImageBase64?: string;
1837
1904
  /**
1838
- * 输入图Url。最多支持200个 utf-8 字符,ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
1905
+ * 输入图Url
1906
+ 大小:单边分辨率要求不小于50,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)
1907
+ 格式:jpg,png,jpeg,webp。
1908
+ ImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
1839
1909
  */
1840
1910
  ImageUrl?: string;
1841
1911
  /**
@@ -1875,7 +1945,7 @@ export interface ImageQuestionRequest {
1875
1945
  */
1876
1946
  export interface SubmitHunyuanTo3DJobResponse {
1877
1947
  /**
1878
- * 任务id
1948
+ * 任务id(有效期24小时)
1879
1949
  */
1880
1950
  JobId?: string;
1881
1951
  /**
@@ -529,36 +529,41 @@ export interface GetUpgradeGroupFaceModelVersionResultResponse {
529
529
  */
530
530
  export interface AnalyzeFaceRequest {
531
531
  /**
532
- * 检测模式。0 为检测所有出现的人脸, 1 为检测面积最大的人脸。默认为 0。最多返回 10 张人脸的五官定位(人脸关键点)具体信息。
532
+ * 检测模式。
533
+ - 取值范围:0 为检测所有出现的人脸, 1 为检测面积最大的人脸。
534
+ - 默认为 0。
535
+ - 最多返回 10 张人脸的五官定位(人脸关键点)具体信息。
533
536
  */
534
537
  Mode?: number;
535
538
  /**
536
- * 图片 base64 数据,base64 编码后大小不可超过5M。
537
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
539
+ * 图片 base64 数据。
540
+ - base64 编码后大小不可超过5M。
541
+ - 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
538
542
  */
539
543
  Image?: string;
540
544
  /**
541
- * 图片的 Url 。对应图片 base64 编码后大小不可超过5M
542
- Url、Image必须提供一个,如果都提供,只使用 Url
543
- 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
544
- 非腾讯云存储的Url速度和稳定性可能受一定影响。
545
- 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
545
+ * 图片的 Url 。
546
+ - 对应图片 base64 编码后大小不可超过5M
547
+ - Url、Image必须提供一个,如果都提供,只使用 Url。
548
+ - 图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
549
+ - 非腾讯云存储的Url速度和稳定性可能受一定影响。
550
+ - 支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
546
551
  */
547
552
  Url?: string;
548
553
  /**
549
554
  * 人脸识别服务所用的算法模型版本。
550
-
551
- 目前入参支持 2.0”和“3.0“ 两个输入。
552
-
553
- 2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
554
-
555
- 2020年11月26日后开通服务的账号仅支持输入“3.0”。
556
-
557
- 不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
555
+ - 目前入参支持 “2.0”和“3.0“ 两个输入。
556
+ - 2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
557
+ - 2020年11月26日后开通服务的账号仅支持输入“3.0”。
558
+ - 不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
558
559
  */
559
560
  FaceModelVersion?: string;
560
561
  /**
561
- * 是否开启图片旋转识别支持。0为不开启,1为开启。默认为0。本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
562
+ * 是否开启图片旋转识别支持。
563
+ - 取值范围:0为不开启,1为开启。
564
+ - 默认为0。
565
+ - 本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。
566
+ - 若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
562
567
  */
563
568
  NeedRotateDetection?: number;
564
569
  }
@@ -1771,19 +1776,19 @@ export interface AnalyzeFaceResponse {
1771
1776
  /**
1772
1777
  * 请求的图片宽度。
1773
1778
  */
1774
- ImageWidth: number;
1779
+ ImageWidth?: number;
1775
1780
  /**
1776
1781
  * 请求的图片高度。
1777
1782
  */
1778
- ImageHeight: number;
1783
+ ImageHeight?: number;
1779
1784
  /**
1780
1785
  * 五官定位(人脸关键点)具体信息。
1781
1786
  */
1782
- FaceShapeSet: Array<FaceShape>;
1787
+ FaceShapeSet?: Array<FaceShape>;
1783
1788
  /**
1784
1789
  * 人脸识别所用的算法模型版本。
1785
1790
  */
1786
- FaceModelVersion: string;
1791
+ FaceModelVersion?: string;
1787
1792
  /**
1788
1793
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1789
1794
  */
@@ -846,6 +846,7 @@ export interface DescribeInstanceBackupsResponse {
846
846
  TotalCount?: number;
847
847
  /**
848
848
  * 废弃字段。
849
+ * @deprecated
849
850
  */
850
851
  BackupSet?: Array<BinlogInfo>;
851
852
  /**
@@ -139,7 +139,7 @@ export declare class Client extends AbstractClient {
139
139
  */
140
140
  ModifyFirewallRules(req: ModifyFirewallRulesRequest, cb?: (error: string, rep: ModifyFirewallRulesResponse) => void): Promise<ModifyFirewallRulesResponse>;
141
141
  /**
142
- * 本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
142
+ * 本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘且状态处于ATTACHED(已挂载)或 UNATTACHED(待挂载)的云硬盘。
143
143
  */
144
144
  ResizeDisks(req: ResizeDisksRequest, cb?: (error: string, rep: ResizeDisksResponse) => void): Promise<ResizeDisksResponse>;
145
145
  /**