tencentcloud-sdk-nodejs-intl-en 3.0.801 → 3.0.803
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 +1 -1
- package/tencentcloud/billing/v20180709/billing_client.js +106 -7
- package/tencentcloud/billing/v20180709/models.js +1776 -235
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +14 -1
- package/tencentcloud/faceid/v20180301/models.js +145 -13
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/teo/index.js +1 -1
- package/tencentcloud/vm/index.js +1 -1
package/package.json
CHANGED
|
@@ -18,45 +18,64 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const VoucherInfos = models.VoucherInfos;
|
|
20
20
|
const UsageDetails = models.UsageDetails;
|
|
21
|
+
const DescribeBillSummaryForOrganizationRequest = models.DescribeBillSummaryForOrganizationRequest;
|
|
21
22
|
const DescribeBillSummaryByTagResponse = models.DescribeBillSummaryByTagResponse;
|
|
23
|
+
const BillDetailComponentConfig = models.BillDetailComponentConfig;
|
|
22
24
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
23
25
|
const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
|
|
26
|
+
const SummaryTotal = models.SummaryTotal;
|
|
24
27
|
const BillResourceSummary = models.BillResourceSummary;
|
|
25
28
|
const DescribeBillSummaryByTagRequest = models.DescribeBillSummaryByTagRequest;
|
|
26
29
|
const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
|
|
27
30
|
const BillTagInfo = models.BillTagInfo;
|
|
31
|
+
const TagDataInfo = models.TagDataInfo;
|
|
28
32
|
const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
|
|
33
|
+
const CreateAllocationTagResponse = models.CreateAllocationTagResponse;
|
|
29
34
|
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
30
35
|
const DescribeAccountBalanceRequest = models.DescribeAccountBalanceRequest;
|
|
31
36
|
const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
|
|
37
|
+
const DescribeBillResourceSummaryForOrganizationRequest = models.DescribeBillResourceSummaryForOrganizationRequest;
|
|
32
38
|
const DescribeVoucherInfoResponse = models.DescribeVoucherInfoResponse;
|
|
39
|
+
const DeleteAllocationTagResponse = models.DeleteAllocationTagResponse;
|
|
33
40
|
const SummaryDetail = models.SummaryDetail;
|
|
34
41
|
const DescribeAccountBalanceResponse = models.DescribeAccountBalanceResponse;
|
|
35
|
-
const
|
|
42
|
+
const DescribeVoucherInfoRequest = models.DescribeVoucherInfoRequest;
|
|
43
|
+
const DescribeBillDetailForOrganizationResponse = models.DescribeBillDetailForOrganizationResponse;
|
|
36
44
|
const BillDetailComponent = models.BillDetailComponent;
|
|
37
|
-
const
|
|
45
|
+
const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
38
46
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
39
47
|
const UsageRecords = models.UsageRecords;
|
|
40
48
|
const DescribeDosageCosDetailByDateResponse = models.DescribeDosageCosDetailByDateResponse;
|
|
41
49
|
const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
|
|
42
50
|
const DescribeBillResourceSummaryResponse = models.DescribeBillResourceSummaryResponse;
|
|
43
51
|
const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
|
|
44
|
-
const
|
|
52
|
+
const DescribeBillDetailForOrganizationRequest = models.DescribeBillDetailForOrganizationRequest;
|
|
45
53
|
const ApplicableProducts = models.ApplicableProducts;
|
|
54
|
+
const DistributionBillDetail = models.DistributionBillDetail;
|
|
46
55
|
const DescribeBillSummaryByProjectRequest = models.DescribeBillSummaryByProjectRequest;
|
|
47
56
|
const DescribeVoucherUsageDetailsRequest = models.DescribeVoucherUsageDetailsRequest;
|
|
48
57
|
const DescribeDosageCosDetailByDateRequest = models.DescribeDosageCosDetailByDateRequest;
|
|
49
58
|
const DescribeBillResourceSummaryRequest = models.DescribeBillResourceSummaryRequest;
|
|
59
|
+
const DeleteAllocationTagRequest = models.DeleteAllocationTagRequest;
|
|
60
|
+
const BusinessSummaryOverviewItem = models.BusinessSummaryOverviewItem;
|
|
50
61
|
const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
|
|
51
|
-
const
|
|
62
|
+
const BillDistributionResourceSummary = models.BillDistributionResourceSummary;
|
|
63
|
+
const BillDetailAssociatedOrder = models.BillDetailAssociatedOrder;
|
|
52
64
|
const BillDetail = models.BillDetail;
|
|
53
65
|
const BusinessSummaryInfo = models.BusinessSummaryInfo;
|
|
54
66
|
const TagSummaryOverviewItem = models.TagSummaryOverviewItem;
|
|
55
67
|
const ProjectSummaryOverviewItem = models.ProjectSummaryOverviewItem;
|
|
56
68
|
const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
|
|
69
|
+
const DescribeBillSummaryForOrganizationResponse = models.DescribeBillSummaryForOrganizationResponse;
|
|
57
70
|
const DescribeVoucherUsageDetailsResponse = models.DescribeVoucherUsageDetailsResponse;
|
|
71
|
+
const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
|
|
72
|
+
const DescribeTagListResponse = models.DescribeTagListResponse;
|
|
58
73
|
const CosDetailSets = models.CosDetailSets;
|
|
74
|
+
const DescribeTagListRequest = models.DescribeTagListRequest;
|
|
59
75
|
const DescribeBillSummaryByProjectResponse = models.DescribeBillSummaryByProjectResponse;
|
|
76
|
+
const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
77
|
+
const DescribeBillResourceSummaryForOrganizationResponse = models.DescribeBillResourceSummaryForOrganizationResponse;
|
|
78
|
+
const CreateAllocationTagRequest = models.CreateAllocationTagRequest;
|
|
60
79
|
const ExcludedProducts = models.ExcludedProducts;
|
|
61
80
|
const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
|
|
62
81
|
const BusinessSummaryTotal = models.BusinessSummaryTotal;
|
|
@@ -72,6 +91,18 @@ class BillingClient extends AbstractClient {
|
|
|
72
91
|
super("billing.tencentcloudapi.com", "2018-07-09", credential, region, profile);
|
|
73
92
|
}
|
|
74
93
|
|
|
94
|
+
/**
|
|
95
|
+
* This API is used to get pay-on-behalf bills of the admin account (bill details).
|
|
96
|
+
Note: The API request may fail due to network instability or other exceptions. In this case, we recommend you manually retry the request when the API request fails.
|
|
97
|
+
* @param {DescribeBillDetailForOrganizationRequest} req
|
|
98
|
+
* @param {function(string, DescribeBillDetailForOrganizationResponse):void} cb
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
DescribeBillDetailForOrganization(req, cb) {
|
|
102
|
+
let resp = new DescribeBillDetailForOrganizationResponse();
|
|
103
|
+
this.request("DescribeBillDetailForOrganization", req, resp, cb);
|
|
104
|
+
}
|
|
105
|
+
|
|
75
106
|
/**
|
|
76
107
|
* This API is used to check the Tencent Cloud account balance.
|
|
77
108
|
* @param {DescribeAccountBalanceRequest} req
|
|
@@ -94,6 +125,17 @@ class BillingClient extends AbstractClient {
|
|
|
94
125
|
this.request("DescribeVoucherInfo", req, resp, cb);
|
|
95
126
|
}
|
|
96
127
|
|
|
128
|
+
/**
|
|
129
|
+
* This API is used to get pay-on-behalf bills of the admin account (bills by instance).
|
|
130
|
+
* @param {DescribeBillResourceSummaryForOrganizationRequest} req
|
|
131
|
+
* @param {function(string, DescribeBillResourceSummaryForOrganizationResponse):void} cb
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
DescribeBillResourceSummaryForOrganization(req, cb) {
|
|
135
|
+
let resp = new DescribeBillResourceSummaryForOrganizationResponse();
|
|
136
|
+
this.request("DescribeBillResourceSummaryForOrganization", req, resp, cb);
|
|
137
|
+
}
|
|
138
|
+
|
|
97
139
|
/**
|
|
98
140
|
* This API is used to query COS usage details.
|
|
99
141
|
* @param {DescribeDosageCosDetailByDateRequest} req
|
|
@@ -106,8 +148,10 @@ class BillingClient extends AbstractClient {
|
|
|
106
148
|
}
|
|
107
149
|
|
|
108
150
|
/**
|
|
109
|
-
*
|
|
110
|
-
|
|
151
|
+
* u200cThis API is used to get bill details.
|
|
152
|
+
Note:
|
|
153
|
+
1. The API request may fail due to network instability or other exceptions. In this case, we recommend you manually retry the request when the API request fails.
|
|
154
|
+
2.If the volume of your bill data is high (for example, if over 200 thousand bill entries are generated for a month), bill data query via APIs may be slow. We recommend you enable bill storage so that you can obtain bill files from COS buckets for analysis. For details, see [Saving Bills to COS](https://intl.cloud.tencent.com/document/product/555/61275?from_cn_redirect=1).
|
|
111
155
|
* @param {DescribeBillDetailRequest} req
|
|
112
156
|
* @param {function(string, DescribeBillDetailResponse):void} cb
|
|
113
157
|
* @public
|
|
@@ -117,6 +161,17 @@ Notes: 1. The API request may fail due to network instability or other network e
|
|
|
117
161
|
this.request("DescribeBillDetail", req, resp, cb);
|
|
118
162
|
}
|
|
119
163
|
|
|
164
|
+
/**
|
|
165
|
+
* u200cThis API is used to batch cancel cost allocation tags.
|
|
166
|
+
* @param {DeleteAllocationTagRequest} req
|
|
167
|
+
* @param {function(string, DeleteAllocationTagResponse):void} cb
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
DeleteAllocationTag(req, cb) {
|
|
171
|
+
let resp = new DeleteAllocationTagResponse();
|
|
172
|
+
this.request("DeleteAllocationTag", req, resp, cb);
|
|
173
|
+
}
|
|
174
|
+
|
|
120
175
|
/**
|
|
121
176
|
* This API is used to get bill details by product, project, region, billing mode, and tag by passing in parameters.
|
|
122
177
|
* @param {DescribeBillSummaryRequest} req
|
|
@@ -128,6 +183,17 @@ Notes: 1. The API request may fail due to network instability or other network e
|
|
|
128
183
|
this.request("DescribeBillSummary", req, resp, cb);
|
|
129
184
|
}
|
|
130
185
|
|
|
186
|
+
/**
|
|
187
|
+
* This API is used to get cost allocation tags.
|
|
188
|
+
* @param {DescribeTagListRequest} req
|
|
189
|
+
* @param {function(string, DescribeTagListResponse):void} cb
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
DescribeTagList(req, cb) {
|
|
193
|
+
let resp = new DescribeTagListResponse();
|
|
194
|
+
this.request("DescribeTagList", req, resp, cb);
|
|
195
|
+
}
|
|
196
|
+
|
|
131
197
|
/**
|
|
132
198
|
* This API is used to get the bill summarized by billing mode.
|
|
133
199
|
* @param {DescribeBillSummaryByPayModeRequest} req
|
|
@@ -140,7 +206,7 @@ Notes: 1. The API request may fail due to network instability or other network e
|
|
|
140
206
|
}
|
|
141
207
|
|
|
142
208
|
/**
|
|
143
|
-
* This API is used to
|
|
209
|
+
* This API is used to get the bill summarized by instance.
|
|
144
210
|
* @param {DescribeBillResourceSummaryRequest} req
|
|
145
211
|
* @param {function(string, DescribeBillResourceSummaryResponse):void} cb
|
|
146
212
|
* @public
|
|
@@ -205,6 +271,39 @@ Notes: 1. The API request may fail due to network instability or other network e
|
|
|
205
271
|
this.request("DescribeBillSummaryByTag", req, resp, cb);
|
|
206
272
|
}
|
|
207
273
|
|
|
274
|
+
/**
|
|
275
|
+
* This API is used to get bills summarized by product, project, region, billing mode, and tag by passing in parameters.
|
|
276
|
+
* @param {DescribeBillSummaryForOrganizationRequest} req
|
|
277
|
+
* @param {function(string, DescribeBillSummaryForOrganizationResponse):void} cb
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
DescribeBillSummaryForOrganization(req, cb) {
|
|
281
|
+
let resp = new DescribeBillSummaryForOrganizationResponse();
|
|
282
|
+
this.request("DescribeBillSummaryForOrganization", req, resp, cb);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* This API is used to get bill download URLs for L0, L1, L2, and L3 bills and bill packs.
|
|
287
|
+
* @param {DescribeBillDownloadUrlRequest} req
|
|
288
|
+
* @param {function(string, DescribeBillDownloadUrlResponse):void} cb
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
DescribeBillDownloadUrl(req, cb) {
|
|
292
|
+
let resp = new DescribeBillDownloadUrlResponse();
|
|
293
|
+
this.request("DescribeBillDownloadUrl", req, resp, cb);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* This API is used to batch set cost allocation tags.
|
|
298
|
+
* @param {CreateAllocationTagRequest} req
|
|
299
|
+
* @param {function(string, CreateAllocationTagResponse):void} cb
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
CreateAllocationTag(req, cb) {
|
|
303
|
+
let resp = new CreateAllocationTagResponse();
|
|
304
|
+
this.request("CreateAllocationTag", req, resp, cb);
|
|
305
|
+
}
|
|
306
|
+
|
|
208
307
|
|
|
209
308
|
}
|
|
210
309
|
module.exports = BillingClient;
|