tencentcloud-sdk-nodejs-billing 4.0.301 → 4.0.304
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/CHANGELOG.md +311 -0
- package/SERVICE_CHANGELOG.md +362 -74
- package/package.json +1 -1
- package/products.md +22 -21
- package/src/services/billing/v20180709/billing_client.ts +31 -2
- package/src/services/billing/v20180709/billing_models.ts +334 -47
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +9 -1
- package/tencentcloud/services/billing/v20180709/billing_client.js +12 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +282 -42
|
@@ -80,6 +80,68 @@ export interface CostComponentSet {
|
|
|
80
80
|
IncentivePayAmount: string
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* 代金券相关信息
|
|
85
|
+
*/
|
|
86
|
+
export interface VoucherInfos {
|
|
87
|
+
/**
|
|
88
|
+
* 代金券拥有者
|
|
89
|
+
*/
|
|
90
|
+
OwnerUin: string
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
94
|
+
*/
|
|
95
|
+
Status: string
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 代金券面额(微分)
|
|
99
|
+
*/
|
|
100
|
+
NominalValue: number
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* 剩余金额(微分)
|
|
104
|
+
*/
|
|
105
|
+
Balance: number
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* 代金券id
|
|
109
|
+
*/
|
|
110
|
+
VoucherId: string
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
|
|
114
|
+
*/
|
|
115
|
+
PayMode: string
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
119
|
+
*/
|
|
120
|
+
PayScene: string
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* 有效期生效时间
|
|
124
|
+
*/
|
|
125
|
+
BeginTime: string
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 有效期截止时间
|
|
129
|
+
*/
|
|
130
|
+
EndTime: string
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 适用商品信息
|
|
134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
135
|
+
*/
|
|
136
|
+
ApplicableProducts: ApplicableProducts
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 不适用商品信息
|
|
140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
141
|
+
*/
|
|
142
|
+
ExcludedProducts: Array<ExcludedProducts>
|
|
143
|
+
}
|
|
144
|
+
|
|
83
145
|
/**
|
|
84
146
|
* DescribeCostSummaryByProduct请求参数结构体
|
|
85
147
|
*/
|
|
@@ -895,54 +957,29 @@ export interface BillTransactionInfo {
|
|
|
895
957
|
}
|
|
896
958
|
|
|
897
959
|
/**
|
|
898
|
-
*
|
|
960
|
+
* DescribeVoucherInfo返回参数结构体
|
|
899
961
|
*/
|
|
900
|
-
export interface
|
|
901
|
-
/**
|
|
902
|
-
* 地域ID
|
|
903
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
904
|
-
*/
|
|
905
|
-
RegionId: string
|
|
906
|
-
|
|
907
|
-
/**
|
|
908
|
-
* 地域名称
|
|
909
|
-
*/
|
|
910
|
-
RegionName: string
|
|
911
|
-
|
|
912
|
-
/**
|
|
913
|
-
* 实际花费
|
|
914
|
-
*/
|
|
915
|
-
RealTotalCost: string
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* 费用所占百分比,两位小数
|
|
919
|
-
*/
|
|
920
|
-
RealTotalCostRatio: string
|
|
921
|
-
|
|
962
|
+
export interface DescribeVoucherInfoResponse {
|
|
922
963
|
/**
|
|
923
|
-
*
|
|
964
|
+
* 券总数
|
|
924
965
|
*/
|
|
925
|
-
|
|
966
|
+
TotalCount: number
|
|
926
967
|
|
|
927
968
|
/**
|
|
928
|
-
*
|
|
969
|
+
* 总余额(微分)
|
|
929
970
|
*/
|
|
930
|
-
|
|
971
|
+
TotalBalance: number
|
|
931
972
|
|
|
932
973
|
/**
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* 账单月份,格式2019-08
|
|
939
|
-
*/
|
|
940
|
-
BillMonth: string
|
|
974
|
+
* 代金券相关信息
|
|
975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
976
|
+
*/
|
|
977
|
+
VoucherInfos: Array<VoucherInfos>
|
|
941
978
|
|
|
942
979
|
/**
|
|
943
|
-
*
|
|
980
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
944
981
|
*/
|
|
945
|
-
|
|
982
|
+
RequestId?: string
|
|
946
983
|
}
|
|
947
984
|
|
|
948
985
|
/**
|
|
@@ -1152,6 +1189,57 @@ export interface ConsumptionProjectSummaryDataItem {
|
|
|
1152
1189
|
Business: Array<ConsumptionBusinessSummaryDataItem>
|
|
1153
1190
|
}
|
|
1154
1191
|
|
|
1192
|
+
/**
|
|
1193
|
+
* 按地域汇总消费详情
|
|
1194
|
+
*/
|
|
1195
|
+
export interface RegionSummaryOverviewItem {
|
|
1196
|
+
/**
|
|
1197
|
+
* 地域ID
|
|
1198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1199
|
+
*/
|
|
1200
|
+
RegionId: string
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* 地域名称
|
|
1204
|
+
*/
|
|
1205
|
+
RegionName: string
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* 实际花费
|
|
1209
|
+
*/
|
|
1210
|
+
RealTotalCost: string
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* 费用所占百分比,两位小数
|
|
1214
|
+
*/
|
|
1215
|
+
RealTotalCostRatio: string
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* 现金金额
|
|
1219
|
+
*/
|
|
1220
|
+
CashPayAmount: string
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* 赠送金金额
|
|
1224
|
+
*/
|
|
1225
|
+
IncentivePayAmount: string
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* 代金券金额
|
|
1229
|
+
*/
|
|
1230
|
+
VoucherPayAmount: string
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* 账单月份,格式2019-08
|
|
1234
|
+
*/
|
|
1235
|
+
BillMonth: string
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1239
|
+
*/
|
|
1240
|
+
TotalCost: string
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1155
1243
|
/**
|
|
1156
1244
|
* DescribeCostSummaryByProduct返回参数结构体
|
|
1157
1245
|
*/
|
|
@@ -1658,6 +1746,27 @@ export interface DescribeCostSummaryByProjectRequest {
|
|
|
1658
1746
|
NeedRecordNum?: number
|
|
1659
1747
|
}
|
|
1660
1748
|
|
|
1749
|
+
/**
|
|
1750
|
+
* 使用记录
|
|
1751
|
+
*/
|
|
1752
|
+
export interface UsageRecords {
|
|
1753
|
+
/**
|
|
1754
|
+
* 使用金额(微分)
|
|
1755
|
+
*/
|
|
1756
|
+
UsedAmount: number
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* 使用时间
|
|
1760
|
+
*/
|
|
1761
|
+
UsedTime: string
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* 使用记录细节
|
|
1765
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1766
|
+
*/
|
|
1767
|
+
UsageDetails: Array<UsageDetails>
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1661
1770
|
/**
|
|
1662
1771
|
* 消耗按地域汇总详情
|
|
1663
1772
|
*/
|
|
@@ -1703,6 +1812,23 @@ export interface DescribeDosageCosDetailByDateResponse {
|
|
|
1703
1812
|
RequestId?: string
|
|
1704
1813
|
}
|
|
1705
1814
|
|
|
1815
|
+
/**
|
|
1816
|
+
* 购买商品信息
|
|
1817
|
+
*/
|
|
1818
|
+
export interface UsageDetails {
|
|
1819
|
+
/**
|
|
1820
|
+
* 商品名
|
|
1821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1822
|
+
*/
|
|
1823
|
+
ProductName: string
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* 商品细节
|
|
1827
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1828
|
+
*/
|
|
1829
|
+
SubProductName: string
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1706
1832
|
/**
|
|
1707
1833
|
* DescribeBillResourceSummary返回参数结构体
|
|
1708
1834
|
*/
|
|
@@ -1774,6 +1900,101 @@ export interface ActionSummaryOverviewItem {
|
|
|
1774
1900
|
TotalCost: string
|
|
1775
1901
|
}
|
|
1776
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
* DescribeVoucherInfo请求参数结构体
|
|
1905
|
+
*/
|
|
1906
|
+
export interface DescribeVoucherInfoRequest {
|
|
1907
|
+
/**
|
|
1908
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1909
|
+
*/
|
|
1910
|
+
Limit: number
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* 第多少页,默认是1
|
|
1914
|
+
*/
|
|
1915
|
+
Offset: number
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
1919
|
+
*/
|
|
1920
|
+
Status?: string
|
|
1921
|
+
|
|
1922
|
+
/**
|
|
1923
|
+
* 代金券id
|
|
1924
|
+
*/
|
|
1925
|
+
VoucherId?: string
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* 代金券订单id
|
|
1929
|
+
*/
|
|
1930
|
+
CodeId?: string
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* 商品码
|
|
1934
|
+
*/
|
|
1935
|
+
ProductCode?: string
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* 活动id
|
|
1939
|
+
*/
|
|
1940
|
+
ActivityId?: string
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* 代金券名称
|
|
1944
|
+
*/
|
|
1945
|
+
VoucherName?: string
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* 发放开始时间
|
|
1949
|
+
*/
|
|
1950
|
+
TimeFrom?: string
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* 发放结束时间
|
|
1954
|
+
*/
|
|
1955
|
+
TimeTo?: string
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* 指定排序字段:BeginTime开始时间、EndTime到期时间、CreateTime创建时间
|
|
1959
|
+
*/
|
|
1960
|
+
SortField?: string
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* 指定升序降序:desc、asc
|
|
1964
|
+
*/
|
|
1965
|
+
SortOrder?: string
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* 付费模式,postPay后付费/prePay预付费/riPay预留实例/""或者"*"表示全部模式,如果payMode为""或"*",那么productCode与subProductCode必须传空
|
|
1969
|
+
*/
|
|
1970
|
+
PayMode?: string
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
1974
|
+
*/
|
|
1975
|
+
PayScene?: string
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* 操作人,默认就是用户uin
|
|
1979
|
+
*/
|
|
1980
|
+
Operator?: string
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* 适用商品信息
|
|
1985
|
+
*/
|
|
1986
|
+
export interface ApplicableProducts {
|
|
1987
|
+
/**
|
|
1988
|
+
* 适用商品名称,值为“全产品通用”或商品名称组成的string,以","分割。
|
|
1989
|
+
*/
|
|
1990
|
+
GoodsName: string
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。如GoodsName为多个商品名以","分割组成的string,而PayMode为"*",表示每一件商品的模式都为"*"。
|
|
1994
|
+
*/
|
|
1995
|
+
PayMode: string
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1777
1998
|
/**
|
|
1778
1999
|
* 付费模式过滤条件
|
|
1779
2000
|
*/
|
|
@@ -1789,6 +2010,31 @@ export interface ConditionPayMode {
|
|
|
1789
2010
|
PayModeName: string
|
|
1790
2011
|
}
|
|
1791
2012
|
|
|
2013
|
+
/**
|
|
2014
|
+
* DescribeVoucherUsageDetails请求参数结构体
|
|
2015
|
+
*/
|
|
2016
|
+
export interface DescribeVoucherUsageDetailsRequest {
|
|
2017
|
+
/**
|
|
2018
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
2019
|
+
*/
|
|
2020
|
+
Limit: number
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* 第多少页,默认是1
|
|
2024
|
+
*/
|
|
2025
|
+
Offset: number
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* 代金券id
|
|
2029
|
+
*/
|
|
2030
|
+
VoucherId?: string
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* 操作人,默认就是用户uin
|
|
2034
|
+
*/
|
|
2035
|
+
Operator?: string
|
|
2036
|
+
}
|
|
2037
|
+
|
|
1792
2038
|
/**
|
|
1793
2039
|
* DescribeDealsByCond请求参数结构体
|
|
1794
2040
|
*/
|
|
@@ -2036,6 +2282,23 @@ export interface PayDealsResponse {
|
|
|
2036
2282
|
RequestId?: string
|
|
2037
2283
|
}
|
|
2038
2284
|
|
|
2285
|
+
/**
|
|
2286
|
+
* 总数
|
|
2287
|
+
*/
|
|
2288
|
+
export interface SummaryTotal {
|
|
2289
|
+
/**
|
|
2290
|
+
* 总数
|
|
2291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2292
|
+
*/
|
|
2293
|
+
RealTotalCost: string
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
2297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2298
|
+
*/
|
|
2299
|
+
TotalCost: string
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2039
2302
|
/**
|
|
2040
2303
|
* 账单明细数据对象
|
|
2041
2304
|
*/
|
|
@@ -2506,6 +2769,32 @@ export interface DescribeCostDetailRequest {
|
|
|
2506
2769
|
ResourceId?: string
|
|
2507
2770
|
}
|
|
2508
2771
|
|
|
2772
|
+
/**
|
|
2773
|
+
* DescribeVoucherUsageDetails返回参数结构体
|
|
2774
|
+
*/
|
|
2775
|
+
export interface DescribeVoucherUsageDetailsResponse {
|
|
2776
|
+
/**
|
|
2777
|
+
* 券总数
|
|
2778
|
+
*/
|
|
2779
|
+
TotalCount: number
|
|
2780
|
+
|
|
2781
|
+
/**
|
|
2782
|
+
* 总已用金额(微分)
|
|
2783
|
+
*/
|
|
2784
|
+
TotalUsedAmount: number
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* 代金券使用记录细节
|
|
2788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2789
|
+
*/
|
|
2790
|
+
UsageRecords: Array<UsageRecords>
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2794
|
+
*/
|
|
2795
|
+
RequestId?: string
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2509
2798
|
/**
|
|
2510
2799
|
* DescribeDealsByCond返回参数结构体
|
|
2511
2800
|
*/
|
|
@@ -2725,20 +3014,18 @@ export interface DescribeDosageCosDetailByDateRequest {
|
|
|
2725
3014
|
}
|
|
2726
3015
|
|
|
2727
3016
|
/**
|
|
2728
|
-
*
|
|
3017
|
+
* 不适用商品信息
|
|
2729
3018
|
*/
|
|
2730
|
-
export interface
|
|
3019
|
+
export interface ExcludedProducts {
|
|
2731
3020
|
/**
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
RealTotalCost: string
|
|
3021
|
+
* 不适用商品名称
|
|
3022
|
+
*/
|
|
3023
|
+
GoodsName: string
|
|
2736
3024
|
|
|
2737
3025
|
/**
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
TotalCost: string
|
|
3026
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。
|
|
3027
|
+
*/
|
|
3028
|
+
PayMode: string
|
|
2742
3029
|
}
|
|
2743
3030
|
|
|
2744
3031
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeCostSummaryByProductRequest, DescribeCostSummaryByProjectResponse, DescribeDosageDetailByDateRequest, DescribeBillSummaryByProductRequest, DescribeBillSummaryByPayModeResponse, DescribeBillSummaryByTagRequest, DescribeBillSummaryByProductResponse, DescribeBillSummaryByRegionResponse, DescribeAccountBalanceRequest, DescribeBillDetailRequest, DescribeCostSummaryByProductResponse, DescribeDosageDetailByDateResponse, DescribeBillListResponse, DescribeAccountBalanceResponse, DescribeCostSummaryByRegionRequest, DescribeBillSummaryByRegionRequest, DescribeBillSummaryByPayModeRequest, DescribeCostSummaryByProjectRequest, DescribeDosageCosDetailByDateResponse, DescribeBillResourceSummaryResponse, DescribeDealsByCondRequest, DescribeBillResourceSummaryRequest, PayDealsRequest, DescribeBillListRequest, PayDealsResponse, DescribeBillSummaryByTagResponse, DescribeCostSummaryByResourceResponse, DescribeBillDetailResponse, DescribeCostDetailRequest, DescribeDealsByCondResponse, DescribeBillSummaryByProjectRequest, DescribeBillSummaryByProjectResponse, DescribeCostSummaryByResourceRequest, DescribeCostDetailResponse, DescribeDosageCosDetailByDateRequest, DescribeCostSummaryByRegionResponse } from "./billing_models";
|
|
2
|
+
import { DescribeCostSummaryByProductRequest, DescribeCostSummaryByProjectResponse, DescribeDosageDetailByDateRequest, DescribeBillSummaryByProductRequest, DescribeBillSummaryByPayModeResponse, DescribeBillSummaryByTagRequest, DescribeBillSummaryByProductResponse, DescribeBillSummaryByRegionResponse, DescribeVoucherInfoResponse, DescribeAccountBalanceRequest, DescribeBillDetailRequest, DescribeCostSummaryByProductResponse, DescribeDosageDetailByDateResponse, DescribeBillListResponse, DescribeAccountBalanceResponse, DescribeCostSummaryByRegionRequest, DescribeBillSummaryByRegionRequest, DescribeBillSummaryByPayModeRequest, DescribeCostSummaryByProjectRequest, DescribeDosageCosDetailByDateResponse, DescribeBillResourceSummaryResponse, DescribeVoucherInfoRequest, DescribeVoucherUsageDetailsRequest, DescribeDealsByCondRequest, DescribeBillResourceSummaryRequest, PayDealsRequest, DescribeBillListRequest, PayDealsResponse, DescribeBillSummaryByTagResponse, DescribeCostSummaryByResourceResponse, DescribeBillDetailResponse, DescribeCostDetailRequest, DescribeVoucherUsageDetailsResponse, DescribeDealsByCondResponse, DescribeBillSummaryByProjectRequest, DescribeBillSummaryByProjectResponse, DescribeCostSummaryByResourceRequest, DescribeCostDetailResponse, DescribeDosageCosDetailByDateRequest, DescribeCostSummaryByRegionResponse } from "./billing_models";
|
|
3
3
|
/**
|
|
4
4
|
* billing client
|
|
5
5
|
* @class
|
|
@@ -10,6 +10,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
10
10
|
* 获取云账户余额信息。
|
|
11
11
|
*/
|
|
12
12
|
DescribeAccountBalance(req?: DescribeAccountBalanceRequest, cb?: (error: string, rep: DescribeAccountBalanceResponse) => void): Promise<DescribeAccountBalanceResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 获取代金券相关信息
|
|
15
|
+
*/
|
|
16
|
+
DescribeVoucherInfo(req: DescribeVoucherInfoRequest, cb?: (error: string, rep: DescribeVoucherInfoResponse) => void): Promise<DescribeVoucherInfoResponse>;
|
|
13
17
|
/**
|
|
14
18
|
* 按日期获取产品用量明细
|
|
15
19
|
*/
|
|
@@ -18,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
18
22
|
* 获取按资源汇总消耗详情
|
|
19
23
|
*/
|
|
20
24
|
DescribeCostSummaryByResource(req: DescribeCostSummaryByResourceRequest, cb?: (error: string, rep: DescribeCostSummaryByResourceResponse) => void): Promise<DescribeCostSummaryByResourceResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 获取代金券使用记录
|
|
27
|
+
*/
|
|
28
|
+
DescribeVoucherUsageDetails(req: DescribeVoucherUsageDetailsRequest, cb?: (error: string, rep: DescribeVoucherUsageDetailsResponse) => void): Promise<DescribeVoucherUsageDetailsResponse>;
|
|
21
29
|
/**
|
|
22
30
|
* 获取收支明细列表,支持翻页和参数过滤
|
|
23
31
|
*/
|
|
@@ -33,6 +33,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
33
33
|
async DescribeAccountBalance(req, cb) {
|
|
34
34
|
return this.request("DescribeAccountBalance", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 获取代金券相关信息
|
|
38
|
+
*/
|
|
39
|
+
async DescribeVoucherInfo(req, cb) {
|
|
40
|
+
return this.request("DescribeVoucherInfo", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 按日期获取产品用量明细
|
|
38
44
|
*/
|
|
@@ -45,6 +51,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
51
|
async DescribeCostSummaryByResource(req, cb) {
|
|
46
52
|
return this.request("DescribeCostSummaryByResource", req, cb);
|
|
47
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 获取代金券使用记录
|
|
56
|
+
*/
|
|
57
|
+
async DescribeVoucherUsageDetails(req, cb) {
|
|
58
|
+
return this.request("DescribeVoucherUsageDetails", req, cb);
|
|
59
|
+
}
|
|
48
60
|
/**
|
|
49
61
|
* 获取收支明细列表,支持翻页和参数过滤
|
|
50
62
|
*/
|