tencentcloud-sdk-nodejs 4.0.722 → 4.0.723

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 (43) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/SERVICE_CHANGELOG.md +144 -51
  3. package/package.json +1 -1
  4. package/products.md +15 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +13 -5
  7. package/src/services/ccc/v20200210/ccc_models.ts +6 -2
  8. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  9. package/src/services/clb/v20180317/clb_models.ts +4 -6
  10. package/src/services/ess/v20201111/ess_client.ts +7 -3
  11. package/src/services/ess/v20201111/ess_models.ts +38 -30
  12. package/src/services/essbasic/v20210526/essbasic_client.ts +25 -11
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +112 -63
  14. package/src/services/lighthouse/v20200324/lighthouse_client.ts +29 -2
  15. package/src/services/lighthouse/v20200324/lighthouse_models.ts +98 -50
  16. package/src/services/ses/v20201002/ses_models.ts +5 -1
  17. package/src/services/tione/v20211111/tione_models.ts +1 -1
  18. package/src/services/waf/v20180125/waf_client.ts +19 -6
  19. package/src/services/waf/v20180125/waf_models.ts +92 -0
  20. package/src/services/wedata/v20210820/wedata_models.ts +14 -2
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +13 -5
  24. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +6 -2
  25. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  26. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -6
  27. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +7 -3
  28. package/tencentcloud/services/ess/v20201111/ess_client.js +7 -3
  29. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +38 -30
  30. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +24 -10
  31. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +24 -10
  32. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +112 -63
  33. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +12 -1
  34. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +15 -0
  35. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +94 -50
  36. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +6 -1
  37. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
  38. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +7 -3
  39. package/tencentcloud/services/waf/v20180125/waf_client.js +9 -3
  40. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +89 -0
  41. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +14 -2
  42. package/test/lighthouse.v20200324.test.js +20 -0
  43. package/test/waf.v20180125.test.js +12 -2
