tencentcloud-sdk-nodejs 4.0.229 → 4.0.230

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 (30) hide show
  1. package/CHANGELOG.md +145 -7
  2. package/package.json +1 -1
  3. package/products.md +8 -8
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/apigateway/v20180808/apigateway_models.ts +18 -0
  6. package/src/services/cfw/v20190904/cfw_models.ts +10 -10
  7. package/src/services/cpdp/v20190820/cpdp_client.ts +16 -3
  8. package/src/services/cpdp/v20190820/cpdp_models.ts +179 -66
  9. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  10. package/src/services/eiam/v20210420/eiam_models.ts +4 -4
  11. package/src/services/postgres/v20170312/postgres_client.ts +13 -1
  12. package/src/services/postgres/v20170312/postgres_models.ts +72 -2
  13. package/src/services/redis/v20180412/redis_models.ts +9 -2
  14. package/src/services/ses/v20201002/ses_models.ts +3 -2
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +15 -0
  18. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +10 -10
  19. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +6 -2
  20. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +7 -1
  21. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +156 -62
  22. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  23. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +4 -4
  24. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -1
  25. package/tencentcloud/services/postgres/v20170312/postgres_client.js +6 -0
  26. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +60 -2
  27. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +7 -1
  28. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -0
  29. package/test/cpdp.v20190820.test.js +10 -0
  30. package/test/postgres.v20170312.test.js +10 -0
package/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 流量反欺诈(taf) 版本:2020-02-10
3
+ ## API网关(apigateway) 版本:2018-08-08
4
4
 
5
- ### 第 10 次发布
5
+ ### 第 20 次发布
6
6
 
7
- 发布时间:2021-11-03 08:14:28
7
+ 发布时间:2021-11-04 08:03:57
8
8
 
9
9
  本次发布包含了以下内容:
10
10
 
@@ -12,16 +12,80 @@
12
12
 
13
13
  修改接口:
14
14
 
