tencentcloud-sdk-nodejs-intl-en 3.0.923 → 3.0.924

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.923",
3
+ "version": "3.0.924",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.923";
1
+ const sdkVersion = "3.0.924";
2
2
  module.exports = sdkVersion
@@ -17,13 +17,17 @@
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
19
  const QueryDirectCustomersCreditResponse = models.QueryDirectCustomersCreditResponse;
20
+ const SummaryDetails = models.SummaryDetails;
20
21
  const QueryPartnerCreditResponse = models.QueryPartnerCreditResponse;
21
22
  const QueryVoucherListByUinRequest = models.QueryVoucherListByUinRequest;
23
+ const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
22
24
  const QueryVoucherAmountByUinResponse = models.QueryVoucherAmountByUinResponse;
23
25
  const QueryVoucherAmountByUinItem = models.QueryVoucherAmountByUinItem;
24
26
  const QueryCreditAllocationHistoryData = models.QueryCreditAllocationHistoryData;
27
+ const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
25
28
  const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
26
29
  const QueryCreditQuotaResponse = models.QueryCreditQuotaResponse;
30
+ const BusinessInfo = models.BusinessInfo;
27
31
  const QueryVoucherListByUinItem = models.QueryVoucherListByUinItem;
28
32
  const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
29
33
  const QueryPartnerCreditRequest = models.QueryPartnerCreditRequest;
@@ -51,6 +55,7 @@ const DescribeCustomerBillDetailResponse = models.DescribeCustomerBillDetailResp
51
55
  const QueryAccountVerificationStatusRequest = models.QueryAccountVerificationStatusRequest;
52
56
  const QueryCreditAllocationHistoryResponse = models.QueryCreditAllocationHistoryResponse;
53
57
  const CreateAccountRequest = models.CreateAccountRequest;
58
+ const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
54
59
  const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
55
60
  const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
56
61
  const DescribeCustomerInfoRequest = models.DescribeCustomerInfoRequest;
@@ -65,11 +70,12 @@ const BillDetailData = models.BillDetailData;
65
70
  const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
66
71
  const QueryCreditAllocationHistoryRequest = models.QueryCreditAllocationHistoryRequest;
67
72
  const QueryCustomersCreditResponse = models.QueryCustomersCreditResponse;
73
+ const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
68
74
  const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
69
75
  const QueryVoucherListByUinResponse = models.QueryVoucherListByUinResponse;
70
76
  const QueryVoucherPoolRequest = models.QueryVoucherPoolRequest;
71
77
  const DescribeCustomerInfoData = models.DescribeCustomerInfoData;
72
- const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
78
+ const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
73
79
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
74
80
  const QueryCustomersCreditData = models.QueryCustomersCreditData;
75
81
  const DescribeCustomerBillSummaryRequest = models.DescribeCustomerBillSummaryRequest;
@@ -87,58 +93,73 @@ class IntlpartnersmgtClient extends AbstractClient {
87
93
  }
88
94
 
89
95
  /**
90
- * This API is used to query the credit of users in the list.
91
- * @param {QueryCreditByUinListRequest} req
92
- * @param {function(string, QueryCreditByUinListResponse):void} cb
96
+ * This API is used to query the voucher list based on the customer UIN.
97
+ * @param {QueryVoucherListByUinRequest} req
98
+ * @param {function(string, QueryVoucherListByUinResponse):void} cb
93
99
  * @public
94
100
  */
