tencentcloud-sdk-nodejs 4.0.795 → 4.0.796

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 (47) hide show
  1. package/CHANGELOG.md +144 -0
  2. package/SERVICE_CHANGELOG.md +219 -18
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cfs/v20190719/cfs_client.ts +1 -1
  7. package/src/services/cfs/v20190719/cfs_models.ts +1 -1
  8. package/src/services/cynosdb/v20190107/cynosdb_client.ts +29 -5
  9. package/src/services/cynosdb/v20190107/cynosdb_models.ts +617 -155
  10. package/src/services/dlc/v20210125/dlc_models.ts +25 -20
  11. package/src/services/dnspod/v20210323/dnspod_client.ts +1 -1
  12. package/src/services/ecm/v20190719/ecm_models.ts +89 -71
  13. package/src/services/emr/v20190103/emr_client.ts +1 -0
  14. package/src/services/emr/v20190103/emr_models.ts +19 -0
  15. package/src/services/ess/v20201111/ess_client.ts +13 -10
  16. package/src/services/ess/v20201111/ess_models.ts +13 -9
  17. package/src/services/essbasic/v20210526/essbasic_client.ts +2 -2
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -4
  19. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  20. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  21. package/src/services/ssm/v20190923/ssm_models.ts +17 -16
  22. package/src/services/thpc/v20230321/thpc_models.ts +1 -1
  23. package/tencentcloud/common/sdk_version.d.ts +1 -1
  24. package/tencentcloud/common/sdk_version.js +1 -1
  25. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +1 -1
  26. package/tencentcloud/services/cfs/v20190719/cfs_client.js +1 -1
  27. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  29. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  30. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +600 -152
  31. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +25 -20
  32. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +1 -1
  33. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +1 -1
  34. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +89 -71
  35. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +18 -0
  36. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +11 -8
  37. package/tencentcloud/services/ess/v20201111/ess_client.js +11 -8
  38. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -9
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
  40. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -4
  42. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  43. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  44. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +10 -0
  45. package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +17 -16
  46. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +1 -1
  47. package/test/cynosdb.v20190107.test.js +10 -0
@@ -240,6 +240,8 @@ class Client extends abstract_client_1.AbstractClient {
240
240
  }
241
241
  /**
242
242
  * 此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。
243
+
244
+ 此OpenId只在 [更新企业员工信息 ](https://qian.tencent.com/developers/companyApis/staffs/UpdateIntegrationEmployees)、[移除企业员工](https://qian.tencent.com/developers/companyApis/staffs/DeleteIntegrationEmployees) 等场景下可以使用
243
245
  */
