tencentcloud-sdk-nodejs-intl-en 3.0.1383 → 3.0.1385

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.
@@ -6945,6 +6945,18 @@ class DescribeMNPListData extends AbstractModel {
6945
6945
  */
6946
6946
  this.EffectMNPVersion = null;
6947
6947
 
6948
+ /**
6949
+ * Team ID.
6950
+ * @type {string || null}
6951
+ */
6952
+ this.TeamId = null;
6953
+
6954
+ /**
6955
+ * Team type ID. Valid values: 1: Mini program team; 2: Superapp team; 3: Service provider team.
6956
+ * @type {number || null}
6957
+ */
6958
+ this.TeamTypeId = null;
6959
+
6948
6960
  }
6949
6961
 
6950
6962
  /**
@@ -6969,6 +6981,8 @@ class DescribeMNPListData extends AbstractModel {
6969
6981
  this.EffectStatus = 'EffectStatus' in params ? params.EffectStatus : null;
6970
6982
  this.EffectMNPVersionId = 'EffectMNPVersionId' in params ? params.EffectMNPVersionId : null;
6971
6983
  this.EffectMNPVersion = 'EffectMNPVersion' in params ? params.EffectMNPVersion : null;
6984
+ this.TeamId = 'TeamId' in params ? params.TeamId : null;
6985
+ this.TeamTypeId = 'TeamTypeId' in params ? params.TeamTypeId : null;
6972
6986
 
6973
6987
  }
6974
6988
  }
@@ -9095,6 +9109,12 @@ class DescribeMNPManagerDetailData extends AbstractModel {
9095
9109
  */
9096
9110
  this.I18nList = null;
9097
9111
 
9112
+ /**
9113
+ * Team type ID. Valid values: 1: Mini program team; 2: Superapp team; 3: Service provider team.
9114
+ * @type {number || null}
9115
+ */
9116
+ this.TeamTypeId = null;
9117
+
9098
9118
  }
9099
9119
 
9100
9120
  /**
@@ -9125,6 +9145,7 @@ class DescribeMNPManagerDetailData extends AbstractModel {
9125
9145
  this.I18nList.push(obj);
9126
9146
  }
9127
9147
  }
9148
+ this.TeamTypeId = 'TeamTypeId' in params ? params.TeamTypeId : null;
9128
9149
 
9129
9150
  }
9130
9151
  }
@@ -11634,6 +11655,18 @@ class DescribeMNGListData extends AbstractModel {
11634
11655
  */
11635
11656
  this.EffectMNPVersion = null;
11636
11657
 
11658
+ /**
11659
+ * Team ID.
11660
+ * @type {string || null}
11661
+ */
11662
+ this.TeamId = null;
11663
+
11664
+ /**
11665
+ * Team type ID. Valid values: 1: Mini program team; 2: Superapp team; 3: Service provider team.
11666
+ * @type {number || null}
11667
+ */
11668
+ this.TeamTypeId = null;
11669
+
11637
11670
  }
11638
11671
 
11639
11672
  /**
@@ -11658,6 +11691,8 @@ class DescribeMNGListData extends AbstractModel {
11658
11691
  this.EffectStatus = 'EffectStatus' in params ? params.EffectStatus : null;
11659
11692
  this.EffectMNPVersionId = 'EffectMNPVersionId' in params ? params.EffectMNPVersionId : null;
11660
11693
  this.EffectMNPVersion = 'EffectMNPVersion' in params ? params.EffectMNPVersion : null;
11694
+ this.TeamId = 'TeamId' in params ? params.TeamId : null;
11695
+ this.TeamTypeId = 'TeamTypeId' in params ? params.TeamTypeId : null;
11661
11696
 
11662
11697
  }
11663
11698
  }
@@ -17061,6 +17096,24 @@ class DescribeApplicationMNPInfoResp extends AbstractModel {
17061
17096
  */
17062
17097
  this.CategoryList = null;
17063
17098
 
17099
+ /**
17100
+ * Team ID.
17101
+ * @type {string || null}
17102
+ */
17103
+ this.TeamId = null;
17104
+
17105
+ /**
17106
+ * Team name.
17107
+ * @type {string || null}
17108
+ */
17109
+ this.TeamName = null;
17110
+
17111
+ /**
17112
+ * Team type ID.
17113
+ * @type {number || null}
17114
+ */
17115
+ this.TeamTypeId = null;
17116
+
17064
17117
  }
17065
17118
 
17066
17119
  /**
@@ -17089,6 +17142,9 @@ class DescribeApplicationMNPInfoResp extends AbstractModel {
17089
17142
  this.CategoryList.push(obj);
17090
17143
  }
17091
17144
  }
17145
+ this.TeamId = 'TeamId' in params ? params.TeamId : null;
17146
+ this.TeamName = 'TeamName' in params ? params.TeamName : null;
17147
+ this.TeamTypeId = 'TeamTypeId' in params ? params.TeamTypeId : null;
17092
17148
 
17093
17149
  }
17094
17150
  }
@@ -18395,6 +18451,12 @@ class DescribeMNGManagerDetailData extends AbstractModel {
18395
18451
  */
