tencentcloud-sdk-nodejs-intl-en 3.0.511 → 3.0.514

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.511",
3
+ "version": "3.0.514",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2095,6 +2095,12 @@ class ModifyConsumerRequest extends AbstractModel {
2095
2095
  */
2096
2096
  this.Ckafka = null;
2097
2097
 
2098
+ /**
2099
+ * Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
2100
+ * @type {number || null}
2101
+ */
2102
+ this.Compression = null;
2103
+
2098
2104
  }
2099
2105
 
2100
2106
  /**
@@ -2119,6 +2125,7 @@ class ModifyConsumerRequest extends AbstractModel {
2119
2125
  obj.deserialize(params.Ckafka)
2120
2126
  this.Ckafka = obj;
2121
2127
  }
2128
+ this.Compression = 'Compression' in params ? params.Compression : null;
2122
2129
 
2123
2130
  }
2124
2131
  }
@@ -4077,6 +4084,13 @@ Note: This field may return `null`, indicating that no valid value was found.
4077
4084
  */
4078
4085
  this.Ckafka = null;
4079
4086
 
4087
+ /**
4088
+ * Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
4089
+ Note: This field may return null, indicating that no valid values can be obtained.
4090
+ * @type {number || null}
4091
+ */
4092
+ this.Compression = null;
4093
+
4080
4094
  /**
4081
4095
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4082
4096
  * @type {string || null}
@@ -4106,6 +4120,7 @@ Note: This field may return `null`, indicating that no valid value was found.
4106
4120
  obj.deserialize(params.Ckafka)
4107
4121
  this.Ckafka = obj;
4108
4122
  }
4123
+ this.Compression = 'Compression' in params ? params.Compression : null;
4109
4124
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4110
4125
 
4111
4126
  }
@@ -6119,6 +6134,12 @@ class CreateConsumerRequest extends AbstractModel {
6119
6134
  */
6120
6135
  this.Ckafka = null;
6121
6136
 
6137
+ /**
6138
+ * Compression mode. Valid values: `0` (no compression), `2` (snappy), `3` (LZ4).
6139
+ * @type {number || null}
6140
+ */
6141
+ this.Compression = null;
6142
+
6122
6143
  }
6123
6144
 
6124
6145
  /**
@@ -6142,6 +6163,7 @@ class CreateConsumerRequest extends AbstractModel {
6142
6163
  obj.deserialize(params.Ckafka)
6143
6164
  this.Ckafka = obj;
6144
6165
  }
6166
+ this.Compression = 'Compression' in params ? params.Compression : null;
6145
6167
 
6146
6168
  }
6147
6169
  }
@@ -8170,7 +8192,7 @@ Note: This field may return `null`, indicating that no valid value was found.
8170
8192
  this.EnableTag = null;
8171
8193
 
8172
8194
  /**
8173
- * List of metadata to ship. Only \_\_SOURCE\_\_, \_\_FILENAME\_\_, and \_\_TIMESTAMP\_\_ are supported.
8195
+ * List of metadata to ship. Supported metadata types: \_\_SOURCE\_\_, \_\_FILENAME\_\_, \_\_TIMESTAMP\_\_, \_\_HOSTNAME\_\_, and \_\_PKGID\_\_.
8174
8196
  Note: This field may return null, indicating that no valid values can be obtained.
8175
8197
  * @type {Array.<string> || null}
8176
8198
  */
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.511";
1
+ const sdkVersion = "3.0.514";
2
2
  module.exports = sdkVersion
@@ -50,12 +50,13 @@ const PurchaseReservedInstancesOfferingRequest = models.PurchaseReservedInstance
50
50
  const RebootInstancesRequest = models.RebootInstancesRequest;
51
51
  const AssociateInstancesKeyPairsRequest = models.AssociateInstancesKeyPairsRequest;
52
52
  const DeleteLaunchTemplateResponse = models.DeleteLaunchTemplateResponse;
53
- const ImportKeyPairResponse = models.ImportKeyPairResponse;
53
+ const DescribeChcDeniedActionsResponse = models.DescribeChcDeniedActionsResponse;
54
54
  const DescribeInstancesStatusResponse = models.DescribeInstancesStatusResponse;
55
55
  const ZoneInfo = models.ZoneInfo;
56
56
  const ModifyLaunchTemplateDefaultVersionResponse = models.ModifyLaunchTemplateDefaultVersionResponse;
