tencentcloud-sdk-nodejs 4.0.874 → 4.0.876

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 (94) hide show
  1. package/CHANGELOG.md +574 -0
  2. package/SERVICE_CHANGELOG.md +587 -59
  3. package/package.json +1 -1
  4. package/products.md +33 -33
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/billing/v20180709/billing_models.ts +2 -2
  7. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +10 -0
  8. package/src/services/ciam/v20220331/ciam_models.ts +51 -42
  9. package/src/services/cls/v20201016/cls_client.ts +3 -3
  10. package/src/services/cls/v20201016/cls_models.ts +2 -2
  11. package/src/services/cynosdb/v20190107/cynosdb_models.ts +3 -3
  12. package/src/services/dc/v20180410/dc_client.ts +1 -1
  13. package/src/services/dc/v20180410/dc_models.ts +86 -78
  14. package/src/services/es/v20180416/es_models.ts +5 -0
  15. package/src/services/ess/v20201111/ess_client.ts +1 -0
  16. package/src/services/ess/v20201111/ess_models.ts +11 -8
  17. package/src/services/essbasic/v20210526/essbasic_client.ts +4 -0
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +44 -3
  19. package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -2
  20. package/src/services/monitor/v20180724/monitor_client.ts +4 -2
  21. package/src/services/monitor/v20180724/monitor_models.ts +13 -13
  22. package/src/services/mps/v20190612/mps_client.ts +7 -4
  23. package/src/services/mps/v20190612/mps_models.ts +129 -67
  24. package/src/services/mrs/v20200910/mrs_models.ts +142 -17
  25. package/src/services/ocr/v20181119/ocr_models.ts +1 -0
  26. package/src/services/organization/v20210331/organization_models.ts +13 -0
  27. package/src/services/rce/v20201103/rce_models.ts +21 -13
  28. package/src/services/redis/v20180412/redis_client.ts +63 -14
  29. package/src/services/redis/v20180412/redis_models.ts +202 -70
  30. package/src/services/ssl/v20191205/ssl_models.ts +7 -7
  31. package/src/services/tcm/v20210413/tcm_models.ts +24 -3
  32. package/src/services/tcr/v20190924/tcr_models.ts +8 -8
  33. package/src/services/tdmq/v20200217/tdmq_models.ts +15 -10
  34. package/src/services/tke/v20180525/tke_client.ts +4 -2
  35. package/src/services/tke/v20180525/tke_models.ts +30 -23
  36. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  37. package/src/services/tse/v20201207/tse_client.ts +2 -0
  38. package/src/services/tse/v20201207/tse_models.ts +61 -0
  39. package/src/services/tts/v20190823/tts_models.ts +1 -1
  40. package/src/services/waf/v20180125/waf_client.ts +27 -14
  41. package/src/services/waf/v20180125/waf_models.ts +139 -80
  42. package/src/services/wedata/v20210820/wedata_client.ts +15 -1
  43. package/src/services/wedata/v20210820/wedata_models.ts +99 -7
  44. package/tencentcloud/common/sdk_version.d.ts +1 -1
  45. package/tencentcloud/common/sdk_version.js +1 -1
  46. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +2 -2
  47. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +10 -0
  48. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +51 -42
  49. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +3 -3
  50. package/tencentcloud/services/cls/v20201016/cls_client.js +3 -3
  51. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
  52. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +3 -3
  53. package/tencentcloud/services/dc/v20180410/dc_client.d.ts +1 -1
  54. package/tencentcloud/services/dc/v20180410/dc_client.js +1 -1
  55. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +86 -78
  56. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  57. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -0
  58. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -0
  59. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +11 -8
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -0
  61. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -0
  62. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +43 -3
  63. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -2
  64. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -1
  65. package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -1
  66. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +13 -13
  67. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  68. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +125 -66
  69. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +142 -17
  70. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -0
  71. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +13 -0
  72. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +21 -13
  73. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +20 -4
  74. package/tencentcloud/services/redis/v20180412/redis_client.js +28 -4
  75. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +193 -70
  76. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +7 -7
  77. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +24 -3
  78. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -8
  79. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +15 -10
  80. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +3 -1
  81. package/tencentcloud/services/tke/v20180525/tke_client.js +3 -1
  82. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +30 -23
  83. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  84. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +59 -0
  85. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
  86. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
  87. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
  88. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +135 -79
  89. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
  90. package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
  91. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +95 -7
  92. package/test/redis.v20180412.test.js +42 -2
  93. package/test/waf.v20180125.test.js +14 -4
  94. package/test/wedata.v20210820.test.js +10 -0
