tencentcloud-sdk-nodejs 4.0.675 → 4.0.677

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 (49) hide show
  1. package/CHANGELOG.md +498 -0
  2. package/SERVICE_CHANGELOG.md +313 -73
  3. package/package.json +1 -1
  4. package/products.md +17 -17
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/billing/v20180709/billing_client.ts +197 -160
  7. package/src/services/billing/v20180709/billing_models.ts +1761 -1649
  8. package/src/services/cdwch/v20200915/cdwch_models.ts +20 -0
  9. package/src/services/cvm/v20170312/cvm_models.ts +6 -1
  10. package/src/services/cwp/v20180228/cwp_models.ts +21 -15
  11. package/src/services/ess/v20201111/ess_client.ts +66 -24
  12. package/src/services/ess/v20201111/ess_models.ts +327 -199
  13. package/src/services/iotvideo/v20201215/iotvideo_models.ts +9 -5
  14. package/src/services/iotvideo/v20211125/iotvideo_models.ts +19 -7
  15. package/src/services/iss/v20230517/iss_models.ts +4 -4
  16. package/src/services/mna/v20210119/mna_models.ts +1 -1
  17. package/src/services/ms/v20180408/ms_client.ts +3 -3
  18. package/src/services/ocr/v20181119/ocr_models.ts +2 -0
  19. package/src/services/ssl/v20191205/ssl_models.ts +30 -8
  20. package/src/services/tem/v20210701/tem_models.ts +8 -8
  21. package/src/services/teo/v20220901/teo_client.ts +1 -1
  22. package/src/services/teo/v20220901/teo_models.ts +1 -1
  23. package/src/services/wedata/v20210820/wedata_models.ts +90 -90
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +47 -35
  27. package/tencentcloud/services/billing/v20180709/billing_client.js +69 -51
  28. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1687 -1582
  29. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +20 -0
  30. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -1
  31. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +21 -15
  32. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +36 -10
  33. package/tencentcloud/services/ess/v20201111/ess_client.js +41 -11
  34. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +323 -199
  35. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +9 -5
  36. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +19 -7
  37. package/tencentcloud/services/iss/v20230517/iss_models.d.ts +4 -4
  38. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +1 -1
  39. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -3
  40. package/tencentcloud/services/ms/v20180408/ms_client.js +3 -3
  41. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -0
  42. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +30 -8
  43. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +8 -8
  44. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  45. package/tencentcloud/services/teo/v20220901/teo_client.js +1 -1
  46. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
  47. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +90 -90
  48. package/test/billing.v20180709.test.js +64 -34
  49. package/test/ess.v20201111.test.js +24 -4
