tencentcloud-sdk-nodejs-intl-en 3.0.1180 → 3.0.1182

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.1180",
3
+ "version": "3.0.1182",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,13 +33,14 @@ const DescribeCostSummaryByResourceResponse = models.DescribeCostSummaryByResour
33
33
  const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
34
34
  const AdjustInfoDetail = models.AdjustInfoDetail;
35
35
  const ConsumptionRegionSummaryDataItem = models.ConsumptionRegionSummaryDataItem;
36
+ const BusinessSummaryInfo = models.BusinessSummaryInfo;
36
37
  const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
37
38
  const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
38
39
  const DistributionBillDetail = models.DistributionBillDetail;
39
40
  const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
40
41
  const DescribeBillAdjustInfoResponse = models.DescribeBillAdjustInfoResponse;
41
42
  const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
42
- const BusinessSummaryInfo = models.BusinessSummaryInfo;
43
+ const DescribeAllocationUnitDetailResponse = models.DescribeAllocationUnitDetailResponse;
43
44
  const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
44
45
  const DescribeVoucherUsageDetailsResponse = models.DescribeVoucherUsageDetailsResponse;
45
46
  const ConsumptionSummaryTotal = models.ConsumptionSummaryTotal;
@@ -80,6 +81,7 @@ const AnalyseTimeDetail = models.AnalyseTimeDetail;
80
81
  const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
81
82
  const ConsumptionProjectSummaryDataItem = models.ConsumptionProjectSummaryDataItem;
82
83
  const AnalyseRegionDetail = models.AnalyseRegionDetail;
84
+ const DescribeAllocationUnitDetailRequest = models.DescribeAllocationUnitDetailRequest;
83
85
  const DescribeBillSummaryForOrganizationRequest = models.DescribeBillSummaryForOrganizationRequest;
84
86
  const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
85
87
  const DescribeBillDetailForOrganizationRequest = models.DescribeBillDetailForOrganizationRequest;
@@ -307,6 +309,17 @@ Note: The API request may fail due to network instability or other exceptions. I
307
309
  this.request("DescribeAccountBalance", req, resp, cb);
308
310
  }
309
311
 
312
+ /**
313
+ * Query the details of a cost allocation unit.
314
+ * @param {DescribeAllocationUnitDetailRequest} req
315
+ * @param {function(string, DescribeAllocationUnitDetailResponse):void} cb
316
+ * @public
317
+ */
318
+ DescribeAllocationUnitDetail(req, cb) {
319
+ let resp = new DescribeAllocationUnitDetailResponse();
320
+ this.request("DescribeAllocationUnitDetail", req, resp, cb);
321
+ }
322
+
310
323
  /**
311
324
  * This API is used to check whether the current UIN has any adjustment, enabling customers to proactively obtain the adjustment status faster.
312
325
  * @param {DescribeBillAdjustInfoRequest} req
@@ -1026,6 +1026,84 @@ Note: This field may return null, indicating that no valid values can be obtaine
1026
1026
  }
1027
1027
  }
1028
1028
 
1029
+ /**
1030
+ * Detailed summary of products
1031
+ * @class
1032
+ */
1033
+ class BusinessSummaryInfo extends AbstractModel {
1034
+ constructor(){
1035
+ super();
1036
+
1037
+ /**
1038
+ * Product code
1039
+ * @type {string || null}
1040
+ */
1041
+ this.BusinessCode = null;
1042
+
1043
+ /**
1044
+ * Product name: The name of a Tencent Cloud product purchased by the user, such as CVM.
1045
+ * @type {string || null}
1046
+ */
1047
+ this.BusinessCodeName = null;
1048
+
1049
+ /**
1050
+ * Original cost in USD. This parameter became valid when Bill 3.0 took effect in May 2021. Before that, `-` was returned for this parameter. If a customer has applied for a contract price different from the prices listed on the official website, `-` will also be returned for this parameter.
1051
+ Note: This field may return null, indicating that no valid values can be obtained.
1052
+ * @type {string || null}
1053
+ */
1054
+ this.TotalCost = null;
1055
+
1056
+ /**
1057
+ * Total amount after discount
1058
+ * @type {string || null}
1059
+ */
1060
+ this.RealTotalCost = null;
1061
+
1062
+ /**
1063
+ * Cash credit: The amount paid from the user’s cash account
1064
+ * @type {string || null}
1065
+ */
1066
+ this.CashPayAmount = null;
1067
+
1068
+ /**
1069
+ * Free credit: The amount paid with the user’s free credit
1070
+ * @type {string || null}
1071
+ */
1072
+ this.IncentivePayAmount = null;
1073
+
1074
+ /**
1075
+ * Voucher payment: The voucher deduction amount
1076
+ * @type {string || null}
1077
+ */
1078
+ this.VoucherPayAmount = null;
1079
+
1080
+ /**
1081
+ * Commission credit: The amount paid with the user’s commission credit. Note: This field may return null, indicating that no valid values can be obtained.
1082
+ * @type {string || null}
1083
+ */
1084
+ this.TransferPayAmount = null;
1085
+
1086
+ }
1087
+
1088
+ /**
1089
+ * @private
1090
+ */
1091
+ deserialize(params) {
1092
+ if (!params) {
1093
+ return;
1094
+ }
1095
+ this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
1096
+ this.BusinessCodeName = 'BusinessCodeName' in params ? params.BusinessCodeName : null;
1097
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
1098
+ this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
1099
+ this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
1100
+ this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
1101
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
1102
+ this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
1103
+
1104
+ }
1105
+ }
1106
+
1029
1107
  /**
1030
1108
  * DescribeBillSummary request structure.
1031
1109
  * @class
@@ -1764,61 +1842,72 @@ Note: This field may return null, indicating that no valid values can be obtaine
1764
1842
  }
1765
1843
 
1766
1844
  /**
1767
- * Detailed summary of products
1845
+ * DescribeAllocationUnitDetail response structure.
1768
1846
  * @class
1769
1847
  */