@@ -281,7 +281,7 @@ export interface DeleteUsersRequest {
281
281
  }
282
282
  /**
283
283
  * 导入用户信息
284
- 1、UserName,PhoneNumber ,Email ,WechatOpenId ,WechatUnionId ,AlipayUserId ,QqOpenId ,QqUnionId 八个属性中,导入时必须包含其中一个属性并遵守初始化自定义属性的正则表达式规则。UserName,PhoneNumber,Email的正则表达式在控制台的自定义属性中可以查询到。
284
+ 1、UserName,PhoneNumber ,Email ,WechatOpenId ,WechatUnionId ,AlipayUserId ,QqOpenId ,QqUnionId ,WeComUserId 九个属性中,导入时必须包含其中一个属性并遵守初始化自定义属性的正则表达式规则。UserName,PhoneNumber,Email的正则表达式在控制台的自定义属性中可以查询到。
285
285
  2、对于密码的导入,导入的密码支持明文导入,MD5密文导入,SHA1密文导入,BCRYPT密文导入 ,这个需要在PasswordEncryptTypeEnum 字段中指定。
286
286
  3、IdentityVerified,IdentityVerificationMethod 支持导入,
287
287
  IdentityVerified 为true,IdentityVerificationMethod必传;
@@ -337,6 +337,10 @@ export interface ImportUser {
337
337
  * 支付宝alipayUserId
338
338
  */
339
339
  AlipayUserId?: string;
340
+ /**
341
+ * 企业微信weComUserId
342
+ */
343
+ WeComUserId?: string;
340
344
  /**
341
345
  * 描述
342
346
  */
