tencentcloud-sdk-nodejs-intl-en 3.0.1116 → 3.0.1118
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.1118";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const SummaryDetails = models.SummaryDetails;
|
|
20
20
|
const QueryDirectCustomersCreditData = models.QueryDirectCustomersCreditData;
|
|
21
21
|
const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
|
|
22
|
+
const TradeTwoNode = models.TradeTwoNode;
|
|
22
23
|
const CreateAndSendClientInvitationMailResponse = models.CreateAndSendClientInvitationMailResponse;
|
|
23
24
|
const CustomerBillDetailData = models.CustomerBillDetailData;
|
|
24
25
|
const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
|
|
@@ -35,6 +36,7 @@ const QueryDirectCustomersCreditRequest = models.QueryDirectCustomersCreditReque
|
|
|
35
36
|
const QueryCreditQuotaRequest = models.QueryCreditQuotaRequest;
|
|
36
37
|
const QueryCustomerBillingQuotaData = models.QueryCustomerBillingQuotaData;
|
|
37
38
|
const QueryPartnerCreditRequest = models.QueryPartnerCreditRequest;
|
|
39
|
+
const GetTradeConfigListRequest = models.GetTradeConfigListRequest;
|
|
38
40
|
const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
|
|
39
41
|
const ModifyClientRemarkResponse = models.ModifyClientRemarkResponse;
|
|
40
42
|
const QueryPartnerCreditResponse = models.QueryPartnerCreditResponse;
|
|
@@ -60,6 +62,7 @@ const QueryPendingCustomersItem = models.QueryPendingCustomersItem;
|
|
|
60
62
|
const QueryDirectCustomersCreditResponse = models.QueryDirectCustomersCreditResponse;
|
|
61
63
|
const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
62
64
|
const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
|
|
65
|
+
const TradeOneNode = models.TradeOneNode;
|
|
63
66
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
64
67
|
const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
|
|
65
68
|
const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
|
|
@@ -84,6 +87,7 @@ const BusinessInfo = models.BusinessInfo;
|
|
|
84
87
|
const DescribeBillSummaryByProductResponse = models.DescribeBillSummaryByProductResponse;
|
|
85
88
|
const DescribeCustomerBillDetailResponse = models.DescribeCustomerBillDetailResponse;
|
|
86
89
|
const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
|
|
90
|
+
const GetTradeConfigListResponse = models.GetTradeConfigListResponse;
|
|
87
91
|
const DescribeCustomerBillDownloadUrlResponse = models.DescribeCustomerBillDownloadUrlResponse;
|
|
88
92
|
const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
|
|
89
93
|
const QueryCreditByUinListRequest = models.QueryCreditByUinListRequest;
|
|
@@ -340,8 +344,10 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
340
344
|
/**
|
|
341
345
|
* This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
|
|
342
346
|
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
|
|
343
|
-
2.
|
|
344
|
-
3.
|
|
347
|
+
2. Customers need to add personal information when logging in for the first time.
|
|
348
|
+
3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
|
|
349
|
+
|
|
350
|
+
Callable roles: distributor, second-level reseller, reseller
|
|
345
351
|
* @param {CreateAccountRequest} req
|
|
346
352
|
* @param {function(string, CreateAccountResponse):void} cb
|
|
347
353
|
* @public
|
|
@@ -475,6 +481,17 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
475
481
|
this.request("QueryCreditAllocationHistory", req, resp, cb);
|
|
476
482
|
}
|
|
477
483
|
|
|
484
|
+
/**
|
|
485
|
+
* This API is used to query industry information, including layer-1 industry and layer-2 industry.
|
|
486
|
+
* @param {GetTradeConfigListRequest} req
|
|
487
|
+
* @param {function(string, GetTradeConfigListResponse):void} cb
|
|
488
|
+
* @public
|
|
489
|
+
*/
|
|
490
|
+
GetTradeConfigList(req, cb) {
|
|
491
|
+
let resp = new GetTradeConfigListResponse();
|
|
492
|
+
this.request("GetTradeConfigList", req, resp, cb);
|
|
493
|
+
}
|
|
494
|
+
|
|
478
495
|
/**
|
|
479
496
|
* This API is used to obtain the total amount of customer bills by product.
|
|
480
497
|
* @param {DescribeBillSummaryByProductRequest} req
|
|
@@ -177,6 +177,48 @@ class DescribeCustomerBillSummaryResponse extends AbstractModel {
|
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Secondary Industry Information
|
|
182
|
+
* @class
|
|
183
|
+
*/
|
|
184
|
+
class TradeTwoNode extends AbstractModel {
|
|
185
|
+
constructor(){
|
|
186
|
+
super();
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Secondary industry id.
|
|
190
|
+
* @type {string || null}
|
|
191
|
+
*/
|
|
192
|
+
this.Id = null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Secondary industry name.
|
|
196
|
+
* @type {string || null}
|
|
197
|
+
*/
|
|
198
|
+
this.Name = null;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Industry information.
|
|
202
|
+
* @type {string || null}
|
|
203
|
+
*/
|
|
204
|
+
this.TradeInfo = null;
|
|
205
|
+
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @private
|
|
210
|
+
*/
|
|
211
|
+
deserialize(params) {
|
|
212
|
+
if (!params) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
216
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
217
|
+
this.TradeInfo = 'TradeInfo' in params ? params.TradeInfo : null;
|
|
218
|
+
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
180
222
|
/**
|
|
181
223
|
* CreateAndSendClientInvitationMail response structure.
|
|
182
224
|
* @class
|
|
@@ -908,6 +950,18 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
|
|
|
908
950
|
*/
|
|
909
951
|
this.VerifyCode = null;
|
|
910
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Layer-1 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181).
|
|
955
|
+
* @type {string || null}
|
|
956
|
+
*/
|
|
957
|
+
this.TradeOne = null;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Layer-2 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181).
|
|
961
|
+
* @type {string || null}
|
|
962
|
+
*/
|
|
963
|
+
this.TradeTwo = null;
|
|
964
|
+
|
|
911
965
|
}
|
|
912
966
|
|
|
913
967
|
/**
|
|
@@ -926,6 +980,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
|
|
|
926
980
|
this.Area = 'Area' in params ? params.Area : null;
|
|
927
981
|
this.Extended = 'Extended' in params ? params.Extended : null;
|
|
928
982
|
this.VerifyCode = 'VerifyCode' in params ? params.VerifyCode : null;
|
|
983
|
+
this.TradeOne = 'TradeOne' in params ? params.TradeOne : null;
|
|
984
|
+
this.TradeTwo = 'TradeTwo' in params ? params.TradeTwo : null;
|
|
929
985
|
|
|
930
986
|
}
|
|
931
987
|
}
|
|
@@ -1100,6 +1156,27 @@ class QueryPartnerCreditRequest extends AbstractModel {
|
|
|
1100
1156
|
}
|
|
1101
1157
|
}
|
|
1102
1158
|
|
|
1159
|
+
/**
|
|
1160
|
+
* GetTradeConfigList request structure.
|
|
1161
|
+
* @class
|
|
1162
|
+
*/
|
|
1163
|
+
class GetTradeConfigListRequest extends AbstractModel {
|
|
1164
|
+
constructor(){
|
|
1165
|
+
super();
|
|
1166
|
+
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* @private
|
|
1171
|
+
*/
|
|
1172
|
+
deserialize(params) {
|
|
1173
|
+
if (!params) {
|
|
1174
|
+
return;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1103
1180
|
/**
|
|
1104
1181
|
* DescribeBillSummaryByProduct request structure.
|
|
1105
1182
|
* @class
|
|
@@ -2256,6 +2333,56 @@ class DescribeCustomerUinRequest extends AbstractModel {
|
|
|
2256
2333
|
}
|
|
2257
2334
|
}
|
|
2258
2335
|
|
|
2336
|
+
/**
|
|
2337
|
+
* Primary Industry Information
|
|
2338
|
+
* @class
|
|
2339
|
+
*/
|
|
2340
|
+
class TradeOneNode extends AbstractModel {
|
|
2341
|
+
constructor(){
|
|
2342
|
+
super();
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* Layer-1 industry id.
|
|
2346
|
+
* @type {string || null}
|
|
2347
|
+
*/
|
|
2348
|
+
this.Id = null;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* Layer-1 industry name.
|
|
2352
|
+
* @type {string || null}
|
|
2353
|
+
*/
|
|
2354
|
+
this.Name = null;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Layer-2 industries corresponding to the layer-1 industry.
|
|
2358
|
+
* @type {Array.<TradeTwoNode> || null}
|
|
2359
|
+
*/
|
|
2360
|
+
this.Children = null;
|
|
2361
|
+
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* @private
|
|
2366
|
+
*/
|
|
2367
|
+
deserialize(params) {
|
|
2368
|
+
if (!params) {
|
|
2369
|
+
return;
|
|
2370
|
+
}
|
|
2371
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2372
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2373
|
+
|
|
2374
|
+
if (params.Children) {
|
|
2375
|
+
this.Children = new Array();
|
|
2376
|
+
for (let z in params.Children) {
|
|
2377
|
+
let obj = new TradeTwoNode();
|
|
2378
|
+
obj.deserialize(params.Children[z]);
|
|
2379
|
+
this.Children.push(obj);
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2259
2386
|
/**
|
|
2260
2387
|
* DescribeBillSummary response structure.
|
|
2261
2388
|
* @class
|
|
@@ -3483,6 +3610,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3483
3610
|
}
|
|
3484
3611
|
}
|
|
3485
3612
|
|
|
3613
|
+
/**
|
|
3614
|
+
* GetTradeConfigList response structure.
|
|
3615
|
+
* @class
|
|
3616
|
+
*/
|
|
3617
|
+
class GetTradeConfigListResponse extends AbstractModel {
|
|
3618
|
+
constructor(){
|
|
3619
|
+
super();
|
|
3620
|
+
|
|
3621
|
+
/**
|
|
3622
|
+
* Industry information.
|
|
3623
|
+
* @type {Array.<TradeOneNode> || null}
|
|
3624
|
+
*/
|
|
3625
|
+
this.TradeList = null;
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* 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.
|
|
3629
|
+
* @type {string || null}
|
|
3630
|
+
*/
|
|
3631
|
+
this.RequestId = null;
|
|
3632
|
+
|
|
3633
|
+
}
|
|
3634
|
+
|
|
3635
|
+
/**
|
|
3636
|
+
* @private
|
|
3637
|
+
*/
|
|
3638
|
+
deserialize(params) {
|
|
3639
|
+
if (!params) {
|
|
3640
|
+
return;
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
if (params.TradeList) {
|
|
3644
|
+
this.TradeList = new Array();
|
|
3645
|
+
for (let z in params.TradeList) {
|
|
3646
|
+
let obj = new TradeOneNode();
|
|
3647
|
+
obj.deserialize(params.TradeList[z]);
|
|
3648
|
+
this.TradeList.push(obj);
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3652
|
+
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3486
3656
|
/**
|
|
3487
3657
|
* DescribeCustomerBillDownloadUrl response structure.
|
|
3488
3658
|
* @class
|
|
@@ -4528,6 +4698,7 @@ module.exports = {
|
|
|
4528
4698
|
SummaryDetails: SummaryDetails,
|
|
4529
4699
|
QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
|
|
4530
4700
|
DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
|
|
4701
|
+
TradeTwoNode: TradeTwoNode,
|
|
4531
4702
|
CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
|
|
4532
4703
|
CustomerBillDetailData: CustomerBillDetailData,
|
|
4533
4704
|
RegionSummaryOverviewItem: RegionSummaryOverviewItem,
|
|
@@ -4544,6 +4715,7 @@ module.exports = {
|
|
|
4544
4715
|
QueryCreditQuotaRequest: QueryCreditQuotaRequest,
|
|
4545
4716
|
QueryCustomerBillingQuotaData: QueryCustomerBillingQuotaData,
|
|
4546
4717
|
QueryPartnerCreditRequest: QueryPartnerCreditRequest,
|
|
4718
|
+
GetTradeConfigListRequest: GetTradeConfigListRequest,
|
|
4547
4719
|
DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
|
|
4548
4720
|
ModifyClientRemarkResponse: ModifyClientRemarkResponse,
|
|
4549
4721
|
QueryPartnerCreditResponse: QueryPartnerCreditResponse,
|
|
@@ -4569,6 +4741,7 @@ module.exports = {
|
|
|
4569
4741
|
QueryDirectCustomersCreditResponse: QueryDirectCustomersCreditResponse,
|
|
4570
4742
|
DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
|
|
4571
4743
|
DescribeCustomerUinRequest: DescribeCustomerUinRequest,
|
|
4744
|
+
TradeOneNode: TradeOneNode,
|
|
4572
4745
|
DescribeBillSummaryResponse: DescribeBillSummaryResponse,
|
|
4573
4746
|
QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
|
|
4574
4747
|
DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
|
|
@@ -4593,6 +4766,7 @@ module.exports = {
|
|
|
4593
4766
|
DescribeBillSummaryByProductResponse: DescribeBillSummaryByProductResponse,
|
|
4594
4767
|
DescribeCustomerBillDetailResponse: DescribeCustomerBillDetailResponse,
|
|
4595
4768
|
DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
|
|
4769
|
+
GetTradeConfigListResponse: GetTradeConfigListResponse,
|
|
4596
4770
|
DescribeCustomerBillDownloadUrlResponse: DescribeCustomerBillDownloadUrlResponse,
|
|
4597
4771
|
DescribeBillDetailRequest: DescribeBillDetailRequest,
|
|
4598
4772
|
QueryCreditByUinListRequest: QueryCreditByUinListRequest,
|