tencentcloud-sdk-nodejs-intl-en 3.0.997 → 3.0.999

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.997",
3
+ "version": "3.0.999",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220331: require("./v20220331"), v20210420: require("./v20210420"),
2
+ v20210420: require("./v20210420"), v20220331: require("./v20220331"),
3
3
  };
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.997";
1
+ const sdkVersion = "3.0.999";
2
2
  module.exports = sdkVersion
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20191016: require("./v20191016"), v20210527: require("./v20210527"),
2
+ v20210527: require("./v20210527"), v20191016: require("./v20191016"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20211206: require("./v20211206"), v20180330: require("./v20180330"),
2
+ v20180330: require("./v20180330"), v20211206: require("./v20211206"),
3
3
  };
@@ -60,10 +60,11 @@ const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
60
60
  const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
61
61
  const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
62
62
  const DescribeCustomerInfoRequest = models.DescribeCustomerInfoRequest;
63
+ const AllocateCreditPoolRequest = models.AllocateCreditPoolRequest;
63
64
  const QueryCreditQuotaRequest = models.QueryCreditQuotaRequest;
64
65
  const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
65
66
  const QueryVoucherListByUinVoucherItem = models.QueryVoucherListByUinVoucherItem;
66
- const ModifyClientRemarkRequest = models.ModifyClientRemarkRequest;
67
+ const AllocateCreditPoolResponse = models.AllocateCreditPoolResponse;
67
68
  const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
68
69
  const QueryDirectCustomersCreditData = models.QueryDirectCustomersCreditData;
69
70
  const GetCountryCodesRequest = models.GetCountryCodesRequest;
@@ -78,6 +79,7 @@ const QueryVoucherListByUinResponse = models.QueryVoucherListByUinResponse;
78
79
  const QueryVoucherPoolRequest = models.QueryVoucherPoolRequest;
79
80
  const DescribeCustomerInfoData = models.DescribeCustomerInfoData;
80
81
  const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
82
+ const ModifyClientRemarkRequest = models.ModifyClientRemarkRequest;
81
83
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
82
84
  const QueryCustomersCreditData = models.QueryCustomersCreditData;
83
85
  const DescribeCustomerBillSummaryRequest = models.DescribeCustomerBillSummaryRequest;
@@ -186,6 +188,17 @@ class IntlpartnersmgtClient extends AbstractClient {
186
188
  this.request("QueryVoucherListByUin", req, resp, cb);
187
189
  }
188
190
 
191
+ /**
192
+ * This API is used to allocate credit pools to second-level resellers by distributors.
193
+ * @param {AllocateCreditPoolRequest} req
194
+ * @param {function(string, AllocateCreditPoolResponse):void} cb
195
+ * @public
196
+ */
197
+ AllocateCreditPool(req, cb) {
198
+ let resp = new AllocateCreditPoolResponse();
199
+ this.request("AllocateCreditPool", req, resp, cb);
200
+ }
201
+
189
202
  /**
190
203
  * This API is used to query bill details by customers.
191
204
  * @param {DescribeBillDetailRequest} req
@@ -308,14 +321,14 @@ class IntlpartnersmgtClient extends AbstractClient {
308
321
  }
309
322
 
310
323
  /**
311
- * This API is used to query the account verification status.
312
- * @param {QueryAccountVerificationStatusRequest} req
313
- * @param {function(string, QueryAccountVerificationStatusResponse):void} cb
324
+ * This API is used to query the voucher quota based on the customer UIN.
325
+ * @param {QueryVoucherAmountByUinRequest} req
326
+ * @param {function(string, QueryVoucherAmountByUinResponse):void} cb
314
327
  * @public
315
328
  */