1770
- class BusinessSummaryInfo extends AbstractModel {
1848
+ class DescribeAllocationUnitDetailResponse extends AbstractModel {
1771
1849
  constructor(){
1772
1850
  super();
1773
1851
 
1774
1852
  /**
1775
- * Product code
1776
- * @type {string || null}
1853
+ * ID of a cost allocation unit.
1854
+ * @type {number || null}
1777
1855
  */
1778
- this.BusinessCode = null;
1856
+ this.Id = null;
1779
1857
 
1780
1858
  /**
1781
- * Product name: The name of a Tencent Cloud product purchased by the user, such as CVM.
1859
+ * Associated UIN of the cost allocation unit.
1782
1860
  * @type {string || null}
1783
1861
  */
1784
- this.BusinessCodeName = null;
1862
+ this.Uin = null;
1785
1863
 
1786
1864
  /**
1787
- * Original cost in USD. This parameter became valid when Bill 3.0 took effect in May 2021. Before that, `-` was returned for this parameter. If a customer has applied for a contract price different from the prices listed on the official website, `-` will also be returned for this parameter.
1788
- Note: This field may return null, indicating that no valid values can be obtained.
1865
+ * Specifies the name of a cost allocation unit.
1789
1866
  * @type {string || null}
1790
1867
  */
1791
- this.TotalCost = null;
1868
+ this.Name = null;
1792
1869
 
1793
1870
  /**
1794
- * Total amount after discount
1871
+ * Cost allocation unit parent node ID.
1872
+ * @type {number || null}
1873
+ */
1874
+ this.ParentId = null;
1875
+
1876
+ /**
1877
+ * Source organization name.
1795
1878
  * @type {string || null}
1796
1879
  */
1797
- this.RealTotalCost = null;
1880
+ this.SourceName = null;
1798
1881
 
1799
1882
  /**
1800
- * Cash credit: The amount paid from the user’s cash account
1883
+ * Source organization ID.
1801
1884
  * @type {string || null}
1802
1885
  */
1803
- this.CashPayAmount = null;
1886
+ this.SourceId = null;
1804
1887
 
1805
1888
  /**
1806
- * Free credit: The amount paid with the user’s free credit
1889
+ * Specifies remark description.
1807
1890
  * @type {string || null}
1808
1891
  */
1809
- this.IncentivePayAmount = null;
1892
+ this.Remark = null;
1810
1893
 
1811
1894
  /**
1812
- * Voucher payment: The voucher deduction amount
1895
+ * Cost allocation unit identifier.
1813
1896
  * @type {string || null}
1814
1897
  */
1815
- this.VoucherPayAmount = null;
1898
+ this.TreeNodeUniqKey = null;
1816
1899
 
1817
1900
  /**
1818
- * Commission credit: The amount paid with the user’s commission credit. Note: This field may return null, indicating that no valid values can be obtained.
1901
+ * If a cost allocation unit is set with an collection rule, return the collection rule ID. if no collection rule is set, do not return.
1902
+ * @type {number || null}
1903
+ */
1904
+ this.RuleId = null;
1905
+
1906
+ /**
1907
+ * 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.
1819
1908
  * @type {string || null}
1820
1909
  */
1821
- this.TransferPayAmount = null;
1910
+ this.RequestId = null;
1822
1911
 
1823
1912
  }
1824
1913
 
@@ -1829,14 +1918,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
1829
1918
  if (!params) {
1830
1919
  return;
1831
1920
  }
1832
- this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
1833
- this.BusinessCodeName = 'BusinessCodeName' in params ? params.BusinessCodeName : null;
1834
- this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
1835
- this.RealTotalCost = 'RealTotalCost' in params ? params.RealTotalCost : null;
1836
- this.CashPayAmount = 'CashPayAmount' in params ? params.CashPayAmount : null;
1837
- this.IncentivePayAmount = 'IncentivePayAmount' in params ? params.IncentivePayAmount : null;
1838
- this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
1839
- this.TransferPayAmount = 'TransferPayAmount' in params ? params.TransferPayAmount : null;
1921
+ this.Id = 'Id' in params ? params.Id : null;
1922
+ this.Uin = 'Uin' in params ? params.Uin : null;
1923
+ this.Name = 'Name' in params ? params.Name : null;
1924
+ this.ParentId = 'ParentId' in params ? params.ParentId : null;
1925
+ this.SourceName = 'SourceName' in params ? params.SourceName : null;
1926
+ this.SourceId = 'SourceId' in params ? params.SourceId : null;
1927
+ this.Remark = 'Remark' in params ? params.Remark : null;
1928
+ this.TreeNodeUniqKey = 'TreeNodeUniqKey' in params ? params.TreeNodeUniqKey : null;
1929
+ this.RuleId = 'RuleId' in params ? params.RuleId : null;
1930
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1840
1931
 
1841
1932
  }
1842
1933
  }