@@ -742,204 +746,209 @@ export interface User {
742
746
  /**
743
747
  * 用户ID
744
748
  */
745
- UserId: string;
749
+ UserId?: string;
746
750
  /**
747
751
  * 用户名
748
752
  注意:此字段可能返回 null,表示取不到有效值。
749
753
  */
750
- UserName: string;
754
+ UserName?: string;
751
755
  /**
752
756
  * 手机号
753
757
  注意:此字段可能返回 null,表示取不到有效值。
754
758
  */
755
- PhoneNumber: string;
759
+ PhoneNumber?: string;
756
760
  /**
757
761
  * 邮箱
758
762
  注意:此字段可能返回 null,表示取不到有效值。
759
763
  */
760
- Email: string;
764
+ Email?: string;
761
765
  /**
762
766
  * 上次登录时间
763
767
  注意:此字段可能返回 null,表示取不到有效值。
764
768
  */
765
- LastSignOn: number;
769
+ LastSignOn?: number;
766
770
  /**
767
771
  * 创建时间
768
772
  */
769
- CreatedDate: number;
773
+ CreatedDate?: number;
770
774
  /**
771
775
  * 状态
772
776
  */
773
- Status: string;
777
+ Status?: string;
774
778
  /**
775
779
  * 用户来源
776
780
  */
777
- UserDataSourceEnum: string;
781
+ UserDataSourceEnum?: string;
778
782
  /**
779
783
  * 昵称
780
784
  注意:此字段可能返回 null,表示取不到有效值。
781
785
  */
782
- Nickname: string;
786
+ Nickname?: string;
783
787
  /**
784
788
  * 地址
785
789
  注意:此字段可能返回 null,表示取不到有效值。
786
790
  */
787
- Address: string;
791
+ Address?: string;
788
792
  /**
789
793
  * 生日
790
794
  注意:此字段可能返回 null,表示取不到有效值。
791
795
  */
792
- Birthdate: number;
796
+ Birthdate?: number;
793
797
  /**
794
798
  * 用户组ID
795
799
  注意:此字段可能返回 null,表示取不到有效值。
796
800
  */
797
- UserGroups: Array<string>;
801
+ UserGroups?: Array<string>;
798
802
  /**
799
803
  * 上次修改时间
800
804
  注意:此字段可能返回 null,表示取不到有效值。
801
805
  */
802
- LastModifiedDate: number;
806
+ LastModifiedDate?: number;
803
807
  /**
804
808
  * 自定义属性
805
809
  注意:此字段可能返回 null,表示取不到有效值。
806
810
  */
807
- CustomAttributes: Array<MemberMap>;
811
+ CustomAttributes?: Array<MemberMap>;
808
812
  /**
809
813
  * 身份证号
810
814
  注意:此字段可能返回 null,表示取不到有效值。
811
815
  */
812
- ResidentIdentityCard: string;
816
+ ResidentIdentityCard?: string;
813
817
  /**
814
818
  * QQ的OpenId
815
819
  注意:此字段可能返回 null,表示取不到有效值。
816
820
  */
817
- QqOpenId: string;
821
+ QqOpenId?: string;
818
822
  /**
819
823
  * QQ的UnionId
820
824
  注意:此字段可能返回 null,表示取不到有效值。
821
825
  */
822
- QqUnionId: string;
826
+ QqUnionId?: string;
823
827
  /**
824
828
  * 微信的WechatOpenId
825
829
  注意:此字段可能返回 null,表示取不到有效值。
826
830
  */
827
- WechatOpenId: string;
831
+ WechatOpenId?: string;
828
832
  /**
829
833
  * 微信的WechatUnionId
830
834
  注意:此字段可能返回 null,表示取不到有效值。
831
835
  */
832
- WechatUnionId: string;
836
+ WechatUnionId?: string;
833
837
  /**
834
838
  * 支付宝的AlipayUserId
835
839
  注意:此字段可能返回 null,表示取不到有效值。
836
840
  */
837
- AlipayUserId: string;
841
+ AlipayUserId?: string;
842
+ /**
843
+ * 企业微信的WeComUserId
844
+ 注意:此字段可能返回 null,表示取不到有效值。
845
+ */
846
+ WeComUserId?: string;
838
847
  /**
839
848
  * 描述
840
849
  注意:此字段可能返回 null,表示取不到有效值。
841
850
  */
842
- Description: string;
851
+ Description?: string;
843
852
  /**
844
853
  * 姓名
845
854
  注意:此字段可能返回 null,表示取不到有效值。
846
855
  */
847
- Name: string;
856
+ Name?: string;
848
857
  /**
849
858
  * 坐标
850
859
  注意:此字段可能返回 null,表示取不到有效值。
851
860
  */
852
- Locale: string;
861
+ Locale?: string;
853
862
  /**
854
863
  * 性别
855
864
  注意:此字段可能返回 null,表示取不到有效值。
856
865
  */
857
- Gender: string;
866
+ Gender?: string;
858
867
  /**
859
868
  * 实名核验方式
860
869
  注意:此字段可能返回 null,表示取不到有效值。
861
870
  */
862
- IdentityVerificationMethod: string;
871
+ IdentityVerificationMethod?: string;
863
872
  /**
864
873
  * 是否已经实名核验
865
874
  注意:此字段可能返回 null,表示取不到有效值。
866
875
  */
867
- IdentityVerified: boolean;
876
+ IdentityVerified?: boolean;
868
877
  /**
869
878
  * 工作
870
879
  注意:此字段可能返回 null,表示取不到有效值。
871
880
  */
872
- Job: string;
881
+ Job?: string;
873
882
  /**
874
883
  * 国家
875
884
  注意:此字段可能返回 null,表示取不到有效值。
876
885
  */
877
- Nationality: string;
886
+ Nationality?: string;
878
887
  /**
879
888
  * 是否主账号(进行过账号融合后,主账号为true,从账号为false)
880
889
  注意:此字段可能返回 null,表示取不到有效值。
881
890
  */
882
- Primary: boolean;
891
+ Primary?: boolean;
883
892
  /**
884
893
  * 时区
885
894
  注意:此字段可能返回 null,表示取不到有效值。
886
895
  */
887
- Zone: string;
896
+ Zone?: string;
888
897
  /**
889
898
  * 是否已经首次登录
890
899
  注意:此字段可能返回 null,表示取不到有效值。
891
900
  */
892
- AlreadyFirstLogin: boolean;
901
+ AlreadyFirstLogin?: boolean;
893
902
  /**
894
903
  * 租户id
895
904
  注意:此字段可能返回 null,表示取不到有效值。
896
905
  */
897
- TenantId: string;
906
+ TenantId?: string;
898
907
  /**
899
908
  * 用户目录id
900
909
  注意:此字段可能返回 null,表示取不到有效值。
901
910
  */
902
- UserStoreId: string;
911
+ UserStoreId?: string;
903
912
  /**
904
913
  * 版本
905
914
  注意:此字段可能返回 null,表示取不到有效值。
906
915
  */
907
- Version: number;
916
+ Version?: number;
908
917
  /**
909
918
  * 锁定类型(分为管理员锁定,和登录策略锁定)
910
919
  注意:此字段可能返回 null,表示取不到有效值。
911
920
  */
912
- LockType: string;
921
+ LockType?: string;
913
922
  /**
914
923
  * 锁定时间点
915
924
  注意:此字段可能返回 null,表示取不到有效值。
916
925
  */
917
- LockTime: number;
926
+ LockTime?: number;
918
927
  /**
919
928
  * 索引字段1
920
929
  注意:此字段可能返回 null,表示取不到有效值。
921
930
  */
922
- IndexedAttribute1: string;
931
+ IndexedAttribute1?: string;
923
932
  /**
924
933
  * 索引字段2
925
934
  注意:此字段可能返回 null,表示取不到有效值。
926
935
  */
927
- IndexedAttribute2: string;
936
+ IndexedAttribute2?: string;
928
937
  /**
929
938
  * 索引字段3
930
939
  注意:此字段可能返回 null,表示取不到有效值。
931
940
  */
932
- IndexedAttribute3: string;
941
+ IndexedAttribute3?: string;
933
942
  /**
934
943
  * 索引字段4
935
944
  注意:此字段可能返回 null,表示取不到有效值。
936
945
  */
937
- IndexedAttribute4: string;
946
+ IndexedAttribute4?: string;
938
947
  /**
939
948
  * 索引字段5
940
949
  注意:此字段可能返回 null,表示取不到有效值。
941
950
  */
942
- IndexedAttribute5: string;
951
+ IndexedAttribute5?: string;
943
952
  }