95
- QueryCreditByUinList(req, cb) {
96
- let resp = new QueryCreditByUinListResponse();
97
- this.request("QueryCreditByUinList", req, resp, cb);
101
+ QueryVoucherListByUin(req, cb) {
102
+ let resp = new QueryVoucherListByUinResponse();
103
+ this.request("QueryVoucherListByUin", req, resp, cb);
98
104
  }
99
105
 
100
106
  /**
101
- * This API is used to query the voucher quota pool.
102
- * @param {QueryVoucherPoolRequest} req
103
- * @param {function(string, QueryVoucherPoolResponse):void} cb
107
+ * This API is used for a partner to set credit for a customer, such as increasing or lowering the credit and setting it to 0.
108
+ 1. The credit is valid permanently and will not be zeroed regularly.
109
+ 2. The customer's service will be suspended when its available credit is set to 0, so caution should be exercised with this operation.
110
+ 3. To prevent the customer from making new purchases without affecting their use of previously purchased products, the partner can set their available credit to 0 after obtaining the non-stop feature privilege from the channel manager.
111
+ 4. The set credit is an increment of the current available credit and cannot exceed the remaining allocable credit. Setting the credit to a negative value indicates that it will be repossessed. The available credit can be set to 0 at the minimum.
112
+ * @param {AllocateCustomerCreditRequest} req
113
+ * @param {function(string, AllocateCustomerCreditResponse):void} cb
104
114
  * @public
105
115
  */
106
- QueryVoucherPool(req, cb) {
107
- let resp = new QueryVoucherPoolResponse();
108
- this.request("QueryVoucherPool", req, resp, cb);
116
+ AllocateCustomerCredit(req, cb) {
117
+ let resp = new AllocateCustomerCreditResponse();
118
+ this.request("AllocateCustomerCredit", req, resp, cb);
109
119
  }
110
120
 
111
121
  /**
112
- * This API is used to query the customer information.
113
- * @param {DescribeCustomerInfoRequest} req
114
- * @param {function(string, DescribeCustomerInfoResponse):void} cb
122
+ * This API is used to obtain country/region codes.
123
+ * @param {GetCountryCodesRequest} req
124
+ * @param {function(string, GetCountryCodesResponse):void} cb
115
125
  * @public
116
126
  */
117
- DescribeCustomerInfo(req, cb) {
118
- let resp = new DescribeCustomerInfoResponse();
119
- this.request("DescribeCustomerInfo", req, resp, cb);
127
+ GetCountryCodes(req, cb) {
128
+ let resp = new GetCountryCodesResponse();
129
+ this.request("GetCountryCodes", req, resp, cb);
120
130
  }
121
131
 
122
132
  /**
123
- * This API is used to create Tencent Cloud customer accounts for first-level resellers/second-level resellers. After the account is created, it will be automatically bound to the partner account.Note:1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.2. Customers need to add personal information when logging in for the first time.3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
124
- * @param {CreateAccountRequest} req
125
- * @param {function(string, CreateAccountResponse):void} cb
133
+ * This API is used for a partner to query its own total credit, available credit, and used credit in USD.
134
+ * @param {QueryPartnerCreditRequest} req
135
+ * @param {function(string, QueryPartnerCreditResponse):void} cb
126
136
  * @public
127
137
  */
128
- CreateAccount(req, cb) {
129
- let resp = new CreateAccountResponse();
130
- this.request("CreateAccount", req, resp, cb);
138
+ QueryPartnerCredit(req, cb) {
139
+ let resp = new QueryPartnerCreditResponse();
140
+ this.request("QueryPartnerCredit", req, resp, cb);
131
141
  }
132
142
 
133
143
  /**
134
- * This API is used to query the voucher list based on the customer UIN.
135
- * @param {QueryVoucherListByUinRequest} req
136
- * @param {function(string, QueryVoucherListByUinResponse):void} cb
144
+ * This API is used to query customer credits.
145
+ * @param {QueryCreditQuotaRequest} req
146
+ * @param {function(string, QueryCreditQuotaResponse):void} cb
137
147
  * @public
138
148
  */
139
- QueryVoucherListByUin(req, cb) {
140
- let resp = new QueryVoucherListByUinResponse();
141
- this.request("QueryVoucherListByUin", req, resp, cb);
149
+ QueryCreditQuota(req, cb) {
150
+ let resp = new QueryCreditQuotaResponse();
151
+ this.request("QueryCreditQuota", req, resp, cb);
152
+ }
153
+
154
+ /**
155
+ * This API is used to query the customer information.
156
+ * @param {DescribeCustomerInfoRequest} req
157
+ * @param {function(string, DescribeCustomerInfoResponse):void} cb
158
+ * @public
159
+ */
160
+ DescribeCustomerInfo(req, cb) {
161
+ let resp = new DescribeCustomerInfoResponse();
162
+ this.request("DescribeCustomerInfo", req, resp, cb);
142
163
  }
143
164
 
144
165
  /**
@@ -152,32 +173,6 @@ class IntlpartnersmgtClient extends AbstractClient {
152
173
  this.request("DescribeCustomerUin", req, resp, cb);
153
174
  }
154
175
 
155
- /**
156
- * This API is used for a partner to query its own total credit, available credit, and used credit in USD.
157
- * @param {QueryPartnerCreditRequest} req
158
- * @param {function(string, QueryPartnerCreditResponse):void} cb
159
- * @public
160
- */
161
- QueryPartnerCredit(req, cb) {
162
- let resp = new QueryPartnerCreditResponse();
163
- this.request("QueryPartnerCredit", req, resp, cb);
164
- }
165
-
166
- /**
167
- * This API is used for a partner to set credit for a customer, such as increasing or lowering the credit and setting it to 0.
168
- 1. The credit is valid permanently and will not be zeroed regularly.
169
- 2. The customer's service will be suspended when its available credit is set to 0, so caution should be exercised with this operation.
170
- 3. To prevent the customer from making new purchases without affecting their use of previously purchased products, the partner can set their available credit to 0 after obtaining the non-stop feature privilege from the channel manager.
171
- 4. The set credit is an increment of the current available credit and cannot exceed the remaining allocable credit. Setting the credit to a negative value indicates that it will be repossessed. The available credit can be set to 0 at the minimum.
172
- * @param {AllocateCustomerCreditRequest} req
173
- * @param {function(string, AllocateCustomerCreditResponse):void} cb
174
- * @public
175
- */
176
- AllocateCustomerCredit(req, cb) {
177
- let resp = new AllocateCustomerCreditResponse();
178
- this.request("AllocateCustomerCredit", req, resp, cb);
179
- }
180
-
181
176
  /**
182
177
  * This API is used to query the customer bill details.
183
178
  * @param {DescribeBillDetailRequest} req
@@ -190,14 +185,14 @@ class IntlpartnersmgtClient extends AbstractClient {
190
185
  }
191
186
 
192
187
  /**
193
- * This API is used to query the voucher quota based on the customer UIN.
194
- * @param {QueryVoucherAmountByUinRequest} req
195
- * @param {function(string, QueryVoucherAmountByUinResponse):void} cb
188
+ * External API for the L1 billing of the customer billing center
189
+ * @param {DescribeBillSummaryRequest} req
190
+ * @param {function(string, DescribeBillSummaryResponse):void} cb
196
191
  * @public
197
192
  */
198
- QueryVoucherAmountByUin(req, cb) {
199
- let resp = new QueryVoucherAmountByUinResponse();
200
- this.request("QueryVoucherAmountByUin", req, resp, cb);
193
+ DescribeBillSummary(req, cb) {
194
+ let resp = new DescribeBillSummaryResponse();
195
+ this.request("DescribeBillSummary", req, resp, cb);
201
196
  }
202
197
 
203
198
  /**
@@ -212,25 +207,25 @@ class IntlpartnersmgtClient extends AbstractClient {
212
207
  }
213
208
 
214
209
  /**
215
- * This API is used to obtain country/region codes.
216
- * @param {GetCountryCodesRequest} req
217
- * @param {function(string, GetCountryCodesResponse):void} cb
210
+ * This API is used to download billing files and return billing file URLs by customers.
211
+ * @param {DescribeBillDownloadUrlRequest} req
212
+ * @param {function(string, DescribeBillDownloadUrlResponse):void} cb
218
213
  * @public
219
214
  */
220
- GetCountryCodes(req, cb) {
221
- let resp = new GetCountryCodesResponse();
222
- this.request("GetCountryCodes", req, resp, cb);
215
+ DescribeBillDownloadUrl(req, cb) {
216
+ let resp = new DescribeBillDownloadUrlResponse();
217
+ this.request("DescribeBillDownloadUrl", req, resp, cb);
223
218
  }
224
219
 
225
220
  /**
226
- * This API is used for a partner to the credits and basic information of cutomers.
227
- * @param {QueryCustomersCreditRequest} req
228
- * @param {function(string, QueryCustomersCreditResponse):void} cb
221
+ * This API is used to query the credit of users in the list.
222
+ * @param {QueryCreditByUinListRequest} req
223
+ * @param {function(string, QueryCreditByUinListResponse):void} cb
229
224
  * @public
230
225
  */
231
- QueryCustomersCredit(req, cb) {
232
- let resp = new QueryCustomersCreditResponse();
233
- this.request("QueryCustomersCredit", req, resp, cb);
226
+ QueryCreditByUinList(req, cb) {
227
+ let resp = new QueryCreditByUinListResponse();
228
+ this.request("QueryCreditByUinList", req, resp, cb);
234
229
  }
235
230
 
236
231
  /**
@@ -245,14 +240,25 @@ class IntlpartnersmgtClient extends AbstractClient {
245
240
  }
246
241
 
247
242
  /**
248
- * This API is used to query all the credit allocation records of a single customer.
249
- * @param {QueryCreditAllocationHistoryRequest} req
250
- * @param {function(string, QueryCreditAllocationHistoryResponse):void} cb
243
+ * This API is used to create Tencent Cloud customer accounts for first-level resellers/second-level resellers. After the account is created, it will be automatically bound to the partner account.Note:1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.2. Customers need to add personal information when logging in for the first time.3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
244
+ * @param {CreateAccountRequest} req
245
+ * @param {function(string, CreateAccountResponse):void} cb
251
246
  * @public
252
247
  */
253
- QueryCreditAllocationHistory(req, cb) {
254
- let resp = new QueryCreditAllocationHistoryResponse();
255
- this.request("QueryCreditAllocationHistory", req, resp, cb);
248
+ CreateAccount(req, cb) {
249
+ let resp = new CreateAccountResponse();
250
+ this.request("CreateAccount", req, resp, cb);
251
+ }
252
+
253
+ /**
254
+ * This API is used to obtain the total amount of customer bills by product.
255
+ * @param {DescribeBillSummaryByProductRequest} req
256
+ * @param {function(string, DescribeBillSummaryByProductResponse):void} cb
257
+ * @public
258
+ */
259
+ DescribeBillSummaryByProduct(req, cb) {
260
+ let resp = new DescribeBillSummaryByProductResponse();
261
+ this.request("DescribeBillSummaryByProduct", req, resp, cb);
256
262
  }
257
263
 
258
264
  /**
@@ -288,17 +294,6 @@ class IntlpartnersmgtClient extends AbstractClient {
288
294
  this.request("DescribeCustomerBillSummary", req, resp, cb);
289
295
  }
290
296
 
291
- /**
292
- * This API is used to obtain the total amount of customer bills by product.
293
- * @param {DescribeBillSummaryByProductRequest} req
294
- * @param {function(string, DescribeBillSummaryByProductResponse):void} cb
295
- * @public
296
- */
297
- DescribeBillSummaryByProduct(req, cb) {
298
- let resp = new DescribeBillSummaryByProductResponse();
299
- this.request("DescribeBillSummaryByProduct", req, resp, cb);
300
- }
301
-
302
297
  /**
303
298
  * This API is used to query the account verification status.
304
299
  * @param {QueryAccountVerificationStatusRequest} req
@@ -311,14 +306,47 @@ class IntlpartnersmgtClient extends AbstractClient {
311
306
  }
312
307
 
313
308
  /**
314
- * This API is used to query customer credits.
315
- * @param {QueryCreditQuotaRequest} req
316
- * @param {function(string, QueryCreditQuotaResponse):void} cb
309
+ * This API is used to query the voucher quota pool.
310
+ * @param {QueryVoucherPoolRequest} req
311
+ * @param {function(string, QueryVoucherPoolResponse):void} cb
317
312
  * @public
318
313
  */
319
- QueryCreditQuota(req, cb) {
320
- let resp = new QueryCreditQuotaResponse();
321
- this.request("QueryCreditQuota", req, resp, cb);
314
+ QueryVoucherPool(req, cb) {
315
+ let resp = new QueryVoucherPoolResponse();
316
+ this.request("QueryVoucherPool", req, resp, cb);
317
+ }
318
+
319
+ /**
320
+ * This API is used to query the voucher quota based on the customer UIN.
321
+ * @param {QueryVoucherAmountByUinRequest} req
322
+ * @param {function(string, QueryVoucherAmountByUinResponse):void} cb
323
+ * @public
324
+ */
325
+ QueryVoucherAmountByUin(req, cb) {
326
+ let resp = new QueryVoucherAmountByUinResponse();
327
+ this.request("QueryVoucherAmountByUin", req, resp, cb);
328
+ }
329
+
330
+ /**
331
+ * This API is used to query all the credit allocation records of a single customer.
332
+ * @param {QueryCreditAllocationHistoryRequest} req
333
+ * @param {function(string, QueryCreditAllocationHistoryResponse):void} cb
334
+ * @public
335
+ */
336
+ QueryCreditAllocationHistory(req, cb) {
337
+ let resp = new QueryCreditAllocationHistoryResponse();
338
+ this.request("QueryCreditAllocationHistory", req, resp, cb);
339
+ }
340
+
341
+ /**
342
+ * This API is used for a partner to the credits and basic information of cutomers.
343
+ * @param {QueryCustomersCreditRequest} req
344
+ * @param {function(string, QueryCustomersCreditResponse):void} cb
345
+ * @public
346
+ */
347
+ QueryCustomersCredit(req, cb) {
348
+ let resp = new QueryCustomersCreditResponse();
349
+ this.request("QueryCustomersCredit", req, resp, cb);
322
350
  }
323
351
 
324
352
 
@@ -59,6 +59,90 @@ class QueryDirectCustomersCreditResponse extends AbstractModel {
59
59
  }
60
60
  }
61
61
 
62
+ /**
63
+ * Detailed summary by billing dimension
64
+ * @class
65
+ */
66
+ class SummaryDetails extends AbstractModel {
67
+ constructor(){
68
+ super();
69
+
70
+ /**
71
+ * Product information list
72
+ Note: This field may return null, indicating that no valid values can be obtained.
73
+ * @type {Array.<BusinessInfo> || null}
74
+ */
75
+ this.Business = null;
76
+
77
+ /**
78
+ * Original price
79
+ Note: This field may return null, indicating that no valid values can be obtained.
80
+ * @type {string || null}
81
+ */
82
+ this.OriginalCost = null;
83
+
84
+ /**
85
+ * Voucher amount
86
+ Note: This field may return null, indicating that no valid values can be obtained.
87
+ * @type {string || null}
88
+ */
89
+ this.VoucherPayAmount = null;
90
+
91
+ /**
92
+ * Daily deduction
93
+ Note: This field may return null, indicating that no valid values can be obtained.
94
+ * @type {string || null}
95
+ */
96
+ this.RICost = null;
97
+
98
+ /**
99
+ * Total amount
100
+ Note: This field may return null, indicating that no valid values can be obtained.
101
+ * @type {string || null}
102
+ */
103
+ this.TotalCost = null;
104
+
105
+ /**
106
+ * Summary key by classification dimension Note: This field may return null, indicating that no valid values can be obtained.
107
+ * @type {string || null}
108
+ */
109
+ this.GroupKey = null;
110
+
111
+ /**
112
+ * Summary value by classification dimension
113
+ Note: This field may return null, indicating that no valid values can be obtained.
114
+ * @type {string || null}
115
+ */
116
+ this.GroupValue = null;
117
+
118
+ }
119
+
120
+ /**
121
+ * @private
122
+ */
123
+ deserialize(params) {
124
+ if (!params) {
125
+ return;
126
+ }
127
+
128
+ if (params.Business) {
129
+ this.Business = new Array();
130
+ for (let z in params.Business) {
131
+ let obj = new BusinessInfo();
132
+ obj.deserialize(params.Business[z]);
133
+ this.Business.push(obj);
134
+ }
135
+ }
136
+ this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
137
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
138
+ this.RICost = 'RICost' in params ? params.RICost : null;
139
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
140
+ this.GroupKey = 'GroupKey' in params ? params.GroupKey : null;
141
+ this.GroupValue = 'GroupValue' in params ? params.GroupValue : null;
142
+
143
+ }
144
+ }
145
+
62
146
  /**
63
147
  * QueryPartnerCredit response structure.
64
148
  * @class
@@ -157,6 +241,34 @@ class QueryVoucherListByUinRequest extends AbstractModel {
157
241
  }
158
242
  }
159
243
 
244
+ /**
245
+ * QueryVoucherAmountByUin request structure.
246
+ * @class
247
+ */
248
+ class QueryVoucherAmountByUinRequest extends AbstractModel {
249
+ constructor(){
250
+ super();
251
+
252
+ /**
253
+ * Customer UIN list. Array length value: 1-20.
254
+ * @type {Array.<number> || null}
255
+ */
256
+ this.ClientUins = null;
257
+
258
+ }
259
+
260
+ /**
261
+ * @private
262
+ */
263
+ deserialize(params) {
264
+ if (!params) {
265
+ return;
266
+ }
267
+ this.ClientUins = 'ClientUins' in params ? params.ClientUins : null;
268
+
269
+ }
270
+ }
271
+
160
272
  /**
161
273
  * QueryVoucherAmountByUin response structure.
162
274
  * @class
@@ -299,6 +411,49 @@ Note: The return value may be null, indicating that no valid data can be obtaine
299
411
  }
300
412
  }
301
413
 
414
+ /**
415
+ * DescribeBillSummary response structure.
416
+ * @class
417
+ */
418
+ class DescribeBillSummaryResponse extends AbstractModel {
419
+ constructor(){
420
+ super();
421
+
422
+ /**
423
+ * Detailed summary by billing dimensionNote: This field may return null, indicating that no valid values can be obtained.
424
+ * @type {Array.<SummaryDetails> || null}
425
+ */
426
+ this.SummaryDetail = null;
427
+
428
+ /**
429
+ * 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.
430
+ * @type {string || null}
431
+ */
432
+ this.RequestId = null;
433
+
434
+ }
435
+
436
+ /**
437
+ * @private
438
+ */
439
+ deserialize(params) {
440
+ if (!params) {
441
+ return;
442
+ }
443
+
444
+ if (params.SummaryDetail) {
445
+ this.SummaryDetail = new Array();
446
+ for (let z in params.SummaryDetail) {
447
+ let obj = new SummaryDetails();
448
+ obj.deserialize(params.SummaryDetail[z]);
449
+ this.SummaryDetail.push(obj);
450
+ }
451
+ }
452
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
453
+
454
+ }
455
+ }
456
+
302
457
  /**
303
458
  * DescribeBillSummaryByPayMode response structure.
304
459
  * @class
@@ -371,6 +526,73 @@ class QueryCreditQuotaResponse extends AbstractModel {
371
526
  }
372
527
  }
373
528
 
529
+ /**
530
+ * Product information
531
+ * @class
532
+ */
533
+ class BusinessInfo extends AbstractModel {
534
+ constructor(){
535
+ super();
536
+
537
+ /**
538
+ * ProductNote: This field may return null, indicating that no valid values can be obtained.
539
+ * @type {string || null}
540
+ */
541
+ this.BusinessCodeName = null;
542
+
543
+ /**
544
+ * Product codeNote: This field may return null, indicating that no valid values can be obtained.
545
+ * @type {string || null}
546
+ */
547
+ this.BusinessCode = null;
548
+
549
+ /**
550
+ * Original price
551
+ Note: This field may return null, indicating that no valid values can be obtained.
552
+ * @type {string || null}
553
+ */
554
+ this.OriginalCost = null;
555
+
556
+ /**
557
+ * Voucher amount
558
+ Note: This field may return null, indicating that no valid values can be obtained.
559
+ * @type {string || null}
560
+ */
561
+ this.VoucherPayAmount = null;
562
+
563
+ /**
564
+ * Daily deduction
565
+ Note: This field may return null, indicating that no valid values can be obtained.
566
+ * @type {string || null}
567
+ */
568
+ this.RICost = null;
569
+
570
+ /**
571
+ * Total amount
572
+ Note: This field may return null, indicating that no valid values can be obtained.
573
+ * @type {string || null}
574
+ */
575
+ this.TotalCost = null;
576
+
577
+ }
578
+
579
+ /**
580
+ * @private
581
+ */
582
+ deserialize(params) {
583
+ if (!params) {
584
+ return;
585
+ }
586
+ this.BusinessCodeName = 'BusinessCodeName' in params ? params.BusinessCodeName : null;
587
+ this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
588
+ this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
589
+ this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
590
+ this.RICost = 'RICost' in params ? params.RICost : null;
591
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
592
+
593
+ }
594
+ }
595
+
374
596
  /**
375
597
  * Voucher information of a single customer
376
598
  * @class
@@ -1851,6 +2073,48 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
1851
2073
  }
1852
2074
  }
1853
2075
 
2076
+ /**
2077
+ * DescribeBillSummary request structure.
2078
+ * @class
2079
+ */
2080
+ class DescribeBillSummaryRequest extends AbstractModel {
2081
+ constructor(){
2082
+ super();
2083
+
2084
+ /**
2085
+ * Bill month in the format of "yyyy-mm".
2086
+ * @type {string || null}
2087
+ */
2088
+ this.Month = null;
2089
+
2090
+ /**
2091
+ * Billing dimension. Optional parameters: product, project, tag
2092
+ * @type {string || null}
2093
+ */
2094
+ this.GroupType = null;
2095
+
2096
+ /**
2097
+ * Tag value list
2098
+ * @type {Array.<string> || null}
2099
+ */
2100
+ this.TagKey = null;
2101
+
2102
+ }
2103
+
2104
+ /**
2105
+ * @private
2106
+ */
2107
+ deserialize(params) {
2108
+ if (!params) {
2109
+ return;
2110
+ }
2111
+ this.Month = 'Month' in params ? params.Month : null;
2112
+ this.GroupType = 'GroupType' in params ? params.GroupType : null;
2113
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
2114
+
2115
+ }
2116
+ }
2117
+
1854
2118
  /**
1855
2119
  * DescribeBillSummaryByPayMode request structure.
1856
2120
  * @class
@@ -2662,6 +2926,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
2662
2926
  }
2663
2927
  }
2664
2928
 
2929
+ /**
2930
+ * DescribeBillDownloadUrl request structure.
2931
+ * @class
2932
+ */
2933
+ class DescribeBillDownloadUrlRequest extends AbstractModel {
2934
+ constructor(){
2935
+ super();
2936
+
2937
+ /**
2938
+ * Bill month in the format of "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.
2939
+ * @type {string || null}
2940
+ */
2941
+ this.Month = null;
2942
+
2943
+ /**
2944
+ * Type of bill. Valid values: L2 or L3
2945
+ * @type {string || null}
2946
+ */
2947
+ this.FileType = null;
2948
+
2949
+ }
2950
+
2951
+ /**
2952
+ * @private
2953
+ */
2954
+ deserialize(params) {
2955
+ if (!params) {
2956
+ return;
2957
+ }
2958
+ this.Month = 'Month' in params ? params.Month : null;
2959
+ this.FileType = 'FileType' in params ? params.FileType : null;
2960
+
2961
+ }
2962
+ }
2963
+
2665
2964
  /**
2666
2965
  * DescribeCustomerUin request structure.
2667
2966
  * @class
@@ -2849,18 +3148,24 @@ Note: The return value may be null, indicating that no valid data can be obtaine
2849
3148
  }
2850
3149
 
2851
3150
  /**
2852
- * QueryVoucherAmountByUin request structure.
3151
+ * DescribeBillDownloadUrl response structure.
2853
3152
  * @class
2854
3153
  */
2855
- class QueryVoucherAmountByUinRequest extends AbstractModel {
3154
+ class DescribeBillDownloadUrlResponse extends AbstractModel {
2856
3155
  constructor(){
2857
3156
  super();
2858
3157
 
2859
3158
  /**
2860
- * Customer UIN list. Array length value: 1-20.
2861
- * @type {Array.<number> || null}
3159
+ * File download address, valid for one hour.
3160
+ * @type {string || null}
2862
3161
  */
2863
- this.ClientUins = null;
3162
+ this.DownloadUrl = null;
3163
+
3164
+ /**
3165
+ * 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.
3166
+ * @type {string || null}
3167
+ */
3168
+ this.RequestId = null;
2864
3169
 
2865
3170
  }
2866
3171
 
@@ -2871,7 +3176,8 @@ class QueryVoucherAmountByUinRequest extends AbstractModel {
2871
3176
  if (!params) {
2872
3177
  return;
2873
3178
  }
2874
- this.ClientUins = 'ClientUins' in params ? params.ClientUins : null;
3179
+ this.DownloadUrl = 'DownloadUrl' in params ? params.DownloadUrl : null;
3180
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2875
3181
 
2876
3182
  }
2877
3183
  }
@@ -3174,13 +3480,17 @@ class QueryDirectCustomersCreditRequest extends AbstractModel {
3174
3480
 
3175
3481
  module.exports = {
3176
3482
  QueryDirectCustomersCreditResponse: QueryDirectCustomersCreditResponse,
3483
+ SummaryDetails: SummaryDetails,
3177
3484
  QueryPartnerCreditResponse: QueryPartnerCreditResponse,
3178
3485
  QueryVoucherListByUinRequest: QueryVoucherListByUinRequest,
3486
+ QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
3179
3487
  QueryVoucherAmountByUinResponse: QueryVoucherAmountByUinResponse,
3180
3488
  QueryVoucherAmountByUinItem: QueryVoucherAmountByUinItem,
3181
3489
  QueryCreditAllocationHistoryData: QueryCreditAllocationHistoryData,
3490
+ DescribeBillSummaryResponse: DescribeBillSummaryResponse,
3182
3491
  DescribeBillSummaryByPayModeResponse: DescribeBillSummaryByPayModeResponse,
3183
3492
  QueryCreditQuotaResponse: QueryCreditQuotaResponse,
3493
+ BusinessInfo: BusinessInfo,
3184
3494
  QueryVoucherListByUinItem: QueryVoucherListByUinItem,
3185
3495
  DescribeBillSummaryByProductResponse: DescribeBillSummaryByProductResponse,
3186
3496
  QueryPartnerCreditRequest: QueryPartnerCreditRequest,
@@ -3208,6 +3518,7 @@ module.exports = {
3208
3518
  QueryAccountVerificationStatusRequest: QueryAccountVerificationStatusRequest,
3209
3519
  QueryCreditAllocationHistoryResponse: QueryCreditAllocationHistoryResponse,
3210
3520
  CreateAccountRequest: CreateAccountRequest,
3521
+ DescribeBillSummaryRequest: DescribeBillSummaryRequest,
3211
3522
  DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
3212
3523
  ActionSummaryOverviewItem: ActionSummaryOverviewItem,
3213
3524
  DescribeCustomerInfoRequest: DescribeCustomerInfoRequest,
@@ -3222,11 +3533,12 @@ module.exports = {
3222
3533
  DescribeBillDetailResponse: DescribeBillDetailResponse,
3223
3534
  QueryCreditAllocationHistoryRequest: QueryCreditAllocationHistoryRequest,
3224
3535
  QueryCustomersCreditResponse: QueryCustomersCreditResponse,
3536
+ DescribeBillDownloadUrlRequest: DescribeBillDownloadUrlRequest,
3225
3537
  DescribeCustomerUinRequest: DescribeCustomerUinRequest,
3226
3538
  QueryVoucherListByUinResponse: QueryVoucherListByUinResponse,
3227
3539
  QueryVoucherPoolRequest: QueryVoucherPoolRequest,
3228
3540
  DescribeCustomerInfoData: DescribeCustomerInfoData,
3229
- QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
3541
+ DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
3230
3542
  PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
3231
3543
  QueryCustomersCreditData: QueryCustomersCreditData,
3232
3544
  DescribeCustomerBillSummaryRequest: DescribeCustomerBillSummaryRequest,