@@ -1180,6 +1180,10 @@ export interface SearchTags {
1180
1180
  * CreateBackUpSchedule返回参数结构体
1181
1181
  */
1182
1182
  export interface CreateBackUpScheduleResponse {
1183
+ /**
1184
+ * 错误描述
1185
+ */
1186
+ ErrorMsg?: string
1183
1187
  /**
1184
1188
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1185
1189
  */
@@ -1378,6 +1382,22 @@ export interface InstanceConfigInfo {
1378
1382
  * CreateBackUpSchedule请求参数结构体
1379
1383
  */
1380
1384
  export interface CreateBackUpScheduleRequest {
1385
+ /**
1386
+ * 集群id
1387
+ */
1388
+ InstanceId: string
1389
+ /**
1390
+ * 策略类型 meta(元数据) data (表数据)
1391
+ */
1392
+ ScheduleType: string
1393
+ /**
1394
+ * 操作类型 create(创建) update(编辑修改)
1395
+ */
1396
+ OperationType: string
1397
+ /**
1398
+ * 保留天数 例如7
1399
+ */
1400
+ RetainDays?: number
1381
1401
  /**
1382
1402
  * 编辑时需要传
1383
1403
  */
@@ -188,7 +188,7 @@ export interface HostResource {
188
188
  /**
189
189
  * 专用宿主机实例磁盘类型
190
190
  */
191
- DiskType: string
191
+ DiskType?: string
192
192
  /**
193
193
  * 专用宿主机实例总GPU卡数
194
194
  */
@@ -197,6 +197,11 @@ export interface HostResource {
197
197
  * 专用宿主机实例可用GPU卡数
198
198
  */
199
199
  GpuAvailable?: number
200
+ /**
201
+ * CDH owner
202
+ 注意:此字段可能返回 null,表示取不到有效值。
203
+ */
204
+ ExclusiveOwner?: string
200
205
  }
201
206
 
202
207
  /**
@@ -11057,66 +11057,72 @@ export interface BashRule {
11057
11057
  /**
11058
11058
  * 规则ID
11059
11059
  */
11060
- Id: number
11060
+ Id?: number
11061
11061
  /**
11062
11062
  * 客户端ID
11063
11063
  */
11064
- Uuid: string
11064
+ Uuid?: string
11065
11065
  /**
11066
11066
  * 规则名称
11067
11067
  */
11068
- Name: string
11068
+ Name?: string
11069
11069
  /**
11070
11070
  * 危险等级(0 :无 1: 高危 2:中危 3: 低危)
11071
11071
  */
11072
- Level: number
11072
+ Level?: number
11073
11073
  /**
11074
11074
  * 正则表达式
11075
11075
  */
11076
- Rule: string
11076
+ Rule?: string
11077
11077
  /**
11078
11078
  * 规则描述
11079
+ * @deprecated
11079
11080
  */
11080
- Decription: string
11081
+ Decription?: string
11081
11082
  /**
11082
11083
  * 操作人
11083
11084
  */
11084
- Operator: string
11085
+ Operator?: string
11085
11086
  /**
11086
11087
  * 是否全局规则
11087
11088
  */
11088
- IsGlobal: number
11089
+ IsGlobal?: number
11089
11090
  /**
11090
11091
  * 状态 (0: 有效 1: 无效)
11091
11092
  */
11092
- Status: number
11093
+ Status?: number
11093
11094
  /**
11094
11095
  * 创建时间
11095
11096
  */
11096
- CreateTime: string
11097
+ CreateTime?: string
11097
11098
  /**
11098
11099
  * 修改时间
11099
11100
  */
11100
- ModifyTime: string
11101
+ ModifyTime?: string
11101
11102
  /**
11102
11103
  * 主机IP
11103
11104
  */
11104
- Hostip: string
11105
+ Hostip?: string
11105
11106
  /**
11106
11107
  * 生效服务器的uuid数组
11107
11108
  注意:此字段可能返回 null,表示取不到有效值。
11108
11109
  */
11109
- Uuids: Array<string>
11110
+ Uuids?: Array<string>
11110
11111
  /**
11111
11112
  * 0=黑名单 1=白名单
11112
11113
  注意:此字段可能返回 null,表示取不到有效值。
11113
11114
  */
11114
- White: number
11115
+ White?: number
11115
11116
  /**
11116
11117
  * 是否处理之前的事件 0: 不处理 1:处理
11117
11118
  注意:此字段可能返回 null,表示取不到有效值。
11118
11119
  */
11119
- DealOldEvents: number
11120
+ DealOldEvents?: number
11121
+ /**
11122
+ * 规则描述
11123
+ 注意:此字段可能返回 null,表示取不到有效值。
11124
+ */
11125
+ Description?: string
11120
11126
  }
11121
11127
 
11122
11128
  /**
@@ -28,10 +28,10 @@ import {
28
28
  DescribeIntegrationDepartmentsResponse,
29
29
  FileInfo,
30
30
  CreateFlowApproversResponse,
31
- DescribeIntegrationMainOrganizationUserRequest,
31
+ DescribeFileUrlsResponse,
32
32
  ModifyApplicationCallbackInfoResponse,
33
33
  CreateMultiFlowSignQRCodeResponse,
34
- FlowCreateApprover,
34
+ FlowApproverUrlInfo,
35
35
  ReviewerInfo,
36
36
  DescribeThirdPartyAuthCodeResponse,
37
37
  HasAuthUser,
@@ -46,7 +46,7 @@ import {
46
46
  StartFlowResponse,
47
47
  SealInfo,
48
48
  StaffRole,
49
- FlowApproverUrlInfo,
49
+ CreateIntegrationRoleRequest,
50
50
  AuthorizedUser,
51
51
  CreateConvertTaskApiRequest,
52
52
  DeleteIntegrationEmployeesResponse,
@@ -62,13 +62,14 @@ import {
62
62
  TemplateInfo,
63
63
  CreateDocumentResponse,
64
64
  DescribeIntegrationEmployeesRequest,
65
+ UnbindEmployeeUserIdWithClientOpenIdResponse,
65
66
  CreateIntegrationUserRolesResponse,
66
67
  CreateFlowRequest,
67
68
  CreateSchemeUrlRequest,
68
69
  DeleteIntegrationDepartmentResponse,
69
70
  AutoSignConfig,
70
71
  DescribeThirdPartyAuthCodeRequest,
71
- UnbindEmployeeUserIdWithClientOpenIdResponse,
72
+ DescribeIntegrationMainOrganizationUserRequest,
72
73
  CreateReleaseFlowResponse,
73
74
  CreateWebThemeConfigResponse,
74
75
  BindEmployeeUserIdWithClientOpenIdRequest,
@@ -98,15 +99,18 @@ import {
98
99
  CreateUserAutoSignEnableUrlResponse,
99
100
  FlowGroupInfo,
100
101
  CreateFlowSignUrlResponse,
102
+ RegisterInfo,
101
103
  DescribeFileUrlsRequest,
102
104
  FormField,
103
105
  CreateChannelSubOrganizationModifyQrCodeRequest,
104
106
  UserInfo,
105
107
  CreateFlowApproversRequest,
108
+ ModifyIntegrationRoleResponse,
109
+ FlowCreateApprover,
106
110
  Staff,
107
111
  RecipientComponentInfo,
108
112
  CreateFlowEvidenceReportResponse,
109
- DescribeFileUrlsResponse,
113
+ CreateIntegrationRoleResponse,
110
114
  DescribeFlowComponentsRequest,
111
115
  CreateIntegrationDepartmentRequest,
112
116
  GroupOrganization,
@@ -120,7 +124,7 @@ import {
120
124
  FailedUpdateStaffData,
121
125
  GetTaskResultApiRequest,
122
126
  FlowGroupOptions,
123
- RegisterInfo,
127
+ ModifyIntegrationRoleRequest,
124
128
  CreateFlowGroupByFilesResponse,
125
129
  CreateIntegrationEmployeesResponse,
126
130
  DeleteIntegrationRoleUsersRequest,
@@ -314,13 +318,22 @@ callbackinfo包含: 回调地址和签名key
314
318
  }
315
319
 
316
320
  /**
317
- * 对企业员工进行印章授权
318
- */
319
- async CreateSealPolicy(
320
- req: CreateSealPolicyRequest,
321
- cb?: (error: string, rep: CreateSealPolicyResponse) => void
322
- ): Promise<CreateSealPolicyResponse> {
323
- return this.request("CreateSealPolicy", req, cb)
321
+ * 此接口(CreateIntegrationRole)用来创建企业自定义的SaaS角色或集团角色。
322
+
323
+ 适用场景1:创建当前企业的自定义SaaS角色或集团角色,并且创建时不进行权限的设置(PermissionGroups 参数不传),角色中的权限内容可通过控制台编辑角色或通过接口 ModifyIntegrationRole 完成更新。
324
+
325
+ 适用场景2:创建当前企业的自定义SaaS角色或集团角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。
326
+ 适用场景3:创建集团角色时可同时设置角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
327
+
328
+ 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
329
+
330
+ 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
331
+ */
332
+ async CreateIntegrationRole(
333
+ req: CreateIntegrationRoleRequest,
334
+ cb?: (error: string, rep: CreateIntegrationRoleResponse) => void
335
+ ): Promise<CreateIntegrationRoleResponse> {
336
+ return this.request("CreateIntegrationRole", req, cb)
324
337
  }
325
338
 
326
339
  /**
@@ -580,6 +593,22 @@ callbackinfo包含: 回调地址和签名key
580
593
  return this.request("CreateChannelSubOrganizationModifyQrCode", req, cb)
581
594
  }
582
595
 
596
+ /**
597
+ * 此接口(UploadFiles)用于文件上传。<br/>
598
+ 适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。<br/>
599
+
600
+ 其中上传的文件,图片类型(png/jpg/jpeg)大小限制为5M,其他大小限制为60M。<br/>
601
+ 调用时需要设置Domain/接口请求域名为 file.ess.tencent.cn,代码示例:<br/>
602
+ HttpProfile httpProfile = new HttpProfile();<br/>
603
+ httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
604
+ */
605
+ async UploadFiles(
606
+ req: UploadFilesRequest,
607
+ cb?: (error: string, rep: UploadFilesResponse) => void
608
+ ): Promise<UploadFilesResponse> {
609
+ return this.request("UploadFiles", req, cb)
610
+ }
611
+
583
612
  /**
584
613
  * 查询出证报告,返回报告 URL。出证报告编号通过CreateFlowEvidenceReport接口获取。
585
614
  */
@@ -723,19 +752,32 @@ callbackinfo包含: 回调地址和签名key
723
752
  }
724
753
 
725
754
  /**
726
- * 此接口(UploadFiles)用于文件上传。<br/>
727
- 适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。<br/>
755
+ * 此接口(ModifyIntegrationRole)用来更新企业自定义的SaaS角色或集团角色。
728
756
 
729
- 其中上传的文件,图片类型(png/jpg/jpeg)大小限制为5M,其他大小限制为60M。<br/>
730
- 调用时需要设置Domain/接口请求域名为 file.ess.tencent.cn,代码示例:<br/>
731
- HttpProfile httpProfile = new HttpProfile();<br/>
732
- httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
757
+ 适用场景1:更新当前企业的自定义SaaS角色或集团角色,并且更新时不进行角色中权限的更新(PermissionGroups 参数不传)。
758
+
759
+ 适用场景2:更新当前企业的自定义SaaS角色或集团角色,并且更新时进行角色中权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。
760
+ 适用场景3:更新集团角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
761
+
762
+ 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
763
+
764
+ 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
733
765
  */
734
- async UploadFiles(
735
- req: UploadFilesRequest,
736
- cb?: (error: string, rep: UploadFilesResponse) => void
737
- ): Promise<UploadFilesResponse> {
738
- return this.request("UploadFiles", req, cb)
766
+ async ModifyIntegrationRole(
767
+ req: ModifyIntegrationRoleRequest,
768
+ cb?: (error: string, rep: ModifyIntegrationRoleResponse) => void
769
+ ): Promise<ModifyIntegrationRoleResponse> {
770
+ return this.request("ModifyIntegrationRole", req, cb)
771
+ }
772
+
773
+ /**
774
+ * 对企业员工进行印章授权
775
+ */
776
+ async CreateSealPolicy(
777
+ req: CreateSealPolicyRequest,
778
+ cb?: (error: string, rep: CreateSealPolicyResponse) => void
779
+ ): Promise<CreateSealPolicyResponse> {
780
+ return this.request("CreateSealPolicy", req, cb)
739
781
  }
740
782
 
741
783
  /**