@@ -4601,6 +4692,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
4601
4692
  }
4602
4693
  }
4603
4694
 
4695
+ /**
4696
+ * DescribeAllocationUnitDetail request structure.
4697
+ * @class
4698
+ */
4699
+ class DescribeAllocationUnitDetailRequest extends AbstractModel {
4700
+ constructor(){
4701
+ super();
4702
+
4703
+ /**
4704
+ * ID of the queried cost allocation unit.
4705
+ * @type {number || null}
4706
+ */
4707
+ this.Id = null;
4708
+
4709
+ /**
4710
+ * Month, the current month by default if not provided.
4711
+ * @type {string || null}
4712
+ */
4713
+ this.Month = null;
4714
+
4715
+ }
4716
+
4717
+ /**
4718
+ * @private
4719
+ */
4720
+ deserialize(params) {
4721
+ if (!params) {
4722
+ return;
4723
+ }
4724
+ this.Id = 'Id' in params ? params.Id : null;
4725
+ this.Month = 'Month' in params ? params.Month : null;
4726
+
4727
+ }
4728
+ }
4729
+
4604
4730
  /**
4605
4731
  * DescribeBillSummaryForOrganization request structure.
4606
4732
  * @class
@@ -8549,13 +8675,14 @@ module.exports = {
8549
8675
  DescribeBillSummaryByRegionRequest: DescribeBillSummaryByRegionRequest,
8550
8676
  AdjustInfoDetail: AdjustInfoDetail,
8551
8677
  ConsumptionRegionSummaryDataItem: ConsumptionRegionSummaryDataItem,
8678
+ BusinessSummaryInfo: BusinessSummaryInfo,
8552
8679
  DescribeBillSummaryRequest: DescribeBillSummaryRequest,
8553
8680
  DescribeBillResourceSummaryResponse: DescribeBillResourceSummaryResponse,
8554
8681
  DistributionBillDetail: DistributionBillDetail,
8555
8682
  DescribeDosageCosDetailByDateRequest: DescribeDosageCosDetailByDateRequest,
8556
8683
  DescribeBillAdjustInfoResponse: DescribeBillAdjustInfoResponse,
8557
8684
  BillDistributionResourceSummary: BillDistributionResourceSummary,
8558
- BusinessSummaryInfo: BusinessSummaryInfo,
8685
+ DescribeAllocationUnitDetailResponse: DescribeAllocationUnitDetailResponse,
8559
8686
  DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
8560
8687
  DescribeVoucherUsageDetailsResponse: DescribeVoucherUsageDetailsResponse,
8561
8688
  ConsumptionSummaryTotal: ConsumptionSummaryTotal,
@@ -8596,6 +8723,7 @@ module.exports = {
8596
8723
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
8597
8724
  ConsumptionProjectSummaryDataItem: ConsumptionProjectSummaryDataItem,
8598
8725
  AnalyseRegionDetail: AnalyseRegionDetail,
8726
+ DescribeAllocationUnitDetailRequest: DescribeAllocationUnitDetailRequest,
8599
8727
  DescribeBillSummaryForOrganizationRequest: DescribeBillSummaryForOrganizationRequest,
8600
8728
  ActionSummaryOverviewItem: ActionSummaryOverviewItem,
8601
8729
  DescribeBillDetailForOrganizationRequest: DescribeBillDetailForOrganizationRequest,
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1180";
1
+ const sdkVersion = "3.0.1182";
2
2
  module.exports = sdkVersion