tencentcloud-sdk-nodejs 4.0.291 → 4.0.292

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/SERVICE_CHANGELOG.md +177 -101
  3. package/package.json +1 -1
  4. package/products.md +164 -164
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cii/v20210408/cii_client.ts +15 -0
  7. package/src/services/cii/v20210408/cii_models.ts +67 -0
  8. package/src/services/ckafka/v20190819/ckafka_client.ts +34 -10
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +151 -46
  10. package/src/services/cpdp/v20190820/cpdp_client.ts +209 -46
  11. package/src/services/cpdp/v20190820/cpdp_models.ts +2012 -541
  12. package/src/services/eb/v20210416/eb_client.ts +1 -1
  13. package/src/services/mna/v20210119/mna_client.ts +3 -0
  14. package/src/services/mna/v20210119/mna_models.ts +75 -0
  15. package/src/services/monitor/v20180724/monitor_models.ts +3 -1
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
  19. package/tencentcloud/services/cii/v20210408/cii_client.js +9 -0
  20. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +57 -0
  21. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +11 -3
  22. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +15 -3
  23. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +129 -41
  24. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +61 -13
  25. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +90 -18
  26. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1714 -463
  27. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +1 -1
  28. package/tencentcloud/services/eb/v20210416/eb_client.js +1 -1
  29. package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
  30. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +3 -1
  31. package/test/cii.v20210408.test.js +10 -0
  32. package/test/ckafka.v20190819.test.js +22 -2
  33. package/test/cpdp.v20190820.test.js +132 -12
@@ -32,7 +32,7 @@ export declare class Client extends AbstractClient {
32
32
  */
33
33
  ListTargets(req: ListTargetsRequest, cb?: (error: string, rep: ListTargetsResponse) => void): Promise<ListTargetsResponse>;
34
34
  /**
35
- * 规则检验
35
+ * 检验规则
36
36
  */
37
37
  CheckRule(req?: CheckRuleRequest, cb?: (error: string, rep: CheckRuleResponse) => void): Promise<CheckRuleResponse>;
38
38
  /**
@@ -64,7 +64,7 @@ class Client extends abstract_client_1.AbstractClient {
64
64
  return this.request("ListTargets", req, cb);
65
65
  }
66
66
  /**
67
- * 规则检验
67
+ * 检验规则
68
68
  */
69
69
  async CheckRule(req, cb) {
70
70
  return this.request("CheckRule", req, cb);
@@ -29,6 +29,27 @@ export interface DestAddressInfo {
29
29
  */
30
30
  DestIp: Array<string>;
31
31
  }
32
+ /**
33
+ * 测速数据
34
+ */
35
+ export interface NetworkData {
36
+ /**
37
+ * 时延数组,最大长度30
38
+ */
39
+ RTT: Array<number>;
40
+ /**
41
+ * 丢包率
42
+ */
43
+ Loss: number;
44
+ /**
45
+ * 抖动
46
+ */
47
+ Jitter: number;
48
+ /**
49
+ * 10位秒级时间戳
50
+ */
51
+ Timestamp: number;
52
+ }
32
53
  /**
33
54
  * 移动网络加速源地址结构体
34
55
  */
@@ -94,6 +115,23 @@ Android 填写 IMEI
94
115
  */
95
116
  Wireless?: number;
96
117
  }
118
+ /**
119
+ * 用户期望门限
120
+ */
121
+ export interface ExpectedThreshold {
122
+ /**
123
+ * 期望发起加速的时延阈值
124
+ */
125
+ RTT: number;
126
+ /**
127
+ * 期望发起加速的丢包率阈值
128
+ */
129
+ Loss: number;
130
+ /**
131
+ * 期望发起加速的抖动阈值
132
+ */
133
+ Jitter: number;
134
+ }
97
135
  /**
98
136
  * DeleteQos返回参数结构体
99
137
  */
@@ -111,6 +149,23 @@ export interface DeleteQosResponse {
111
149
  */
112
150
  RequestId?: string;
113
151
  }
152
+ /**
153
+ * 加速策略关键数据
154
+ */
155
+ export interface Context {
156
+ /**
157
+ * 测速数据
158
+ */
159
+ NetworkData?: NetworkData;
160
+ /**
161
+ * 用户期望最低门限
162
+ */
163
+ ExpectedLowThreshold?: ExpectedThreshold;
164
+ /**
165
+ * 用户期望最高门限
166
+ */
167
+ ExpectedHighThreshold?: ExpectedThreshold;
168
+ }
114
169
  /**
115
170
  * CreateQos返回参数结构体
116
171
  */
@@ -210,4 +265,12 @@ BU4M:带宽型保障 + 上行带宽保障4Mbps
210
265
  3. TCP
211
266
  */
212
267
  Protocol?: number;
268
+ /**
269
+ * 加速策略关键数据
270
+ */
271
+ Context?: Context;
272
+ /**
273
+ * 签名
274
+ */
275
+ Extern?: string;
213
276
  }
