tencentcloud-sdk-nodejs-intl-en 3.0.1098 → 3.0.1099

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.1098",
3
+ "version": "3.0.1099",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1098";
1
+ const sdkVersion = "3.0.1099";
2
2
  module.exports = sdkVersion
@@ -319,7 +319,7 @@ class DeleteDisasterRecoverGroupsRequest extends AbstractModel {
319
319
  super();
320
320
 
321
321
  /**
322
- * ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 100 spread placement groups in each request.
322
+ * ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 10 spread placement groups in each request.
323
323
  * @type {Array.<string> || null}
324
324
  */
325
325
  this.DisasterRecoverGroupIds = null;
@@ -3270,7 +3270,7 @@ class DescribeDisasterRecoverGroupsRequest extends AbstractModel {
3270
3270
  super();
3271
3271
 
3272
3272
  /**
3273
- * ID list of spread placement groups. You can operate up to 100 spread placement groups in each request.
3273
+ * ID list of spread placement groups. You can operate up to 10 spread placement groups in each request.
3274
3274
  * @type {Array.<string> || null}
3275
3275
  */
3276
3276
  this.DisasterRecoverGroupIds = null;
@@ -38,6 +38,7 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
38
38
  const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
39
39
  const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
40
40
  const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
41
+ const DescribeCustomerBillDownloadUrlResponse = models.DescribeCustomerBillDownloadUrlResponse;
41
42
  const QueryPolicyProductListByCodeRequest = models.QueryPolicyProductListByCodeRequest;
42
43
  const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
43
44
  const CreateAndSendClientInvitationMailResponse = models.CreateAndSendClientInvitationMailResponse;
@@ -49,6 +50,7 @@ const GetCountryCodesResponse = models.GetCountryCodesResponse;
49
50
  const QueryCreditByUinListResponse = models.QueryCreditByUinListResponse;
50
51
  const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
51
52
  const QueryVoucherAmountByUinResponse = models.QueryVoucherAmountByUinResponse;
53
+ const DescribeCustomerBillDownloadUrlRequest = models.DescribeCustomerBillDownloadUrlRequest;
52
54
  const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
53
55
  const DescribeCustomerUinData = models.DescribeCustomerUinData;
54
56
  const DescribeCustomerUinResponse = models.DescribeCustomerUinResponse;
@@ -316,14 +318,27 @@ Note:This API is used to manually send the invitation link to the customer if th
316
318
  }
317
319
 
318
320
  /**
319
- * This API is used to obtain the total amount of customer bills by product.
320
- * @param {DescribeBillSummaryByProductRequest} req
321
- * @param {function(string, DescribeBillSummaryByProductResponse):void} cb
321
+ * This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
322
+ 1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
323
+ 2. Bill packages (billDetailPack and billResourcePack) can only be downloaded after billing.
324
+ * @param {DescribeCustomerBillDownloadUrlRequest} req
325
+ * @param {function(string, DescribeCustomerBillDownloadUrlResponse):void} cb
322
326
  * @public
323
327
  */
324
- DescribeBillSummaryByProduct(req, cb) {
325
- let resp = new DescribeBillSummaryByProductResponse();
326
- this.request("DescribeBillSummaryByProduct", req, resp, cb);
328
+ DescribeCustomerBillDownloadUrl(req, cb) {
329
+ let resp = new DescribeCustomerBillDownloadUrlResponse();
330
+ this.request("DescribeCustomerBillDownloadUrl", req, resp, cb);
331
+ }
332
+
333
+ /**
334
+ * This API is used for a partner to the credits and basic information of cutomers.
335
+ * @param {QueryCustomersCreditRequest} req
336
+ * @param {function(string, QueryCustomersCreditResponse):void} cb
337
+ * @public
338
+ */
339
+ QueryCustomersCredit(req, cb) {
340
+ let resp = new QueryCustomersCreditResponse();
341
+ this.request("QueryCustomersCredit", req, resp, cb);
327
342
  }
328
343
 
329
344
  /**
@@ -427,14 +442,14 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
427
442
  }
428
443
 
429
444
  /**
430
- * This API is used for a partner to the credits and basic information of cutomers.
431
- * @param {QueryCustomersCreditRequest} req
432
- * @param {function(string, QueryCustomersCreditResponse):void} cb
445
+ * This API is used to obtain the total amount of customer bills by product.
446
+ * @param {DescribeBillSummaryByProductRequest} req
447
+ * @param {function(string, DescribeBillSummaryByProductResponse):void} cb
433
448
  * @public
434
449
  */
435
- QueryCustomersCredit(req, cb) {
436
- let resp = new QueryCustomersCreditResponse();
437
- this.request("QueryCustomersCredit", req, resp, cb);
450
+ DescribeBillSummaryByProduct(req, cb) {
451
+ let resp = new DescribeBillSummaryByProductResponse();
452
+ this.request("DescribeBillSummaryByProduct", req, resp, cb);
438
453
  }
439
454
 
440
455
 
@@ -923,6 +923,48 @@ class QueryCustomersCreditRequest extends AbstractModel {
923
923
  }
924
924
  }
925
925
 
926
+ /**
927
+ * DescribeCustomerBillDownloadUrl response structure.
928
+ * @class
929
+ */
930
+ class DescribeCustomerBillDownloadUrlResponse extends AbstractModel {
931
+ constructor(){
932
+ super();
933
+
934
+ /**
935
+ * File download link, with a file validity period of 1 hour.
936
+ * @type {string || null}
937
+ */
938
+ this.DownloadUrl = null;
939
+
940
+ /**
941
+ * File generation status. 0: generating; 1: generated.
942
+ * @type {number || null}
943
+ */
944
+ this.Ready = null;
945
+
946
+ /**
947
+ * 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.
948
+ * @type {string || null}
949
+ */
950
+ this.RequestId = null;
951
+
952
+ }
953
+
954
+ /**
955
+ * @private
956
+ */
957
+ deserialize(params) {
958
+ if (!params) {
959
+ return;
960
+ }
961
+ this.DownloadUrl = 'DownloadUrl' in params ? params.DownloadUrl : null;
962
+ this.Ready = 'Ready' in params ? params.Ready : null;
963
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
964
+
965
+ }
966
+ }
967
+
926
968
  /**
927
969
  * QueryPolicyProductListByCode request structure.
928
970
  * @class
@@ -1654,6 +1696,62 @@ class QueryVoucherAmountByUinResponse extends AbstractModel {
1654
1696
  }
1655
1697
  }
1656
1698
 
1699
+ /**
1700
+ * DescribeCustomerBillDownloadUrl request structure.
1701
+ * @class
1702
+ */
1703
+ class DescribeCustomerBillDownloadUrlRequest extends AbstractModel {
1704
+ constructor(){
1705
+ super();
1706
+
1707
+ /**
1708
+ * The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month.
1709
+ * @type {string || null}
1710
+ */
1711
+ this.Month = null;
1712
+
1713
+ /**
1714
+ * Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package.
1715
+ * @type {string || null}
1716
+ */
1717
+ this.FileType = null;
1718
+
1719
+ /**
1720
+ * Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers
1721
+ * @type {string || null}
1722
+ */
1723
+ this.CustomerUinType = null;
1724
+
1725
+ /**
1726
+ * Language. valid values: [zh_cn, en]. default is `en` (english).
1727
+ * @type {string || null}
1728
+ */
1729
+ this.FileLanguage = null;
1730
+
1731
+ /**
1732
+ * Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed
1733
+ * @type {number || null}
1734
+ */
1735
+ this.CustomerUin = null;
1736
+
1737
+ }
1738
+
1739
+ /**
1740
+ * @private
1741
+ */
1742
+ deserialize(params) {
1743
+ if (!params) {
1744
+ return;
1745
+ }
1746
+ this.Month = 'Month' in params ? params.Month : null;
1747
+ this.FileType = 'FileType' in params ? params.FileType : null;
1748
+ this.CustomerUinType = 'CustomerUinType' in params ? params.CustomerUinType : null;
1749
+ this.FileLanguage = 'FileLanguage' in params ? params.FileLanguage : null;
1750
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
1751
+
1752
+ }
1753
+ }
1754
+
1657
1755
  /**
1658
1756
  * Product details in the customer bill data totaled by product
1659
1757
  * @class
@@ -4084,6 +4182,7 @@ module.exports = {
4084
4182
  DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
4085
4183
  DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
4086
4184
  QueryCustomersCreditRequest: QueryCustomersCreditRequest,
4185
+ DescribeCustomerBillDownloadUrlResponse: DescribeCustomerBillDownloadUrlResponse,
4087
4186
  QueryPolicyProductListByCodeRequest: QueryPolicyProductListByCodeRequest,
4088
4187
  DescribeBillDetailRequest: DescribeBillDetailRequest,
4089
4188
  CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
@@ -4095,6 +4194,7 @@ module.exports = {
4095
4194
  QueryCreditByUinListResponse: QueryCreditByUinListResponse,
4096
4195
  DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
4097
4196
  QueryVoucherAmountByUinResponse: QueryVoucherAmountByUinResponse,
4197
+ DescribeCustomerBillDownloadUrlRequest: DescribeCustomerBillDownloadUrlRequest,
4098
4198
  BusinessSummaryOverviewItem: BusinessSummaryOverviewItem,
4099
4199
  DescribeCustomerUinData: DescribeCustomerUinData,
4100
4200
  DescribeCustomerUinResponse: DescribeCustomerUinResponse,