18396
18452
  this.I18nList = null;
18397
18453
 
18454
+ /**
18455
+ * Team type ID. Valid values: 1: Mini program team; 2: Superapp team; 3: Service provider team.
18456
+ * @type {number || null}
18457
+ */
18458
+ this.TeamTypeId = null;
18459
+
18398
18460
  }
18399
18461
 
18400
18462
  /**
@@ -18425,6 +18487,7 @@ class DescribeMNGManagerDetailData extends AbstractModel {
18425
18487
  this.I18nList.push(obj);
18426
18488
  }
18427
18489
  }
18490
+ this.TeamTypeId = 'TeamTypeId' in params ? params.TeamTypeId : null;
18428
18491
 
18429
18492
  }
18430
18493
  }
@@ -1078,6 +1078,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
1078
1078
  }
1079
1079
  }
1080
1080
 
1081
+ /**
1082
+ * ResetUsersPassword request structure.
1083
+ * @class
1084
+ */
1085
+ class ResetUsersPasswordRequest extends AbstractModel {
1086
+ constructor(){
1087
+ super();
1088
+
1089
+ /**
1090
+ * <p>Instance id</p>
1091
+ * @type {string || null}
1092
+ */
1093
+ this.InstanceId = null;
1094
+
1095
+ /**
1096
+ * <p>Reset user password list</p>
1097
+ * @type {Array.<ResetUserPasswordInfo> || null}
1098
+ */
1099
+ this.Users = null;
1100
+
1101
+ }
1102
+
1103
+ /**
1104
+ * @private
1105
+ */
1106
+ deserialize(params) {
1107
+ if (!params) {
1108
+ return;
1109
+ }
1110
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1111
+
1112
+ if (params.Users) {
1113
+ this.Users = new Array();
1114
+ for (let z in params.Users) {
1115
+ let obj = new ResetUserPasswordInfo();
1116
+ obj.deserialize(params.Users[z]);
1117
+ this.Users.push(obj);
1118
+ }
1119
+ }
1120
+
1121
+ }
1122
+ }
1123
+
1081
1124
  /**
1082
1125
  * Backup policy object
1083
1126
  * @class
@@ -3850,6 +3893,55 @@ class DescribeSaleInfoResponse extends AbstractModel {
3850
3893
  }
3851
3894
  }
3852
3895
 
3896
+ /**
3897
+ * User type for password reset
3898
+ * @class
3899
+ */
3900
+ class ResetUserPasswordInfo extends AbstractModel {
3901
+ constructor(){
3902
+ super();
3903
+
3904
+ /**
3905
+ * <p>Username.</p>
3906
+ * @type {string || null}
3907
+ */
3908
+ this.UserName = null;
3909
+
3910
+ /**
3911
+ * <p>host</p>
3912
+ * @type {string || null}
3913
+ */
3914
+ this.Host = null;
3915
+
3916
+ /**
3917
+ * <p>plaintext password</p>
3918
+ * @type {string || null}
3919
+ */
3920
+ this.Password = null;
3921
+
3922
+ /**
3923
+ * <p>Encryption password</p>
3924
+ * @type {string || null}
3925
+ */
3926
+ this.EncryptedPassword = null;
3927
+
3928
+ }
3929
+
3930
+ /**
3931
+ * @private
3932
+ */
3933
+ deserialize(params) {
3934
+ if (!params) {
3935
+ return;
3936
+ }
3937
+ this.UserName = 'UserName' in params ? params.UserName : null;
3938
+ this.Host = 'Host' in params ? params.Host : null;
3939
+ this.Password = 'Password' in params ? params.Password : null;
3940
+ this.EncryptedPassword = 'EncryptedPassword' in params ? params.EncryptedPassword : null;
3941
+
3942
+ }
3943
+ }
3944
+
3853
3945
  /**
3854
3946
  * DeleteUsers response structure.
3855
3947
  * @class
@@ -7304,6 +7396,41 @@ class ModifyAutoRenewFlagRequest extends AbstractModel {
7304
7396
  }
7305
7397
  }
7306
7398
 
7399
+ /**
7400
+ * ResetUsersPassword response structure.
7401
+ * @class
7402
+ */
7403
+ class ResetUsersPasswordResponse extends AbstractModel {
7404
+ constructor(){
7405
+ super();
7406
+
7407
+ /**
7408
+ * <p>Task ID.</p>
7409
+ * @type {number || null}
7410
+ */
7411
+ this.FlowId = null;
7412
+
7413
+ /**
7414
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
7415
+ * @type {string || null}
7416
+ */
7417
+ this.RequestId = null;
7418
+
7419
+ }
7420
+
7421
+ /**
7422
+ * @private
7423
+ */
7424
+ deserialize(params) {
7425
+ if (!params) {
7426
+ return;
7427
+ }
7428
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
7429
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
7430
+
7431
+ }
7432
+ }
7433
+
7307
7434
  /**
7308
7435
  * CreateDBSBackup request structure.
7309
7436
  * @class
@@ -8494,6 +8621,7 @@ module.exports = {
8494
8621
  InstanceFilter: InstanceFilter,
8495
8622
  Explain: Explain,
8496
8623
  BackupStatisticsModel: BackupStatisticsModel,
8624
+ ResetUsersPasswordRequest: ResetUsersPasswordRequest,
8497
8625
  BackupPolicyModelOutPut: BackupPolicyModelOutPut,
8498
8626
  ModifyInstanceSSLStatusRequest: ModifyInstanceSSLStatusRequest,
8499
8627
  ModifyInstanceNameResponse: ModifyInstanceNameResponse,
@@ -8537,6 +8665,7 @@ module.exports = {
8537
8665
  ModifyMaintenanceWindowRequest: ModifyMaintenanceWindowRequest,
8538
8666
  DestroyInstancesResponse: DestroyInstancesResponse,
8539
8667
  DescribeSaleInfoResponse: DescribeSaleInfoResponse,
8668
+ ResetUserPasswordInfo: ResetUserPasswordInfo,
8540
8669
  DeleteUsersResponse: DeleteUsersResponse,
8541
8670
  DatabaseTable: DatabaseTable,
8542
8671
  DescribeDBInstanceDetailRequest: DescribeDBInstanceDetailRequest,
@@ -8592,6 +8721,7 @@ module.exports = {
8592
8721
  AutoScalingConfig: AutoScalingConfig,
8593
8722
  DatabaseProcedure: DatabaseProcedure,
8594
8723
  ModifyAutoRenewFlagRequest: ModifyAutoRenewFlagRequest,
8724
+ ResetUsersPasswordResponse: ResetUsersPasswordResponse,
8595
8725
  CreateDBSBackupRequest: CreateDBSBackupRequest,
8596
8726
  DestroyInstancesRequest: DestroyInstancesRequest,
8597
8727
  DescribeMaintenanceWindowRequest: DescribeMaintenanceWindowRequest,
@@ -33,6 +33,7 @@ const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse
33
33
  const InstanceFilter = models.InstanceFilter;
34
34
  const Explain = models.Explain;
35
35
  const BackupStatisticsModel = models.BackupStatisticsModel;
36
+ const ResetUsersPasswordRequest = models.ResetUsersPasswordRequest;
36
37
  const BackupPolicyModelOutPut = models.BackupPolicyModelOutPut;
37
38
  const ModifyInstanceSSLStatusRequest = models.ModifyInstanceSSLStatusRequest;
38
39
  const ModifyInstanceNameResponse = models.ModifyInstanceNameResponse;
@@ -76,6 +77,7 @@ const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
76
77
  const ModifyMaintenanceWindowRequest = models.ModifyMaintenanceWindowRequest;
77
78
  const DestroyInstancesResponse = models.DestroyInstancesResponse;
78
79
  const DescribeSaleInfoResponse = models.DescribeSaleInfoResponse;
80
+ const ResetUserPasswordInfo = models.ResetUserPasswordInfo;
79
81
  const DeleteUsersResponse = models.DeleteUsersResponse;
80
82
  const DatabaseTable = models.DatabaseTable;
81
83
  const DescribeDBInstanceDetailRequest = models.DescribeDBInstanceDetailRequest;
@@ -131,6 +133,7 @@ const ModifyDBSBackupSetCommentResponse = models.ModifyDBSBackupSetCommentRespon
131
133
  const AutoScalingConfig = models.AutoScalingConfig;
132
134
  const DatabaseProcedure = models.DatabaseProcedure;
133
135
  const ModifyAutoRenewFlagRequest = models.ModifyAutoRenewFlagRequest;
136
+ const ResetUsersPasswordResponse = models.ResetUsersPasswordResponse;
134
137
  const CreateDBSBackupRequest = models.CreateDBSBackupRequest;
135
138
  const DestroyInstancesRequest = models.DestroyInstancesRequest;
136
139
  const DescribeMaintenanceWindowRequest = models.DescribeMaintenanceWindowRequest;
@@ -165,6 +168,17 @@ class TdmysqlClient extends AbstractClient {
165
168
  super("tdmysql.intl.tencentcloudapi.com", "2021-11-22", credential, region, profile);
166
169
  }
167
170
 
171
+ /**
172
+ * This API is used to batch reset user password.
173
+ * @param {ResetUsersPasswordRequest} req
174
+ * @param {function(string, ResetUsersPasswordResponse):void} cb
175
+ * @public
176
+ */
177
+ ResetUsersPassword(req, cb) {
178
+ let resp = new ResetUsersPasswordResponse();
179
+ this.request("ResetUsersPassword", req, resp, cb);
180
+ }
181
+
168
182
  /**
169
183
  * Query an instance backup strategy
170
184
  * @param {DescribeDBSBackupPolicyRequest} req
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20260322: require("./v20260322"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./tokenhub_client"),
3
+ Models: require("./models"),
4
+ };