316
- QueryAccountVerificationStatus(req, cb) {
317
- let resp = new QueryAccountVerificationStatusResponse();
318
- this.request("QueryAccountVerificationStatus", req, resp, cb);
329
+ QueryVoucherAmountByUin(req, cb) {
330
+ let resp = new QueryVoucherAmountByUinResponse();
331
+ this.request("QueryVoucherAmountByUin", req, resp, cb);
319
332
  }
320
333
 
321
334
  /**
@@ -330,14 +343,14 @@ class IntlpartnersmgtClient extends AbstractClient {
330
343
  }
331
344
 
332
345
  /**
333
- * This API is used to query the voucher quota based on the customer UIN.
334
- * @param {QueryVoucherAmountByUinRequest} req
335
- * @param {function(string, QueryVoucherAmountByUinResponse):void} cb
346
+ * This API is used to query the account verification status.
347
+ * @param {QueryAccountVerificationStatusRequest} req
348
+ * @param {function(string, QueryAccountVerificationStatusResponse):void} cb
336
349
  * @public
337
350
  */
338
- QueryVoucherAmountByUin(req, cb) {
339
- let resp = new QueryVoucherAmountByUinResponse();
340
- this.request("QueryVoucherAmountByUin", req, resp, cb);
351
+ QueryAccountVerificationStatus(req, cb) {
352
+ let resp = new QueryAccountVerificationStatusResponse();
353
+ this.request("QueryAccountVerificationStatus", req, resp, cb);
341
354
  }
342
355
 
343
356
  /**
@@ -2274,6 +2274,41 @@ class DescribeCustomerInfoRequest extends AbstractModel {
2274
2274
  }
2275
2275
  }
2276
2276
 
2277
+ /**
2278
+ * AllocateCreditPool request structure.
2279
+ * @class
2280
+ */
2281
+ class AllocateCreditPoolRequest extends AbstractModel {
2282
+ constructor(){
2283
+ super();
2284
+
2285
+ /**
2286
+ * Second-level reseller UIN.
2287
+ * @type {number || null}
2288
+ */
2289
+ this.SubAgentUin = null;
2290
+
2291
+ /**
2292
+ * Allocated amount.
2293
+ * @type {number || null}
2294
+ */
2295
+ this.Credit = null;
2296
+
2297
+ }
2298
+
2299
+ /**
2300
+ * @private
2301
+ */
2302
+ deserialize(params) {
2303
+ if (!params) {
2304
+ return;
2305
+ }
2306
+ this.SubAgentUin = 'SubAgentUin' in params ? params.SubAgentUin : null;
2307
+ this.Credit = 'Credit' in params ? params.Credit : null;
2308
+
2309
+ }
2310
+ }
2311
+
2277
2312
  /**
2278
2313
  * QueryCreditQuota request structure.
2279
2314
  * @class
@@ -2387,24 +2422,30 @@ class QueryVoucherListByUinVoucherItem extends AbstractModel {
2387
2422
  }
2388
2423
 
2389
2424
  /**
2390
- * ModifyClientRemark request structure.
2425
+ * AllocateCreditPool response structure.
2391
2426
  * @class
2392
2427
  */
2393
- class ModifyClientRemarkRequest extends AbstractModel {
2428
+ class AllocateCreditPoolResponse extends AbstractModel {
2394
2429
  constructor(){
2395
2430
  super();
2396
2431
 
2397
2432
  /**
2398
- * Customer UIN
2399
- * @type {string || null}
2433
+ * Current total remaining quota.
2434
+ * @type {number || null}
2400
2435
  */
2401
- this.ClientUin = null;
2436
+ this.RemainingCredit = null;
2402
2437
 
2403
2438
  /**
2404
- * New customer remarks
2439
+ * Total allocated quota.
2440
+ * @type {number || null}
2441
+ */
2442
+ this.TotalCredit = null;
2443
+
2444
+ /**
2445
+ * 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.
2405
2446
  * @type {string || null}
2406
2447
  */
2407
- this.Remark = null;
2448
+ this.RequestId = null;
2408
2449
 
2409
2450
  }
2410
2451
 
@@ -2415,8 +2456,9 @@ class ModifyClientRemarkRequest extends AbstractModel {
2415
2456
  if (!params) {
2416
2457
  return;
2417
2458
  }
2418
- this.ClientUin = 'ClientUin' in params ? params.ClientUin : null;
2419
- this.Remark = 'Remark' in params ? params.Remark : null;
2459
+ this.RemainingCredit = 'RemainingCredit' in params ? params.RemainingCredit : null;
2460
+ this.TotalCredit = 'TotalCredit' in params ? params.TotalCredit : null;
2461
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2420
2462
 
2421
2463
  }
2422
2464
  }
@@ -3252,6 +3294,41 @@ class DescribeBillDownloadUrlResponse extends AbstractModel {
3252
3294
  }
3253
3295
  }
3254
3296
 
3297
+ /**
3298
+ * ModifyClientRemark request structure.
3299
+ * @class
3300
+ */
3301
+ class ModifyClientRemarkRequest extends AbstractModel {
3302
+ constructor(){
3303
+ super();
3304
+
3305
+ /**
3306
+ * Customer UIN
3307
+ * @type {string || null}
3308
+ */
3309
+ this.ClientUin = null;
3310
+
3311
+ /**
3312
+ * New customer remarks
3313
+ * @type {string || null}
3314
+ */
3315
+ this.Remark = null;
3316
+
3317
+ }
3318
+
3319
+ /**
3320
+ * @private
3321
+ */
3322
+ deserialize(params) {
3323
+ if (!params) {
3324
+ return;
3325
+ }
3326
+ this.ClientUin = 'ClientUin' in params ? params.ClientUin : null;
3327
+ this.Remark = 'Remark' in params ? params.Remark : null;
3328
+
3329
+ }
3330
+ }
3331
+
3255
3332
  /**
3256
3333
  * Payment mode details in the customer bill data totaled by payment mode
3257
3334
  * @class
@@ -3593,10 +3670,11 @@ module.exports = {
3593
3670
  DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
3594
3671
  ActionSummaryOverviewItem: ActionSummaryOverviewItem,
3595
3672
  DescribeCustomerInfoRequest: DescribeCustomerInfoRequest,
3673
+ AllocateCreditPoolRequest: AllocateCreditPoolRequest,
3596
3674
  QueryCreditQuotaRequest: QueryCreditQuotaRequest,
3597
3675
  AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
3598
3676
  QueryVoucherListByUinVoucherItem: QueryVoucherListByUinVoucherItem,
3599
- ModifyClientRemarkRequest: ModifyClientRemarkRequest,
3677
+ AllocateCreditPoolResponse: AllocateCreditPoolResponse,
3600
3678
  DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
3601
3679
  QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
3602
3680
  GetCountryCodesRequest: GetCountryCodesRequest,
@@ -3611,6 +3689,7 @@ module.exports = {
3611
3689
  QueryVoucherPoolRequest: QueryVoucherPoolRequest,
3612
3690
  DescribeCustomerInfoData: DescribeCustomerInfoData,
3613
3691
  DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
3692
+ ModifyClientRemarkRequest: ModifyClientRemarkRequest,
3614
3693
  PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
3615
3694
  QueryCustomersCreditData: QueryCustomersCreditData,
3616
3695
  DescribeCustomerBillSummaryRequest: DescribeCustomerBillSummaryRequest,