@@ -3246,6 +3246,8 @@ export interface DescribeAlarmPoliciesRequest {
3246
3246
  具体也可以参考下方的示例 2。
3247
3247
 
3248
3248
  不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
3249
+
3250
+ 注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时
3249
3251
  */
3250
3252
  Dimensions?: string;
3251
3253
  /**
@@ -4277,7 +4279,7 @@ export interface DescribeAlarmNoticeResponse {
4277
4279
  /**
4278
4280
  * 告警通知模板详细信息
4279
4281
  */
4280
- Notice?: AlarmNotice;
4282
+ Notice: AlarmNotice;
4281
4283
  /**
4282
4284
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4283
4285
  */
@@ -108,6 +108,16 @@ it("cii.v20210408.DescribeStructCompareData", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("cii.v20210408.DescribeQualityScore", async function () {
112
+ try {
113
+ const data = await client.DescribeQualityScore({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
111
121
  it("cii.v20210408.DescribeStructureResult", async function () {
112
122
  try {
113
123
  const data = await client.DescribeStructureResult({})
@@ -38,6 +38,16 @@ it("ckafka.v20190819.DescribeGroupInfo", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("ckafka.v20190819.CreateConsumer", async function () {
42
+ try {
43
+ const data = await client.CreateConsumer({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
41
51
  it("ckafka.v20190819.DescribeConsumerGroup", async function () {
42
52
  try {
43
53
  const data = await client.DescribeConsumerGroup({})
@@ -128,9 +138,9 @@ it("ckafka.v20190819.DescribeInstances", async function () {
128
138
  }
129
139
  })
130
140
 
131
- it("ckafka.v20190819.ModifyInstanceAttributes", async function () {
141
+ it("ckafka.v20190819.CreateRoute", async function () {
132
142
  try {
133
- const data = await client.ModifyInstanceAttributes({})
143
+ const data = await client.CreateRoute({})
134
144
  expect(data).to.be.ok
135
145
  } catch(error) {
136
146
  expect(error.requestId).to.be.ok
@@ -388,6 +398,16 @@ it("ckafka.v20190819.DescribeTopic", async function () {
388
398
  }
389
399
  })
390
400
 
401
+ it("ckafka.v20190819.ModifyInstanceAttributes", async function () {
402
+ try {
403
+ const data = await client.ModifyInstanceAttributes({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
391
411
  it("ckafka.v20190819.DescribeCkafkaZone", async function () {
392
412
  try {
393
413
  const data = await client.DescribeCkafkaZone({})
@@ -128,6 +128,16 @@ it("cpdp.v20190820.QueryBankTransactionDetails", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("cpdp.v20190820.CreateOpenBankExternalSubMerchantRegistration", async function () {
132
+ try {
133
+ const data = await client.CreateOpenBankExternalSubMerchantRegistration({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("cpdp.v20190820.QueryCommonTransferRecharge", async function () {
132
142
  try {
133
143
  const data = await client.QueryCommonTransferRecharge({})
@@ -338,6 +348,16 @@ it("cpdp.v20190820.TransferSinglePay", async function () {
338
348
  }
339
349
  })
340
350
 
351
+ it("cpdp.v20190820.CreateOpenBankPaymentOrder", async function () {
352
+ try {
353
+ const data = await client.CreateOpenBankPaymentOrder({})
354
+ expect(data).to.be.ok
355
+ } catch(error) {
356
+ expect(error.requestId).to.be.ok
357
+ expect(error.code).to.be.ok
358
+ }
359
+ })
360
+
341
361
  it("cpdp.v20190820.RefundTlinxOrder", async function () {
342
362
  try {
343
363
  const data = await client.RefundTlinxOrder({})
@@ -448,9 +468,9 @@ it("cpdp.v20190820.UnifiedOrder", async function () {
448
468
  }
449
469
  })
450
470
 
451
- it("cpdp.v20190820.UnBindAcct", async function () {
471
+ it("cpdp.v20190820.QueryOpenBankUnbindExternalSubMerchantBankAccount", async function () {
452
472
  try {
453
- const data = await client.UnBindAcct({})
473
+ const data = await client.QueryOpenBankUnbindExternalSubMerchantBankAccount({})
454
474
  expect(data).to.be.ok
455
475
  } catch(error) {
456
476
  expect(error.requestId).to.be.ok
@@ -478,9 +498,19 @@ it("cpdp.v20190820.AddMerchant", async function () {
478
498
  }
479
499
  })
480
500
 
481
- it("cpdp.v20190820.QueryInvoiceV2", async function () {
501
+ it("cpdp.v20190820.ViewShop", async function () {
482
502
  try {
483
- const data = await client.QueryInvoiceV2({})
503
+ const data = await client.ViewShop({})
504
+ expect(data).to.be.ok
505
+ } catch(error) {
506
+ expect(error.requestId).to.be.ok
507
+ expect(error.code).to.be.ok
508
+ }
509
+ })
510
+
511
+ it("cpdp.v20190820.CheckAmount", async function () {
512
+ try {
513
+ const data = await client.CheckAmount({})
484
514
  expect(data).to.be.ok
485
515
  } catch(error) {
486
516
  expect(error.requestId).to.be.ok
@@ -528,6 +558,16 @@ it("cpdp.v20190820.QueryShopOpenId", async function () {
528
558
  }
529
559
  })
530
560
 
561
+ it("cpdp.v20190820.QueryOpenBankPaymentOrder", async function () {
562
+ try {
563
+ const data = await client.QueryOpenBankPaymentOrder({})
564
+ expect(data).to.be.ok
565
+ } catch(error) {
566
+ expect(error.requestId).to.be.ok
567
+ expect(error.code).to.be.ok
568
+ }
569
+ })
570
+
531
571
  it("cpdp.v20190820.QueryMaliciousRegistration", async function () {
532
572
  try {
533
573
  const data = await client.QueryMaliciousRegistration({})
@@ -558,6 +598,16 @@ it("cpdp.v20190820.QueryAcctInfo", async function () {
558
598
  }
559
599
  })
560
600
 
601
+ it("cpdp.v20190820.UnBindAcct", async function () {
602
+ try {
603
+ const data = await client.UnBindAcct({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
561
611
  it("cpdp.v20190820.QueryBankWithdrawCashDetails", async function () {
562
612
  try {
563
613
  const data = await client.QueryBankWithdrawCashDetails({})
@@ -648,9 +698,9 @@ it("cpdp.v20190820.ModifyBindedAccount", async function () {
648
698
  }
649
699
  })
650
700
 
651
- it("cpdp.v20190820.CheckAmount", async function () {
701
+ it("cpdp.v20190820.QueryInvoiceV2", async function () {
652
702
  try {
653
- const data = await client.CheckAmount({})
703
+ const data = await client.QueryInvoiceV2({})
654
704
  expect(data).to.be.ok
655
705
  } catch(error) {
656
706
  expect(error.requestId).to.be.ok
@@ -738,6 +788,16 @@ it("cpdp.v20190820.ReviseMbrProperty", async function () {
738
788
  }
739
789
  })
740
790
 
791
+ it("cpdp.v20190820.BindOpenBankExternalSubMerchantBankAccount", async function () {
792
+ try {
793
+ const data = await client.BindOpenBankExternalSubMerchantBankAccount({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
741
801
  it("cpdp.v20190820.QueryBalance", async function () {
742
802
  try {
743
803
  const data = await client.QueryBalance({})
@@ -848,6 +908,16 @@ it("cpdp.v20190820.ApplyTrade", async function () {
848
908
  }
849
909
  })
850
910
 
911
+ it("cpdp.v20190820.UnbindOpenBankExternalSubMerchantBankAccount", async function () {
912
+ try {
913
+ const data = await client.UnbindOpenBankExternalSubMerchantBankAccount({})
914
+ expect(data).to.be.ok
915
+ } catch(error) {
916
+ expect(error.requestId).to.be.ok
917
+ expect(error.code).to.be.ok
918
+ }
919
+ })
920
+
851
921
  it("cpdp.v20190820.QueryBankClear", async function () {
852
922
  try {
853
923
  const data = await client.QueryBankClear({})
@@ -858,9 +928,9 @@ it("cpdp.v20190820.QueryBankClear", async function () {
858
928
  }
859
929
  })
860
930
 
861
- it("cpdp.v20190820.BindRelateAccReUnionPay", async function () {
931
+ it("cpdp.v20190820.CreateOpenBankMerchant", async function () {
862
932
  try {
863
- const data = await client.BindRelateAccReUnionPay({})
933
+ const data = await client.CreateOpenBankMerchant({})
864
934
  expect(data).to.be.ok
865
935
  } catch(error) {
866
936
  expect(error.requestId).to.be.ok
@@ -888,6 +958,16 @@ it("cpdp.v20190820.RevResigterBillSupportWithdraw", async function () {
888
958
  }
889
959
  })
890
960
 
961
+ it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
962
+ try {
963
+ const data = await client.QueryOpenBankDownLoadUrl({})
964
+ expect(data).to.be.ok
965
+ } catch(error) {
966
+ expect(error.requestId).to.be.ok
967
+ expect(error.code).to.be.ok
968
+ }
969
+ })
970
+
891
971
  it("cpdp.v20190820.QueryCityCode", async function () {
892
972
  try {
893
973
  const data = await client.QueryCityCode({})
@@ -918,6 +998,16 @@ it("cpdp.v20190820.Refund", async function () {
918
998
  }
919
999
  })
920
1000
 
1001
+ it("cpdp.v20190820.CloseOpenBankPaymentOrder", async function () {
1002
+ try {
1003
+ const data = await client.CloseOpenBankPaymentOrder({})
1004
+ expect(data).to.be.ok
1005
+ } catch(error) {
1006
+ expect(error.requestId).to.be.ok
1007
+ expect(error.code).to.be.ok
1008
+ }
1009
+ })
1010
+
921
1011
  it("cpdp.v20190820.UploadTaxList", async function () {
922
1012
  try {
923
1013
  const data = await client.UploadTaxList({})
@@ -1248,6 +1338,16 @@ it("cpdp.v20190820.QueryContractRelateShop", async function () {
1248
1338
  }
1249
1339
  })
1250
1340
 
1341
+ it("cpdp.v20190820.QueryOpenBankExternalSubMerchantBankAccount", async function () {
1342
+ try {
1343
+ const data = await client.QueryOpenBankExternalSubMerchantBankAccount({})
1344
+ expect(data).to.be.ok
1345
+ } catch(error) {
1346
+ expect(error.requestId).to.be.ok
1347
+ expect(error.code).to.be.ok
1348
+ }
1349
+ })
1350
+
1251
1351
  it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
1252
1352
  try {
1253
1353
  const data = await client.MigrateOrderRefundQuery({})
@@ -1258,9 +1358,9 @@ it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
1258
1358
  }
1259
1359
  })
1260
1360
 
1261
- it("cpdp.v20190820.ViewShop", async function () {
1361
+ it("cpdp.v20190820.QueryAgentStatements", async function () {
1262
1362
  try {
1263
- const data = await client.ViewShop({})
1363
+ const data = await client.QueryAgentStatements({})
1264
1364
  expect(data).to.be.ok
1265
1365
  } catch(error) {
1266
1366
  expect(error.requestId).to.be.ok
@@ -1288,6 +1388,16 @@ it("cpdp.v20190820.ApplyOutwardOrder", async function () {
1288
1388
  }
1289
1389
  })
1290
1390
 
1391
+ it("cpdp.v20190820.QueryOpenBankExternalSubMerchantRegistration", async function () {
1392
+ try {
1393
+ const data = await client.QueryOpenBankExternalSubMerchantRegistration({})
1394
+ expect(data).to.be.ok
1395
+ } catch(error) {
1396
+ expect(error.requestId).to.be.ok
1397
+ expect(error.code).to.be.ok
1398
+ }
1399
+ })
1400
+
1291
1401
  it("cpdp.v20190820.QueryContractPayFee", async function () {
1292
1402
  try {
1293
1403
  const data = await client.QueryContractPayFee({})
@@ -1308,6 +1418,16 @@ it("cpdp.v20190820.QuerySmallAmountTransfer", async function () {
1308
1418
  }
1309
1419
  })
1310
1420
 
1421
+ it("cpdp.v20190820.QueryOpenBankBindExternalSubMerchantBankAccount", async function () {
1422
+ try {
1423
+ const data = await client.QueryOpenBankBindExternalSubMerchantBankAccount({})
1424
+ expect(data).to.be.ok
1425
+ } catch(error) {
1426
+ expect(error.requestId).to.be.ok
1427
+ expect(error.code).to.be.ok
1428
+ }
1429
+ })
1430
+
1311
1431
  it("cpdp.v20190820.QuerySingleTransactionStatus", async function () {
1312
1432
  try {
1313
1433
  const data = await client.QuerySingleTransactionStatus({})
@@ -1348,9 +1468,9 @@ it("cpdp.v20190820.QueryAcctInfoList", async function () {
1348
1468
  }
1349
1469
  })
1350
1470
 
1351
- it("cpdp.v20190820.QueryAgentStatements", async function () {
1471
+ it("cpdp.v20190820.BindRelateAccReUnionPay", async function () {
1352
1472
  try {
1353
- const data = await client.QueryAgentStatements({})
1473
+ const data = await client.BindRelateAccReUnionPay({})
1354
1474
  expect(data).to.be.ok
1355
1475
  } catch(error) {
1356
1476
  expect(error.requestId).to.be.ok