tencentcloud-sdk-nodejs-billing 4.0.1054 → 4.1.2
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/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/billing/index.js +4 -0
- package/es/services/billing/v20180709/billing_client.js +135 -0
- package/es/services/billing/v20180709/billing_models.js +0 -0
- package/es/services/billing/v20180709/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +16 -5
- package/tencentcloud/services/billing/v20180709/billing_client.js +2 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -7
- package/tencentcloud/services/billing/v20180709/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/billing/index.ts +0 -5
- package/src/services/billing/v20180709/billing_client.ts +0 -648
- package/src/services/billing/v20180709/billing_models.ts +0 -7319
- package/src/services/billing/v20180709/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,648 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
DescribeBillAdjustInfoResponse,
|
|
21
|
-
DescribeCostSummaryByProductRequest,
|
|
22
|
-
DescribeCostExplorerSummaryResponse,
|
|
23
|
-
ConsumptionBusinessSummaryDataItem,
|
|
24
|
-
BillTagInfo,
|
|
25
|
-
AllocationOverviewTotal,
|
|
26
|
-
SavingPlanCoverageRate,
|
|
27
|
-
BillTransactionInfo,
|
|
28
|
-
ConditionBusiness,
|
|
29
|
-
AnalyseActionTypeDetail,
|
|
30
|
-
DescribeCostExplorerSummaryRequest,
|
|
31
|
-
BillBusinessLink,
|
|
32
|
-
DescribeCostSummaryByProductResponse,
|
|
33
|
-
ProductInfo,
|
|
34
|
-
DeleteAllocationTagResponse,
|
|
35
|
-
DescribeBillDetailForOrganizationResponse,
|
|
36
|
-
BillDetailComponentConfig,
|
|
37
|
-
DescribeCostSummaryByResourceResponse,
|
|
38
|
-
DescribeBillSummaryByRegionRequest,
|
|
39
|
-
AdjustInfoDetail,
|
|
40
|
-
DescribeAllocateConditionsRequest,
|
|
41
|
-
ConsumptionRegionSummaryDataItem,
|
|
42
|
-
DescribeBillSummaryRequest,
|
|
43
|
-
DescribeBillResourceSummaryResponse,
|
|
44
|
-
AllocationSummaryByItem,
|
|
45
|
-
TagSummaryOverviewItem,
|
|
46
|
-
DistributionBillDetail,
|
|
47
|
-
DescribeAllocationOverviewResponse,
|
|
48
|
-
DescribeDosageCosDetailByDateRequest,
|
|
49
|
-
DeleteAllocationTagRequest,
|
|
50
|
-
DescribeBillSummaryByProductRequest,
|
|
51
|
-
BillDistributionResourceSummary,
|
|
52
|
-
BusinessSummaryInfo,
|
|
53
|
-
DescribeDosageDetailListResponse,
|
|
54
|
-
DescribeAllocationBillDetailRequest,
|
|
55
|
-
DescribeBillListRequest,
|
|
56
|
-
DescribeAllocationTrendByMonthRequest,
|
|
57
|
-
DescribeVoucherUsageDetailsResponse,
|
|
58
|
-
ConsumptionSummaryTotal,
|
|
59
|
-
SavingPlanCoverageDetail,
|
|
60
|
-
DescribeAllocationOverviewRequest,
|
|
61
|
-
DescribeGatherResourceResponse,
|
|
62
|
-
DescribeCostDetailResponse,
|
|
63
|
-
DetailPoint,
|
|
64
|
-
DescribeAllocationMonthOverviewResponse,
|
|
65
|
-
DescribeAllocationSummaryByItemResponse,
|
|
66
|
-
DescribeDosageDetailByDateResponse,
|
|
67
|
-
DescribeDosageDetailByDateRequest,
|
|
68
|
-
UsageRecords,
|
|
69
|
-
DescribeGatherResourceRequest,
|
|
70
|
-
DescribeCostSummaryByProjectResponse,
|
|
71
|
-
AnalyseProjectDetail,
|
|
72
|
-
DescribeBillSummaryByTagResponse,
|
|
73
|
-
SummaryDetail,
|
|
74
|
-
DescribeBillSummaryByPayModeResponse,
|
|
75
|
-
DescribeAllocationSummaryByBusinessResponse,
|
|
76
|
-
DescribeAllocationSummaryByItemRequest,
|
|
77
|
-
DescribeBillSummaryByTagRequest,
|
|
78
|
-
AnalyseDetail,
|
|
79
|
-
BillDays,
|
|
80
|
-
DescribeSavingPlanCoverageResponse,
|
|
81
|
-
AnalyseAmountDetail,
|
|
82
|
-
DescribeBillSummaryByProjectRequest,
|
|
83
|
-
DescribeBillResourceSummaryForOrganizationRequest,
|
|
84
|
-
DescribeCostSummaryByRegionRequest,
|
|
85
|
-
ConsumptionSummaryTrend,
|
|
86
|
-
DescribeBillDownloadUrlRequest,
|
|
87
|
-
DescribeAllocationSummaryByBusinessRequest,
|
|
88
|
-
DescribeBillSummaryByPayModeRequest,
|
|
89
|
-
DescribeAllocationBillConditionsRequest,
|
|
90
|
-
ApplicableProducts,
|
|
91
|
-
AllocationSummaryByResource,
|
|
92
|
-
AllocationOverviewNode,
|
|
93
|
-
ConditionPayMode,
|
|
94
|
-
BillProductLink,
|
|
95
|
-
AllocationTreeNode,
|
|
96
|
-
DescribeSavingPlanCoverageRequest,
|
|
97
|
-
PayDealsResponse,
|
|
98
|
-
BillDetail,
|
|
99
|
-
DescribeBillDetailResponse,
|
|
100
|
-
Deal,
|
|
101
|
-
DescribeDealsByCondResponse,
|
|
102
|
-
BillZoneId,
|
|
103
|
-
BillRegion,
|
|
104
|
-
DescribeBillSummaryByProjectResponse,
|
|
105
|
-
DescribeBillAdjustInfoRequest,
|
|
106
|
-
TagDataInfo,
|
|
107
|
-
PayDealsRequest,
|
|
108
|
-
SummaryTotal,
|
|
109
|
-
BusinessSummaryTotal,
|
|
110
|
-
DescribeAllocationBillConditionsResponse,
|
|
111
|
-
CostComponentSet,
|
|
112
|
-
AnalyseHeaderDetail,
|
|
113
|
-
DescribeAllocationMonthOverviewRequest,
|
|
114
|
-
JsonObject,
|
|
115
|
-
AllocationOverviewDetail,
|
|
116
|
-
AnalysePayModeDetail,
|
|
117
|
-
AllocationBillTrendDetail,
|
|
118
|
-
DescribeBillSummaryResponse,
|
|
119
|
-
AnalyseOwnerUinDetail,
|
|
120
|
-
Conditions,
|
|
121
|
-
AnalyseTimeDetail,
|
|
122
|
-
BillOwnerUin,
|
|
123
|
-
AllocationRule,
|
|
124
|
-
RegionSummaryOverviewItem,
|
|
125
|
-
ConsumptionProjectSummaryDataItem,
|
|
126
|
-
AnalyseRegionDetail,
|
|
127
|
-
AllocationMonthOverviewDetail,
|
|
128
|
-
AllocationDetail,
|
|
129
|
-
VoucherInfos,
|
|
130
|
-
DescribeBillSummaryForOrganizationRequest,
|
|
131
|
-
AllocationSummaryByBusiness,
|
|
132
|
-
AllocationStat,
|
|
133
|
-
BillProject,
|
|
134
|
-
ActionSummaryOverviewItem,
|
|
135
|
-
DescribeBillDetailForOrganizationRequest,
|
|
136
|
-
DescribeVoucherUsageDetailsRequest,
|
|
137
|
-
DescribeBillResourceSummaryRequest,
|
|
138
|
-
DetailSet,
|
|
139
|
-
BillDetailComponent,
|
|
140
|
-
ConditionRegion,
|
|
141
|
-
AllocationAverageData,
|
|
142
|
-
ConsumptionResourceSummaryConditionValue,
|
|
143
|
-
DescribeCostDetailRequest,
|
|
144
|
-
DescribeAllocationSummaryByResourceRequest,
|
|
145
|
-
DescribeBillSummaryForOrganizationResponse,
|
|
146
|
-
BillOperateUin,
|
|
147
|
-
DescribeTagListRequest,
|
|
148
|
-
DescribeBillResourceSummaryForOrganizationResponse,
|
|
149
|
-
DescribeCostSummaryByProjectRequest,
|
|
150
|
-
DescribeCostSummaryByResourceRequest,
|
|
151
|
-
CreateAllocationTagRequest,
|
|
152
|
-
ExcludedProducts,
|
|
153
|
-
PayModeSummaryOverviewItem,
|
|
154
|
-
BillBusiness,
|
|
155
|
-
UsageDetails,
|
|
156
|
-
BillInstanceType,
|
|
157
|
-
AnalyseBusinessDetail,
|
|
158
|
-
AnalyseConditions,
|
|
159
|
-
CostDetail,
|
|
160
|
-
DescribeBillSummaryByProductResponse,
|
|
161
|
-
DescribeBillSummaryByRegionResponse,
|
|
162
|
-
CreateAllocationTagResponse,
|
|
163
|
-
DescribeBillDownloadUrlResponse,
|
|
164
|
-
ConsumptionResourceSummaryDataItem,
|
|
165
|
-
DescribeAccountBalanceRequest,
|
|
166
|
-
DescribeBillDetailRequest,
|
|
167
|
-
DescribeSavingPlanResourceInfoRequest,
|
|
168
|
-
AnalyseZoneDetail,
|
|
169
|
-
DescribeVoucherInfoResponse,
|
|
170
|
-
BillDetailAssociatedOrder,
|
|
171
|
-
DescribeBillListResponse,
|
|
172
|
-
DescribeAccountBalanceResponse,
|
|
173
|
-
DescribeAllocationBillDetailResponse,
|
|
174
|
-
BusinessSummaryOverviewItem,
|
|
175
|
-
BillTag,
|
|
176
|
-
DescribeAllocateConditionsResponse,
|
|
177
|
-
DescribeDosageDetailListRequest,
|
|
178
|
-
BillComponent,
|
|
179
|
-
DescribeVoucherInfoRequest,
|
|
180
|
-
BillActionType,
|
|
181
|
-
GatherResourceSummary,
|
|
182
|
-
DescribeSavingPlanResourceInfoResponse,
|
|
183
|
-
DescribeDealsByCondRequest,
|
|
184
|
-
DescribeAllocationSummaryByResourceResponse,
|
|
185
|
-
DescribeDosageCosDetailByDateResponse,
|
|
186
|
-
BillItem,
|
|
187
|
-
ProjectSummaryOverviewItem,
|
|
188
|
-
BillProduct,
|
|
189
|
-
ConditionProject,
|
|
190
|
-
DescribeTagListResponse,
|
|
191
|
-
CosDetailSets,
|
|
192
|
-
DescribeDosageDetail,
|
|
193
|
-
BillPayMode,
|
|
194
|
-
DescribeAllocationTrendByMonthResponse,
|
|
195
|
-
AnalyseConditionDetail,
|
|
196
|
-
BillResourceSummary,
|
|
197
|
-
AnalyseHeaderTimeDetail,
|
|
198
|
-
DescribeCostSummaryByRegionResponse,
|
|
199
|
-
} from "./billing_models"
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* billing client
|
|
203
|
-
* @class
|
|
204
|
-
*/
|
|
205
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
206
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
207
|
-
super("billing.tencentcloudapi.com", "2018-07-09", clientConfig)
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
/**
|
|
211
|
-
* 成员账号获取管理账号代付账单(费用明细)。
|
|
212
|
-
注意事项:在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
213
|
-
*/
|
|
214
|
-
async DescribeBillDetailForOrganization(
|
|
215
|
-
req: DescribeBillDetailForOrganizationRequest,
|
|
216
|
-
cb?: (error: string, rep: DescribeBillDetailForOrganizationResponse) => void
|
|
217
|
-
): Promise<DescribeBillDetailForOrganizationResponse> {
|
|
218
|
-
return this.request("DescribeBillDetailForOrganization", req, cb)
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* 获取按资源汇总消耗详情
|
|
223
|
-
*/
|
|
224
|
-
async DescribeCostSummaryByResource(
|
|
225
|
-
req: DescribeCostSummaryByResourceRequest,
|
|
226
|
-
cb?: (error: string, rep: DescribeCostSummaryByResourceResponse) => void
|
|
227
|
-
): Promise<DescribeCostSummaryByResourceResponse> {
|
|
228
|
-
return this.request("DescribeCostSummaryByResource", req, cb)
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* 获取收支明细列表,支持翻页和参数过滤
|
|
233
|
-
*/
|
|
234
|
-
async DescribeBillList(
|
|
235
|
-
req: DescribeBillListRequest,
|
|
236
|
-
cb?: (error: string, rep: DescribeBillListResponse) => void
|
|
237
|
-
): Promise<DescribeBillListResponse> {
|
|
238
|
-
return this.request("DescribeBillList", req, cb)
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* 当前接口已迁移至svp产品
|
|
243
|
-
|
|
244
|
-
查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。
|
|
245
|
-
*/
|
|
246
|
-
async DescribeSavingPlanCoverage(
|
|
247
|
-
req: DescribeSavingPlanCoverageRequest,
|
|
248
|
-
cb?: (error: string, rep: DescribeSavingPlanCoverageResponse) => void
|
|
249
|
-
): Promise<DescribeSavingPlanCoverageResponse> {
|
|
250
|
-
return this.request("DescribeSavingPlanCoverage", req, cb)
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 查询分账账单按资源汇总
|
|
255
|
-
*/
|
|
256
|
-
async DescribeAllocationSummaryByResource(
|
|
257
|
-
req: DescribeAllocationSummaryByResourceRequest,
|
|
258
|
-
cb?: (error: string, rep: DescribeAllocationSummaryByResourceResponse) => void
|
|
259
|
-
): Promise<DescribeAllocationSummaryByResourceResponse> {
|
|
260
|
-
return this.request("DescribeAllocationSummaryByResource", req, cb)
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* 获取账单资源汇总数据
|
|
265
|
-
*/
|
|
266
|
-
async DescribeBillResourceSummary(
|
|
267
|
-
req: DescribeBillResourceSummaryRequest,
|
|
268
|
-
cb?: (error: string, rep: DescribeBillResourceSummaryResponse) => void
|
|
269
|
-
): Promise<DescribeBillResourceSummaryResponse> {
|
|
270
|
-
return this.request("DescribeBillResourceSummary", req, cb)
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* 查询分账账单按产品汇总
|
|
275
|
-
*/
|
|
276
|
-
async DescribeAllocationSummaryByBusiness(
|
|
277
|
-
req: DescribeAllocationSummaryByBusinessRequest,
|
|
278
|
-
cb?: (error: string, rep: DescribeAllocationSummaryByBusinessResponse) => void
|
|
279
|
-
): Promise<DescribeAllocationSummaryByBusinessResponse> {
|
|
280
|
-
return this.request("DescribeAllocationSummaryByBusiness", req, cb)
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* 查询资源目录筛选条件
|
|
285
|
-
*/
|
|
286
|
-
async DescribeAllocateConditions(
|
|
287
|
-
req: DescribeAllocateConditionsRequest,
|
|
288
|
-
cb?: (error: string, rep: DescribeAllocateConditionsResponse) => void
|
|
289
|
-
): Promise<DescribeAllocateConditionsResponse> {
|
|
290
|
-
return this.request("DescribeAllocateConditions", req, cb)
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* 查询分账账单日概览
|
|
295
|
-
*/
|
|
296
|
-
async DescribeAllocationOverview(
|
|
297
|
-
req: DescribeAllocationOverviewRequest,
|
|
298
|
-
cb?: (error: string, rep: DescribeAllocationOverviewResponse) => void
|
|
299
|
-
): Promise<DescribeAllocationOverviewResponse> {
|
|
300
|
-
return this.request("DescribeAllocationOverview", req, cb)
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* 获取已接入标准用量明细模板产品的用量明细数据,目前已接入并支持查询的产品包括:云联络中心、实时音视频、实时音视频、智能媒资托管、CODING DevOps、全球IP应用加速
|
|
305
|
-
*/
|
|
306
|
-
async DescribeDosageDetailList(
|
|
307
|
-
req: DescribeDosageDetailListRequest,
|
|
308
|
-
cb?: (error: string, rep: DescribeDosageDetailListResponse) => void
|
|
309
|
-
): Promise<DescribeDosageDetailListResponse> {
|
|
310
|
-
return this.request("DescribeDosageDetailList", req, cb)
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
* 批量设置分账标签
|
|
315
|
-
*/
|
|
316
|
-
async CreateAllocationTag(
|
|
317
|
-
req: CreateAllocationTagRequest,
|
|
318
|
-
cb?: (error: string, rep: CreateAllocationTagResponse) => void
|
|
319
|
-
): Promise<CreateAllocationTagResponse> {
|
|
320
|
-
return this.request("CreateAllocationTag", req, cb)
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* 获取代金券相关信息
|
|
325
|
-
*/
|
|
326
|
-
async DescribeVoucherInfo(
|
|
327
|
-
req: DescribeVoucherInfoRequest,
|
|
328
|
-
cb?: (error: string, rep: DescribeVoucherInfoResponse) => void
|
|
329
|
-
): Promise<DescribeVoucherInfoResponse> {
|
|
330
|
-
return this.request("DescribeVoucherInfo", req, cb)
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* 获取按项目汇总消耗详情
|
|
335
|
-
*/
|
|
336
|
-
async DescribeCostSummaryByProject(
|
|
337
|
-
req: DescribeCostSummaryByProjectRequest,
|
|
338
|
-
cb?: (error: string, rep: DescribeCostSummaryByProjectResponse) => void
|
|
339
|
-
): Promise<DescribeCostSummaryByProjectResponse> {
|
|
340
|
-
return this.request("DescribeCostSummaryByProject", req, cb)
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* 查看成本分析明细
|
|
345
|
-
*/
|
|
346
|
-
async DescribeCostExplorerSummary(
|
|
347
|
-
req: DescribeCostExplorerSummaryRequest,
|
|
348
|
-
cb?: (error: string, rep: DescribeCostExplorerSummaryResponse) => void
|
|
349
|
-
): Promise<DescribeCostExplorerSummaryResponse> {
|
|
350
|
-
return this.request("DescribeCostExplorerSummary", req, cb)
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* 成员账号获取管理账号代付账单(按资源汇总)
|
|
355
|
-
*/
|
|
356
|
-
async DescribeBillResourceSummaryForOrganization(
|
|
357
|
-
req: DescribeBillResourceSummaryForOrganizationRequest,
|
|
358
|
-
cb?: (error: string, rep: DescribeBillResourceSummaryForOrganizationResponse) => void
|
|
359
|
-
): Promise<DescribeBillResourceSummaryForOrganizationResponse> {
|
|
360
|
-
return this.request("DescribeBillResourceSummaryForOrganization", req, cb)
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* 获取账单明细数据。
|
|
365
|
-
注意事项:
|
|
366
|
-
1.在请求接口时,由于网络不稳定或其它异常,可能会导致请求失败。如果您遇到这种情况,我们建议您在接口请求失败时,手动发起重试操作,这样可以更好地确保您的接口请求能够成功执行。
|
|
367
|
-
2.对于账单明细数据量级很大(例如每月账单明细量级超过20w)的客户,通过 API 调用账单数据效率较低,建议您开通账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)
|
|
368
|
-
*/
|
|
369
|
-
async DescribeBillDetail(
|
|
370
|
-
req: DescribeBillDetailRequest,
|
|
371
|
-
cb?: (error: string, rep: DescribeBillDetailResponse) => void
|
|
372
|
-
): Promise<DescribeBillDetailResponse> {
|
|
373
|
-
return this.request("DescribeBillDetail", req, cb)
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* 该接口支持通过传参,按照产品、项目、地域、计费模式和标签五个维度获取账单费用明细。
|
|
378
|
-
*/
|
|
379
|
-
async DescribeBillSummary(
|
|
380
|
-
req: DescribeBillSummaryRequest,
|
|
381
|
-
cb?: (error: string, rep: DescribeBillSummaryResponse) => void
|
|
382
|
-
): Promise<DescribeBillSummaryResponse> {
|
|
383
|
-
return this.request("DescribeBillSummary", req, cb)
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* 获取按计费模式汇总费用分布
|
|
388
|
-
*/
|
|
389
|
-
async DescribeBillSummaryByPayMode(
|
|
390
|
-
req: DescribeBillSummaryByPayModeRequest,
|
|
391
|
-
cb?: (error: string, rep: DescribeBillSummaryByPayModeResponse) => void
|
|
392
|
-
): Promise<DescribeBillSummaryByPayModeResponse> {
|
|
393
|
-
return this.request("DescribeBillSummaryByPayMode", req, cb)
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* 获取按地域汇总消耗详情
|
|
398
|
-
*/
|
|
399
|
-
async DescribeCostSummaryByRegion(
|
|
400
|
-
req: DescribeCostSummaryByRegionRequest,
|
|
401
|
-
cb?: (error: string, rep: DescribeCostSummaryByRegionResponse) => void
|
|
402
|
-
): Promise<DescribeCostSummaryByRegionResponse> {
|
|
403
|
-
return this.request("DescribeCostSummaryByRegion", req, cb)
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* 查询分账账单费用趋势
|
|
408
|
-
*/
|
|
409
|
-
async DescribeAllocationTrendByMonth(
|
|
410
|
-
req: DescribeAllocationTrendByMonthRequest,
|
|
411
|
-
cb?: (error: string, rep: DescribeAllocationTrendByMonthResponse) => void
|
|
412
|
-
): Promise<DescribeAllocationTrendByMonthResponse> {
|
|
413
|
-
return this.request("DescribeAllocationTrendByMonth", req, cb)
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* 该接口支持通过传参,获取L0-PDF、L1-汇总、L2-资源、L3-明细、账单包、五类账单文件下载链接
|
|
418
|
-
*/
|
|
419
|
-
async DescribeBillDownloadUrl(
|
|
420
|
-
req: DescribeBillDownloadUrlRequest,
|
|
421
|
-
cb?: (error: string, rep: DescribeBillDownloadUrlResponse) => void
|
|
422
|
-
): Promise<DescribeBillDownloadUrlResponse> {
|
|
423
|
-
return this.request("DescribeBillDownloadUrl", req, cb)
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* 获取COS产品用量明细
|
|
428
|
-
*/
|
|
429
|
-
async DescribeDosageCosDetailByDate(
|
|
430
|
-
req: DescribeDosageCosDetailByDateRequest,
|
|
431
|
-
cb?: (error: string, rep: DescribeDosageCosDetailByDateResponse) => void
|
|
432
|
-
): Promise<DescribeDosageCosDetailByDateResponse> {
|
|
433
|
-
return this.request("DescribeDosageCosDetailByDate", req, cb)
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* 查询分账账单筛选条件
|
|
438
|
-
*/
|
|
439
|
-
async DescribeAllocationBillConditions(
|
|
440
|
-
req: DescribeAllocationBillConditionsRequest,
|
|
441
|
-
cb?: (error: string, rep: DescribeAllocationBillConditionsResponse) => void
|
|
442
|
-
): Promise<DescribeAllocationBillConditionsResponse> {
|
|
443
|
-
return this.request("DescribeAllocationBillConditions", req, cb)
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* 获取云账户余额信息。
|
|
448
|
-
*/
|
|
449
|
-
async DescribeAccountBalance(
|
|
450
|
-
req?: DescribeAccountBalanceRequest,
|
|
451
|
-
cb?: (error: string, rep: DescribeAccountBalanceResponse) => void
|
|
452
|
-
): Promise<DescribeAccountBalanceResponse> {
|
|
453
|
-
return this.request("DescribeAccountBalance", req, cb)
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* 按日期获取产品用量明细
|
|
458
|
-
*/
|
|
459
|
-
async DescribeDosageDetailByDate(
|
|
460
|
-
req: DescribeDosageDetailByDateRequest,
|
|
461
|
-
cb?: (error: string, rep: DescribeDosageDetailByDateResponse) => void
|
|
462
|
-
): Promise<DescribeDosageDetailByDateResponse> {
|
|
463
|
-
return this.request("DescribeDosageDetailByDate", req, cb)
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* 可以通过API获取当前UIN是否有调账,客户可以更快地主动地获取调账情况。
|
|
468
|
-
*/
|
|
469
|
-
async DescribeBillAdjustInfo(
|
|
470
|
-
req: DescribeBillAdjustInfoRequest,
|
|
471
|
-
cb?: (error: string, rep: DescribeBillAdjustInfoResponse) => void
|
|
472
|
-
): Promise<DescribeBillAdjustInfoResponse> {
|
|
473
|
-
return this.request("DescribeBillAdjustInfo", req, cb)
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* 查询分账账单明细
|
|
478
|
-
*/
|
|
479
|
-
async DescribeAllocationBillDetail(
|
|
480
|
-
req: DescribeAllocationBillDetailRequest,
|
|
481
|
-
cb?: (error: string, rep: DescribeAllocationBillDetailResponse) => void
|
|
482
|
-
): Promise<DescribeAllocationBillDetailResponse> {
|
|
483
|
-
return this.request("DescribeAllocationBillDetail", req, cb)
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* 获取按地域汇总费用分布
|
|
488
|
-
*/
|
|
489
|
-
async DescribeBillSummaryByRegion(
|
|
490
|
-
req: DescribeBillSummaryByRegionRequest,
|
|
491
|
-
cb?: (error: string, rep: DescribeBillSummaryByRegionResponse) => void
|
|
492
|
-
): Promise<DescribeBillSummaryByRegionResponse> {
|
|
493
|
-
return this.request("DescribeBillSummaryByRegion", req, cb)
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* 获取按项目汇总费用分布
|
|
498
|
-
*/
|
|
499
|
-
async DescribeBillSummaryByProject(
|
|
500
|
-
req: DescribeBillSummaryByProjectRequest,
|
|
501
|
-
cb?: (error: string, rep: DescribeBillSummaryByProjectResponse) => void
|
|
502
|
-
): Promise<DescribeBillSummaryByProjectResponse> {
|
|
503
|
-
return this.request("DescribeBillSummaryByProject", req, cb)
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* 查询分账账单月概览
|
|
508
|
-
*/
|
|
509
|
-
async DescribeAllocationMonthOverview(
|
|
510
|
-
req: DescribeAllocationMonthOverviewRequest,
|
|
511
|
-
cb?: (error: string, rep: DescribeAllocationMonthOverviewResponse) => void
|
|
512
|
-
): Promise<DescribeAllocationMonthOverviewResponse> {
|
|
513
|
-
return this.request("DescribeAllocationMonthOverview", req, cb)
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* 获取按标签汇总费用分布
|
|
518
|
-
*/
|
|
519
|
-
async DescribeBillSummaryByTag(
|
|
520
|
-
req: DescribeBillSummaryByTagRequest,
|
|
521
|
-
cb?: (error: string, rep: DescribeBillSummaryByTagResponse) => void
|
|
522
|
-
): Promise<DescribeBillSummaryByTagResponse> {
|
|
523
|
-
return this.request("DescribeBillSummaryByTag", req, cb)
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* 该接口支持通过传参,按照产品、项目、地域、计费模式和标签五个维度获取账单费用明细。
|
|
528
|
-
*/
|
|
529
|
-
async DescribeBillSummaryForOrganization(
|
|
530
|
-
req: DescribeBillSummaryForOrganizationRequest,
|
|
531
|
-
cb?: (error: string, rep: DescribeBillSummaryForOrganizationResponse) => void
|
|
532
|
-
): Promise<DescribeBillSummaryForOrganizationResponse> {
|
|
533
|
-
return this.request("DescribeBillSummaryForOrganization", req, cb)
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* 查询分账账单资源归集汇总
|
|
538
|
-
*/
|
|
539
|
-
async DescribeGatherResource(
|
|
540
|
-
req: DescribeGatherResourceRequest,
|
|
541
|
-
cb?: (error: string, rep: DescribeGatherResourceResponse) => void
|
|
542
|
-
): Promise<DescribeGatherResourceResponse> {
|
|
543
|
-
return this.request("DescribeGatherResource", req, cb)
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* 查询节省计划详情
|
|
548
|
-
*/
|
|
549
|
-
async DescribeSavingPlanResourceInfo(
|
|
550
|
-
req: DescribeSavingPlanResourceInfoRequest,
|
|
551
|
-
cb?: (error: string, rep: DescribeSavingPlanResourceInfoResponse) => void
|
|
552
|
-
): Promise<DescribeSavingPlanResourceInfoResponse> {
|
|
553
|
-
return this.request("DescribeSavingPlanResourceInfo", req, cb)
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* 获取分账标签
|
|
558
|
-
*/
|
|
559
|
-
async DescribeTagList(
|
|
560
|
-
req: DescribeTagListRequest,
|
|
561
|
-
cb?: (error: string, rep: DescribeTagListResponse) => void
|
|
562
|
-
): Promise<DescribeTagListResponse> {
|
|
563
|
-
return this.request("DescribeTagList", req, cb)
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* 获取代金券使用记录
|
|
568
|
-
*/
|
|
569
|
-
async DescribeVoucherUsageDetails(
|
|
570
|
-
req: DescribeVoucherUsageDetailsRequest,
|
|
571
|
-
cb?: (error: string, rep: DescribeVoucherUsageDetailsResponse) => void
|
|
572
|
-
): Promise<DescribeVoucherUsageDetailsResponse> {
|
|
573
|
-
return this.request("DescribeVoucherUsageDetails", req, cb)
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* 支付订单
|
|
578
|
-
*/
|
|
579
|
-
async PayDeals(
|
|
580
|
-
req: PayDealsRequest,
|
|
581
|
-
cb?: (error: string, rep: PayDealsResponse) => void
|
|
582
|
-
): Promise<PayDealsResponse> {
|
|
583
|
-
return this.request("PayDeals", req, cb)
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* 获取按产品汇总消耗详情
|
|
588
|
-
*/
|
|
589
|
-
async DescribeCostSummaryByProduct(
|
|
590
|
-
req: DescribeCostSummaryByProductRequest,
|
|
591
|
-
cb?: (error: string, rep: DescribeCostSummaryByProductResponse) => void
|
|
592
|
-
): Promise<DescribeCostSummaryByProductResponse> {
|
|
593
|
-
return this.request("DescribeCostSummaryByProduct", req, cb)
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* 批量取消设置分账标签
|
|
598
|
-
*/
|
|
599
|
-
async DeleteAllocationTag(
|
|
600
|
-
req: DeleteAllocationTagRequest,
|
|
601
|
-
cb?: (error: string, rep: DeleteAllocationTagResponse) => void
|
|
602
|
-
): Promise<DeleteAllocationTagResponse> {
|
|
603
|
-
return this.request("DeleteAllocationTag", req, cb)
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* 查询订单
|
|
608
|
-
*/
|
|
609
|
-
async DescribeDealsByCond(
|
|
610
|
-
req: DescribeDealsByCondRequest,
|
|
611
|
-
cb?: (error: string, rep: DescribeDealsByCondResponse) => void
|
|
612
|
-
): Promise<DescribeDealsByCondResponse> {
|
|
613
|
-
return this.request("DescribeDealsByCond", req, cb)
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* 查询分账账单按组件汇总
|
|
618
|
-
*/
|
|
619
|
-
async DescribeAllocationSummaryByItem(
|
|
620
|
-
req: DescribeAllocationSummaryByItemRequest,
|
|
621
|
-
cb?: (error: string, rep: DescribeAllocationSummaryByItemResponse) => void
|
|
622
|
-
): Promise<DescribeAllocationSummaryByItemResponse> {
|
|
623
|
-
return this.request("DescribeAllocationSummaryByItem", req, cb)
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* 获取产品汇总费用分布
|
|
628
|
-
*/
|
|
629
|
-
async DescribeBillSummaryByProduct(
|
|
630
|
-
req: DescribeBillSummaryByProductRequest,
|
|
631
|
-
cb?: (error: string, rep: DescribeBillSummaryByProductResponse) => void
|
|
632
|
-
): Promise<DescribeBillSummaryByProductResponse> {
|
|
633
|
-
return this.request("DescribeBillSummaryByProduct", req, cb)
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* 查询消耗明细
|
|
638
|
-
|
|
639
|
-
注意事项:
|
|
640
|
-
1. 对于消耗明细数据量级很大(例如每月消耗明细量级超过100w)的客户,通过 API 调用明细数据会有超时风险,建议您开通消耗账单数据存储功能,通过存储桶中获取账单文件进行分析。[账单存储至COS桶](https://cloud.tencent.com/document/product/555/61275)
|
|
641
|
-
*/
|
|
642
|
-
async DescribeCostDetail(
|
|
643
|
-
req: DescribeCostDetailRequest,
|
|
644
|
-
cb?: (error: string, rep: DescribeCostDetailResponse) => void
|
|
645
|
-
): Promise<DescribeCostDetailResponse> {
|
|
646
|
-
return this.request("DescribeCostDetail", req, cb)
|
|
647
|
-
}
|
|
648
|
-
}
|