tencentcloud-sdk-nodejs 4.0.244 → 4.0.245

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 (36) hide show
  1. package/CHANGELOG.md +190 -9
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cfw/v20190904/cfw_client.ts +13 -0
  7. package/src/services/cfw/v20190904/cfw_models.ts +118 -0
  8. package/src/services/cme/v20191029/cme_client.ts +26 -21
  9. package/src/services/cme/v20191029/cme_models.ts +160 -144
  10. package/src/services/cvm/v20170312/cvm_models.ts +3 -1
  11. package/src/services/dcdb/v20180411/dcdb_models.ts +6 -1
  12. package/src/services/faceid/v20180301/faceid_models.ts +3 -3
  13. package/src/services/mariadb/v20170312/mariadb_models.ts +11 -1
  14. package/src/services/ocr/v20181119/ocr_models.ts +3 -3
  15. package/src/services/ses/v20201002/ses_client.ts +1 -1
  16. package/src/services/ses/v20201002/ses_models.ts +1 -1
  17. package/src/services/tcb/v20180608/tcb_client.ts +1 -0
  18. package/src/services/tcb/v20180608/tcb_models.ts +48 -0
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
  22. package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
  23. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +99 -0
  24. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +26 -21
  25. package/tencentcloud/services/cme/v20191029/cme_client.js +26 -21
  26. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +155 -140
  27. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -1
  28. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +5 -1
  29. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +3 -3
  30. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +9 -1
  31. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
  32. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  33. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  34. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
  35. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +40 -0
  36. package/test/cfw.v20190904.test.js +10 -0
@@ -3508,7 +3508,9 @@ export interface DescribeImagesRequest {
3508
3508
  <li> image-type - String - 是否必填: 否 - (过滤条件)按照镜像类型进行过滤。取值范围:
3509
3509
  PRIVATE_IMAGE: 私有镜像 (本账户创建的镜像)
3510
3510
  PUBLIC_IMAGE: 公共镜像 (腾讯云官方镜像)
3511
- SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。</li>
3511
+ SHARED_IMAGE: 共享镜像(其他账户共享给本账户的镜像) 。</li>
3512
+ <li> image-name - String - 是否必填: 否 - (过滤条件)按照镜像名称进行过滤</li>
3513
+ <li> platform - String - 是否必填: 否 - (过滤条件)按照镜像平台过滤,如 CentOS</li>
3512
3514
  */
3513
3515
  Filters?: Array<Filter>;
3514
3516
  /**
@@ -40,7 +40,7 @@ export interface UpgradeDCDBInstanceResponse {
40
40
  * 长订单号。可以据此调用 DescribeOrders
41
41
  查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
42
42
  */
43
- DealName?: string;
43
+ DealName: string;
44
44
  /**
45
45
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
46
46
  */
@@ -2514,6 +2514,10 @@ export interface UpgradeDCDBInstanceRequest {
2514
2514
  * 代金券ID列表,目前仅支持指定一张代金券。
2515
2515
  */
2516
2516
  VoucherIds?: Array<string>;
2517
+ /**
2518
+ * 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
2519
+ */
2520
+ Zones?: Array<string>;
2517
2521
  }
2518
2522
  /**
2519
2523
  * DestroyHourDCDBInstance返回参数结构体
@@ -422,15 +422,15 @@ export interface PhoneVerificationRequest {
422
422
  */
423
423
  Phone: string;
424
424
  /**
425
- * 有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅 <a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
425
+ * 有加密需求的用户,传入kms的CiphertextBlob,关于数据加密可查阅 <a href="https://cloud.tencent.com/document/product/1007/47180">数据加密</a> 文档。
426
426
  */
427
427
  CiphertextBlob?: string;
428
428
  /**
429
- * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的IdCard,Name,Phone中的一个或多个
429
+ * 在使用加密服务时,填入要被加密的字段。本接口中可填入加密后的IdCard,Name,Phone中的一个或多个。
430
430
  */
431
431
  EncryptList?: Array<string>;
432
432
  /**
433
- * 有加密需求的用户,传入CBC加密的初试向量
433
+ * 有加密需求的用户,传入CBC加密的初始向量。
434
434
  */
435
435
  Iv?: string;
436
436
  }
@@ -276,6 +276,10 @@ export interface DescribeUpgradePriceRequest {
276
276
  查询实例规格获得不同内存大小对应的磁盘规格下限和上限。
277
277
  */
278
278
  Storage: number;
279
+ /**
280
+ * 新节点数,传0表示节点数不变
281
+ */
282
+ NodeCount?: number;
279
283
  }
280
284
  /**
281
285
  * FlushBinlog返回参数结构体
@@ -1663,6 +1667,10 @@ export interface UpgradeDBInstanceRequest {
1663
1667
  * 代金券ID列表,目前仅支持指定一张代金券。
1664
1668
  */
1665
1669
  VoucherIds?: Array<string>;
1670
+ /**
1671
+ * 变更部署时指定的新可用区列表,第1个为主可用区,其余为从可用区
1672
+ */
1673
+ Zones?: Array<string>;
1666
1674
  }