244
246
  async BindEmployeeUserIdWithClientOpenId(req, cb) {
245
247
  return this.request("BindEmployeeUserIdWithClientOpenId", req, cb);
@@ -326,8 +328,8 @@ class Client extends abstract_client_1.AbstractClient {
326
328
  ![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)
327
329
 
328
330
 
329
- ### 填充模版中定义的填写控件
330
- 模版中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
331
+ ### 填充模板中定义的填写控件
332
+ 模板中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
331
333
 
332
334
  ![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)
333
335
 
@@ -437,7 +439,7 @@ class Client extends abstract_client_1.AbstractClient {
437
439
 
438
440
  <font color="red">相关视频指引</font> <br>
439
441
  1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a><br>
440
- 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模版创建发起合同</a><br>
442
+ 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模板创建发起合同</a><br>
441
443
  */
442
444
  async CreateFlow(req, cb) {
443
445
  return this.request("CreateFlow", req, cb);
@@ -804,6 +806,7 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
804
806
  3. **每个合同只能催办一次**
805
807
 
806
808
  **催办的效果**: 对方会收到如下的短信通知
809
+
807
810
  ![image](https://qcloudimg.tencent-cloud.cn/raw/3caf94b7f540fa5736270d38528d3a7b.png)
808
811
 
809
812
  注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
@@ -980,18 +983,18 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
980
983
  </tr>
981
984
  <tr>
982
985
  <td>普通saas员工</td>
983
- <td>不需要传递 InvitationNotifyType</td>
984
- <td>短信</td>
986
+ <td>将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号</td>
987
+ <td>发送短信通知员工(短信中带有认证加入企业的链接)</td>
985
988
  </tr>
986
989
  <tr>
987
990
  <td>企微员工</td>
988
- <td>不需要传递 InvitationNotifyType,将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,但需确保该企微员工在应用的可见范围内</td>
991
+ <td>将Employees 中的WeworkOpenId字段设置为企微员工明文的openid,需<font color="red">确保该企微员工在应用的可见范围内</font></td>
989
992
  <td>企微内部实名消息</td>
990
993
  </tr>
991
994
  <tr>
992
995
  <td>H5端 saas员工</td>
993
- <td>传递 InvitationNotifyType = H5,不支持企微</td>
994
- <td>生成H5链接</td>
996
+ <td>传递 InvitationNotifyType = H5,将Employees中的DisplayName设置员工的名字,Mobile设置成员工的手机号,<font color="red">此场景不支持企微</font></td>
997
+ <td>生成认证加入企业的H5链接,贵方可以通过自己的渠道触达到此员工</td>
995
998
  </tr>
996
999
  </tbody>
997
1000
  </table>
@@ -2053,7 +2053,9 @@ export interface BindEmployeeUserIdWithClientOpenIdRequest {
2053
2053
  Operator: UserInfo;
2054
2054
  /**
2055
2055
  * 员工在腾讯电子签平台的唯一身份标识,为32位字符串。
2056
- 可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查看某位员工的UserId(在页面中展示为用户ID);或者通过<a href="https://qian.tencent.com/developers/companyApis/staffs/DescribeIntegrationEmployees" target="_blank">DescribeIntegrationEmployees</a>接口获取。
2056
+
2057
+ 通过<a href="https://qian.tencent.com/developers/companyApis/staffs/DescribeIntegrationEmployees" target="_blank">DescribeIntegrationEmployees</a>接口获取,也可登录腾讯电子签控制台查看
2058
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/97cfffabb0caa61df16999cd395d7850.png)
2057
2059
  */
2058
2060
  UserId: string;
2059
2061
  /**
@@ -2897,7 +2899,9 @@ export interface UnbindEmployeeUserIdWithClientOpenIdRequest {
2897
2899
  Operator: UserInfo;
2898
2900
  /**
2899
2901
  * 员工在腾讯电子签平台的唯一身份标识,为32位字符串。
2900
- 可登录腾讯电子签控制台,在 "更多能力"->"组织管理" 中查看某位员工的UserId(在页面中展示为用户ID)。
2902
+
2903
+ 通过<a href="https://qian.tencent.com/developers/companyApis/staffs/DescribeIntegrationEmployees" target="_blank">DescribeIntegrationEmployees</a>接口获取,也可登录腾讯电子签控制台查看
2904
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/97cfffabb0caa61df16999cd395d7850.png)
2901
2905
  */
2902
2906
  UserId: string;
2903
2907
  /**
@@ -3544,13 +3548,13 @@ export interface FormField {
3544
3548
  /**
3545
3549
  * 控件id,和ComponentName选择一项传入即可
3546
3550
 
3547
- <a href="https://dyn.ess.tencent.cn/guide/apivideo/component_name.mp4" target="_blank">点击查看在模版中找到控件ID的方式</a>
3551
+ <a href="https://dyn.ess.tencent.cn/guide/apivideo/component_name.mp4" target="_blank">点击查看在模板中找到控件ID的方式</a>
3548
3552
  */
3549
3553
  ComponentId?: string;
3550
3554
  /**
3551
3555
  * 控件名字,最大长度不超过30字符,和ComponentId选择一项传入即可
3552
3556
 
3553
- <a href="https://dyn.ess.tencent.cn/guide/apivideo/component_name.mp4" target="_blank">点击查看在模版中找到控件名字的方式</a>
3557
+ <a href="https://dyn.ess.tencent.cn/guide/apivideo/component_name.mp4" target="_blank">点击查看在模板中找到控件名字的方式</a>
3554
3558
  */
3555
3559
  ComponentName?: string;
3556
3560
  }
@@ -4839,7 +4843,7 @@ export interface CreateFlowByFilesResponse {
4839
4843
 
4840
4844
  注: 如果是预览模式(即NeedPreview设置为true)时, 此处不会有值返回。
4841
4845
 
4842
- [点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
4846
+ [点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
4843
4847
  */
4844
4848
  FlowId?: string;
4845
4849
  /**
@@ -6054,13 +6058,13 @@ export interface CancelFlowRequest {
6054
6058
  /**
6055
6059
  * 合同流程ID, 为32位字符串。
6056
6060
 
6057
- 可登录腾讯电子签控制台,[点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
6061
+ 可登录腾讯电子签控制台,[点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
6058
6062
  */
6059
6063
  FlowId: string;
6060
6064
  /**
6061
6065
  * 撤销此合同流程的**撤销理由**,最多支持200个字符长度。只能由中文、字母、数字、中文标点和英文标点组成(不支持表情)。
6062
6066
 
6063
- ![image](https://dyn.ess.tencent.cn/guide/capi/channel_ChannelCancelFlow.png)
6067
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/f16cf37dbb3a09d6569877f093b92204/channel_ChannelCancelFlow.png)
6064
6068
  */
6065
6069
  CancelMessage: string;
6066
6070
  /**
@@ -6579,7 +6583,7 @@ export interface DescribeFlowBriefsRequest {
6579
6583
 
6580
6584
  可登录腾讯电子签控制台,在 "合同"->"合同中心" 中查看某个合同的FlowId(在页面中展示为合同ID)。
6581
6585
 
6582
- [点击产看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
6586
+ [点击查看FlowId在控制台中的位置](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
6583
6587
  */
6584
6588
  FlowIds: Array<string>;
6585
6589
  /**
@@ -7263,7 +7267,7 @@ export interface CreateFlowResponse {
7263
7267
  建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
7264
7268
 
7265
7269
  注:
7266
- 此返回的合同流程ID,需再次调用<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口将合同开始后,合同才能进入签署环节,[点击产看FlowId在控制台中的位置(只在进如签署环节后有效)](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
7270
+ 此返回的合同流程ID,需再次调用<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口将合同开始后,合同才能进入签署环节,[点击查看FlowId在控制台中的位置(只在进入签署环节后有效)](https://qcloudimg.tencent-cloud.cn/raw/0a83015166cfe1cb043d14f9ec4bd75e.png)
7267
7271
 
7268
7272
 
7269
7273
  */
@@ -333,8 +333,8 @@ export declare class Client extends AbstractClient {
333
333
  </tbody>
334
334
  </table>
335
335
 
336
- ### 三. 填充模版中定义的填写控件
337
- 模版中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
336
+ ### 三. 填充模板中定义的填写控件
337
+ 模板中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
338
338
 
339
339
  ![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)
340
340
  填充的传参示例如下
@@ -391,8 +391,8 @@ class Client extends abstract_client_1.AbstractClient {
391
391
  </tbody>
392
392
  </table>
393
393
 
394
- ### 三. 填充模版中定义的填写控件
395
- 模版中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
394
+ ### 三. 填充模板中定义的填写控件
395
+ 模板中配置的<font color="red">发起人填充控件</font>可以通过本接口的**FormFields数组**字段填充
396
396
 
397
397
  ![image](https://qcloudimg.tencent-cloud.cn/raw/37457e0e450fc221effddfcb8b1bad55.png)
398
398
  填充的传参示例如下
@@ -2143,7 +2143,7 @@ export interface ChannelCreateFlowByFilesResponse {
2143
2143
  * 合同流程ID,为32位字符串。
2144
2144
  建议开发者妥善保存此流程ID,以便于顺利进行后续操作。
2145
2145
 
2146
- [点击产看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
2146
+ [点击查看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
2147
2147
  注意:此字段可能返回 null,表示取不到有效值。
2148
2148
  */
2149
2149
  FlowId?: string;
@@ -5766,7 +5766,7 @@ export interface ChannelCreateReleaseFlowRequest {
5766
5766
  * 待解除的签署流程编号(即原签署流程的编号)。
5767
5767
 
5768
5768
 
5769
- [点击产看流程编号在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
5769
+ [点击查看流程编号在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png)
5770
5770
  */
5771
5771
  NeedRelievedFlowId: string;
5772
5772
  /**
@@ -6605,7 +6605,7 @@ export interface DescribeTemplatesRequest {
6605
6605
 
6606
6606
  可以通过<a href="https://qian.tencent.com/developers/partnerApis/accounts/CreateConsoleLoginUrl" target="_blank">生成子客登录链接</a>登录企业控制台, 在企业模板中得到合同模板ID。
6607
6607
 
6608
- [点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
6608
+ [点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
6609
6609
  */
6610
6610
  TemplateId?: string;
6611
6611
  /**
@@ -6624,7 +6624,7 @@ export interface DescribeTemplatesRequest {
6624
6624
  4. `若传递此参数,分页参数(Limit,Offset)无效`
6625
6625
 
6626
6626
 
6627
- [点击产看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
6627
+ [点击查看模板Id在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/e988be12bf28a89b4716aed4502c2e02.png)
6628
6628
 
6629
6629
  */
6630
6630
  TemplateIds?: Array<string>;
@@ -726,7 +726,7 @@ export declare class Client extends AbstractClient {
726
726
  */
727
727
  RecognizePhilippinesDrivingLicenseOCR(req: RecognizePhilippinesDrivingLicenseOCRRequest, cb?: (error: string, rep: RecognizePhilippinesDrivingLicenseOCRResponse) => void): Promise<RecognizePhilippinesDrivingLicenseOCRResponse>;
728
728
  /**
729
- * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
729
+ * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
730
730
  */
731
731
  VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
732
732
  /**
@@ -894,7 +894,7 @@ class Client extends abstract_client_1.AbstractClient {
894
894
  return this.request("RecognizePhilippinesDrivingLicenseOCR", req, cb);
895
895
  }
896
896
  /**
897
- * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
897
+ * 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
898
898
  */
899
899
  async VerifyOfdVatInvoiceOCR(req, cb) {
900
900
  return this.request("VerifyOfdVatInvoiceOCR", req, cb);
@@ -8433,6 +8433,8 @@ export interface VatInvoice {
8433
8433
  102:通用机打电子发票
8434
8434
  61:电子发票(航空运输电子客票行程单)
8435
8435
  83:电子发票(铁路电子发票)
8436
+ 0915:全电纸质(二手车统一销售发票)
8437
+ 0903:全电纸质(机动车统一发票)
8436
8438
  */
8437
8439
  Type?: string;
8438
8440
  /**
@@ -8654,6 +8656,14 @@ export interface RecognizeForeignPermanentResidentIdCardResponse {
8654
8656
  * 证件号码。
8655
8657
  */
8656
8658
  No?: string;
8659
+ /**
8660
+ * 曾持证件号码。
8661
+ */
8662
+ PreviousNumber?: string;
8663
+ /**
8664
+ * 签发机关。
8665
+ */
8666
+ IssuedAuthority?: string;
8657
8667
  /**
8658
8668
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8659
8669
  */
@@ -363,78 +363,79 @@ export interface SecretMetadata {
363
363
  /**
364
364
  * 凭据名称
365
365
  */
366
- SecretName: string;
366
+ SecretName?: string;
367
367
  /**
368
368
  * 凭据的描述信息
369
369
  */
370
- Description: string;
370
+ Description?: string;
371
371
  /**
372
372
  * 用于加密凭据的KMS KeyId
373
373
  */
374
- KmsKeyId: string;
374
+ KmsKeyId?: string;
375
375
  /**
376
376
  * 创建者UIN
377
377
  */
378
- CreateUin: number;
378
+ CreateUin?: number;
379
379
  /**
380
380
  * 凭据状态:Enabled、Disabled、PendingDelete、Creating、Failed
381
381
  */
382
- Status: string;
382
+ Status?: string;
383
383
  /**
384
384
  * 凭据删除日期,对于status为PendingDelete 的有效,unix时间戳
385
385
  */
386
- DeleteTime: number;
386
+ DeleteTime?: number;
387
387
  /**
388
388
  * 凭据创建时间,unix时间戳
389
389
  */
390
- CreateTime: number;
390
+ CreateTime?: number;
391
391
  /**
392
392
  * 用于加密凭据的KMS CMK类型,DEFAULT 表示SecretsManager 创建的默认密钥, CUSTOMER 表示用户指定的密钥
393
393
  */
394
- KmsKeyType: string;
394
+ KmsKeyType?: string;
395
395
  /**
396
396
  * 1:--开启轮转;0--禁止轮转
397
397
  注意:此字段可能返回 null,表示取不到有效值。
398
398
  */
399
- RotationStatus: number;
399
+ RotationStatus?: number;
400
400
  /**
401
401
  * 下一次轮转开始时间,uinx 时间戳
402
402
  注意:此字段可能返回 null,表示取不到有效值。
403
403
  */
404
- NextRotationTime: number;
404
+ NextRotationTime?: number;
405
405
  /**
406
406
  * 0 -- 用户自定义凭据;
407
407
  1 -- 云产品凭据;
408
408
  2 -- SSH密钥对凭据;
409
409
  3 -- 云API密钥对凭据;
410
+ 4 -- Redis类型凭据;
410
411
  注意:此字段可能返回 null,表示取不到有效值。
411
412
  */
412
- SecretType: number;
413
+ SecretType?: number;
413
414
  /**
414
415
  * 云产品名称,仅在SecretType为1,即凭据类型为云产品凭据时生效
415
416
  注意:此字段可能返回 null,表示取不到有效值。
416
417
  */
417
- ProductName: string;
418
+ ProductName?: string;
418
419
  /**
419
420
  * 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对凭据的名称。
420
421
  注意:此字段可能返回 null,表示取不到有效值。
421
422
  */
422
- ResourceName: string;
423
+ ResourceName?: string;
423
424
  /**
424
425
  * 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所属的项目ID。
425
426
  注意:此字段可能返回 null,表示取不到有效值。
426
427
  */
427
- ProjectID: number;
428
+ ProjectID?: number;
428
429
  /**
429
430
  * 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
430
431
  注意:此字段可能返回 null,表示取不到有效值。
431
432
  */
432
- AssociatedInstanceIDs: Array<string>;
433
+ AssociatedInstanceIDs?: Array<string>;
433
434
  /**
434
435
  * 当凭据类型为云API密钥对凭据时,此字段有效,用于表示云API密钥对所属的用户UIN。
435
436
  注意:此字段可能返回 null,表示取不到有效值。
436
437
  */
437
- TargetUin: number;
438
+ TargetUin?: number;
438
439
  /**
439
440
  * 轮转的频率,以天作为单位,在轮转开启状态下生效。
440
441
  注意:此字段可能返回 null,表示取不到有效值。
@@ -592,7 +592,7 @@ export interface DescribeQueuesResponse {
592
592
  */
593
593
  QueueSet?: Array<QueueOverview>;
594
594
  /**
595
- * 符合条件的节点数量。
595
+ * 符合条件的队列数量。
596
596
  */
597
597
  TotalCount?: number;
598
598
  /**
@@ -188,6 +188,16 @@ it("cynosdb.v20190107.DescribeClusterDetail", async function () {
188
188
  }
189
189
  })
190
190
 
191
+ it("cynosdb.v20190107.DescribeTasks", async function () {
192
+ try {
193
+ const data = await client.DescribeTasks({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
191
201
  it("cynosdb.v20190107.DescribeInstanceSpecs", async function () {
192
202
  try {
193
203
  const data = await client.DescribeInstanceSpecs({})