944
953
  /**
945
954
  * 用户组删除时关联的应用信息
@@ -88,7 +88,7 @@ export declare class Client extends AbstractClient {
88
88
  */
89
89
  CreateCosRecharge(req: CreateCosRechargeRequest, cb?: (error: string, rep: CreateCosRechargeResponse) => void): Promise<CreateCosRechargeResponse>;
90
90
  /**
91
- * 本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
91
+ * 该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
92
92
  */
93
93
  MergePartition(req: MergePartitionRequest, cb?: (error: string, rep: MergePartitionResponse) => void): Promise<MergePartitionResponse>;
94
94
  /**
@@ -260,7 +260,7 @@ export declare class Client extends AbstractClient {
260
260
  */
261
261
  DescribeAlarmNotices(req: DescribeAlarmNoticesRequest, cb?: (error: string, rep: DescribeAlarmNoticesResponse) => void): Promise<DescribeAlarmNoticesResponse>;
262
262
  /**
263
- * 本接口用于获取主题分区列表。
263
+ * 该接口已废弃,如需获取分区数量,请使用DescribeTopics接口。
264
264
  */
265
265
  DescribePartitions(req: DescribePartitionsRequest, cb?: (error: string, rep: DescribePartitionsResponse) => void): Promise<DescribePartitionsResponse>;
266
266
  /**
@@ -295,7 +295,7 @@ export declare class Client extends AbstractClient {
295
295
  */
296
296
  DeleteExport(req: DeleteExportRequest, cb?: (error: string, rep: DeleteExportResponse) => void): Promise<DeleteExportResponse>;
