tencentcloud-sdk-nodejs-intl-en 3.0.1119 → 3.0.1121
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 +46 -25
- package/tencentcloud/intlpartnersmgt/v20220928/models.js +210 -351
- package/tencentcloud/ocr/v20181119/models.js +7 -0
- package/tencentcloud/organization/v20210331/models.js +1708 -280
- package/tencentcloud/organization/v20210331/organization_client.js +238 -62
- package/tencentcloud/ssl/v20191205/models.js +1133 -326
- package/tencentcloud/ssl/v20191205/ssl_client.js +10 -6
- package/tencentcloud/teo/v20220901/models.js +1 -2
- package/tencentcloud/trtc/v20190722/models.js +10 -2
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1121";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -28,12 +28,10 @@ const DescribeCustomerUinData = models.DescribeCustomerUinData;
|
|
|
28
28
|
const CountryCodeItem = models.CountryCodeItem;
|
|
29
29
|
const DescribeBillSummaryByRegionRequest = models.DescribeBillSummaryByRegionRequest;
|
|
30
30
|
const QueryCreditByUinListResponse = models.QueryCreditByUinListResponse;
|
|
31
|
-
const QueryCreditQuotaResponse = models.QueryCreditQuotaResponse;
|
|
32
31
|
const QueryCreditAllocationHistoryResponse = models.QueryCreditAllocationHistoryResponse;
|
|
33
32
|
const CreateAccountRequest = models.CreateAccountRequest;
|
|
34
33
|
const DescribeBillSummaryRequest = models.DescribeBillSummaryRequest;
|
|
35
34
|
const QueryDirectCustomersCreditRequest = models.QueryDirectCustomersCreditRequest;
|
|
36
|
-
const QueryCreditQuotaRequest = models.QueryCreditQuotaRequest;
|
|
37
35
|
const QueryCustomerBillingQuotaData = models.QueryCustomerBillingQuotaData;
|
|
38
36
|
const QueryPartnerCreditRequest = models.QueryPartnerCreditRequest;
|
|
39
37
|
const GetTradeConfigListRequest = models.GetTradeConfigListRequest;
|
|
@@ -136,6 +134,8 @@ class IntlpartnersmgtClient extends AbstractClient {
|
|
|
136
134
|
2. The customer's service will be suspended when its available credit is set to 0, so caution should be exercised with this operation.
|
|
137
135
|
3. To prevent the customer from making new purchases without affecting their use of previously purchased products, the partner can set their available credit to 0 after obtaining the non-stop feature privilege from the channel manager.
|
|
138
136
|
4. The set credit is an increment of the current available credit and cannot exceed the remaining allocable credit. Setting the credit to a negative value indicates that it will be repossessed. The available credit can be set to 0 at the minimum.
|
|
137
|
+
|
|
138
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
139
139
|
* @param {AllocateCustomerCreditRequest} req
|
|
140
140
|
* @param {function(string, AllocateCustomerCreditResponse):void} cb
|
|
141
141
|
* @public
|
|
@@ -171,6 +171,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* This API is used to modify customer remarks.
|
|
174
|
+
|
|
175
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
174
176
|
* @param {ModifyClientRemarkRequest} req
|
|
175
177
|
* @param {function(string, ModifyClientRemarkResponse):void} cb
|
|
176
178
|
* @public
|
|
@@ -182,6 +184,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
182
184
|
|
|
183
185
|
/**
|
|
184
186
|
* This API is used for a partner to query its own total credit, available credit, and used credit in USD.
|
|
187
|
+
|
|
188
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
185
189
|
* @param {QueryPartnerCreditRequest} req
|
|
186
190
|
* @param {function(string, QueryPartnerCreditResponse):void} cb
|
|
187
191
|
* @public
|
|
@@ -204,19 +208,10 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
204
208
|
this.request("ApproveClientApply", req, resp, cb);
|
|
205
209
|
}
|
|
206
210
|
|
|
207
|
-
/**
|
|
208
|
-
* This API is used to query customer credits.
|
|
209
|
-
* @param {QueryCreditQuotaRequest} req
|
|
210
|
-
* @param {function(string, QueryCreditQuotaResponse):void} cb
|
|
211
|
-
* @public
|
|
212
|
-
*/
|
|
213
|
-
QueryCreditQuota(req, cb) {
|
|
214
|
-
let resp = new QueryCreditQuotaResponse();
|
|
215
|
-
this.request("QueryCreditQuota", req, resp, cb);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
211
|
/**
|
|
219
212
|
* This API is used to query the customer information.
|
|
213
|
+
|
|
214
|
+
Callable roles: Distributor, Reseller
|
|
220
215
|
* @param {DescribeCustomerInfoRequest} req
|
|
221
216
|
* @param {function(string, DescribeCustomerInfoResponse):void} cb
|
|
222
217
|
* @public
|
|
@@ -228,6 +223,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
228
223
|
|
|
229
224
|
/**
|
|
230
225
|
* This API is used to send a verification code for account registration.
|
|
226
|
+
|
|
227
|
+
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
|
|
231
228
|
* @param {SendVerifyCodeRequest} req
|
|
232
229
|
* @param {function(string, SendVerifyCodeResponse):void} cb
|
|
233
230
|
* @public
|
|
@@ -238,7 +235,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
238
235
|
}
|
|
239
236
|
|
|
240
237
|
/**
|
|
241
|
-
* This API is used to query the voucher list based on the customer UIN.
|
|
238
|
+
* This API is used by primary/secondary resellers to query the voucher list based on the customer UIN.
|
|
239
|
+
Callable roles: Reseller, Distributor, Second-level reseller
|
|
242
240
|
* @param {QueryVoucherListByUinRequest} req
|
|
243
241
|
* @param {function(string, QueryVoucherListByUinResponse):void} cb
|
|
244
242
|
* @public
|
|
@@ -250,6 +248,7 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
250
248
|
|
|
251
249
|
/**
|
|
252
250
|
* This API is used to allocate credit pools to second-level resellers by distributors.
|
|
251
|
+
Callable roles: Distributor
|
|
253
252
|
* @param {AllocateCreditPoolRequest} req
|
|
254
253
|
* @param {function(string, AllocateCreditPoolResponse):void} cb
|
|
255
254
|
* @public
|
|
@@ -260,7 +259,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
260
259
|
}
|
|
261
260
|
|
|
262
261
|
/**
|
|
263
|
-
*
|
|
262
|
+
* Description: End-customer queries its own bill details.
|
|
263
|
+
Callable role: End-customer.
|
|
264
264
|
* @param {DescribeBillDetailRequest} req
|
|
265
265
|
* @param {function(string, DescribeBillDetailResponse):void} cb
|
|
266
266
|
* @public
|
|
@@ -271,7 +271,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
* External API for
|
|
274
|
+
* Description: External API for L1 billing of Sub-customer billing center.
|
|
275
|
+
Callable role: End-customer.
|
|
275
276
|
* @param {DescribeBillSummaryRequest} req
|
|
276
277
|
* @param {function(string, DescribeBillSummaryResponse):void} cb
|
|
277
278
|
* @public
|
|
@@ -283,6 +284,7 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
283
284
|
|
|
284
285
|
/**
|
|
285
286
|
* This API is used to obtain the total amount of customer bills by payment mode.
|
|
287
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
286
288
|
* @param {DescribeBillSummaryByPayModeRequest} req
|
|
287
289
|
* @param {function(string, DescribeBillSummaryByPayModeResponse):void} cb
|
|
288
290
|
* @public
|
|
@@ -299,6 +301,8 @@ Callable roles: Reseller, Distributer, Second-level reseller
|
|
|
299
301
|
3.You can review the customer's application in customer management after submission.
|
|
300
302
|
|
|
301
303
|
Note:This API is used to manually send the invitation link to the customer if the specified email does not receive it.
|
|
304
|
+
|
|
305
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
302
306
|
* @param {CreateAndSendClientInvitationMailRequest} req
|
|
303
307
|
* @param {function(string, CreateAndSendClientInvitationMailResponse):void} cb
|
|
304
308
|
* @public
|
|
@@ -309,7 +313,8 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
309
313
|
}
|
|
310
314
|
|
|
311
315
|
/**
|
|
312
|
-
* This API is used to download billing files and return billing file URLs
|
|
316
|
+
* Description: This API is used to download billing files and return billing file URLs for sub-customers.
|
|
317
|
+
Callable role: Enb-customer.
|
|
313
318
|
* @param {DescribeBillDownloadUrlRequest} req
|
|
314
319
|
* @param {function(string, DescribeBillDownloadUrlResponse):void} cb
|
|
315
320
|
* @public
|
|
@@ -321,6 +326,7 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
321
326
|
|
|
322
327
|
/**
|
|
323
328
|
* This API is used to query the credit of users in the list.
|
|
329
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
324
330
|
* @param {QueryCreditByUinListRequest} req
|
|
325
331
|
* @param {function(string, QueryCreditByUinListResponse):void} cb
|
|
326
332
|
* @public
|
|
@@ -332,6 +338,7 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
332
338
|
|
|
333
339
|
/**
|
|
334
340
|
* This API is used to query the credits of direct customers.
|
|
341
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
335
342
|
* @param {QueryDirectCustomersCreditRequest} req
|
|
336
343
|
* @param {function(string, QueryDirectCustomersCreditResponse):void} cb
|
|
337
344
|
* @public
|
|
@@ -347,7 +354,7 @@ Note:This API is used to manually send the invitation link to the customer if th
|
|
|
347
354
|
2. Customers need to add personal information when logging in for the first time.
|
|
348
355
|
3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
|
|
349
356
|
|
|
350
|
-
Callable roles:
|
|
357
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
351
358
|
* @param {CreateAccountRequest} req
|
|
352
359
|
* @param {function(string, CreateAccountResponse):void} cb
|
|
353
360
|
* @public
|
|
@@ -372,6 +379,8 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
372
379
|
|
|
373
380
|
/**
|
|
374
381
|
* This API is used for a partner to the credits and basic information of cutomers.
|
|
382
|
+
|
|
383
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
375
384
|
* @param {QueryCustomersCreditRequest} req
|
|
376
385
|
* @param {function(string, QueryCustomersCreditResponse):void} cb
|
|
377
386
|
* @public
|
|
@@ -382,7 +391,8 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
382
391
|
}
|
|
383
392
|
|
|
384
393
|
/**
|
|
385
|
-
*
|
|
394
|
+
* Description: Obtain the summarized value of sub - account bills by region through API.
|
|
395
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
386
396
|
* @param {DescribeBillSummaryByRegionRequest} req
|
|
387
397
|
* @param {function(string, DescribeBillSummaryByRegionResponse):void} cb
|
|
388
398
|
* @public
|
|
@@ -394,6 +404,7 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
394
404
|
|
|
395
405
|
/**
|
|
396
406
|
* This API is used to query the customer bill details by resellers.
|
|
407
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
397
408
|
* @param {DescribeCustomerBillDetailRequest} req
|
|
398
409
|
* @param {function(string, DescribeCustomerBillDetailResponse):void} cb
|
|
399
410
|
* @public
|
|
@@ -405,6 +416,7 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
405
416
|
|
|
406
417
|
/**
|
|
407
418
|
* This API is used to query the total amount of customer bills.
|
|
419
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
408
420
|
* @param {DescribeCustomerBillSummaryRequest} req
|
|
409
421
|
* @param {function(string, DescribeCustomerBillSummaryResponse):void} cb
|
|
410
422
|
* @public
|
|
@@ -415,7 +427,8 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
415
427
|
}
|
|
416
428
|
|
|
417
429
|
/**
|
|
418
|
-
* This API is used to query the voucher quota based on the customer UIN.
|
|
430
|
+
* This API is used by primary/secondary resellers to query the voucher quota based on the customer UIN.
|
|
431
|
+
Callable roles: Reseller, Distributor, Second-level reseller
|
|
419
432
|
* @param {QueryVoucherAmountByUinRequest} req
|
|
420
433
|
* @param {function(string, QueryVoucherAmountByUinResponse):void} cb
|
|
421
434
|
* @public
|
|
@@ -426,8 +439,9 @@ Callable roles: distributor, second-level reseller, reseller
|
|
|
426
439
|
}
|
|
427
440
|
|
|
428
441
|
/**
|
|
429
|
-
*
|
|
430
|
-
|
|
442
|
+
* Forced Service Suspension settings and cancellation can be used only after the reseller is whitelisted.
|
|
443
|
+
|
|
444
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
431
445
|
* @param {ForceQNRequest} req
|
|
432
446
|
* @param {function(string, ForceQNResponse):void} cb
|
|
433
447
|
* @public
|
|
@@ -438,7 +452,8 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
438
452
|
}
|
|
439
453
|
|
|
440
454
|
/**
|
|
441
|
-
* This API is used to query the voucher quota pool.
|
|
455
|
+
* This API is used by primary/secondary resellers to query the voucher quota pool.
|
|
456
|
+
Callable roles: Distributor, First-level reseller, Second-level reseller
|
|
442
457
|
* @param {QueryVoucherPoolRequest} req
|
|
443
458
|
* @param {function(string, QueryVoucherPoolResponse):void} cb
|
|
444
459
|
* @public
|
|
@@ -450,6 +465,7 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
450
465
|
|
|
451
466
|
/**
|
|
452
467
|
* This API is used to query the account verification status.
|
|
468
|
+
Callable roles: Distributor, Reseller
|
|
453
469
|
* @param {QueryAccountVerificationStatusRequest} req
|
|
454
470
|
* @param {function(string, QueryAccountVerificationStatusResponse):void} cb
|
|
455
471
|
* @public
|
|
@@ -460,7 +476,8 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
460
476
|
}
|
|
461
477
|
|
|
462
478
|
/**
|
|
463
|
-
* This API is used to query the product list information within the specified policy range. To call this API, contact your
|
|
479
|
+
* This API is used to query the product list information within the specified policy range. To call this API, contact your business manager to apply for adding it to the allowlist.
|
|
480
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
464
481
|
* @param {QueryPolicyProductListByCodeRequest} req
|
|
465
482
|
* @param {function(string, QueryPolicyProductListByCodeResponse):void} cb
|
|
466
483
|
* @public
|
|
@@ -472,6 +489,7 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
472
489
|
|
|
473
490
|
/**
|
|
474
491
|
* This API is used to query all the credit allocation records of a single customer.
|
|
492
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
475
493
|
* @param {QueryCreditAllocationHistoryRequest} req
|
|
476
494
|
* @param {function(string, QueryCreditAllocationHistoryResponse):void} cb
|
|
477
495
|
* @public
|
|
@@ -483,6 +501,8 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
483
501
|
|
|
484
502
|
/**
|
|
485
503
|
* This API is used to query industry information, including layer-1 industry and layer-2 industry.
|
|
504
|
+
|
|
505
|
+
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
|
|
486
506
|
* @param {GetTradeConfigListRequest} req
|
|
487
507
|
* @param {function(string, GetTradeConfigListResponse):void} cb
|
|
488
508
|
* @public
|
|
@@ -493,7 +513,8 @@ Note:Reseller need to be allowlisted to use the API, please contact your busines
|
|
|
493
513
|
}
|
|
494
514
|
|
|
495
515
|
/**
|
|
496
|
-
*
|
|
516
|
+
* Description: Obtain the summarized value of sub - account bills by product dimension.
|
|
517
|
+
Callable roles: Distributor, Second-level reseller, Reseller
|
|
497
518
|
* @param {DescribeBillSummaryByProductRequest} req
|
|
498
519
|
* @param {function(string, DescribeBillSummaryByProductResponse):void} cb
|
|
499
520
|
* @public
|