tencentcloud-sdk-nodejs-intl-en 3.0.1150 → 3.0.1152
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1152";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -20,6 +20,7 @@ const SummaryDetails = models.SummaryDetails;
|
|
|
20
20
|
const QueryDirectCustomersCreditData = models.QueryDirectCustomersCreditData;
|
|
21
21
|
const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
|
|
22
22
|
const TradeTwoNode = models.TradeTwoNode;
|
|
23
|
+
const QueryT1IndirectCustomersDetailRequest = models.QueryT1IndirectCustomersDetailRequest;
|
|
23
24
|
const CreateAndSendClientInvitationMailResponse = models.CreateAndSendClientInvitationMailResponse;
|
|
24
25
|
const CustomerBillDetailData = models.CustomerBillDetailData;
|
|
25
26
|
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
@@ -52,8 +53,9 @@ const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
|
52
53
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
53
54
|
const QueryInvitationInfoData = models.QueryInvitationInfoData;
|
|
54
55
|
const GetCountryCodesResponse = models.GetCountryCodesResponse;
|
|
55
|
-
const
|
|
56
|
+
const QueryT1IndirectCustomersDetailResponse = models.QueryT1IndirectCustomersDetailResponse;
|
|
56
57
|
const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
|
|
58
|
+
const AllocateCreditPoolRequest = models.AllocateCreditPoolRequest;
|
|
57
59
|
const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
|
|
58
60
|
const GetCountryCodesRequest = models.GetCountryCodesRequest;
|
|
59
61
|
const ForceQNResponse = models.ForceQNResponse;
|
|
@@ -66,6 +68,7 @@ const TradeOneNode = models.TradeOneNode;
|
|
|
66
68
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
67
69
|
const QueryInvitationInfoRequest = models.QueryInvitationInfoRequest;
|
|
68
70
|
const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
|
|
71
|
+
const QueryT1IndirectCustomersDetailResponseData = models.QueryT1IndirectCustomersDetailResponseData;
|
|
69
72
|
const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
|
|
70
73
|
const QueryVoucherPoolResponse = models.QueryVoucherPoolResponse;
|
|
71
74
|
const QueryAccountVerificationStatusRequest = models.QueryAccountVerificationStatusRequest;
|
|
@@ -261,6 +264,18 @@ Callable roles: Distributor
|
|
|
261
264
|
this.request("AllocateCreditPool", req, resp, cb);
|
|
262
265
|
}
|
|
263
266
|
|
|
267
|
+
/**
|
|
268
|
+
* This API is used to query the indirect sub-customers of a first-level distributor.
|
|
269
|
+
Invokable role type: first-level reseller.
|
|
270
|
+
* @param {QueryT1IndirectCustomersDetailRequest} req
|
|
271
|
+
* @param {function(string, QueryT1IndirectCustomersDetailResponse):void} cb
|
|
272
|
+
* @public
|
|
273
|
+
*/
|
|
274
|
+
QueryT1IndirectCustomersDetail(req, cb) {
|
|
275
|
+
let resp = new QueryT1IndirectCustomersDetailResponse();
|
|
276
|
+
this.request("QueryT1IndirectCustomersDetail", req, resp, cb);
|
|
277
|
+
}
|
|
278
|
+
|
|
264
279
|
/**
|
|
265
280
|
* Description: End-customer queries its own bill details.
|
|
266
281
|
Callable role: End-customer.
|
|
@@ -213,6 +213,48 @@ class TradeTwoNode extends AbstractModel {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* QueryT1IndirectCustomersDetail request structure.
|
|
218
|
+
* @class
|
|
219
|
+
*/
|
|
220
|
+
class QueryT1IndirectCustomersDetailRequest extends AbstractModel {
|
|
221
|
+
constructor(){
|
|
222
|
+
super();
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Second-level reseller UIN.
|
|
226
|
+
* @type {number || null}
|
|
227
|
+
*/
|
|
228
|
+
this.SubAgentUin = null;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Pagination parameter: current page number. it starts from 1.
|
|
232
|
+
* @type {number || null}
|
|
233
|
+
*/
|
|
234
|
+
this.Page = null;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Pagination parameter, indicates the number of entries per page. supports [1, 100] data entries per request.
|
|
238
|
+
* @type {number || null}
|
|
239
|
+
*/
|
|
240
|
+
this.PageSize = null;
|
|
241
|
+
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @private
|
|
246
|
+
*/
|
|
247
|
+
deserialize(params) {
|
|
248
|
+
if (!params) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
this.SubAgentUin = 'SubAgentUin' in params ? params.SubAgentUin : null;
|
|
252
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
253
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
216
258
|
/**
|
|
217
259
|
* CreateAndSendClientInvitationMail response structure.
|
|
218
260
|
* @class
|
|
@@ -1704,6 +1746,12 @@ class AllocateCustomerCreditRequest extends AbstractModel {
|
|
|
1704
1746
|
*/
|
|
1705
1747
|
this.ClientUin = null;
|
|
1706
1748
|
|
|
1749
|
+
/**
|
|
1750
|
+
* Remark
|
|
1751
|
+
* @type {string || null}
|
|
1752
|
+
*/
|
|
1753
|
+
this.Remark = null;
|
|
1754
|
+
|
|
1707
1755
|
}
|
|
1708
1756
|
|
|
1709
1757
|
/**
|
|
@@ -1715,6 +1763,7 @@ class AllocateCustomerCreditRequest extends AbstractModel {
|
|
|
1715
1763
|
}
|
|
1716
1764
|
this.AddedCredit = 'AddedCredit' in params ? params.AddedCredit : null;
|
|
1717
1765
|
this.ClientUin = 'ClientUin' in params ? params.ClientUin : null;
|
|
1766
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
1718
1767
|
|
|
1719
1768
|
}
|
|
1720
1769
|
}
|
|
@@ -1914,13 +1963,19 @@ class GetCountryCodesResponse extends AbstractModel {
|
|
|
1914
1963
|
}
|
|
1915
1964
|
|
|
1916
1965
|
/**
|
|
1917
|
-
*
|
|
1966
|
+
* QueryT1IndirectCustomersDetail response structure.
|
|
1918
1967
|
* @class
|
|
1919
1968
|
*/
|
|
1920
|
-
class
|
|
1969
|
+
class QueryT1IndirectCustomersDetailResponse extends AbstractModel {
|
|
1921
1970
|
constructor(){
|
|
1922
1971
|
super();
|
|
1923
1972
|
|
|
1973
|
+
/**
|
|
1974
|
+
* The number of indirect sub-customers of a first-level distributor.
|
|
1975
|
+
* @type {number || null}
|
|
1976
|
+
*/
|
|
1977
|
+
this.Total = null;
|
|
1978
|
+
|
|
1924
1979
|
/**
|
|
1925
1980
|
* Second-level reseller UIN.
|
|
1926
1981
|
* @type {number || null}
|
|
@@ -1928,10 +1983,22 @@ class AllocateCreditPoolRequest extends AbstractModel {
|
|
|
1928
1983
|
this.SubAgentUin = null;
|
|
1929
1984
|
|
|
1930
1985
|
/**
|
|
1931
|
-
*
|
|
1932
|
-
* @type {
|
|
1986
|
+
* Second-Level reseller name.
|
|
1987
|
+
* @type {string || null}
|
|
1933
1988
|
*/
|
|
1934
|
-
this.
|
|
1989
|
+
this.SubAgentName = null;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Indirect sub-customer information.
|
|
1993
|
+
* @type {Array.<QueryT1IndirectCustomersDetailResponseData> || null}
|
|
1994
|
+
*/
|
|
1995
|
+
this.Data = null;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* 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.
|
|
1999
|
+
* @type {string || null}
|
|
2000
|
+
*/
|
|
2001
|
+
this.RequestId = null;
|
|
1935
2002
|
|
|
1936
2003
|
}
|
|
1937
2004
|
|
|
@@ -1942,8 +2009,19 @@ class AllocateCreditPoolRequest extends AbstractModel {
|
|
|
1942
2009
|
if (!params) {
|
|
1943
2010
|
return;
|
|
1944
2011
|
}
|
|
2012
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
1945
2013
|
this.SubAgentUin = 'SubAgentUin' in params ? params.SubAgentUin : null;
|
|
1946
|
-
this.
|
|
2014
|
+
this.SubAgentName = 'SubAgentName' in params ? params.SubAgentName : null;
|
|
2015
|
+
|
|
2016
|
+
if (params.Data) {
|
|
2017
|
+
this.Data = new Array();
|
|
2018
|
+
for (let z in params.Data) {
|
|
2019
|
+
let obj = new QueryT1IndirectCustomersDetailResponseData();
|
|
2020
|
+
obj.deserialize(params.Data[z]);
|
|
2021
|
+
this.Data.push(obj);
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1947
2025
|
|
|
1948
2026
|
}
|
|
1949
2027
|
}
|
|
@@ -1990,6 +2068,41 @@ class AllocateCustomerCreditResponse extends AbstractModel {
|
|
|
1990
2068
|
}
|
|
1991
2069
|
}
|
|
1992
2070
|
|
|
2071
|
+
/**
|
|
2072
|
+
* AllocateCreditPool request structure.
|
|
2073
|
+
* @class
|
|
2074
|
+
*/
|
|
2075
|
+
class AllocateCreditPoolRequest extends AbstractModel {
|
|
2076
|
+
constructor(){
|
|
2077
|
+
super();
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Second-level reseller UIN.
|
|
2081
|
+
* @type {number || null}
|
|
2082
|
+
*/
|
|
2083
|
+
this.SubAgentUin = null;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* Allocated amount.
|
|
2087
|
+
* @type {number || null}
|
|
2088
|
+
*/
|
|
2089
|
+
this.Credit = null;
|
|
2090
|
+
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* @private
|
|
2095
|
+
*/
|
|
2096
|
+
deserialize(params) {
|
|
2097
|
+
if (!params) {
|
|
2098
|
+
return;
|
|
2099
|
+
}
|
|
2100
|
+
this.SubAgentUin = 'SubAgentUin' in params ? params.SubAgentUin : null;
|
|
2101
|
+
this.Credit = 'Credit' in params ? params.Credit : null;
|
|
2102
|
+
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
|
|
1993
2106
|
/**
|
|
1994
2107
|
* QueryVoucherAmountByUin request structure.
|
|
1995
2108
|
* @class
|
|
@@ -2519,6 +2632,50 @@ class QueryCustomersCreditRequest extends AbstractModel {
|
|
|
2519
2632
|
}
|
|
2520
2633
|
}
|
|
2521
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* Query data of indirect sub-customers of a first-level distributor.
|
|
2637
|
+
|
|
2638
|
+
Callable roles: Distributor
|
|
2639
|
+
* @class
|
|
2640
|
+
*/
|
|
2641
|
+
class QueryT1IndirectCustomersDetailResponseData extends AbstractModel {
|
|
2642
|
+
constructor(){
|
|
2643
|
+
super();
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* Customer uin.
|
|
2647
|
+
* @type {number || null}
|
|
2648
|
+
*/
|
|
2649
|
+
this.ClientUin = null;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Customer name.
|
|
2653
|
+
* @type {string || null}
|
|
2654
|
+
*/
|
|
2655
|
+
this.ClientName = null;
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* The time when a sub-customer binds a second-level reseller, time zone: UTC+08:00.
|
|
2659
|
+
* @type {string || null}
|
|
2660
|
+
*/
|
|
2661
|
+
this.ClientBindTime = null;
|
|
2662
|
+
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
/**
|
|
2666
|
+
* @private
|
|
2667
|
+
*/
|
|
2668
|
+
deserialize(params) {
|
|
2669
|
+
if (!params) {
|
|
2670
|
+
return;
|
|
2671
|
+
}
|
|
2672
|
+
this.ClientUin = 'ClientUin' in params ? params.ClientUin : null;
|
|
2673
|
+
this.ClientName = 'ClientName' in params ? params.ClientName : null;
|
|
2674
|
+
this.ClientBindTime = 'ClientBindTime' in params ? params.ClientBindTime : null;
|
|
2675
|
+
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2522
2679
|
/**
|
|
2523
2680
|
* DescribeCustomerInfo response structure.
|
|
2524
2681
|
* @class
|
|
@@ -3442,6 +3599,12 @@ class QueryCreditAllocationHistoryData extends AbstractModel {
|
|
|
3442
3599
|
*/
|
|
3443
3600
|
this.ClientCreditAfter = null;
|
|
3444
3601
|
|
|
3602
|
+
/**
|
|
3603
|
+
* Remark
|
|
3604
|
+
* @type {string || null}
|
|
3605
|
+
*/
|
|
3606
|
+
this.Remark = null;
|
|
3607
|
+
|
|
3445
3608
|
}
|
|
3446
3609
|
|
|
3447
3610
|
/**
|
|
@@ -3456,6 +3619,7 @@ class QueryCreditAllocationHistoryData extends AbstractModel {
|
|
|
3456
3619
|
this.Credit = 'Credit' in params ? params.Credit : null;
|
|
3457
3620
|
this.AllocatedCredit = 'AllocatedCredit' in params ? params.AllocatedCredit : null;
|
|
3458
3621
|
this.ClientCreditAfter = 'ClientCreditAfter' in params ? params.ClientCreditAfter : null;
|
|
3622
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
3459
3623
|
|
|
3460
3624
|
}
|
|
3461
3625
|
}
|
|
@@ -4714,6 +4878,7 @@ module.exports = {
|
|
|
4714
4878
|
QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
|
|
4715
4879
|
DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
|
|
4716
4880
|
TradeTwoNode: TradeTwoNode,
|
|
4881
|
+
QueryT1IndirectCustomersDetailRequest: QueryT1IndirectCustomersDetailRequest,
|
|
4717
4882
|
CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
|
|
4718
4883
|
CustomerBillDetailData: CustomerBillDetailData,
|
|
4719
4884
|
RegionSummaryOverviewItem: RegionSummaryOverviewItem,
|
|
@@ -4746,8 +4911,9 @@ module.exports = {
|
|
|
4746
4911
|
DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
|
|
4747
4912
|
QueryInvitationInfoData: QueryInvitationInfoData,
|
|
4748
4913
|
GetCountryCodesResponse: GetCountryCodesResponse,
|
|
4749
|
-
|
|
4914
|
+
QueryT1IndirectCustomersDetailResponse: QueryT1IndirectCustomersDetailResponse,
|
|
4750
4915
|
AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
|
|
4916
|
+
AllocateCreditPoolRequest: AllocateCreditPoolRequest,
|
|
4751
4917
|
QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
|
|
4752
4918
|
GetCountryCodesRequest: GetCountryCodesRequest,
|
|
4753
4919
|
ForceQNResponse: ForceQNResponse,
|
|
@@ -4760,6 +4926,7 @@ module.exports = {
|
|
|
4760
4926
|
DescribeBillSummaryResponse: DescribeBillSummaryResponse,
|
|
4761
4927
|
QueryInvitationInfoRequest: QueryInvitationInfoRequest,
|
|
4762
4928
|
QueryCustomersCreditRequest: QueryCustomersCreditRequest,
|
|
4929
|
+
QueryT1IndirectCustomersDetailResponseData: QueryT1IndirectCustomersDetailResponseData,
|
|
4763
4930
|
DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
|
|
4764
4931
|
QueryVoucherPoolResponse: QueryVoucherPoolResponse,
|
|
4765
4932
|
QueryAccountVerificationStatusRequest: QueryAccountVerificationStatusRequest,
|