57
57
  const LaunchTemplateVersionInfo = models.LaunchTemplateVersionInfo;
58
58
  const ModifyImageSharePermissionResponse = models.ModifyImageSharePermissionResponse;
59
+ const ImportKeyPairResponse = models.ImportKeyPairResponse;
59
60
  const DescribeKeyPairsResponse = models.DescribeKeyPairsResponse;
60
61
  const ResetInstancesPasswordRequest = models.ResetInstancesPasswordRequest;
61
62
  const RemoveChcAssistVpcResponse = models.RemoveChcAssistVpcResponse;
@@ -177,6 +178,7 @@ const ModifyImageAttributeResponse = models.ModifyImageAttributeResponse;
177
178
  const GPUInfo = models.GPUInfo;
178
179
  const DescribeInstancesRequest = models.DescribeInstancesRequest;
179
180
  const RegionInfo = models.RegionInfo;
181
+ const DescribeChcDeniedActionsRequest = models.DescribeChcDeniedActionsRequest;
180
182
  const InquiryPriceResetInstancesTypeRequest = models.InquiryPriceResetInstancesTypeRequest;
181
183
  const ModifyLaunchTemplateDefaultVersionRequest = models.ModifyLaunchTemplateDefaultVersionRequest;
182
184
  const StopInstancesRequest = models.StopInstancesRequest;
@@ -198,6 +200,7 @@ const VirtualPrivateCloud = models.VirtualPrivateCloud;
198
200
  const ModifyDisasterRecoverGroupAttributeResponse = models.ModifyDisasterRecoverGroupAttributeResponse;
199
201
  const ResizeInstanceDisksRequest = models.ResizeInstanceDisksRequest;
200
202
  const DescribeInstanceFamilyConfigsRequest = models.DescribeInstanceFamilyConfigsRequest;
203
+ const ChcHostDeniedActions = models.ChcHostDeniedActions;
201
204
  const PurchaseReservedInstancesOfferingResponse = models.PurchaseReservedInstancesOfferingResponse;
202
205
  const StorageBlock = models.StorageBlock;
203
206
  const InternetAccessible = models.InternetAccessible;
@@ -723,14 +726,14 @@ If you currently use a password to log in, you will no longer be able to do so a
723
726
  }
724
727
 
725
728
  /**
726
- * This API is used to remove the out-of-band network and deployment network of a CHC host.
727
- * @param {RemoveChcAssistVpcRequest} req
728
- * @param {function(string, RemoveChcAssistVpcResponse):void} cb
729
+ * This API is used to query the actions not allowed for the specified CHC instances.
730
+ * @param {DescribeChcDeniedActionsRequest} req
731
+ * @param {function(string, DescribeChcDeniedActionsResponse):void} cb
729
732
  * @public
730
733
  */