@@ -39,6 +39,7 @@ import {
39
39
  InquirePriceCreateDisksRequest,
40
40
  ModifyBundle,
41
41
  DetachCcnResponse,
42
+ ShareBlueprintAcrossAccountsRequest,
42
43
  BlueprintPrice,
43
44
  DescribeScenesResponse,
44
45
  InquirePriceRenewInstancesResponse,
@@ -70,7 +71,7 @@ import {
70
71
  CreateDisksRequest,
71
72
  AssociateInstancesKeyPairsRequest,
72
73
  DockerContainer,
73
- ImportKeyPairResponse,
74
+ CancelShareBlueprintAcrossAccountsResponse,
74
75
  DescribeSnapshotsRequest,
75
76
  TerminateDisksResponse,
76
77
  DiskBackup,
@@ -81,7 +82,7 @@ import {
81
82
  DescribeDockerContainerConfigurationRequest,
82
83
  ModifyBlueprintAttributeRequest,
83
84
  InquirePriceRenewDisksRequest,
84
- TrafficPackage,
85
+ ShareBlueprintAcrossAccountsResponse,
85
86
  FirewallTemplateRuleInfo,
86
87
  Disk,
87
88
  ModifyFirewallRulesResponse,
@@ -134,6 +135,7 @@ import {
134
135
  SceneInfo,
135
136
  ImportKeyPairRequest,
136
137
  DescribeDockerActivitiesRequest,
138
+ ImportKeyPairResponse,
137
139
  DeleteBlueprintsResponse,
138
140
  ModifyInstancesLoginKeyPairAttributeRequest,
139
141
  IsolateInstancesRequest,
@@ -211,6 +213,7 @@ import {
211
213
  DescribeFirewallRulesResponse,
212
214
  DescribeInstancesReturnableResponse,
213
215
  ContainerEnv,
216
+ TrafficPackage,
214
217
  FirewallRule,
215
218
  DeleteBlueprintsRequest,
216
219
  FirewallRuleInfo,
@@ -284,6 +287,7 @@ import {
284
287
  AttachDetail,
285
288
  ModifyDisksAttributeResponse,
286
289
  CreateInstanceSnapshotRequest,
290
+ CancelShareBlueprintAcrossAccountsRequest,
287
291
  BlueprintInstance,
288
292
  InquirePriceCreateDisksResponse,
289
293
  InstanceChargePrepaid,
@@ -322,6 +326,17 @@ export class Client extends AbstractClient {
322
326
  return this.request("DeleteBlueprints", req, cb)
323
327
  }
324
328
 
329
+ /**
330
+ * 本接口(CancelShareBlueprintAcrossAccounts)用于取消镜像跨账号共享。
331
+ 指定的镜像ID必须为自定义镜像,且指定账号ID必须已进行共享。
332
+ */
333
+ async CancelShareBlueprintAcrossAccounts(
334
+ req: CancelShareBlueprintAcrossAccountsRequest,
335
+ cb?: (error: string, rep: CancelShareBlueprintAcrossAccountsResponse) => void
336
+ ): Promise<CancelShareBlueprintAcrossAccountsResponse> {
337
+ return this.request("CancelShareBlueprintAcrossAccounts", req, cb)
338
+ }
339
+
325
340
  /**
326
341
  * 本接口(CreateFirewallRules)用于在实例上添加防火墙规则。
327
342
 
@@ -900,6 +915,18 @@ export class Client extends AbstractClient {
900
915
  return this.request("DescribeBundles", req, cb)
901
916
  }
902
917
 
918
+ /**
919
+ * 本接口(ShareBlueprintAcrossAccounts)用于跨账号共享镜像。
920
+ 仅支持共享自定义镜像, 且用于共享的镜像状态必须为NORMAL。
921
+ 共享的账号必须为主账号。
922
+ */
923
+ async ShareBlueprintAcrossAccounts(
924
+ req: ShareBlueprintAcrossAccountsRequest,
925
+ cb?: (error: string, rep: ShareBlueprintAcrossAccountsResponse) => void
926
+ ): Promise<ShareBlueprintAcrossAccountsResponse> {
927
+ return this.request("ShareBlueprintAcrossAccounts", req, cb)
928
+ }
929
+
903
930
  /**
904
931
  * 本接口(DescribeInstancesTrafficPackages)用于查询一个或多个实例的流量包详情。
905
932
  */
@@ -437,6 +437,20 @@ export interface DetachCcnResponse {
437
437
  RequestId?: string
438
438
  }
439
439
 
440
+ /**
441
+ * ShareBlueprintAcrossAccounts请求参数结构体
442
+ */
443
+ export interface ShareBlueprintAcrossAccountsRequest {
444
+ /**
445
+ * 镜像ID, 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
446
+ */
447
+ BlueprintId: string
448
+ /**
449
+ * 接收共享镜像的账号Id列表。帐号ID不同于QQ号,查询用户帐号ID请查看帐号信息中的帐号ID栏。账号个数取值最大为10。
450
+ */
451
+ AccountIds: Array<string>
452
+ }
453
+
440
454
  /**
441
455
  * BlueprintPrice 自定义镜像的价格参数。
442
456
  */
@@ -1012,13 +1026,9 @@ export interface DockerContainer {
1012
1026
  }
1013
1027
 
1014
1028
  /**
1015
- * ImportKeyPair返回参数结构体
1029
+ * CancelShareBlueprintAcrossAccounts返回参数结构体
1016
1030
  */
1017
- export interface ImportKeyPairResponse {
1018
- /**
1019
- * 密钥对 ID。
1020
- */
1021
- KeyId: string
1031
+ export interface CancelShareBlueprintAcrossAccountsResponse {
1022
1032
  /**
1023
1033
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1024
1034
  */
@@ -1242,53 +1252,13 @@ export interface InquirePriceRenewDisksRequest {
1242
1252
  }
1243
1253
 
1244
1254
  /**
1245
- * 流量包详情
1255
+ * ShareBlueprintAcrossAccounts返回参数结构体
1246
1256
  */
1247
- export interface TrafficPackage {
1257
+ export interface ShareBlueprintAcrossAccountsResponse {
1248
1258
  /**
1249
- * 流量包ID。
1250
- */
1251
- TrafficPackageId: string
1252
- /**
1253
- * 流量包生效周期内已使用流量,单位字节。
1254
- */
1255
- TrafficUsed: number
1256
- /**
1257
- * 流量包生效周期内的总流量,单位字节。
1258
- */
1259
- TrafficPackageTotal: number
1260
- /**
1261
- * 流量包生效周期内的剩余流量,单位字节。
1262
- */
1263
- TrafficPackageRemaining: number
1264
- /**
1265
- * 流量包生效周期内超出流量包额度的流量,单位字节。
1266
- */
1267
- TrafficOverflow: number
1268
- /**
1269
- * 流量包生效周期开始时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
1270
- 格式为: YYYY-MM-DDThh:mm:ssZ。
1271
- 注意:此字段可能返回 null,表示取不到有效值。
1272
- */
1273
- StartTime: string
1274
- /**
1275
- * 流量包生效周期结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
1276
- 格式为: YYYY-MM-DDThh:mm:ssZ。
1277
- 注意:此字段可能返回 null,表示取不到有效值。
1278
- */
1279
- EndTime: string
1280
- /**
1281
- * 流量包到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
1282
- 格式为: YYYY-MM-DDThh:mm:ssZ。
1283
- 注意:此字段可能返回 null,表示取不到有效值。
1284
- */
1285
- Deadline: string
1286
- /**
1287
- * 流量包状态:
1288
- <li>NETWORK_NORMAL:正常</li>
1289
- <li>OVERDUE_NETWORK_DISABLED:欠费断网</li>
1259
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
1290
1260
  */
1291
- Status: string
1261
+ RequestId?: string
1292
1262
  }
1293
1263
 
1294
1264
  /**
@@ -2208,6 +2178,20 @@ export interface DescribeDockerActivitiesRequest {
2208
2178
  CreatedTimeEnd?: number
2209
2179
  }
2210
2180
 
2181
+ /**
2182
+ * ImportKeyPair返回参数结构体
2183
+ */
2184
+ export interface ImportKeyPairResponse {
2185
+ /**
2186
+ * 密钥对 ID。
2187
+ */
2188
+ KeyId: string
2189
+ /**
2190
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2191
+ */
2192
+ RequestId?: string
2193
+ }
2194
+
2211
2195
  /**
2212
2196
  * DeleteBlueprints返回参数结构体
2213
2197
  */
@@ -3801,6 +3785,56 @@ export interface ContainerEnv {
3801
3785
  Value: string
3802
3786
  }
3803
3787
 
3788
+ /**
3789
+ * 流量包详情
3790
+ */
3791
+ export interface TrafficPackage {
3792
+ /**
3793
+ * 流量包ID。
3794
+ */
3795
+ TrafficPackageId: string
3796
+ /**
3797
+ * 流量包生效周期内已使用流量,单位字节。
3798
+ */
3799
+ TrafficUsed: number
3800
+ /**
3801
+ * 流量包生效周期内的总流量,单位字节。
3802
+ */
3803
+ TrafficPackageTotal: number
3804
+ /**
3805
+ * 流量包生效周期内的剩余流量,单位字节。
3806
+ */
3807
+ TrafficPackageRemaining: number
3808
+ /**
3809
+ * 流量包生效周期内超出流量包额度的流量,单位字节。
3810
+ */
3811
+ TrafficOverflow: number
3812
+ /**
3813
+ * 流量包生效周期开始时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3814
+ 格式为: YYYY-MM-DDThh:mm:ssZ。
3815
+ 注意:此字段可能返回 null,表示取不到有效值。
3816
+ */
3817
+ StartTime: string
3818
+ /**
3819
+ * 流量包生效周期结束时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3820
+ 格式为: YYYY-MM-DDThh:mm:ssZ。
3821
+ 注意:此字段可能返回 null,表示取不到有效值。
3822
+ */
3823
+ EndTime: string
3824
+ /**
3825
+ * 流量包到期时间。按照 ISO8601 标准表示,并且使用 UTC 时间。
3826
+ 格式为: YYYY-MM-DDThh:mm:ssZ。
3827
+ 注意:此字段可能返回 null,表示取不到有效值。
3828
+ */
3829
+ Deadline: string
3830
+ /**
3831
+ * 流量包状态:
3832
+ <li>NETWORK_NORMAL:正常</li>
3833
+ <li>OVERDUE_NETWORK_DISABLED:欠费断网</li>
3834
+ */
3835
+ Status: string
3836
+ }
3837
+
3804
3838
  /**
3805
3839
  * 描述防火墙规则信息。
3806
3840
  */
@@ -5063,6 +5097,20 @@ export interface CreateInstanceSnapshotRequest {
5063
5097
  SnapshotName?: string
5064
5098
  }
5065
5099
 
5100
+ /**
5101
+ * CancelShareBlueprintAcrossAccounts请求参数结构体
5102
+ */
5103
+ export interface CancelShareBlueprintAcrossAccountsRequest {
5104
+ /**
5105
+ * 镜像ID, 可以通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回的BlueprintId获取。
5106
+ */
5107
+ BlueprintId: string
5108
+ /**
5109
+ * 接收共享镜像的账号ID列表。帐号ID不同于QQ号,查询用户帐号ID请查看帐号信息中的帐号ID栏。账号个数取值最大为10。
5110
+ */
5111
+ AccountIds: Array<string>
5112
+ }
5113
+
5066
5114
  /**
5067
5115
  * 描述镜像实例信息。
5068
5116
  */
@@ -43,10 +43,12 @@ export interface BatchSendEmailRequest {
43
43
  ReplyToAddresses?: string
44
44
  /**
45
45
  * 使用模板发送时,填写的模板相关参数
46
+ <dx-alert infotype="notice" title="注意"> 如您未申请过特殊配置,则该字段为必填 </dx-alert>
46
47
  */
47
48
  Template?: Template
48
49
  /**
49
50
  * 已废弃
51
+ <dx-alert infotype="notice" title="说明"> 仅部分历史上申请了特殊配置的客户需要使用。如您未申请过特殊配置,则不存在该字段。</dx-alert>

50
52
  */
51
53
  Simple?: Simple
52
54
  /**
@@ -332,11 +334,13 @@ export interface SendEmailRequest {
332
334
  */
333
335
  Bcc?: Array<string>
334
336
  /**
335
- * 使用模板发送时,填写的模板相关参数。因 Simple 已经废除使用,Template 为必填项
337
+ * 使用模板发送时,填写模板相关参数。
338
+ <dx-alert infotype="notice" title="注意"> 如您未申请过特殊配置,则该字段为必填 </dx-alert>
336
339
  */
337
340
  Template?: Template
338
341
  /**
339
342
  * 已废弃
343
+ <dx-alert infotype="notice" title="说明"> 仅部分历史上申请了特殊配置的客户需要使用。如您未申请过特殊配置,则不存在该字段。</dx-alert>
340
344
  */
341
345
  Simple?: Simple
342
346
  /**
@@ -6931,7 +6931,7 @@ export interface DescribeTrainingTaskPodsResponse {
6931
6931
  /**
6932
6932
  * pod详细信息
6933
6933
  */
6934
- PodInfoList?: PodInfo
6934
+ PodInfoList?: Array<PodInfo>
6935
6935
  /**
6936
6936
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6937
6937
  */
@@ -39,6 +39,7 @@ import {
39
39
  DescribeDomainRulesRequest,
40
40
  DeleteDownloadRecordRequest,
41
41
  DeleteAccessExportResponse,
42
+ DescribeModuleStatusResponse,
42
43
  AccessKeyValueInfo,
43
44
  KVInt,
44
45
  AddAntiInfoLeakRulesRequest,
@@ -112,6 +113,7 @@ import {
112
113
  AddCustomWhiteRuleResponse,
113
114
  SwitchElasticModeRequest,
114
115
  HostDel,
116
+ DescribeModuleStatusRequest,
115
117
  DescribeAntiFakeUrlRequest,
116
118
  DeleteAttackWhiteRuleRequest,
117
119
  DescribeHostsResponse,
@@ -138,6 +140,7 @@ import {
138
140
  GetInstanceQpsLimitResponse,
139
141
  ModifyCustomWhiteRuleResponse,
140
142
  SearchItem,
143
+ ApiPkg,
141
144
  DescribePortsRequest,
142
145
  DescribeWafAutoDenyStatusResponse,
143
146
  DescribeTlsVersionRequest,
@@ -744,13 +747,13 @@ export class Client extends AbstractClient {
744
747
  }
745
748
 
746
749
  /**
747
- * 设置waf防护状态
750
+ * 查询各个waf基础安全模块的开关状态,看每个模块是否开启
748
751
  */
749
- async ModifySpartaProtectionMode(
750
- req: ModifySpartaProtectionModeRequest,
751
- cb?: (error: string, rep: ModifySpartaProtectionModeResponse) => void
752
- ): Promise<ModifySpartaProtectionModeResponse> {
753
- return this.request("ModifySpartaProtectionMode", req, cb)
752
+ async DescribeModuleStatus(
753
+ req?: DescribeModuleStatusRequest,
754
+ cb?: (error: string, rep: DescribeModuleStatusResponse) => void
755
+ ): Promise<DescribeModuleStatusResponse> {
756
+ return this.request("DescribeModuleStatus", req, cb)
754
757
  }
755
758
 
756
759
  /**
@@ -936,6 +939,16 @@ Waf CC V2 Query接口
936
939
  return this.request("ModifyWafThreatenIntelligence", req, cb)
937
940
  }
938
941
 
942
+ /**
943
+ * 设置waf防护状态
944
+ */
945
+ async ModifySpartaProtectionMode(
946
+ req: ModifySpartaProtectionModeRequest,
947
+ cb?: (error: string, rep: ModifySpartaProtectionModeResponse) => void
948
+ ): Promise<ModifySpartaProtectionModeResponse> {
949
+ return this.request("ModifySpartaProtectionMode", req, cb)
950
+ }
951
+
939
952
  /**
940
953
  * 删除攻击日志下载任务记录
941
954
  */
@@ -474,6 +474,16 @@ export interface DeleteAccessExportResponse {
474
474
  RequestId?: string
475
475
  }
476
476
 
477
+ /**
478
+ * DescribeModuleStatus返回参数结构体
479
+ */
480
+ export interface DescribeModuleStatusResponse {
481
+ /**
482
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
483
+ */
484
+ RequestId?: string
485
+ }
486
+
477
487
  /**
478
488
  * 用于 DescribeAccessIndex 的出参
479
489
  */
@@ -2344,6 +2354,11 @@ export interface HostDel {
2344
2354
  InstanceID?: string
2345
2355
  }
2346
2356
 
2357
+ /**
2358
+ * DescribeModuleStatus请求参数结构体
2359
+ */
2360
+ export type DescribeModuleStatusRequest = null
2361
+
2347
2362
  /**
2348
2363
  * DescribeAntiFakeUrl请求参数结构体
2349
2364
  */
@@ -2924,6 +2939,73 @@ export interface SearchItem {
2924
2939
  FlowMode?: string
2925
2940
  }
2926
2941
 
2942
+ /**
2943
+ * API安全资源信息
2944
+ */
2945
+ export interface ApiPkg {
2946
+ /**
2947
+ * 资源id
2948
+ 注意:此字段可能返回 null,表示取不到有效值。
2949
+ */
2950
+ ResourceIds?: string
2951
+ /**
2952
+ * 状态
2953
+ 注意:此字段可能返回 null,表示取不到有效值。
2954
+ */
2955
+ Status?: number
2956
+ /**
2957
+ * 地域
2958
+ 注意:此字段可能返回 null,表示取不到有效值。
2959
+ */
2960
+ Region?: number
2961
+ /**
2962
+ * 开始时间
2963
+ 注意:此字段可能返回 null,表示取不到有效值。
2964
+ */
2965
+ BeginTime?: string
2966
+ /**
2967
+ * 结束时间
2968
+ 注意:此字段可能返回 null,表示取不到有效值。
2969
+ */
2970
+ EndTime?: string
2971
+ /**
2972
+ * 申请数量
2973
+ 注意:此字段可能返回 null,表示取不到有效值。
2974
+ */
2975
+ InquireNum?: number
2976
+ /**
2977
+ * 使用数量
2978
+ 注意:此字段可能返回 null,表示取不到有效值。
2979
+ */
2980
+ UsedNum?: number
2981
+ /**
2982
+ * 续费标志
2983
+ 注意:此字段可能返回 null,表示取不到有效值。
2984
+ */
2985
+ RenewFlag?: number
2986
+ /**
2987
+ * 计费项
2988
+ 注意:此字段可能返回 null,表示取不到有效值。
2989
+ */
2990
+ BillingItem?: string
2991
+ /**
2992
+ * 1 API安全6折
2993
+ 注意:此字段可能返回 null,表示取不到有效值。
2994
+ */
2995
+ APICPWaf?: number
2996
+ /**
2997
+ * 1 表示5折折扣
2998
+ 2 表示4折折扣
2999
+ 注意:此字段可能返回 null,表示取不到有效值。
3000
+ */
3001
+ APINPWaf?: number
3002
+ /**
3003
+ * api安全7天试用标识。1试用。0没试用
3004
+ 注意:此字段可能返回 null,表示取不到有效值。
3005
+ */
3006
+ IsAPISecurityTrial?: number
3007
+ }
3008
+
2927
3009
  /**
2928
3010
  * DescribePorts请求参数结构体
2929
3011
  */
@@ -5396,6 +5478,11 @@ export interface InstanceInfo {
5396
5478
  注意:此字段可能返回 null,表示取不到有效值。
5397
5479
  */
5398
5480
  HybridPkg?: HybridPkg
5481
+ /**
5482
+ * API安全资源包
5483
+ 注意:此字段可能返回 null,表示取不到有效值。
5484
+ */
5485
+ ApiPkg?: ApiPkg
5399
5486
  }
5400
5487
 
5401
5488
  /**
@@ -6271,6 +6358,11 @@ export interface BotPkg {
6271
6358
  注意:此字段可能返回 null,表示取不到有效值。
6272
6359
  */
6273
6360
  BotNPWaf?: number
6361
+ /**
6362
+ * 7天bot试用标识 1 试用 0 没有试用
6363
+ 注意:此字段可能返回 null,表示取不到有效值。
6364
+ */
6365
+ IsBotTrial?: number
6274
6366
  }
6275
6367
 
6276
6368
  /**
@@ -5728,7 +5728,7 @@ export interface DeleteDataSourcesResponse {
5728
5728
  * 是否删除成功
5729
5729
  注意:此字段可能返回 null,表示取不到有效值。
5730
5730
  */
5731
- Data: boolean
5731
+ Data?: boolean
5732
5732
  /**
5733
5733
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5734
5734
  */
@@ -5951,6 +5951,10 @@ export interface DeleteDataSourcesRequest {
5951
5951
  * id列表
5952
5952
  */
5953
5953
  Ids: Array<number | bigint>
5954
+ /**
5955
+ * 项目id
5956
+ */
5957
+ ProjectId?: string
5954
5958
  }
5955
5959
 
5956
5960
  /**
@@ -7859,6 +7863,10 @@ export interface DescribeDsFolderTreeRequest {
7859
7863
  * 是否包含任务
7860
7864
  */
7861
7865
  IncludeTask?: boolean
7866
+ /**
7867
+ * 是否包含虚拟任务,当 IncludeTask 为 true 的时候,该参数才生效,默认为 true
7868
+ */
7869
+ IncludeVirtualTask?: boolean
7862
7870
  }
7863
7871
 
7864
7872
  /**
@@ -14974,7 +14982,7 @@ export interface ModifyDataSourceResponse {
14974
14982
  * 是否成功
14975
14983
  注意:此字段可能返回 null,表示取不到有效值。
14976
14984
  */
14977
- Data: boolean
14985
+ Data?: boolean
14978
14986
  /**
14979
14987
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14980
14988
  */
@@ -16203,6 +16211,10 @@ export interface ModifyDataSourceRequest {
16203
16211
  * cos region
16204
16212
  */
16205
16213
  COSRegion?: string
16214
+ /**
16215
+ * 操作项目id
16216
+ */
16217
+ ProjectId?: string
16206
16218
  }
16207
16219
 
16208
16220
  /**
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.722";
1
+ export declare const sdkVersion = "4.0.723";
@@ -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.722";
4
+ exports.sdkVersion = "4.0.723";
@@ -120,11 +120,14 @@ export interface LogoRect {
120
120
  export interface ResultConfig {
121
121
  /**
122
122
  * 生成图分辨率
123
- 支持生成以下不同分辨率的图片,对应1:1方图、3:4竖图、4:3横图三种尺寸规格。
124
- 取值:
125
- ● 768:768
126
- 768:1024
127
- ● 1024:768
123
+
124
+ 智能文生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9)
125
+
126
+ 智能图生图支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)
127
+
128
+ 不传默认使用768:768
129
+
130
+ 示例值:768:768
128
131
  */
129
132
  Resolution?: string;
130
133
  }
@@ -152,6 +155,11 @@ export interface TextToImageRequest {
152
155
  Styles?: Array<string>;
153
156
  /**
154
157
  * 生成图结果的配置,包括输出图片分辨率和尺寸等。
158
+
159
+ 支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、720:1440(1:2)、1440:720(2:1)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。
160
+
161
+ 示例值:768:768
162
+
155
163
  */
156
164
  ResultConfig?: ResultConfig;
157
165
  /**
@@ -1570,6 +1570,8 @@ export interface TelCdrInfo {
1570
1570
 
1571
1571
  电话呼出 210 notInService 不在服务区
1572
1572
 
1573
+ 电话呼入&呼出 211 clientError 客户端错误
1574
+
1573
1575
  */
1574
1576
  EndStatus?: number;
1575
1577
  /**
@@ -1606,7 +1608,7 @@ export interface TelCdrInfo {
1606
1608
  */
1607
1609
  IVRKeyPressed?: Array<string>;
1608
1610
  /**
1609
- * 挂机方 seat 坐席 user 用户
1611
+ * 挂机方 seat 坐席 user 用户 system 系统
1610
1612
  注意:此字段可能返回 null,表示取不到有效值。
1611
1613
  */
1612
1614
  HungUpSide?: string;
@@ -1646,7 +1648,7 @@ export interface TelCdrInfo {
1646
1648
  电话呼出 2 unconnected 未接通
1647
1649
 
1648
1650
  电话呼出 201 unknown 未知状态
1649
-
1651
+
1650
1652
  电话呼出 203 userReject 拒接挂断
1651
1653
 
1652
1654
  电话呼出 204 powerOff 关机
@@ -1663,6 +1665,8 @@ export interface TelCdrInfo {
1663
1665
 
1664
1666
  电话呼出 210 notInService 不在服务区
1665
1667
 
1668
+ 电话呼入&呼出 211 clientError 客户端错误
1669
+
1666
1670
 
1667
1671
  注意:此字段可能返回 null,表示取不到有效值。
1668
1672
  */
@@ -4618,7 +4618,7 @@ export interface DescribeInstanceAttributesResponse {
4618
4618
  /**
4619
4619
  * 实例属性返回结果对象。
4620
4620
  */
4621
- Result: InstanceAttributesResponse;
4621
+ Result?: InstanceAttributesResponse;
4622
4622
  /**
4623
4623
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4624
4624
  */
@@ -220,7 +220,7 @@ export interface CreateLoadBalancerRequest {
220
220
  ExclusiveCluster?: ExclusiveCluster;
221
221
  /**
222
222
  * 性能容量型规格。
223
- <ul><li>若需要创建性能容量型实例,则此参数必填,取值范围:<ul><li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li><li> clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。</ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)。
223
+ <ul><li>若需要创建性能容量型实例,则此参数必填,取值范围:<ul><li> SLA:超强型4规格 </li><li> clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li></ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)。
224
224
  */
225
225
  SlaType?: string;
226
226
  /**
@@ -1644,14 +1644,14 @@ export interface SlaUpdateParam {
1644
1644
  LoadBalancerId: string;
1645
1645
  /**
1646
1646
  * 性能容量型规格,取值范围:
1647
- <li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li>
1647
+ <li> SLA:超强型4规格 </li>
1648
1648
  <li> clb.c2.medium:标准型规格 </li>
1649
1649
  <li> clb.c3.small:高阶型1规格 </li>
1650
1650
  <li> clb.c3.medium:高阶型2规格 </li>
1651
1651
  <li> clb.c4.small:超强型1规格 </li>
1652
1652
  <li> clb.c4.medium:超强型2规格 </li>
1653
1653
  <li> clb.c4.large:超强型3规格 </li>
1654
- <li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)
1654
+ <li> clb.c4.xlarge:超强型4规格 </li>如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)
1655
1655
  */
1656
1656
  SlaType: string;
1657
1657
  }
@@ -4938,9 +4938,7 @@ export interface InternetAccessible {
4938
4938
  /**
4939
4939
  * 最大出带宽,单位Mbps,仅对公网属性的共享型、性能容量型和独占型 CLB 实例、以及内网属性的性能容量型 CLB 实例生效。
4940
4940
  - 对于公网属性的共享型和独占型 CLB 实例,最大出带宽的范围为1Mbps-2048Mbps。
4941
- - 对于公网属性和内网属性的性能容量型 CLB实例
4942
- - 默认为普通规格的性能容量型实例,SLA对应超强型1规格,最大出带宽的范围为1Mbps-10240Mbps。
4943
- - 当您开通了超大型规格的性能容量型时,最大出带宽的范围为1Mbps-61440Mbps。超大型规格的性能容量型正在内测中,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category)。
4941
+ - 对于公网属性和内网属性的性能容量型 CLB实例,最大出带宽的范围为1Mbps-61440Mbps。
4944
4942
  注意:此字段可能返回 null,表示取不到有效值。
4945
4943
  */
4946
4944
  InternetMaxBandwidthOut?: number;