1667
1675
  /**
1668
1676
  * 安全出入口规则
@@ -2998,7 +3006,7 @@ export interface UpgradeDBInstanceResponse {
2998
3006
  * 长订单号。可以据此调用 DescribeOrders
2999
3007
  查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
3000
3008
  */
3001
- DealName?: string;
3009
+ DealName: string;
3002
3010
  /**
3003
3011
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3004
3012
  */
@@ -1924,7 +1924,7 @@ export interface MixedInvoiceOCRResponse {
1924
1924
  /**
1925
1925
  * 混贴票据识别结果,具体内容请点击左侧链接。
1926
1926
  */
1927
- MixedInvoiceItems?: Array<MixedInvoiceItem>;
1927
+ MixedInvoiceItems: Array<MixedInvoiceItem>;
1928
1928
  /**
1929
1929
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1930
1930
  */
@@ -3997,14 +3997,14 @@ export interface OrgCodeCertOCRResponse {
3997
3997
  export interface MixedInvoiceOCRRequest {
3998
3998
  /**
3999
3999
  * 图片的 Base64 值。
4000
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4000
+ 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
4001
4001
  支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4002
4002
  图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4003
4003
  */
4004
4004
  ImageBase64?: string;
4005
4005
  /**
4006
4006
  * 图片的 Url 地址。
4007
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4007
+ 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
4008
4008
  支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4009
4009
  图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4010
4010
  非腾讯云存储的 Url 速度和稳定性可能受一定影响。
@@ -45,7 +45,7 @@ export declare class Client extends AbstractClient {
45
45
  */
46
46
  GetStatisticsReport(req: GetStatisticsReportRequest, cb?: (error: string, rep: GetStatisticsReportResponse) => void): Promise<GetStatisticsReportResponse>;
47
47
  /**
48
- * 获取邮件发送状态。仅支持查询90天之内的数据
48
+ * 获取邮件发送状态。仅支持查询180天之内的数据
49
49
  */
50
50
  GetSendEmailStatus(req: GetSendEmailStatusRequest, cb?: (error: string, rep: GetSendEmailStatusResponse) => void): Promise<GetSendEmailStatusResponse>;
51
51
  /**
@@ -83,7 +83,7 @@ class Client extends abstract_client_1.AbstractClient {
83
83
  return this.request("GetStatisticsReport", req, cb);
84
84
  }
85
85
  /**
86
- * 获取邮件发送状态。仅支持查询90天之内的数据
86
+ * 获取邮件发送状态。仅支持查询180天之内的数据
87
87
  */
88
88
  async GetSendEmailStatus(req, cb) {
89
89
  return this.request("GetSendEmailStatus", req, cb);
@@ -181,7 +181,7 @@ export interface GetSendEmailStatusResponse {
181
181
  /**
182
182
  * 邮件发送状态列表
183
183
  */
184
- EmailStatusList?: Array<SendEmailStatus>;
184
+ EmailStatusList: Array<SendEmailStatus>;
185
185
  /**
186
186
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
187
187
  */
@@ -2286,6 +2286,14 @@ finished
2286
2286
  * 用户envId
2287
2287
  */
2288
2288
  UserEnvId: string;
2289
+ /**
2290
+ * 创建时间
2291
+ */
2292
+ StartTime: string;
2293
+ /**
2294
+ * 步骤信息
2295
+ */
2296
+ Steps: Array<OneClickTaskStepInfo>;
2289
2297
  /**
2290
2298
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2291
2299
  */
@@ -4934,6 +4942,38 @@ export interface DescribePostpayPackageFreeQuotasResponse {
4934
4942
  */
4935
4943
  RequestId?: string;
4936
4944
  }
4945
+ /**
4946
+ * 一键部署步骤信息
4947
+ */
4948
+ export interface OneClickTaskStepInfo {
4949
+ /**
4950
+ * 未启动:"todo"
4951
+ 运行中:"running"
4952
+ 失败:"failed"
4953
+ 成功结束:"finished"
4954
+ */
4955
+ Status: string;
4956
+ /**
4957
+ * 开始时间
4958
+ */
4959
+ StartTime: string;
4960
+ /**
4961
+ * 结束时间
4962
+ */
4963
+ EndTime: string;
4964
+ /**
4965
+ * 耗时:秒
4966
+ */
4967
+ CostTime: number;
4968
+ /**
4969
+ * 失败原因
4970
+ */
4971
+ FailReason: string;
4972
+ /**
4973
+ * 步骤名
4974
+ */
4975
+ Name: string;
4976
+ }
4937
4977
  /**
4938
4978
  * DescribeExtraPkgBillingInfo返回参数结构体
4939
4979
  */
@@ -688,6 +688,16 @@ it("cfw.v20190904.DescribeBlockByIpTimesList", async function () {
688
688
  }
689
689
  })
690
690
 
691
+ it("cfw.v20190904.DescribeAddrTemplateList", async function () {
692
+ try {
693
+ const data = await client.DescribeAddrTemplateList({})
694
+ expect(data).to.be.ok
695
+ } catch(error) {
696
+ expect(error.requestId).to.be.ok
697
+ expect(error.code).to.be.ok
698
+ }
699
+ })
700
+
691
701
  it("cfw.v20190904.DescribeBlockStaticList", async function () {
692
702
  try {
693
703
  const data = await client.DescribeBlockStaticList({})