tencentcloud-sdk-nodejs-intl-en 3.0.1117 → 3.0.1119

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.
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1117";
1
+ const sdkVersion = "3.0.1119";
2
2
  module.exports = sdkVersion
@@ -4,6 +4,7 @@ module.exports = {
4
4
  ams: require("./ams"),
5
5
  antiddos: require("./antiddos"),
6
6
  apigateway: require("./apigateway"),
7
+ apm: require("./apm"),
7
8
  as: require("./as"),
8
9
  asr: require("./asr"),
9
10
  batch: require("./batch"),
@@ -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. Customers need to add personal information when logging in for the first time.
344
- 3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
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,20 @@ 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
+ such as "kghy_01".
956
+ * @type {string || null}
957
+ */
958
+ this.TradeOne = null;
959
+
960
+ /**
961
+ * 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),
962
+ such as "kghy_0101"
963
+ * @type {string || null}
964
+ */
965
+ this.TradeTwo = null;
966
+
911
967
  }
912
968
 
913
969
  /**
@@ -926,6 +982,8 @@ Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/
926
982
  this.Area = 'Area' in params ? params.Area : null;
927
983
  this.Extended = 'Extended' in params ? params.Extended : null;
928
984
  this.VerifyCode = 'VerifyCode' in params ? params.VerifyCode : null;
985
+ this.TradeOne = 'TradeOne' in params ? params.TradeOne : null;
986
+ this.TradeTwo = 'TradeTwo' in params ? params.TradeTwo : null;
929
987
 
930
988
  }
931
989
  }
@@ -1100,6 +1158,27 @@ class QueryPartnerCreditRequest extends AbstractModel {
1100
1158
  }
1101
1159
  }
1102
1160
 
1161
+ /**
1162
+ * GetTradeConfigList request structure.
1163
+ * @class
1164
+ */
1165
+ class GetTradeConfigListRequest extends AbstractModel {
1166
+ constructor(){
1167
+ super();
1168
+
1169
+ }
1170
+
1171
+ /**
1172
+ * @private
1173
+ */
1174
+ deserialize(params) {
1175
+ if (!params) {
1176
+ return;
1177
+ }
1178
+
1179
+ }
1180
+ }
1181
+
1103
1182
  /**
1104
1183
  * DescribeBillSummaryByProduct request structure.
1105
1184
  * @class
@@ -2256,6 +2335,56 @@ class DescribeCustomerUinRequest extends AbstractModel {
2256
2335
  }
2257
2336
  }
2258
2337
 
2338
+ /**
2339
+ * Primary Industry Information
2340
+ * @class
2341
+ */
2342
+ class TradeOneNode extends AbstractModel {
2343
+ constructor(){
2344
+ super();
2345
+
2346
+ /**
2347
+ * Layer-1 industry id.
2348
+ * @type {string || null}
2349
+ */
2350
+ this.Id = null;
2351
+
2352
+ /**
2353
+ * Layer-1 industry name.
2354
+ * @type {string || null}
2355
+ */
2356
+ this.Name = null;
2357
+
2358
+ /**
2359
+ * Layer-2 industries corresponding to the layer-1 industry.
2360
+ * @type {Array.<TradeTwoNode> || null}
2361
+ */
2362
+ this.Children = null;
2363
+
2364
+ }
2365
+
2366
+ /**
2367
+ * @private
2368
+ */
2369
+ deserialize(params) {
2370
+ if (!params) {
2371
+ return;
2372
+ }
2373
+ this.Id = 'Id' in params ? params.Id : null;
2374
+ this.Name = 'Name' in params ? params.Name : null;
2375
+
2376
+ if (params.Children) {
2377
+ this.Children = new Array();
2378
+ for (let z in params.Children) {
2379
+ let obj = new TradeTwoNode();
2380
+ obj.deserialize(params.Children[z]);
2381
+ this.Children.push(obj);
2382
+ }
2383
+ }
2384
+
2385
+ }
2386
+ }
2387
+
2259
2388
  /**
2260
2389
  * DescribeBillSummary response structure.
2261
2390
  * @class
@@ -3483,6 +3612,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
3483
3612
  }
3484
3613
  }
3485
3614
 
3615
+ /**
3616
+ * GetTradeConfigList response structure.
3617
+ * @class
3618
+ */
3619
+ class GetTradeConfigListResponse extends AbstractModel {
3620
+ constructor(){
3621
+ super();
3622
+
3623
+ /**
3624
+ * Industry information.
3625
+ * @type {Array.<TradeOneNode> || null}
3626
+ */
3627
+ this.TradeList = null;
3628
+
3629
+ /**
3630
+ * 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.
3631
+ * @type {string || null}
3632
+ */
3633
+ this.RequestId = null;
3634
+
3635
+ }
3636
+
3637
+ /**
3638
+ * @private
3639
+ */
3640
+ deserialize(params) {
3641
+ if (!params) {
3642
+ return;
3643
+ }
3644
+
3645
+ if (params.TradeList) {
3646
+ this.TradeList = new Array();
3647
+ for (let z in params.TradeList) {
3648
+ let obj = new TradeOneNode();
3649
+ obj.deserialize(params.TradeList[z]);
3650
+ this.TradeList.push(obj);
3651
+ }
3652
+ }
3653
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3654
+
3655
+ }
3656
+ }
3657
+
3486
3658
  /**
3487
3659
  * DescribeCustomerBillDownloadUrl response structure.
3488
3660
  * @class
@@ -4528,6 +4700,7 @@ module.exports = {
4528
4700
  SummaryDetails: SummaryDetails,
4529
4701
  QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
4530
4702
  DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
4703
+ TradeTwoNode: TradeTwoNode,
4531
4704
  CreateAndSendClientInvitationMailResponse: CreateAndSendClientInvitationMailResponse,
4532
4705
  CustomerBillDetailData: CustomerBillDetailData,
4533
4706
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
@@ -4544,6 +4717,7 @@ module.exports = {
4544
4717
  QueryCreditQuotaRequest: QueryCreditQuotaRequest,
4545
4718
  QueryCustomerBillingQuotaData: QueryCustomerBillingQuotaData,
4546
4719
  QueryPartnerCreditRequest: QueryPartnerCreditRequest,
4720
+ GetTradeConfigListRequest: GetTradeConfigListRequest,
4547
4721
  DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
4548
4722
  ModifyClientRemarkResponse: ModifyClientRemarkResponse,
4549
4723
  QueryPartnerCreditResponse: QueryPartnerCreditResponse,
@@ -4569,6 +4743,7 @@ module.exports = {
4569
4743
  QueryDirectCustomersCreditResponse: QueryDirectCustomersCreditResponse,
4570
4744
  DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
4571
4745
  DescribeCustomerUinRequest: DescribeCustomerUinRequest,
4746
+ TradeOneNode: TradeOneNode,
4572
4747
  DescribeBillSummaryResponse: DescribeBillSummaryResponse,
4573
4748
  QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
4574
4749
  DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
@@ -4593,6 +4768,7 @@ module.exports = {
4593
4768
  DescribeBillSummaryByProductResponse: DescribeBillSummaryByProductResponse,
4594
4769
  DescribeCustomerBillDetailResponse: DescribeCustomerBillDetailResponse,
4595
4770
  DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
4771
+ GetTradeConfigListResponse: GetTradeConfigListResponse,
4596
4772
  DescribeCustomerBillDownloadUrlResponse: DescribeCustomerBillDownloadUrlResponse,
4597
4773
  DescribeBillDetailRequest: DescribeBillDetailRequest,
4598
4774
  QueryCreditByUinListRequest: QueryCreditByUinListRequest,