tencentcloud-sdk-nodejs-intl-en 3.0.1141 → 3.0.1143
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 +4 -1
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +17 -2
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +197 -42
- package/tencentcloud/mps/v20190612/models.js +2892 -323
- package/tencentcloud/mps/v20190612/mps_client.js +633 -497
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Tencent Cloud SDK for Node.js helps Node.js developers debug and use TencentClou
|
|
|
4
4
|
# Dependent Environment
|
|
5
5
|
1. NODEJS 7.10.1 or higher
|
|
6
6
|
2. Activate your product in the Tencent Cloud Console
|
|
7
|
-
3. Get the `SecretID`, `SecretKey`, and endpoint. The general format of endpoint is `\*.tencentcloudapi.com`. For example, the endpoint of CVM is `cvm.tencentcloudapi.com`. For more information, please see the documentation of the specified product.
|
|
7
|
+
3. Get the `SecretID`, `SecretKey`, and endpoint. The general format of endpoint is `\*.intl.tencentcloudapi.com`. For example, the endpoint of CVM is `cvm.intl.tencentcloudapi.com`. For more information, please see the documentation of the specified product.
|
|
8
8
|
|
|
9
9
|
# Installation
|
|
10
10
|
Before installing Tencent Cloud SDK for Node.js and using TencentCloud API, apply for security credentials in the Tencent Cloud Console. Security credential consists of `SecretID` and `SecretKey`. `SecretID` is for identifying the API requester. `SecretKey` is a key used for signature string encryption and authentication by the server. Please keep your `SecretKey` private and do not disclose it to others.
|
|
@@ -63,3 +63,6 @@ If there is a proxy in your environment, you need to set the system environment
|
|
|
63
63
|
|
|
64
64
|
# Legacy SDK
|
|
65
65
|
We recommend using the new version of the SDK for NODE.js. If you have to use a legacy SDK, please go to the [GitHub repository](https://github.com/CFETeam/qcloudapi-sdk) to download it.
|
|
66
|
+
|
|
67
|
+
# Compliance Notice
|
|
68
|
+
Please prioritize using the default domain names configured in the SDK for each product. If using other domains, note that overseas domains may pose data compliance risks.
|
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1143";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -44,15 +44,17 @@ const QueryVoucherListByUinItem = models.QueryVoucherListByUinItem;
|
|
|
44
44
|
const PolicyProductList = models.PolicyProductList;
|
|
45
45
|
const QueryCustomerBillingQuotaResponse = models.QueryCustomerBillingQuotaResponse;
|
|
46
46
|
const DescribeCustomerBillSummaryRequest = models.DescribeCustomerBillSummaryRequest;
|
|
47
|
+
const QueryInvitationInfoResponse = models.QueryInvitationInfoResponse;
|
|
47
48
|
const DescribeBillSummaryByPayModeResponse = models.DescribeBillSummaryByPayModeResponse;
|
|
48
49
|
const QueryAccountVerificationStatusResponse = models.QueryAccountVerificationStatusResponse;
|
|
49
50
|
const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
|
|
50
51
|
const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
51
52
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
53
|
+
const QueryInvitationInfoData = models.QueryInvitationInfoData;
|
|
52
54
|
const GetCountryCodesResponse = models.GetCountryCodesResponse;
|
|
53
55
|
const AllocateCreditPoolRequest = models.AllocateCreditPoolRequest;
|
|
54
56
|
const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
|
|
55
|
-
const
|
|
57
|
+
const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
|
|
56
58
|
const GetCountryCodesRequest = models.GetCountryCodesRequest;
|
|
57
59
|
const ForceQNResponse = models.ForceQNResponse;
|
|
58
60
|
const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
|
|
@@ -62,7 +64,8 @@ const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
|
62
64
|
const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
|
|
63
65
|
const TradeOneNode = models.TradeOneNode;
|
|
64
66
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
65
|
-
const
|
|
67
|
+
const QueryInvitationInfoRequest = models.QueryInvitationInfoRequest;
|
|
68
|
+
const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
|
|
66
69
|
const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
|
|
67
70
|
const QueryVoucherPoolResponse = models.QueryVoucherPoolResponse;
|
|
68
71
|
const QueryAccountVerificationStatusRequest = models.QueryAccountVerificationStatusRequest;
|
|
@@ -364,6 +367,18 @@ Callable roles: Distributor, Second-level reseller, Reseller
|
|
|
364
367
|
this.request("CreateAccount", req, resp, cb);
|
|
365
368
|
}
|
|
366
369
|
|
|
370
|
+
/**
|
|
371
|
+
* Query usage information of invitation link. Once created, the data will only be retained for 60 days, and the system will automatically delete the invitation link after 60 days.
|
|
372
|
+
Invokable role types: Distributor, Second-level reseller, Reseller.
|
|
373
|
+
* @param {QueryInvitationInfoRequest} req
|
|
374
|
+
* @param {function(string, QueryInvitationInfoResponse):void} cb
|
|
375
|
+
* @public
|
|
376
|
+
*/
|
|
377
|
+
QueryInvitationInfo(req, cb) {
|
|
378
|
+
let resp = new QueryInvitationInfoResponse();
|
|
379
|
+
this.request("QueryInvitationInfo", req, resp, cb);
|
|
380
|
+
}
|
|
381
|
+
|
|
367
382
|
/**
|
|
368
383
|
* This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
|
|
369
384
|
1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
|
|
@@ -1563,6 +1563,49 @@ class DescribeCustomerBillSummaryRequest extends AbstractModel {
|
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
1565
|
|
|
1566
|
+
/**
|
|
1567
|
+
* QueryInvitationInfo response structure.
|
|
1568
|
+
* @class
|
|
1569
|
+
*/
|
|
1570
|
+
class QueryInvitationInfoResponse extends AbstractModel {
|
|
1571
|
+
constructor(){
|
|
1572
|
+
super();
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* Invitation link information.
|
|
1576
|
+
* @type {Array.<QueryInvitationInfoData> || null}
|
|
1577
|
+
*/
|
|
1578
|
+
this.InvitationInfo = null;
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* 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.
|
|
1582
|
+
* @type {string || null}
|
|
1583
|
+
*/
|
|
1584
|
+
this.RequestId = null;
|
|
1585
|
+
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* @private
|
|
1590
|
+
*/
|
|
1591
|
+
deserialize(params) {
|
|
1592
|
+
if (!params) {
|
|
1593
|
+
return;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
if (params.InvitationInfo) {
|
|
1597
|
+
this.InvitationInfo = new Array();
|
|
1598
|
+
for (let z in params.InvitationInfo) {
|
|
1599
|
+
let obj = new QueryInvitationInfoData();
|
|
1600
|
+
obj.deserialize(params.InvitationInfo[z]);
|
|
1601
|
+
this.InvitationInfo.push(obj);
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1605
|
+
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1566
1609
|
/**
|
|
1567
1610
|
* DescribeBillSummaryByPayMode response structure.
|
|
1568
1611
|
* @class
|
|
@@ -1746,6 +1789,87 @@ class DescribeBillSummaryByPayModeRequest extends AbstractModel {
|
|
|
1746
1789
|
}
|
|
1747
1790
|
}
|
|
1748
1791
|
|
|
1792
|
+
/**
|
|
1793
|
+
* Invitation link information.
|
|
1794
|
+
* @class
|
|
1795
|
+
*/
|
|
1796
|
+
class QueryInvitationInfoData extends AbstractModel {
|
|
1797
|
+
constructor(){
|
|
1798
|
+
super();
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* Invitation link token.
|
|
1802
|
+
* @type {string || null}
|
|
1803
|
+
*/
|
|
1804
|
+
this.InvitationToken = null;
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* Creation time of the invitation link.
|
|
1808
|
+
* @type {string || null}
|
|
1809
|
+
*/
|
|
1810
|
+
this.CreateTime = null;
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* Invite link status.
|
|
1814
|
+
1: Unused.
|
|
1815
|
+
2: Used.
|
|
1816
|
+
* @type {number || null}
|
|
1817
|
+
*/
|
|
1818
|
+
this.Status = null;
|
|
1819
|
+
|
|
1820
|
+
/**
|
|
1821
|
+
* Indicates the usage time of the invitation link.
|
|
1822
|
+
* @type {string || null}
|
|
1823
|
+
*/
|
|
1824
|
+
this.UseTime = null;
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* Customer uin.
|
|
1828
|
+
* @type {number || null}
|
|
1829
|
+
*/
|
|
1830
|
+
this.ClientUin = null;
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* Customer mailbox.
|
|
1834
|
+
* @type {string || null}
|
|
1835
|
+
*/
|
|
1836
|
+
this.ClientMail = null;
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Customer type.
|
|
1840
|
+
1: Second-Level reseller.
|
|
1841
|
+
2: Sub-Customer.
|
|
1842
|
+
* @type {number || null}
|
|
1843
|
+
*/
|
|
1844
|
+
this.ClientType = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* The binding time of the customer.
|
|
1848
|
+
* @type {string || null}
|
|
1849
|
+
*/
|
|
1850
|
+
this.BindTime = null;
|
|
1851
|
+
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* @private
|
|
1856
|
+
*/
|
|
1857
|
+
deserialize(params) {
|
|
1858
|
+
if (!params) {
|
|
1859
|
+
return;
|
|
1860
|
+
}
|
|
1861
|
+
this.InvitationToken = 'InvitationToken' in params ? params.InvitationToken : null;
|
|
1862
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1863
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1864
|
+
this.UseTime = 'UseTime' in params ? params.UseTime : null;
|
|
1865
|
+
this.ClientUin = 'ClientUin' in params ? params.ClientUin : null;
|
|
1866
|
+
this.ClientMail = 'ClientMail' in params ? params.ClientMail : null;
|
|
1867
|
+
this.ClientType = 'ClientType' in params ? params.ClientType : null;
|
|
1868
|
+
this.BindTime = 'BindTime' in params ? params.BindTime : null;
|
|
1869
|
+
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1749
1873
|
/**
|
|
1750
1874
|
* GetCountryCodes response structure.
|
|
1751
1875
|
* @class
|
|
@@ -1867,42 +1991,18 @@ class AllocateCustomerCreditResponse extends AbstractModel {
|
|
|
1867
1991
|
}
|
|
1868
1992
|
|
|
1869
1993
|
/**
|
|
1870
|
-
*
|
|
1994
|
+
* QueryVoucherAmountByUin request structure.
|
|
1871
1995
|
* @class
|
|
1872
1996
|
*/
|
|
1873
|
-
class
|
|
1997
|
+
class QueryVoucherAmountByUinRequest extends AbstractModel {
|
|
1874
1998
|
constructor(){
|
|
1875
1999
|
super();
|
|
1876
2000
|
|
|
1877
2001
|
/**
|
|
1878
|
-
*
|
|
1879
|
-
* @type {
|
|
1880
|
-
*/
|
|
1881
|
-
this.FilterType = null;
|
|
1882
|
-
|
|
1883
|
-
/**
|
|
1884
|
-
* Search condition
|
|
1885
|
-
* @type {string || null}
|
|
1886
|
-
*/
|
|
1887
|
-
this.Filter = null;
|
|
1888
|
-
|
|
1889
|
-
/**
|
|
1890
|
-
* A pagination parameter that specifies the current page number, with a value starting from 1.
|
|
1891
|
-
* @type {number || null}
|
|
1892
|
-
*/
|
|
1893
|
-
this.Page = null;
|
|
1894
|
-
|
|
1895
|
-
/**
|
|
1896
|
-
* A pagination parameter that specifies the number of entries per page.
|
|
1897
|
-
* @type {number || null}
|
|
1898
|
-
*/
|
|
1899
|
-
this.PageSize = null;
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty.
|
|
1903
|
-
* @type {string || null}
|
|
2002
|
+
* Customer UIN list. Array length value: 1-20.
|
|
2003
|
+
* @type {Array.<number> || null}
|
|
1904
2004
|
*/
|
|
1905
|
-
this.
|
|
2005
|
+
this.ClientUins = null;
|
|
1906
2006
|
|
|
1907
2007
|
}
|
|
1908
2008
|
|
|
@@ -1913,11 +2013,7 @@ class QueryCustomersCreditRequest extends AbstractModel {
|
|
|
1913
2013
|
if (!params) {
|
|
1914
2014
|
return;
|
|
1915
2015
|
}
|
|
1916
|
-
this.
|
|
1917
|
-
this.Filter = 'Filter' in params ? params.Filter : null;
|
|
1918
|
-
this.Page = 'Page' in params ? params.Page : null;
|
|
1919
|
-
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
1920
|
-
this.Order = 'Order' in params ? params.Order : null;
|
|
2016
|
+
this.ClientUins = 'ClientUins' in params ? params.ClientUins : null;
|
|
1921
2017
|
|
|
1922
2018
|
}
|
|
1923
2019
|
}
|
|
@@ -2340,18 +2436,18 @@ class DescribeBillSummaryResponse extends AbstractModel {
|
|
|
2340
2436
|
}
|
|
2341
2437
|
|
|
2342
2438
|
/**
|
|
2343
|
-
*
|
|
2439
|
+
* QueryInvitationInfo request structure.
|
|
2344
2440
|
* @class
|
|
2345
2441
|
*/
|
|
2346
|
-
class
|
|
2442
|
+
class QueryInvitationInfoRequest extends AbstractModel {
|
|
2347
2443
|
constructor(){
|
|
2348
2444
|
super();
|
|
2349
2445
|
|
|
2350
2446
|
/**
|
|
2351
|
-
*
|
|
2352
|
-
* @type {Array.<
|
|
2447
|
+
* Invite token. array member quantity value: [1, 100].
|
|
2448
|
+
* @type {Array.<string> || null}
|
|
2353
2449
|
*/
|
|
2354
|
-
this.
|
|
2450
|
+
this.InvitationToken = null;
|
|
2355
2451
|
|
|
2356
2452
|
}
|
|
2357
2453
|
|
|
@@ -2362,7 +2458,63 @@ class QueryVoucherAmountByUinRequest extends AbstractModel {
|
|
|
2362
2458
|
if (!params) {
|
|
2363
2459
|
return;
|
|
2364
2460
|
}
|
|
2365
|
-
this.
|
|
2461
|
+
this.InvitationToken = 'InvitationToken' in params ? params.InvitationToken : null;
|
|
2462
|
+
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* QueryCustomersCredit request structure.
|
|
2468
|
+
* @class
|
|
2469
|
+
*/
|
|
2470
|
+
class QueryCustomersCreditRequest extends AbstractModel {
|
|
2471
|
+
constructor(){
|
|
2472
|
+
super();
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Search condition type. You can only search by customer ID, name, remarks, or email.
|
|
2476
|
+
* @type {string || null}
|
|
2477
|
+
*/
|
|
2478
|
+
this.FilterType = null;
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* Search condition
|
|
2482
|
+
* @type {string || null}
|
|
2483
|
+
*/
|
|
2484
|
+
this.Filter = null;
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* A pagination parameter that specifies the current page number, with a value starting from 1.
|
|
2488
|
+
* @type {number || null}
|
|
2489
|
+
*/
|
|
2490
|
+
this.Page = null;
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* A pagination parameter that specifies the number of entries per page.
|
|
2494
|
+
* @type {number || null}
|
|
2495
|
+
*/
|
|
2496
|
+
this.PageSize = null;
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty.
|
|
2500
|
+
* @type {string || null}
|
|
2501
|
+
*/
|
|
2502
|
+
this.Order = null;
|
|
2503
|
+
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* @private
|
|
2508
|
+
*/
|
|
2509
|
+
deserialize(params) {
|
|
2510
|
+
if (!params) {
|
|
2511
|
+
return;
|
|
2512
|
+
}
|
|
2513
|
+
this.FilterType = 'FilterType' in params ? params.FilterType : null;
|
|
2514
|
+
this.Filter = 'Filter' in params ? params.Filter : null;
|
|
2515
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
2516
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
2517
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
2366
2518
|
|
|
2367
2519
|
}
|
|
2368
2520
|
}
|
|
@@ -4586,15 +4738,17 @@ module.exports = {
|
|
|
4586
4738
|
PolicyProductList: PolicyProductList,
|
|
4587
4739
|
QueryCustomerBillingQuotaResponse: QueryCustomerBillingQuotaResponse,
|
|
4588
4740
|
DescribeCustomerBillSummaryRequest: DescribeCustomerBillSummaryRequest,
|
|
4741
|
+
QueryInvitationInfoResponse: QueryInvitationInfoResponse,
|
|
4589
4742
|
DescribeBillSummaryByPayModeResponse: DescribeBillSummaryByPayModeResponse,
|
|
4590
4743
|
QueryAccountVerificationStatusResponse: QueryAccountVerificationStatusResponse,
|
|
4591
4744
|
AllocateCustomerCreditRequest: AllocateCustomerCreditRequest,
|
|
4592
4745
|
DescribeBillDownloadUrlRequest: DescribeBillDownloadUrlRequest,
|
|
4593
4746
|
DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
|
|
4747
|
+
QueryInvitationInfoData: QueryInvitationInfoData,
|
|
4594
4748
|
GetCountryCodesResponse: GetCountryCodesResponse,
|
|
4595
4749
|
AllocateCreditPoolRequest: AllocateCreditPoolRequest,
|
|
4596
4750
|
AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
|
|
4597
|
-
|
|
4751
|
+
QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
|
|
4598
4752
|
GetCountryCodesRequest: GetCountryCodesRequest,
|
|
4599
4753
|
ForceQNResponse: ForceQNResponse,
|
|
4600
4754
|
PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
|
|
@@ -4604,7 +4758,8 @@ module.exports = {
|
|
|
4604
4758
|
DescribeCustomerUinRequest: DescribeCustomerUinRequest,
|
|
4605
4759
|
TradeOneNode: TradeOneNode,
|
|
4606
4760
|
DescribeBillSummaryResponse: DescribeBillSummaryResponse,
|
|
4607
|
-
|
|
4761
|
+
QueryInvitationInfoRequest: QueryInvitationInfoRequest,
|
|
4762
|
+
QueryCustomersCreditRequest: QueryCustomersCreditRequest,
|
|
4608
4763
|
DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
|
|
4609
4764
|
QueryVoucherPoolResponse: QueryVoucherPoolResponse,
|
|
4610
4765
|
QueryAccountVerificationStatusRequest: QueryAccountVerificationStatusRequest,
|