297
297
  /**
298
- * 本接口用于分裂主题分区
298
+ * 该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
299
299
  */
300
300
  SplitPartition(req: SplitPartitionRequest, cb?: (error: string, rep: SplitPartitionResponse) => void): Promise<SplitPartitionResponse>;
301
301
  /**
@@ -148,7 +148,7 @@ class Client extends abstract_client_1.AbstractClient {
148
148
  return this.request("CreateCosRecharge", req, cb);
149
149
  }
150
150
  /**
151
- * 本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
151
+ * 该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
152
152
  */
153
153
  async MergePartition(req, cb) {
154
154
  return this.request("MergePartition", req, cb);
@@ -406,7 +406,7 @@ class Client extends abstract_client_1.AbstractClient {
406
406
  return this.request("DescribeAlarmNotices", req, cb);
407
407
  }
408
408
  /**
409
- * 本接口用于获取主题分区列表。
409
+ * 该接口已废弃,如需获取分区数量,请使用DescribeTopics接口。
410
410
  */
411
411
  async DescribePartitions(req, cb) {
412
412
  return this.request("DescribePartitions", req, cb);
@@ -457,7 +457,7 @@ class Client extends abstract_client_1.AbstractClient {
457
457
  return this.request("DeleteExport", req, cb);
458
458
  }
459
459
  /**
460
- * 本接口用于分裂主题分区
460
+ * 该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
461
461
  */
462
462
  async SplitPartition(req, cb) {
463
463
  return this.request("SplitPartition", req, cb);
@@ -2059,7 +2059,7 @@ export interface DescribePartitionsResponse {
2059
2059
  /**
2060
2060
  * 分区列表
2061
2061
  */
2062
- Partitions: Array<PartitionInfo>;
2062
+ Partitions?: Array<PartitionInfo>;
2063
2063
  /**
2064
2064
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2065
2065
  */
@@ -4781,7 +4781,7 @@ export interface SplitPartitionResponse {
4781
4781
  /**
4782
4782
  * 分裂结果集
4783
4783
  */
4784
- Partitions: Array<PartitionInfo>;
4784
+ Partitions?: Array<PartitionInfo>;
4785
4785
  /**
4786
4786
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4787
4787
  */
@@ -3912,7 +3912,7 @@ export interface ResumeServerlessResponse {
3912
3912
  /**
3913
3913
  * 异步流程ID
3914
3914
  */
3915
- FlowId: number;
3915
+ FlowId?: number;
3916
3916
  /**
3917
3917
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3918
3918
  */
@@ -8136,11 +8136,11 @@ export interface DescribeProjectSecurityGroupsResponse {
8136
8136
  /**
8137
8137
  * 安全组详情
8138
8138
  */
8139
- Groups: Array<SecurityGroup>;
8139
+ Groups?: Array<SecurityGroup>;
8140
8140
  /**
8141
8141
  * 总数量
8142
8142
  */
8143
- Total: number;
8143
+ Total?: number;
8144
8144
  /**
8145
8145
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8146
8146
  */
@@ -70,7 +70,7 @@ export declare class Client extends AbstractClient {
70
70
  */
71
71
  DescribeInternetAddress(req: DescribeInternetAddressRequest, cb?: (error: string, rep: DescribeInternetAddressResponse) => void): Promise<DescribeInternetAddressResponse>;
72
72
  /**
73
- * 用于查询专用通道列表。
73
+ * 查询专用通道列表。
74
74
  */
75
75
  DescribeDirectConnectTunnels(req: DescribeDirectConnectTunnelsRequest, cb?: (error: string, rep: DescribeDirectConnectTunnelsResponse) => void): Promise<DescribeDirectConnectTunnelsResponse>;
76
76
  /**
@@ -120,7 +120,7 @@ class Client extends abstract_client_1.AbstractClient {
120
120
  return this.request("DescribeInternetAddress", req, cb);
121
121
  }
122
122
  /**
123
- * 用于查询专用通道列表。
123
+ * 查询专用通道列表。
124
124
  */
125
125
  async DescribeDirectConnectTunnels(req, cb) {
126
126
  return this.request("DescribeDirectConnectTunnels", req, cb);