731
- RemoveChcAssistVpc(req, cb) {
732
- let resp = new RemoveChcAssistVpcResponse();
733
- this.request("RemoveChcAssistVpc", req, resp, cb);
734
+ DescribeChcDeniedActions(req, cb) {
735
+ let resp = new DescribeChcDeniedActionsResponse();
736
+ this.request("DescribeChcDeniedActions", req, resp, cb);
734
737
  }
735
738
 
736
739
  /**
@@ -1044,6 +1047,17 @@ If you currently use a password to log in, you will no longer be able to do so a
1044
1047
  this.request("DescribeHosts", req, resp, cb);
1045
1048
  }
1046
1049
 
1050
+ /**
1051
+ * This API is used to remove the out-of-band network and deployment network of a CHC host.
1052
+ * @param {RemoveChcAssistVpcRequest} req
1053
+ * @param {function(string, RemoveChcAssistVpcResponse):void} cb
1054
+ * @public
1055
+ */
1056
+ RemoveChcAssistVpc(req, cb) {
1057
+ let resp = new RemoveChcAssistVpcResponse();
1058
+ this.request("RemoveChcAssistVpc", req, resp, cb);
1059
+ }
1060
+
1047
1061
  /**
1048
1062
  * This API is used to create CDH instances with specified configuration.
1049
1063
  * When HostChargeType is PREPAID, the HostChargePrepaid parameter must be specified.
@@ -1071,7 +1071,7 @@ class SystemDisk extends AbstractModel {
1071
1071
  super();
1072
1072
 
1073
1073
  /**
1074
- * System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_SSD: SSD<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><br>The disk type currently in stock will be used by default.
1074
+ * System disk type. For more information about the limits of system disk types, please see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_SSD: SSD cloud disk<br><li>CLOUD_PREMIUM: Premium cloud storage<br><li>CLOUD_BSSD: Balanced SSD<br><br>The disk currently in stock will be used by default.
1075
1075
  * @type {string || null}
1076
1076
  */
1077
1077
  this.DiskType = null;
@@ -1628,18 +1628,18 @@ class DeleteLaunchTemplateResponse extends AbstractModel {
1628
1628
  }
1629
1629
 
1630
1630
  /**
1631
- * ImportKeyPair response structure.
1631
+ * DescribeChcDeniedActions response structure.
1632
1632
  * @class
1633
1633
  */
1634
- class ImportKeyPairResponse extends AbstractModel {
1634
+ class DescribeChcDeniedActionsResponse extends AbstractModel {
1635
1635
  constructor(){
1636
1636
  super();
1637
1637
 
1638
1638
  /**
1639
- * Key pair ID
1640
- * @type {string || null}
1639
+ * Actions not allowed for the CHC instance
1640
+ * @type {Array.<ChcHostDeniedActions> || null}
1641
1641
  */
1642
- this.KeyId = null;
1642
+ this.ChcHostDeniedActionSet = null;
1643
1643
 
1644
1644
  /**
1645
1645
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
@@ -1656,7 +1656,15 @@ class ImportKeyPairResponse extends AbstractModel {
1656
1656
  if (!params) {
1657
1657
  return;
1658
1658
  }
1659
- this.KeyId = 'KeyId' in params ? params.KeyId : null;
1659
+
1660
+ if (params.ChcHostDeniedActionSet) {
1661
+ this.ChcHostDeniedActionSet = new Array();
1662
+ for (let z in params.ChcHostDeniedActionSet) {
1663
+ let obj = new ChcHostDeniedActions();
1664
+ obj.deserialize(params.ChcHostDeniedActionSet[z]);
1665
+ this.ChcHostDeniedActionSet.push(obj);
1666
+ }
1667
+ }
1660
1668
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1661
1669
 
1662
1670
  }
@@ -1947,6 +1955,41 @@ class ModifyImageSharePermissionResponse extends AbstractModel {
1947
1955
  }
1948
1956
  }
1949
1957
 
1958
+ /**
1959
+ * ImportKeyPair response structure.
1960
+ * @class
1961
+ */
1962
+ class ImportKeyPairResponse extends AbstractModel {
1963
+ constructor(){
1964
+ super();
1965
+
1966
+ /**
1967
+ * Key pair ID
1968
+ * @type {string || null}
1969
+ */
1970
+ this.KeyId = null;
1971
+
1972
+ /**
1973
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1974
+ * @type {string || null}
1975
+ */
1976
+ this.RequestId = null;
1977
+
1978
+ }
1979
+
1980
+ /**
1981
+ * @private
1982
+ */
1983
+ deserialize(params) {
1984
+ if (!params) {
1985
+ return;
1986
+ }
1987
+ this.KeyId = 'KeyId' in params ? params.KeyId : null;
1988
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1989
+
1990
+ }
1991
+ }
1992
+
1950
1993
  /**
1951
1994
  * DescribeKeyPairs response structure.
1952
1995
  * @class
@@ -2499,7 +2542,7 @@ class RunInstancesResponse extends AbstractModel {
2499
2542
  super();
2500
2543
 
2501
2544
  /**
2502
- * If you use this API to create instance(s), this parameter will be returned, representing one or more instance IDs. Retuning the instance ID list does not necessarily mean that the instance(s) were created successfully. To check whether the instance(s) were created successfully, you can call [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and check the status of the instances in `InstancesSet` in the response. If the status of an instance changes from "preparing" to "running", it means that the instance has been created successfully.
2545
+ * If you use this API to create instance(s), this parameter will be returned, representing one or more instance IDs. Retuning the instance ID list does not necessarily mean that the instance(s) were created successfully. To check whether the instance(s) were created successfully, you can call [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and check the status of the instances in `InstancesSet` in the response. If the status of an instance changes from "PENDING" to "RUNNING", it means that the instance has been created successfully.
2503
2546
  * @type {Array.<string> || null}
2504
2547
  */
2505
2548
  this.InstanceIdSet = null;
@@ -3929,7 +3972,7 @@ class DataDisk extends AbstractModel {
3929
3972
  this.DiskSize = null;
3930
3973
 
3931
3974
  /**
3932
- * Data disk type. For more information about limits on different data disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values: <br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>LOCAL_NVME: local NVME disk, specified in the `InstanceType`<br><li>LOCAL_PRO: local HDD disk, specified in the `InstanceType`<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: Tremendous SSD<br><br>Default value: LOCAL_BASIC.<br><br>This parameter is invalid for the `ResizeInstanceDisk` API.
3975
+ * Data disk type. For more information about limits on different data disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values: <br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>LOCAL_NVME: local NVME disk, specified in the `InstanceType`<br><li>LOCAL_PRO: local HDD disk, specified in the `InstanceType`<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: Tremendous SSD<br><li>CLOUD_BSSD: Balanced SSD<br><br>Default value: LOCAL_BASIC.<br><br>This parameter is invalid for the `ResizeInstanceDisk` API.
3933
3976
  * @type {string || null}
3934
3977
  */
3935
3978
  this.DiskType = null;
@@ -6708,7 +6751,7 @@ class RunInstancesRequest extends AbstractModel {
6708
6751
  this.DataDisks = null;
6709
6752
 
6710
6753
  /**
6711
- * Configuration information of VPC. This parameter is used to specify VPC ID and subnet ID, etc. If this parameter is not specified, the classic network is used by default. If a VPC IP is specified in this parameter, it indicates the primary ENI IP of each instance. The value of parameter InstanceCount must be same as the number of VPC IPs, which cannot be greater than 20.
6754
+ * Configuration information of VPC. This parameter is used to specify VPC ID and subnet ID, etc. If a VPC IP is specified in this parameter, it indicates the primary ENI IP of each instance. The value of parameter InstanceCount must be the same as the number of VPC IPs, which cannot be greater than 20.
6712
6755
  * @type {VirtualPrivateCloud || null}
6713
6756
  */
6714
6757
  this.VirtualPrivateCloud = null;
@@ -8874,6 +8917,34 @@ class RegionInfo extends AbstractModel {
8874
8917
  }
8875
8918
  }
8876
8919
 
8920
+ /**
8921
+ * DescribeChcDeniedActions request structure.
8922
+ * @class
8923
+ */
8924
+ class DescribeChcDeniedActionsRequest extends AbstractModel {
8925
+ constructor(){
8926
+ super();
8927
+
8928
+ /**
8929
+ * CHC instance ID
8930
+ * @type {Array.<string> || null}
8931
+ */
8932
+ this.ChcIds = null;
8933
+
8934
+ }
8935
+
8936
+ /**
8937
+ * @private
8938
+ */
8939
+ deserialize(params) {
8940
+ if (!params) {
8941
+ return;
8942
+ }
8943
+ this.ChcIds = 'ChcIds' in params ? params.ChcIds : null;
8944
+
8945
+ }
8946
+ }
8947
+
8877
8948
  /**
8878
8949
  * InquiryPriceResetInstancesType request structure.
8879
8950
  * @class
@@ -9799,6 +9870,48 @@ class DescribeInstanceFamilyConfigsRequest extends AbstractModel {
9799
9870
  }
9800
9871
  }
9801
9872
 
9873
+ /**
9874
+ * Describe details of actions not allowed for a CHC instance
9875
+ * @class
9876
+ */
9877
+ class ChcHostDeniedActions extends AbstractModel {
9878
+ constructor(){
9879
+ super();
9880
+
9881
+ /**
9882
+ * CHC instance ID
9883
+ * @type {string || null}
9884
+ */
9885
+ this.ChcId = null;
9886
+
9887
+ /**
9888
+ * CHC instance status
9889
+ * @type {string || null}
9890
+ */
9891
+ this.State = null;
9892
+
9893
+ /**
9894
+ * Actions not allowed for the current CHC instance
9895
+ * @type {Array.<string> || null}
9896
+ */
9897
+ this.DenyActions = null;
9898
+
9899
+ }
9900
+
9901
+ /**
9902
+ * @private
9903
+ */
9904
+ deserialize(params) {
9905
+ if (!params) {
9906
+ return;
9907
+ }
9908
+ this.ChcId = 'ChcId' in params ? params.ChcId : null;
9909
+ this.State = 'State' in params ? params.State : null;
9910
+ this.DenyActions = 'DenyActions' in params ? params.DenyActions : null;
9911
+
9912
+ }
9913
+ }
9914
+
9802
9915
  /**
9803
9916
  * PurchaseReservedInstancesOffering response structure.
9804
9917
  * @class
@@ -10236,12 +10349,13 @@ module.exports = {
10236
10349
  RebootInstancesRequest: RebootInstancesRequest,
10237
10350
  AssociateInstancesKeyPairsRequest: AssociateInstancesKeyPairsRequest,
10238
10351
  DeleteLaunchTemplateResponse: DeleteLaunchTemplateResponse,
10239
- ImportKeyPairResponse: ImportKeyPairResponse,
10352
+ DescribeChcDeniedActionsResponse: DescribeChcDeniedActionsResponse,
10240
10353
  DescribeInstancesStatusResponse: DescribeInstancesStatusResponse,
10241
10354
  ZoneInfo: ZoneInfo,
10242
10355
  ModifyLaunchTemplateDefaultVersionResponse: ModifyLaunchTemplateDefaultVersionResponse,
10243
10356
  LaunchTemplateVersionInfo: LaunchTemplateVersionInfo,
10244
10357
  ModifyImageSharePermissionResponse: ModifyImageSharePermissionResponse,
10358
+ ImportKeyPairResponse: ImportKeyPairResponse,
10245
10359
  DescribeKeyPairsResponse: DescribeKeyPairsResponse,
10246
10360
  ResetInstancesPasswordRequest: ResetInstancesPasswordRequest,
10247
10361
  RemoveChcAssistVpcResponse: RemoveChcAssistVpcResponse,
@@ -10363,6 +10477,7 @@ module.exports = {
10363
10477
  GPUInfo: GPUInfo,
10364
10478
  DescribeInstancesRequest: DescribeInstancesRequest,
10365
10479
  RegionInfo: RegionInfo,
10480
+ DescribeChcDeniedActionsRequest: DescribeChcDeniedActionsRequest,
10366
10481
  InquiryPriceResetInstancesTypeRequest: InquiryPriceResetInstancesTypeRequest,
10367
10482
  ModifyLaunchTemplateDefaultVersionRequest: ModifyLaunchTemplateDefaultVersionRequest,
10368
10483
  StopInstancesRequest: StopInstancesRequest,
@@ -10384,6 +10499,7 @@ module.exports = {
10384
10499
  ModifyDisasterRecoverGroupAttributeResponse: ModifyDisasterRecoverGroupAttributeResponse,
10385
10500
  ResizeInstanceDisksRequest: ResizeInstanceDisksRequest,
10386
10501
  DescribeInstanceFamilyConfigsRequest: DescribeInstanceFamilyConfigsRequest,
10502
+ ChcHostDeniedActions: ChcHostDeniedActions,
10387
10503
  PurchaseReservedInstancesOfferingResponse: PurchaseReservedInstancesOfferingResponse,
10388
10504
  StorageBlock: StorageBlock,
10389
10505
  InternetAccessible: InternetAccessible,
@@ -3383,6 +3383,27 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3383
3383
  */
3384
3384
  this.NetType = null;
3385
3385
 
3386
+ /**
3387
+ * Subnet ID
3388
+ Note: This field may return null, indicating that no valid values can be obtained.
3389
+ * @type {string || null}
3390
+ */
3391
+ this.UniqSubnetId = null;
3392
+
3393
+ /**
3394
+ * VPC ID
3395
+ Note: This field may return null, indicating that no valid values can be obtained.
3396
+ * @type {string || null}
3397
+ */
3398
+ this.UniqVpcId = null;
3399
+
3400
+ /**
3401
+ * Description
3402
+ Note: This field may return null, indicating that no valid values can be obtained.
3403
+ * @type {string || null}
3404
+ */
3405
+ this.Description = null;
3406
+
3386
3407
  }
3387
3408
 
3388
3409
  /**
@@ -3397,6 +3418,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3397
3418
  this.WanDomain = 'WanDomain' in params ? params.WanDomain : null;
3398
3419
  this.WanPort = 'WanPort' in params ? params.WanPort : null;
3399
3420
  this.NetType = 'NetType' in params ? params.NetType : null;
3421
+ this.UniqSubnetId = 'UniqSubnetId' in params ? params.UniqSubnetId : null;
3422
+ this.UniqVpcId = 'UniqVpcId' in params ? params.UniqVpcId : null;
3423
+ this.Description = 'Description' in params ? params.Description : null;
3400
3424
 
3401
3425
  }
3402
3426
  }
@@ -239,6 +239,41 @@ Note: this field will take effect only when `SignPurpose` is 1 (for user by othe
239
239
  }
240
240
  }
241
241
 
242
+ /**
243
+ * Response for conversion rate reporting
244
+ * @class
245
+ */
246
+ class ReportConversionStatus extends AbstractModel {
247
+ constructor(){
248
+ super();
249
+
250
+ /**
251
+ * Error code. `ok` is returned if the conversion rate is successfully reported.
252
+ * @type {string || null}
253
+ */
254
+ this.Code = null;
255
+
256
+ /**
257
+ * Error code description.
258
+ * @type {string || null}
259
+ */
260
+ this.Message = null;
261
+
262
+ }
263
+
264
+ /**
265
+ * @private
266
+ */
267
+ deserialize(params) {
268
+ if (!params) {
269
+ return;
270
+ }
271
+ this.Code = 'Code' in params ? params.Code : null;
272
+ this.Message = 'Message' in params ? params.Message : null;
273
+
274
+ }
275
+ }
276
+
242
277
  /**
243
278
  * AddSmsSign request structure.
244
279
  * @class
@@ -505,6 +540,46 @@ Note: this parameter is currently fixed at 0.
505
540
  }
506
541
  }
507
542
 
543
+ /**
544
+ * ReportConversion response structure.
545
+ * @class
546
+ */
547
+ class ReportConversionResponse extends AbstractModel {
548
+ constructor(){
549
+ super();
550
+
551
+ /**
552
+ * Response packet for conversion rate reporting.
553
+ * @type {ReportConversionStatus || null}
554
+ */
555
+ this.ReportConversionStatus = null;
556
+
557
+ /**
558
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
559
+ * @type {string || null}
560
+ */
561
+ this.RequestId = null;
562
+
563
+ }
564
+
565
+ /**
566
+ * @private
567
+ */
568
+ deserialize(params) {
569
+ if (!params) {
570
+ return;
571
+ }
572
+
573
+ if (params.ReportConversionStatus) {
574
+ let obj = new ReportConversionStatus();
575
+ obj.deserialize(params.ReportConversionStatus)
576
+ this.ReportConversionStatus = obj;
577
+ }
578
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
579
+
580
+ }
581
+ }
582
+
508
583
  /**
509
584
  * AddSmsTemplate request structure.
510
585
  * @class
@@ -1013,14 +1088,13 @@ For example, +8613711112222, which has a + sign followed by 86 (country/region c
1013
1088
  this.SmsSdkAppId = null;
1014
1089
 
1015
1090
  /**
1016
- * Template ID. You must enter the ID of an approved template, which can be viewed on the [Chinese Mainland SMS](https://console.cloud.tencent.com/smsv2/csms-template) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-template) body template management page. If you need to send SMS messages to global mobile numbers, you can only use a Global SMS template.
1091
+ * Template ID, which can be viewed on the **Body Templates** page in [Global SMS](https://console.cloud.tencent.com/smsv2/isms-template). You must enter the ID of an approved template.
1017
1092
  * @type {string || null}
1018
1093
  */
1019
1094
  this.TemplateId = null;
1020
1095
 
1021
1096
  /**
1022
- * Content of the SMS signature, which should be encoded in UTF-8. You must enter an approved signature, such as Tencent Cloud. The signature information can be viewed on the [Chinese Mainland SMS](https://console.cloud.tencent.com/smsv2/csms-sign) or [Global SMS](https://console.cloud.tencent.com/smsv2/isms-sign) signature management page.
1023
- <dx-alert infotype="notice" title="Note">This parameter is required for Chinese Mainland SMS.</dx-alert>
1097
+ * SMS signature information which is encoded in UTF-8. You must enter an approved signature (such as Tencent Cloud). The signing information can be viewed on the **Signatures** page in [Global SMS](https://console.cloud.tencent.com/smsv2/isms-sign).
1024
1098
  * @type {string || null}
1025
1099
  */
1026
1100
  this.SignName = null;
@@ -1045,8 +1119,8 @@ For example, +8613711112222, which has a + sign followed by 86 (country/region c
1045
1119
  this.SessionContext = null;
1046
1120
 
1047
1121
  /**
1048
- * This parameter is not required for Chinese Mainland SMS. For Global SMS, if you have applied for a separate `SenderId`, this parameter is required. By default, the public `SenderId` is used, in which case you don't need to enter this parameter.
1049
- Note: if your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1122
+ * For Global SMS, if you have applied for a separate `SenderId`, this parameter is required. By default, the public `SenderId` is used, in which case you don't need to enter this parameter.
1123
+ Note: If your monthly usage reaches the specified threshold, you can apply for an independent `SenderId`. For more information, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
1050
1124
  * @type {string || null}
1051
1125
  */
1052
1126
  this.SenderId = null;
@@ -2141,6 +2215,48 @@ class ModifySmsSignResponse extends AbstractModel {
2141
2215
  }
2142
2216
  }
2143
2217
 
2218
+ /**
2219
+ * ReportConversion request structure.
2220
+ * @class
2221
+ */
2222
+ class ReportConversionRequest extends AbstractModel {
2223
+ constructor(){
2224
+ super();
2225
+
2226
+ /**
2227
+ * The SMS SdkAppId generated after an application is created in the [SMS console](https://console.cloud.tencent.com/smsv2/app-manage), such as “1400006666”.
2228
+ * @type {string || null}
2229
+ */
2230
+ this.SmsSdkAppId = null;
2231
+
2232
+ /**
2233
+ * The serial number returned for a message sent.
2234
+ * @type {string || null}
2235
+ */
2236
+ this.SerialNo = null;
2237
+
2238
+ /**
2239
+ * The recipient’s reply time in seconds in the format of UNIX timestamp.
2240
+ * @type {number || null}
2241
+ */
2242
+ this.ConversionTime = null;
2243
+
2244
+ }
2245
+
2246
+ /**
2247
+ * @private
2248
+ */
2249
+ deserialize(params) {
2250
+ if (!params) {
2251
+ return;
2252
+ }
2253
+ this.SmsSdkAppId = 'SmsSdkAppId' in params ? params.SmsSdkAppId : null;
2254
+ this.SerialNo = 'SerialNo' in params ? params.SerialNo : null;
2255
+ this.ConversionTime = 'ConversionTime' in params ? params.ConversionTime : null;
2256
+
2257
+ }
2258
+ }
2259
+
2144
2260
  /**
2145
2261
  * Signature addition response
2146
2262
  * @class
@@ -2323,11 +2439,13 @@ module.exports = {
2323
2439
  DeleteSmsTemplateResponse: DeleteSmsTemplateResponse,
2324
2440
  ModifySmsTemplateResponse: ModifySmsTemplateResponse,
2325
2441
  ModifySmsSignRequest: ModifySmsSignRequest,
2442
+ ReportConversionStatus: ReportConversionStatus,
2326
2443
  AddSmsSignRequest: AddSmsSignRequest,
2327
2444
  AddTemplateStatus: AddTemplateStatus,
2328
2445
  DescribeSmsTemplateListResponse: DescribeSmsTemplateListResponse,
2329
2446
  DescribePhoneNumberInfoRequest: DescribePhoneNumberInfoRequest,
2330
2447
  PullSmsSendStatusByPhoneNumberRequest: PullSmsSendStatusByPhoneNumberRequest,
2448
+ ReportConversionResponse: ReportConversionResponse,
2331
2449
  AddSmsTemplateRequest: AddSmsTemplateRequest,
2332
2450
  ModifySmsTemplateRequest: ModifySmsTemplateRequest,
2333
2451
  PullSmsReplyStatus: PullSmsReplyStatus,
@@ -2360,6 +2478,7 @@ module.exports = {
2360
2478
  DeleteSmsSignRequest: DeleteSmsSignRequest,
2361
2479
  PullSmsReplyStatusByPhoneNumberRequest: PullSmsReplyStatusByPhoneNumberRequest,
2362
2480
  ModifySmsSignResponse: ModifySmsSignResponse,
2481
+ ReportConversionRequest: ReportConversionRequest,
2363
2482
  AddSignStatus: AddSignStatus,
2364
2483
  ModifyTemplateStatus: ModifyTemplateStatus,
2365
2484
  PullSmsSendStatusResponse: PullSmsSendStatusResponse,
@@ -20,11 +20,13 @@ const PullSmsReplyStatusRequest = models.PullSmsReplyStatusRequest;
20
20
  const DeleteSmsTemplateResponse = models.DeleteSmsTemplateResponse;
21
21
  const ModifySmsTemplateResponse = models.ModifySmsTemplateResponse;
22
22
  const ModifySmsSignRequest = models.ModifySmsSignRequest;
23
+ const ReportConversionStatus = models.ReportConversionStatus;
23
24
  const AddSmsSignRequest = models.AddSmsSignRequest;
24
25
  const AddTemplateStatus = models.AddTemplateStatus;
25
26
  const DescribeSmsTemplateListResponse = models.DescribeSmsTemplateListResponse;
26
27
  const DescribePhoneNumberInfoRequest = models.DescribePhoneNumberInfoRequest;
27
28
  const PullSmsSendStatusByPhoneNumberRequest = models.PullSmsSendStatusByPhoneNumberRequest;
29
+ const ReportConversionResponse = models.ReportConversionResponse;
28
30
  const AddSmsTemplateRequest = models.AddSmsTemplateRequest;
29
31
  const ModifySmsTemplateRequest = models.ModifySmsTemplateRequest;
30
32
  const PullSmsReplyStatus = models.PullSmsReplyStatus;
@@ -57,6 +59,7 @@ const AddSmsSignResponse = models.AddSmsSignResponse;
57
59
  const DeleteSmsSignRequest = models.DeleteSmsSignRequest;
58
60
  const PullSmsReplyStatusByPhoneNumberRequest = models.PullSmsReplyStatusByPhoneNumberRequest;
59
61
  const ModifySmsSignResponse = models.ModifySmsSignResponse;
62
+ const ReportConversionRequest = models.ReportConversionRequest;
60
63
  const AddSignStatus = models.AddSignStatus;
61
64
  const ModifyTemplateStatus = models.ModifyTemplateStatus;
62
65
  const PullSmsSendStatusResponse = models.PullSmsSendStatusResponse;
@@ -232,6 +235,18 @@ Currently, you can also [configure the callback](https://intl.cloud.tencent.com/
232
235
  this.request("PullSmsSendStatusByPhoneNumber", req, resp, cb);
233
236
  }
234
237
 
238
+ /**
239
+ * This API is used to report the SMS conversion rate (SMS conversion rate = the number of returned verification codes / the number of verification codes sent) and report the serial numbers of received SMS messages to Tencent Cloud SMS.
240
+ >- Note: To call this API, you need to be added to the allowlist first. If you have any questions, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
241
+ * @param {ReportConversionRequest} req
242
+ * @param {function(string, ReportConversionResponse):void} cb
243
+ * @public
244
+ */
245
+ ReportConversion(req, cb) {
246
+ let resp = new ReportConversionResponse();
247
+ this.request("ReportConversion", req, resp, cb);
248
+ }
249
+
235
250
  /**
236
251
  * 1. This API is used to modify an SMS body template. Please read the [Tencent Cloud SMS Body Template Review Standards](https://intl.cloud.tencent.com/document/product/382/39023?from_cn_redirect=1) before making a modification.
237
252
  2. ⚠️ Note: individual users cannot use this API to modify SMS body templates. For more information, please see [Identity Verification Overview](https://intl.cloud.tencent.com/document/product/378/3629?from_cn_redirect=1). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to modify SMS body templates.
@@ -144,6 +144,18 @@ class CreateDBInstancesRequest extends AbstractModel {
144
144
  */
145
145
  this.ResourceTags = null;
146
146
 
147
+ /**
148
+ * Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
149
+ * @type {string || null}
150
+ */
151
+ this.Collation = null;
152
+
153
+ /**
154
+ * System time zone. Default value: `China Standard Time`.
155
+ * @type {string || null}
156
+ */
157
+ this.TimeZone = null;
158
+
147
159
  }
148
160
 
149
161
  /**
@@ -181,6 +193,8 @@ class CreateDBInstancesRequest extends AbstractModel {
181
193
  this.ResourceTags.push(obj);
182
194
  }
183
195
  }
196
+ this.Collation = 'Collation' in params ? params.Collation : null;
197
+ this.TimeZone = 'TimeZone' in params ? params.TimeZone : null;
184
198
 
185
199
  }
186
200
  }
@@ -5513,13 +5527,13 @@ Note: This field may return `null`, indicating that no valid values can be obtai
5513
5527
  this.TgwWanVPort = null;
5514
5528
 
5515
5529
  /**
5516
- *
5530
+ * Collation of system character sets. Default value: `Chinese_PRC_CI_AS`.
5517
5531
  * @type {string || null}
5518
5532
  */
5519
5533
  this.Collation = null;
5520
5534
 
5521
5535
  /**
5522
- *
5536
+ * System time zone. Default value: `China Standard Time`.
5523
5537
  * @type {string || null}
5524
5538
  */
5525
5539
  this.TimeZone = null;