tencentcloud-sdk-nodejs-intl-en 3.0.1161 → 3.0.1163
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/common/sdk_version.js +1 -1
- package/tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.js +15 -0
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +216 -0
- package/tencentcloud/ocr/v20181119/models.js +365 -167
- package/tencentcloud/ocr/v20181119/ocr_client.js +32 -19
- package/tencentcloud/vod/v20180717/models.js +21 -14
- package/tencentcloud/wedata/v20210820/models.js +1030 -316
- package/tencentcloud/wedata/v20210820/wedata_client.js +61 -18
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1163";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -24,6 +24,7 @@ const QueryT1IndirectCustomersDetailRequest = models.QueryT1IndirectCustomersDet
|
|
|
24
24
|
const CreateAndSendClientInvitationMailResponse = models.CreateAndSendClientInvitationMailResponse;
|
|
25
25
|
const CustomerBillDetailData = models.CustomerBillDetailData;
|
|
26
26
|
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
27
|
+
const QuerySubAgentsDetailV2Response = models.QuerySubAgentsDetailV2Response;
|
|
27
28
|
const DescribeCustomerBillDownloadUrlRequest = models.DescribeCustomerBillDownloadUrlRequest;
|
|
28
29
|
const DescribeCustomerUinData = models.DescribeCustomerUinData;
|
|
29
30
|
const CountryCodeItem = models.CountryCodeItem;
|
|
@@ -52,6 +53,7 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
|
|
|
52
53
|
const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
53
54
|
const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
|
|
54
55
|
const QueryInvitationInfoData = models.QueryInvitationInfoData;
|
|
56
|
+
const QuerySubAgentsDetailV2Request = models.QuerySubAgentsDetailV2Request;
|
|
55
57
|
const GetCountryCodesResponse = models.GetCountryCodesResponse;
|
|
56
58
|
const QueryT1IndirectCustomersDetailResponse = models.QueryT1IndirectCustomersDetailResponse;
|
|
57
59
|
const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
|
|
@@ -66,6 +68,7 @@ const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
|
66
68
|
const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
|
|
67
69
|
const TradeOneNode = models.TradeOneNode;
|
|
68
70
|
const DescribeRebateDownloadUrlResponse = models.DescribeRebateDownloadUrlResponse;
|
|
71
|
+
const QuerySubAgentsDetailV2ResponseData = models.QuerySubAgentsDetailV2ResponseData;
|
|
69
72
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
70
73
|
const QueryInvitationInfoRequest = models.QueryInvitationInfoRequest;
|
|
71
74
|
const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
|
|
@@ -228,6 +231,18 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
228
231
|
this.request("ApproveClientApply", req, resp, cb);
|
|
229
232
|
}
|
|
230
233
|
|
|
234
|
+
/**
|
|
235
|
+
* This API is used to query information of second-level resellers.
|
|
236
|
+
Invocation Role:Distributor.
|
|
237
|
+
* @param {QuerySubAgentsDetailV2Request} req
|
|
238
|
+
* @param {function(string, QuerySubAgentsDetailV2Response):void} cb
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
QuerySubAgentsDetailV2(req, cb) {
|
|
242
|
+
let resp = new QuerySubAgentsDetailV2Response();
|
|
243
|
+
this.request("QuerySubAgentsDetailV2", req, resp, cb);
|
|
244
|
+
}
|
|
245
|
+
|
|
231
246
|
/**
|
|
232
247
|
* This API is used to query sub-customer information.
|
|
233
248
|
Invocation roles: reseller, first-level distributor.
|
|
@@ -588,6 +588,56 @@ class RegionSummaryOverviewItem extends AbstractModel {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
+
/**
|
|
592
|
+
* QuerySubAgentsDetailV2 response structure.
|
|
593
|
+
* @class
|
|
594
|
+
*/
|
|
595
|
+
class QuerySubAgentsDetailV2Response extends AbstractModel {
|
|
596
|
+
constructor(){
|
|
597
|
+
super();
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Number of second-level resellers.
|
|
601
|
+
* @type {number || null}
|
|
602
|
+
*/
|
|
603
|
+
this.Total = null;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Second-Level reseller information.
|
|
607
|
+
* @type {Array.<QuerySubAgentsDetailV2ResponseData> || null}
|
|
608
|
+
*/
|
|
609
|
+
this.Data = null;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* 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.
|
|
613
|
+
* @type {string || null}
|
|
614
|
+
*/
|
|
615
|
+
this.RequestId = null;
|
|
616
|
+
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @private
|
|
621
|
+
*/
|
|
622
|
+
deserialize(params) {
|
|
623
|
+
if (!params) {
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
627
|
+
|
|
628
|
+
if (params.Data) {
|
|
629
|
+
this.Data = new Array();
|
|
630
|
+
for (let z in params.Data) {
|
|
631
|
+
let obj = new QuerySubAgentsDetailV2ResponseData();
|
|
632
|
+
obj.deserialize(params.Data[z]);
|
|
633
|
+
this.Data.push(obj);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
637
|
+
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
|
|
591
641
|
/**
|
|
592
642
|
* DescribeCustomerBillDownloadUrl request structure.
|
|
593
643
|
* @class
|
|
@@ -1919,6 +1969,71 @@ class QueryInvitationInfoData extends AbstractModel {
|
|
|
1919
1969
|
}
|
|
1920
1970
|
}
|
|
1921
1971
|
|
|
1972
|
+
/**
|
|
1973
|
+
* QuerySubAgentsDetailV2 request structure.
|
|
1974
|
+
* @class
|
|
1975
|
+
*/
|
|
1976
|
+
class QuerySubAgentsDetailV2Request extends AbstractModel {
|
|
1977
|
+
constructor(){
|
|
1978
|
+
super();
|
|
1979
|
+
|
|
1980
|
+
/**
|
|
1981
|
+
* Page number. starts from 1.
|
|
1982
|
+
* @type {number || null}
|
|
1983
|
+
*/
|
|
1984
|
+
this.Page = null;
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* Number of items per page. supports up to 100.
|
|
1988
|
+
* @type {number || null}
|
|
1989
|
+
*/
|
|
1990
|
+
this.PageSize = null;
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Filter criteria, support the following filter parameters.
|
|
1994
|
+
Note: Email, SubAgentUin, and ClientUin only support exact search. other conditions support fuzzy retrieval.
|
|
1995
|
+
Name: filter criteria based on customer name.
|
|
1996
|
+
SubAgentUin: specifies the uin of the second-level reseller.
|
|
1997
|
+
Remark: remark.
|
|
1998
|
+
Mobile: specifies the mobile number.
|
|
1999
|
+
Specifies the mailbox.
|
|
2000
|
+
ClientUin: specifies the sub-customer uin.
|
|
2001
|
+
* @type {string || null}
|
|
2002
|
+
*/
|
|
2003
|
+
this.FilterType = null;
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Filter value
|
|
2007
|
+
* @type {string || null}
|
|
2008
|
+
*/
|
|
2009
|
+
this.Filter = null;
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* Sorting method. sorts by binding time in ascending or descending order. defaults to descending order if not specified.
|
|
2013
|
+
Desc: descending order.
|
|
2014
|
+
acs: ascending.
|
|
2015
|
+
* @type {string || null}
|
|
2016
|
+
*/
|
|
2017
|
+
this.Order = null;
|
|
2018
|
+
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
/**
|
|
2022
|
+
* @private
|
|
2023
|
+
*/
|
|
2024
|
+
deserialize(params) {
|
|
2025
|
+
if (!params) {
|
|
2026
|
+
return;
|
|
2027
|
+
}
|
|
2028
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
2029
|
+
this.PageSize = 'PageSize' in params ? params.PageSize : null;
|
|
2030
|
+
this.FilterType = 'FilterType' in params ? params.FilterType : null;
|
|
2031
|
+
this.Filter = 'Filter' in params ? params.Filter : null;
|
|
2032
|
+
this.Order = 'Order' in params ? params.Order : null;
|
|
2033
|
+
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
1922
2037
|
/**
|
|
1923
2038
|
* GetCountryCodes response structure.
|
|
1924
2039
|
* @class
|
|
@@ -2547,6 +2662,104 @@ class DescribeRebateDownloadUrlResponse extends AbstractModel {
|
|
|
2547
2662
|
}
|
|
2548
2663
|
}
|
|
2549
2664
|
|
|
2665
|
+
/**
|
|
2666
|
+
* Second-Level reseller information.
|
|
2667
|
+
* @class
|
|
2668
|
+
*/
|
|
2669
|
+
class QuerySubAgentsDetailV2ResponseData extends AbstractModel {
|
|
2670
|
+
constructor(){
|
|
2671
|
+
super();
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* Second-level reseller UIN.
|
|
2675
|
+
* @type {number || null}
|
|
2676
|
+
*/
|
|
2677
|
+
this.SubAgentUin = null;
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* Name
|
|
2681
|
+
* @type {string || null}
|
|
2682
|
+
*/
|
|
2683
|
+
this.Name = null;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Remarks
|
|
2687
|
+
* @type {string || null}
|
|
2688
|
+
*/
|
|
2689
|
+
this.Remark = null;
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Mobile number.
|
|
2693
|
+
* @type {string || null}
|
|
2694
|
+
*/
|
|
2695
|
+
this.Mobile = null;
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Specifies the mailbox.
|
|
2699
|
+
* @type {string || null}
|
|
2700
|
+
*/
|
|
2701
|
+
this.Email = null;
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* Number of secondary dealer sub-customers.
|
|
2705
|
+
* @type {number || null}
|
|
2706
|
+
*/
|
|
2707
|
+
this.CountOfCustomers = null;
|
|
2708
|
+
|
|
2709
|
+
/**
|
|
2710
|
+
* Binding time.
|
|
2711
|
+
* @type {string || null}
|
|
2712
|
+
*/
|
|
2713
|
+
this.BindTime = null;
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* Credit limit pool of second-level reseller.
|
|
2717
|
+
* @type {number || null}
|
|
2718
|
+
*/
|
|
2719
|
+
this.Credit = null;
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* Value pool of unconsumed credit limit for second-level reseller.
|
|
2723
|
+
* @type {number || null}
|
|
2724
|
+
*/
|
|
2725
|
+
this.RemainingCredit = null;
|
|
2726
|
+
|
|
2727
|
+
/**
|
|
2728
|
+
* Cash coupon quota pool for second-level reseller.
|
|
2729
|
+
* @type {number || null}
|
|
2730
|
+
*/
|
|
2731
|
+
this.Voucher = null;
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* Balance of cash coupon quota pool for second-level reseller.
|
|
2735
|
+
* @type {number || null}
|
|
2736
|
+
*/
|
|
2737
|
+
this.RemainingVoucher = null;
|
|
2738
|
+
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
/**
|
|
2742
|
+
* @private
|
|
2743
|
+
*/
|
|
2744
|
+
deserialize(params) {
|
|
2745
|
+
if (!params) {
|
|
2746
|
+
return;
|
|
2747
|
+
}
|
|
2748
|
+
this.SubAgentUin = 'SubAgentUin' in params ? params.SubAgentUin : null;
|
|
2749
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2750
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
2751
|
+
this.Mobile = 'Mobile' in params ? params.Mobile : null;
|
|
2752
|
+
this.Email = 'Email' in params ? params.Email : null;
|
|
2753
|
+
this.CountOfCustomers = 'CountOfCustomers' in params ? params.CountOfCustomers : null;
|
|
2754
|
+
this.BindTime = 'BindTime' in params ? params.BindTime : null;
|
|
2755
|
+
this.Credit = 'Credit' in params ? params.Credit : null;
|
|
2756
|
+
this.RemainingCredit = 'RemainingCredit' in params ? params.RemainingCredit : null;
|
|
2757
|
+
this.Voucher = 'Voucher' in params ? params.Voucher : null;
|
|
2758
|
+
this.RemainingVoucher = 'RemainingVoucher' in params ? params.RemainingVoucher : null;
|
|
2759
|
+
|
|
2760
|
+
}
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2550
2763
|
/**
|
|
2551
2764
|
* DescribeBillSummary response structure.
|
|
2552
2765
|
* @class
|
|
@@ -4998,6 +5211,7 @@ module.exports = {
|
|
|
4998
5211
|
CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
|
|
4999
5212
|
CustomerBillDetailData: CustomerBillDetailData,
|
|
5000
5213
|
RegionSummaryOverviewItem: RegionSummaryOverviewItem,
|
|
5214
|
+
QuerySubAgentsDetailV2Response: QuerySubAgentsDetailV2Response,
|
|
5001
5215
|
DescribeCustomerBillDownloadUrlRequest: DescribeCustomerBillDownloadUrlRequest,
|
|
5002
5216
|
DescribeCustomerUinData: DescribeCustomerUinData,
|
|
5003
5217
|
CountryCodeItem: CountryCodeItem,
|
|
@@ -5026,6 +5240,7 @@ module.exports = {
|
|
|
5026
5240
|
DescribeBillDownloadUrlRequest: DescribeBillDownloadUrlRequest,
|
|
5027
5241
|
DescribeBillSummaryByPayModeRequest: DescribeBillSummaryByPayModeRequest,
|
|
5028
5242
|
QueryInvitationInfoData: QueryInvitationInfoData,
|
|
5243
|
+
QuerySubAgentsDetailV2Request: QuerySubAgentsDetailV2Request,
|
|
5029
5244
|
GetCountryCodesResponse: GetCountryCodesResponse,
|
|
5030
5245
|
QueryT1IndirectCustomersDetailResponse: QueryT1IndirectCustomersDetailResponse,
|
|
5031
5246
|
AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
|
|
@@ -5040,6 +5255,7 @@ module.exports = {
|
|
|
5040
5255
|
DescribeCustomerUinRequest: DescribeCustomerUinRequest,
|
|
5041
5256
|
TradeOneNode: TradeOneNode,
|
|
5042
5257
|
DescribeRebateDownloadUrlResponse: DescribeRebateDownloadUrlResponse,
|
|
5258
|
+
QuerySubAgentsDetailV2ResponseData: QuerySubAgentsDetailV2ResponseData,
|
|
5043
5259
|
DescribeBillSummaryResponse: DescribeBillSummaryResponse,
|
|
5044
5260
|
QueryInvitationInfoRequest: QueryInvitationInfoRequest,
|
|
5045
5261
|
QueryCustomersCreditRequest: QueryCustomersCreditRequest,
|