15
- * [DetectFraudKOL](https://cloud.tencent.com/document/api/1031/43309)
15
+ * [DescribeService](https://cloud.tencent.com/document/api/628/45199)
16
16
 
17
- * 新增入参:BusinessEncryptData
17
+ * 新增出参:DeploymentType, SpecialUse
18
18
 
19
19
 
20
20
  修改数据结构:
21
21
 
22
- * [InputKolDataList](https://cloud.tencent.com/document/api/1031/43310#InputKolDataList)
22
+ * [Service](https://cloud.tencent.com/document/api/628/45244#Service)
23
23
 
24
- * 新增成员:IsAuthorized
24
+ * 新增成员:DeploymentType
25
+
26
+
27
+
28
+
29
+ ## 企业收付平台(cpdp) 版本:2019-08-20
30
+
31
+ ### 第 49 次发布
32
+
33
+ 发布时间:2021-11-04 08:06:43
34
+
35
+ 本次发布包含了以下内容:
36
+
37
+ 改善已有的文档。
38
+
39
+ 新增接口:
40
+
41
+ * [QueryMaliciousRegistration](https://cloud.tencent.com/document/api/1122/63688)
42
+
43
+ 修改接口:
44
+
45
+ * [UnifiedTlinxOrder](https://cloud.tencent.com/document/api/1122/62611)
46
+
47
+ * 新增入参:Royalty
48
+
49
+ * <font color="#dd0000">**修改入参**:</font>Tag
50
+
51
+
52
+ 新增数据结构:
53
+
54
+ * [MerchantRiskInfo](https://cloud.tencent.com/document/api/1122/40683#MerchantRiskInfo)
55
+
56
+
57
+
58
+ ## 云数据库 PostgreSQL(postgres) 版本:2017-03-12
59
+
60
+ ### 第 19 次发布
61
+
62
+ 发布时间:2021-11-04 08:11:48
63
+
64
+ 本次发布包含了以下内容:
65
+
66
+ 改善已有的文档。
67
+
68
+ 新增接口:
69
+
70
+ * [ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)
71
+
72
+
73
+
74
+ ## 云数据库 Redis(redis) 版本:2018-04-12
75
+
76
+ ### 第 37 次发布
77
+
78
+ 发布时间:2021-11-04 08:12:00
79
+
80
+ 本次发布包含了以下内容:
81
+
82
+ 改善已有的文档。
83
+
84
+ 修改接口:
85
+
86
+ * [EnableReplicaReadonly](https://cloud.tencent.com/document/api/239/34437)
87
+
88
+ * 新增出参:TaskId
25
89
 
26
90
 
27
91
 
@@ -1358,6 +1422,28 @@
1358
1422
 
1359
1423
  ## API网关(apigateway) 版本:2018-08-08
1360
1424
 
1425
+ ### 第 20 次发布
1426
+
1427
+ 发布时间:2021-11-04 08:03:57
1428
+
1429
+ 本次发布包含了以下内容:
1430
+
1431
+ 改善已有的文档。
1432
+
1433
+ 修改接口:
1434
+
1435
+ * [DescribeService](https://cloud.tencent.com/document/api/628/45199)
1436
+
1437
+ * 新增出参:DeploymentType, SpecialUse
1438
+
1439
+
1440
+ 修改数据结构:
1441
+
1442
+ * [Service](https://cloud.tencent.com/document/api/628/45244#Service)
1443
+
1444
+ * 新增成员:DeploymentType
1445
+
1446
+
1361
1447
  ### 第 19 次发布
1362
1448
 
1363
1449
  发布时间:2021-07-29 08:11:45
@@ -16063,6 +16149,31 @@
16063
16149
 
16064
16150
  ## 企业收付平台(cpdp) 版本:2019-08-20
16065
16151
 
16152
+ ### 第 49 次发布
16153
+
16154
+ 发布时间:2021-11-04 08:06:43
16155
+
16156
+ 本次发布包含了以下内容:
16157
+
16158
+ 改善已有的文档。
16159
+
16160
+ 新增接口:
16161
+
16162
+ * [[QueryMaliciousRegistration](https://cloud.tencent.com/document/api/1122/63688)](https://cloud.tencent.com/document/api/#/#)
16163
+
16164
+ 修改接口:
16165
+
16166
+ * [UnifiedTlinxOrder](https://cloud.tencent.com/document/api/1122/62611)
16167
+
16168
+ * 新增入参:Royalty
16169
+
16170
+ * <font color="#dd0000">**修改入参**:</font>Tag
16171
+
16172
+
16173
+ 新增数据结构:
16174
+
16175
+ * [[MerchantRiskInfo](https://cloud.tencent.com/document/api/1122/40683#MerchantRiskInfo)](https://cloud.tencent.com/document/api/1122/40683#[MerchantRiskInfo](https://cloud.tencent.com/document/api/1122/40683#MerchantRiskInfo))
16176
+
16066
16177
  ### 第 48 次发布
16067
16178
 
16068
16179
  发布时间:2021-10-13 08:05:27
@@ -41601,6 +41712,18 @@
41601
41712
 
41602
41713
  ## 云数据库 PostgreSQL(postgres) 版本:2017-03-12
41603
41714
 
41715
+ ### 第 19 次发布
41716
+
41717
+ 发布时间:2021-11-04 08:11:48
41718
+
41719
+ 本次发布包含了以下内容:
41720
+
41721
+ 改善已有的文档。
41722
+
41723
+ 新增接口:
41724
+
41725
+ * [[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)](https://cloud.tencent.com/document/api/#/#)
41726
+
41604
41727
  ### 第 18 次发布
41605
41728
 
41606
41729
  发布时间:2021-10-26 08:11:42
@@ -42198,6 +42321,21 @@
42198
42321
 
42199
42322
  ## 云数据库 Redis(redis) 版本:2018-04-12
42200
42323
 
42324
+ ### 第 37 次发布
42325
+
42326
+ 发布时间:2021-11-04 08:12:00
42327
+
42328
+ 本次发布包含了以下内容:
42329
+
42330
+ 改善已有的文档。
42331
+
42332
+ 修改接口:
42333
+
42334
+ * [EnableReplicaReadonly](https://cloud.tencent.com/document/api/239/34437)
42335
+
42336
+ * 新增出参:TaskId
42337
+
42338
+
42201
42339
  ### 第 36 次发布
42202
42340
 
42203
42341
  发布时间:2021-07-23 08:08:01
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.229",
3
+ "version": "4.0.230",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -11,7 +11,7 @@
11
11
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2021-09-16 08:01:20 |
12
12
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-09-16 08:01:43 |
13
13
  | api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
14
- | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-09-29 08:00:45 |
14
+ | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-11-04 08:03:57 |
15
15
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-11-01 08:05:02 |
16
16
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-09-16 08:01:57 |
17
17
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-09-16 08:01:40 |
@@ -35,7 +35,7 @@
35
35
  | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-11-02 08:03:38 |
36
36
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-09-16 08:05:40 |
37
37
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-09-16 08:05:42 |
38
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-10-27 08:04:17 |
38
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-11-04 08:05:50 |
39
39
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2021-09-16 08:05:46 |
40
40
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-09-30 08:02:25 |
41
41
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
@@ -48,9 +48,9 @@
48
48
  | cme | [腾讯云剪](https://cloud.tencent.com/document/product/1156) | 2021-11-01 08:07:26 |
49
49
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-09-16 08:03:08 |
50
50
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
51
- | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-10-13 08:05:27 |
51
+ | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-11-04 08:06:43 |
52
52
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
53
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-11-02 08:05:03 |
53
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-11-04 08:07:03 |
54
54
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-11-02 08:05:13 |
55
55
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
56
56
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-10-27 08:06:08 |
@@ -68,7 +68,7 @@
68
68
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-09-16 08:07:05 |
69
69
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2021-10-13 08:06:59 |
70
70
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-10-27 08:07:01 |
71
- | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-10-22 08:10:22 |
71
+ | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-11-04 08:08:49 |
72
72
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-09-16 08:00:40 |
73
73
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-09-16 08:07:07 |
74
74
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-09-30 08:05:14 |
@@ -118,15 +118,15 @@
118
118
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2021-10-25 11:36:50 |
119
119
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2021-09-16 08:09:23 |
120
120
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-09-16 08:00:11 |
121
- | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-10-26 08:11:42 |
121
+ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2021-11-04 08:11:48 |
122
122
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2021-09-16 08:00:52 |
123
123
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2021-10-27 08:10:34 |
124
- | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2021-09-16 08:09:35 |
124
+ | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2021-11-04 08:12:00 |
125
125
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-09-16 08:13:45 |
126
126
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-09-16 08:02:24 |
127
127
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-09-27 08:15:19 |
128
128
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-11-02 08:10:12 |
129
- | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-10-29 08:08:48 |
129
+ | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-11-04 08:12:19 |
130
130
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-09-16 08:04:09 |
131
131
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-10-27 08:10:57 |
132
132
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2021-09-16 08:09:52 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.229"
1
+ export const sdkVersion = "4.0.230"
@@ -156,6 +156,12 @@ export interface Service {
156
156
  注意:此字段可能返回 null,表示取不到有效值。
157
157
  */
158
158
  SetType: string
159
+
160
+ /**
161
+ * 服务部署的集群类型
162
+ 注意:此字段可能返回 null,表示取不到有效值。
163
+ */
164
+ DeploymentType: string
159
165
  }
160
166
 
161
167
  /**
@@ -1516,6 +1522,18 @@ export interface DescribeServiceResponse {
1516
1522
  */
1517
1523
  SetType: string
1518
1524
 
1525
+ /**
1526
+ * 服务部署的集群类型
1527
+ 注意:此字段可能返回 null,表示取不到有效值。
1528
+ */
1529
+ DeploymentType: string
1530
+
1531
+ /**
1532
+ * 特殊用途
1533
+ 注意:此字段可能返回 null,表示取不到有效值。
1534
+ */
1535
+ SpecialUse: string
1536
+
1519
1537
  /**
1520
1538
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1521
1539
  */
@@ -1116,7 +1116,7 @@ export interface CreateNatFwInstanceRequest {
1116
1116
  ZoneBak?: string
1117
1117
 
1118
1118
  /**
1119
- * 异地灾备 1:使用异地灾备;0:不使用异地灾备
1119
+ * 异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备
1120
1120
  */
1121
1121
  CrossAZone?: number
1122
1122
  }
@@ -1430,7 +1430,7 @@ export interface DescribeSourceAssetRequest {
1430
1430
  InsType?: string
1431
1431
 
1432
1432
  /**
1433
- * 是否未分组 1
1433
+ * ChooseType为1,查询已经分组的资产;ChooseType不为1查询没有分组的资产
1434
1434
  */
1435
1435
  ChooseType?: string
1436
1436
 
@@ -1440,12 +1440,12 @@ export interface DescribeSourceAssetRequest {
1440
1440
  Zone?: string
1441
1441
 
1442
1442
  /**
1443
- * 页大小
1443
+ * 查询单页的最大值;eg:10;则最多返回10条结果
1444
1444
  */
1445
1445
  Limit?: number
1446
1446
 
1447
1447
  /**
1448
- * 偏移量
1448
+ * 查询结果的偏移量
1449
1449
  */
1450
1450
  Offset?: number
1451
1451
  }
@@ -1480,7 +1480,7 @@ export interface DescribeSourceAssetResponse {
1480
1480
  Data: Array<InstanceInfo>
1481
1481
 
1482
1482
  /**
1483
- * 10
1483
+ * 返回数据总数
1484
1484
  */
1485
1485
  Total: number
1486
1486
 
@@ -2413,17 +2413,17 @@ export interface DescribeResourceGroupNewResponse {
2413
2413
  Data: string
2414
2414
 
2415
2415
  /**
2416
- *
2416
+ * 未分类实例数量
2417
2417
  */
2418
2418
  UnResourceNum: number
2419
2419
 
2420
2420
  /**
2421
- *
2421
+ * 接口返回消息
2422
2422
  */
2423
2423
  ReturnMsg: string
2424
2424
 
2425
2425
  /**
2426
- *
2426
+ * 返回码;0为请求成功
2427
2427
  */
2428
2428
  ReturnCode: number
2429
2429
 
@@ -2454,7 +2454,7 @@ export interface DescribeNatFwInstanceWithRegionResponse {
2454
2454
  */
2455
2455
  export interface DescribeResourceGroupNewRequest {
2456
2456
  /**
2457
- * 查询类型 网络结构 vpc,业务识别- resource ,资源标签-tag
2457
+ * 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
2458
2458
  */
2459
2459
  QueryType: string
2460
2460
 
@@ -3649,7 +3649,7 @@ export interface CreateNatFwInstanceWithDomainRequest {
3649
3649
  ZoneBak?: string
3650
3650
 
3651
3651
  /**
3652
- * 异地灾备 1:使用异地灾备;0:不使用异地灾备
3652
+ * 异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备
3653
3653
  */
3654
3654
  CrossAZone?: number
3655
3655
 
@@ -67,6 +67,7 @@ import {
67
67
  QueryAcctInfoListRequest,
68
68
  CreateMerchantRequest,
69
69
  ApplyDeclareResult,
70
+ QuerySmallAmountTransferResponse,
70
71
  DeleteAgentTaxPaymentInfoRequest,
71
72
  RefundTlinxOrderRequest,
72
73
  QueryInvoiceResult,
@@ -130,6 +131,7 @@ import {
130
131
  BindRelateAcctSmallAmountResponse,
131
132
  ContractInfo,
132
133
  QueryTransferBatchRequest,
134
+ MerchantRiskInfo,
133
135
  CreateTransferBatchRequest,
134
136
  ExecuteMemberTransactionResponse,
135
137
  OrganizationInfo,
@@ -163,7 +165,7 @@ import {
163
165
  Acct,
164
166
  QueryBankTransactionDetailsResponse,
165
167
  QueryTransferResultRequest,
166
- SyncContractDataResponse,
168
+ QueryMaliciousRegistrationRequest,
167
169
  CreateSinglePaymentData,
168
170
  QueryMerchantBalanceData,
169
171
  QueryMemberTransactionRequest,
@@ -201,6 +203,7 @@ import {
201
203
  OrderItem,
202
204
  CreateSinglePayRequest,
203
205
  QueryTransferBatchResponse,
206
+ SyncContractDataResponse,
204
207
  Order,
205
208
  RegisterBillResponse,
206
209
  WithdrawCashMembershipRequest,
@@ -255,7 +258,7 @@ import {
255
258
  QueryBillDownloadURLRequest,
256
259
  TransferSinglePayRequest,
257
260
  ApplyOutwardOrderResult,
258
- QuerySmallAmountTransferResponse,
261
+ QueryMaliciousRegistrationResponse,
259
262
  ApplyPayerInfoRequest,
260
263
  CreateSinglePayResponse,
261
264
  RefundMemberTransactionResponse,
@@ -756,6 +759,16 @@ export class Client extends AbstractClient {
756
759
  return this.request("QueryOutwardOrder", req, cb)
757
760
  }
758
761
 
762
+ /**
763
+ * 商户恶意注册接口
764
+ */
765
+ async QueryMaliciousRegistration(
766
+ req: QueryMaliciousRegistrationRequest,
767
+ cb?: (error: string, rep: QueryMaliciousRegistrationResponse) => void
768
+ ): Promise<QueryMaliciousRegistrationResponse> {
769
+ return this.request("QueryMaliciousRegistration", req, cb)
770
+ }
771
+
759
772
  /**
760
773
  * 山姆聚合支付项目-存量订单退款接口。可以通过本接口将支付款全部或部分退还给付款方,在收到用户退款请求并且验证成功之后,按照退款规则将支付款按原路退回到支付帐号。
761
774
  */
@@ -910,7 +923,7 @@ export class Client extends AbstractClient {
910
923
  }
911
924
 
912
925
  /**
913
- * 云支付Tlinx统一下单接口
926
+ * 云支付-统一下单接口
914
927
  */
915
928
  async UnifiedTlinxOrder(
916
929
  req: UnifiedTlinxOrderRequest,