tencentcloud-sdk-nodejs 4.0.223 → 4.0.227

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 (83) hide show
  1. package/CHANGELOG.md +425 -99
  2. package/README.md +2 -2
  3. package/package.json +1 -1
  4. package/products.md +22 -22
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aa/v20200224/aa_models.ts +15 -22
  7. package/src/services/advisor/v20200721/advisor_models.ts +7 -1
  8. package/src/services/as/v20180419/as_models.ts +2 -6
  9. package/src/services/ccc/v20200210/ccc_models.ts +49 -7
  10. package/src/services/cdb/v20170320/cdb_client.ts +2 -14
  11. package/src/services/cdb/v20170320/cdb_models.ts +49 -49
  12. package/src/services/cdn/v20180606/cdn_client.ts +72 -18
  13. package/src/services/cdn/v20180606/cdn_models.ts +706 -165
  14. package/src/services/cls/v20201016/cls_client.ts +3 -18
  15. package/src/services/cls/v20201016/cls_models.ts +16 -1
  16. package/src/services/cme/v20191029/cme_models.ts +5 -0
  17. package/src/services/cwp/v20180228/cwp_models.ts +4 -5
  18. package/src/services/faceid/v20180301/faceid_models.ts +25 -9
  19. package/src/services/ims/v20201229/ims_models.ts +10 -0
  20. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +6 -6
  21. package/src/services/mongodb/v20190725/mongodb_models.ts +1 -1
  22. package/src/services/monitor/v20180724/monitor_models.ts +1 -1
  23. package/src/services/ses/v20201002/ses_client.ts +32 -18
  24. package/src/services/ses/v20201002/ses_models.ts +149 -52
  25. package/src/services/taf/v20200210/taf_client.ts +3 -2
  26. package/src/services/taf/v20200210/taf_models.ts +48 -8
  27. package/src/services/tdmq/v20200217/tdmq_client.ts +282 -71
  28. package/src/services/tdmq/v20200217/tdmq_models.ts +856 -144
  29. package/src/services/tem/v20210701/tem_models.ts +5 -0
  30. package/src/services/tiia/v20190529/tiia_client.ts +78 -3
  31. package/src/services/tiia/v20190529/tiia_models.ts +397 -29
  32. package/src/services/tiw/v20190919/tiw_client.ts +17 -1
  33. package/src/services/tiw/v20190919/tiw_models.ts +82 -5
  34. package/src/services/trtc/v20190722/trtc_client.ts +3 -40
  35. package/src/services/trtc/v20190722/trtc_models.ts +43 -187
  36. package/tencentcloud/common/sdk_version.d.ts +1 -1
  37. package/tencentcloud/common/sdk_version.js +1 -1
  38. package/tencentcloud/services/aa/v20200224/aa_models.d.ts +13 -20
  39. package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +6 -1
  40. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -6
  41. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +40 -6
  42. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -5
  43. package/tencentcloud/services/cdb/v20170320/cdb_client.js +0 -6
  44. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +41 -43
  45. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +26 -3
  46. package/tencentcloud/services/cdn/v20180606/cdn_client.js +32 -3
  47. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +622 -150
  48. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +3 -18
  49. package/tencentcloud/services/cls/v20201016/cls_client.js +2 -17
  50. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -1
  51. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -0
  52. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +3 -4
  53. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +22 -9
  54. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +8 -0
  55. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +6 -6
  56. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +1 -1
  57. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
  58. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +10 -6
  59. package/tencentcloud/services/ses/v20201002/ses_client.js +13 -7
  60. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +129 -47
  61. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -1
  62. package/tencentcloud/services/taf/v20200210/taf_client.js +1 -1
  63. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +39 -7
  64. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +89 -21
  65. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +132 -30
  66. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +728 -124
  67. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
  68. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +26 -1
  69. package/tencentcloud/services/tiia/v20190529/tiia_client.js +37 -0
  70. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +341 -28
  71. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +8 -1
  72. package/tencentcloud/services/tiw/v20190919/tiw_client.js +9 -0
  73. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +72 -5
  74. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -13
  75. package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -18
  76. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +39 -163
  77. package/test/cdb.v20170320.test.js +0 -10
  78. package/test/cdn.v20180606.test.js +32 -2
  79. package/test/ses.v20201002.test.js +14 -4
  80. package/test/tdmq.v20200217.test.js +190 -20
  81. package/test/tiia.v20190529.test.js +60 -0
  82. package/test/tiw.v20190919.test.js +10 -0
  83. package/test/trtc.v20190722.test.js +0 -30
package/README.md CHANGED
@@ -46,7 +46,7 @@ const clientConfig = {
46
46
  region: "ap-shanghai",
47
47
  // 可选配置实例
48
48
  profile: {
49
- signMethod: "HmacSHA256", // 签名方法
49
+ signMethod: "TC3-HMAC-SHA256", // 签名方法
50
50
  httpProfile: {
51
51
  reqMethod: "POST", // 请求方法
52
52
  reqTimeout: 30, // 请求超时时间,默认60s
@@ -84,7 +84,7 @@ const clientConfig = {
84
84
  region: "ap-shanghai",
85
85
  // 可选配置实例
86
86
  profile: {
87
- signMethod: "HmacSHA256", // 签名方法
87
+ signMethod: "TC3-HMAC-SHA256", // 签名方法
88
88
  httpProfile: {
89
89
  reqMethod: "POST", // 请求方法
90
90
  reqTimeout: 30, // 请求超时时间,默认60s
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.223",
3
+ "version": "4.0.227",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -1,8 +1,8 @@
1
1
  | 包名 | 产品中文名 | 更新时间 |
2
2
  |-|-|-|
3
- | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2021-09-16 08:02:25 |
3
+ | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2021-10-28 08:01:28 |
4
4
  | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
5
- | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2021-10-20 16:41:59 |
5
+ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2021-10-29 08:00:17 |
6
6
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2021-09-16 08:02:22 |
7
7
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2021-09-16 08:02:20 |
8
8
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2021-10-13 08:02:42 |
@@ -12,7 +12,7 @@
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
14
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-09-29 08:00:45 |
15
- | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2021-10-27 08:02:46 |
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 |
18
18
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-09-16 08:01:39 |
@@ -30,9 +30,9 @@
30
30
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-09-16 08:05:04 |
31
31
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-09-16 08:03:51 |
32
32
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-10-27 08:03:51 |
33
- | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-09-16 08:02:05 |
34
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-10-21 11:16:58 |
35
- | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-10-21 11:18:54 |
33
+ | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-11-01 08:06:08 |
34
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-11-01 08:06:13 |
35
+ | cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-10-28 15:10:03 |
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
38
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-10-27 08:04:17 |
@@ -44,14 +44,14 @@
44
44
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-10-26 08:06:08 |
45
45
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-09-16 08:14:35 |
46
46
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-09-16 08:12:58 |
47
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-10-27 08:04:57 |
48
- | cme | [腾讯云剪](https://cloud.tencent.com/document/product/1156) | 2021-09-17 08:06:15 |
47
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2021-11-01 08:07:18 |
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
51
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-10-13 08:05:27 |
52
52
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
53
53
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-10-20 08:08:42 |
54
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-10-27 08:05:40 |
54
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-10-29 08:03:42 |
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 |
57
57
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-09-16 08:06:18 |
@@ -74,24 +74,24 @@
74
74
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-09-30 08:05:14 |
75
75
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-10-25 08:05:49 |
76
76
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2021-09-16 08:07:14 |
77
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-10-21 11:26:59 |
77
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-10-29 08:05:31 |
78
78
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-09-24 09:57:29 |
79
79
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-09-24 09:57:31 |
80
80
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-10-18 08:07:19 |
81
81
  | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2021-09-16 08:07:34 |
82
82
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2021-09-16 08:01:47 |
83
83
  | gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2021-09-16 08:03:55 |
84
- | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2021-09-16 08:03:31 |
84
+ | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2021-10-29 08:05:58 |
85
85
  | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
86
86
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2021-09-16 08:07:38 |
87
87
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2021-10-13 08:08:07 |
88
88
  | ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2021-09-16 08:00:56 |
89
89
  | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2021-10-18 08:07:55 |
90
90
  | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2021-09-16 08:02:27 |
91
- | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2021-09-16 08:01:45 |
91
+ | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2021-10-29 08:06:21 |
92
92
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2021-09-16 08:07:49 |
93
93
  | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2021-07-21 08:06:35 |
94
- | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-10-27 08:08:37 |
94
+ | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-10-28 08:08:02 |
95
95
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-09-16 08:08:06 |
96
96
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-09-16 08:03:15 |
97
97
  | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-09-16 08:01:15 |
@@ -104,8 +104,8 @@
104
104
  | memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product) | 2020-08-24 08:07:49 |
105
105
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-09-16 08:01:53 |
106
106
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2021-10-11 08:07:22 |
107
- | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2021-09-27 08:14:06 |
108
- | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-09-23 08:10:38 |
107
+ | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2021-10-29 08:07:31 |
108
+ | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-10-28 08:09:09 |
109
109
  | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-10-27 08:09:49 |
110
110
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-10-21 11:32:09 |
111
111
  | ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
@@ -126,7 +126,7 @@
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-10-25 08:09:06 |
129
- | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-09-16 08:14:21 |
129
+ | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-10-29 08:08:48 |
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 |
@@ -137,7 +137,7 @@
137
137
  | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-09-16 08:01:50 |
138
138
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2021-09-16 08:03:57 |
139
139
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2021-09-16 08:13:47 |
140
- | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-09-16 08:02:28 |
140
+ | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-11-01 08:13:31 |
141
141
  | tag | [标签](https://cloud.tencent.com/document/product/651) | 2021-09-16 08:10:15 |
142
142
  | tat | [腾讯云自动化助手](https://cloud.tencent.com/document/product/1340) | 2021-10-11 08:09:12 |
143
143
  | tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
@@ -150,21 +150,21 @@
150
150
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
151
151
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-10-21 11:37:27 |
152
152
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-09-16 08:00:13 |
153
- | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-10-21 11:38:45 |
154
- | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-10-26 08:13:30 |
153
+ | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-10-29 08:10:04 |
154
+ | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-10-29 08:10:14 |
155
155
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
156
156
  | tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2021-09-16 08:01:33 |
157
157
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
158
158
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2021-09-16 08:10:45 |
159
159
  | tiems | [智能钛弹性模型服务](https://cloud.tencent.com/document/product/1120) | 2021-09-16 08:10:47 |
160
- | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-09-27 08:16:59 |
160
+ | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-10-29 08:10:24 |
161
161
  | tione | [智能钛机器学习平台](https://cloud.tencent.com/document/product/851) | 2021-09-16 08:03:04 |
162
- | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-09-16 08:12:32 |
162
+ | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-10-29 08:10:34 |
163
163
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2021-10-01 21:29:42 |
164
164
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
165
165
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-09-16 08:02:16 |
166
166
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-10-11 08:10:28 |
167
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-10-15 08:16:00 |
167
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-10-29 08:10:53 |
168
168
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-10-27 08:12:44 |
169
169
  | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2021-10-27 08:12:46 |
170
170
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2021-09-16 08:14:31 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.223"
1
+ export const sdkVersion = "4.0.227"
@@ -53,19 +53,19 @@ export interface QueryActivityAntiRushResponse {
53
53
  * 操作时间戳,单位:秒。
54
54
  注意:此字段可能返回 null,表示取不到有效值。
55
55
  */
56
- PostTime?: string
56
+ PostTime: string
57
57
 
58
58
  /**
59
59
  * 用户操作的真实外网 IP。
60
60
  注意:此字段可能返回 null,表示取不到有效值。
61
61
  */
62
- UserIp?: string
62
+ UserIp: string
63
63
 
64
64
  /**
65
65
  * 0:表示无恶意。
66
66
  1 - 4:恶意等级由低到高。
67
67
  */
68
- Level?: number
68
+ Level: number
69
69
 
70
70
  /**
71
71
  * 风险类型。
@@ -88,33 +88,32 @@ export interface QueryActivityAntiRushResponse {
88
88
  205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
89
89
  206,设备异常,该设备存在异常的使用行为
90
90
  */
91
- RiskType?: Array<number>
91
+ RiskType: Array<number>
92
92
 
93
93
  /**
94
94
  * accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
95
95
  注意:此字段可能返回 null,表示取不到有效值。
96
96
  */
97
- AssociateAccount?: string
97
+ AssociateAccount: string
98
98
 
99
99
  /**
100
- * 用户ID
101
- accountType不同对应不同的用户ID。如果是QQ或微信用户则填入对应的openId
100
+ * uid值
102
101
  注意:此字段可能返回 null,表示取不到有效值。
103
102
  */
104
- Uid?: string
103
+ Uid: string
105
104
 
106
105
  /**
107
106
  * 用户操作的目的ID
108
107
  比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
109
108
  注意:此字段可能返回 null,表示取不到有效值。
110
109
  */
111
- RootId?: string
110
+ RootId: string
112
111
 
113
112
  /**
114
113
  * 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
115
114
  注意:此字段可能返回 null,表示取不到有效值。
116
115
  */
117
- CodeDesc?: string
116
+ CodeDesc: string
118
117
 
119
118
  /**
120
119
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -626,17 +625,12 @@ export interface SponsorInfo {
626
625
  */
627
626
  export interface QueryActivityAntiRushRequest {
628
627
  /**
629
- * 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信开放账号):
630
- 1:QQ 开放帐号。
631
- 2:微信开放账号。
632
- 4:手机号。
633
- 0:其他。
634
- 10004:手机号 MD5。
635
- */
628
+ * 账号类型
629
+ */
636
630
  AccountType: string
637
631
 
638
632
  /**
639
- * 用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
633
+ * uid值
640
634
  */
641
635
  Uid: string
642
636
 
@@ -661,7 +655,7 @@ export interface QueryActivityAntiRushRequest {
661
655
  NickName?: string
662
656
 
663
657
  /**
664
- * 手机号。若 accountType 选4(手机号)、或10004(手机号 MD5),则无需重复填写。否则填入对应的手机号(如15912345687)。accountType为1或2时,该字段支持MD5值;
658
+ * 手机号
665
659
  */
666
660
  PhoneNumber?: string
667
661
 
@@ -790,9 +784,8 @@ export interface QueryActivityAntiRushRequest {
790
784
  RandNum?: string
791
785
 
792
786
  /**
793
- * 如果 accountType为2而且wxSubType有填,该字段必选,否则不需要填写;
794
- 如果是微信小程序(WxSubType=2),该字段为以ssesion_key为key去签名随机数radnNum得到的值( hmac_sha256签名算法);如果是微信公众号或第三方登录,则为授权的access_token(网页版本的access_Token,而且获取token的scope字段必需填写snsapi_userinfo;)
795
- */
787
+ * token
788
+ */
796
789
  WxToken?: string
797
790
 
798
791
  /**
@@ -116,7 +116,7 @@ export interface DescribeStrategie {
116
116
  export interface DescribeTaskStrategyRisksResponse {
117
117
  /**
118
118
  * 根据此配置,匹配风险实例列表(Risks)对应字段,例如:
119
- {"Response":{"RequestId":"111","RiskFieldsDesc":[{"Field":"InstanceId","FieldName":"ID","FieldType":"string","FieldDict":{}},{"Field":"InstanceName","FieldName":"名称","FieldType":"string","FieldDict":{}},{"Field":"InstanceState","FieldName":"状态","FieldType":"string","FieldDict":{"LAUNCH_FAILED":"创建失败","PENDING":"创建中","REBOOTING":"重启中","RUNNING":"运行中","SHUTDOWN":"停止待销毁","STARTING":"开机中","STOPPED":"关机","STOPPING":"关机中","TERMINATING":"销毁中"}},{"Field":"Zone","FieldName":"可用区","FieldType":"string","FieldDict":{}},{"Field":"PrivateIPAddresses","FieldName":"IP地址(内)","FieldType":"stringSlice","FieldDict":{}},{"Field":"PublicIPAddresses","FieldName":"IP地址(公)","FieldType":"stringSlice","FieldDict":{}},{"Field":"Tags","FieldName":"标签","FieldType":"tags","FieldDict":{}}],"RiskTotalCount":1,"Risks":[{"InstanceId":"ins-diha6wb3","InstanceName":"tke_cls-13rigq6t_worker","InstanceState":"RUNNING","PrivateIPAddresses":["1.0.0.1"],"PublicIPAddresses":null,"Tags":null,"Zone":"ap-beijing-1"}],"StrategyId":9}}
119
+ {"Response":{"RequestId":"111","RiskFieldsDesc":[{"Field":"InstanceId","FieldName":"ID","FieldType":"string","FieldDict":{}},{"Field":"InstanceName","FieldName":"名称","FieldType":"string","FieldDict":{}},{"Field":"InstanceState","FieldName":"状态","FieldType":"string","FieldDict":{"LAUNCH_FAILED":"创建失败","PENDING":"创建中","REBOOTING":"重启中","RUNNING":"运行中","SHUTDOWN":"停止待销毁","STARTING":"开机中","STOPPED":"关机","STOPPING":"关机中","TERMINATING":"销毁中"}},{"Field":"Zone","FieldName":"可用区","FieldType":"string","FieldDict":{}},{"Field":"PrivateIPAddresses","FieldName":"IP地址(内)","FieldType":"stringSlice","FieldDict":{}},{"Field":"PublicIPAddresses","FieldName":"IP地址(公)","FieldType":"stringSlice","FieldDict":{}},{"Field":"Region","FieldName":"地域","FieldType":"string","FieldDict":{}},{"Field":"Tags","FieldName":"标签","FieldType":"tags","FieldDict":{}}],"RiskTotalCount":3,"Risks":"[{\"InstanceId\":\"ins-xxx1\",\"InstanceName\":\"xxx1\",\"InstanceState\":\"RUNNING\",\"PrivateIPAddresses\":[\"1.17.64.2\"],\"PublicIPAddresses\":null,\"Region\":\"ap-shanghai\",\"Tags\":null,\"Zone\":\"ap-shanghai-2\"},{\"InstanceId\":\"ins-xxx2\",\"InstanceName\":\"xxx2\",\"InstanceState\":\"RUNNING\",\"PrivateIPAddresses\":[\"1.17.64.11\"],\"PublicIPAddresses\":null,\"Region\":\"ap-shanghai\",\"Tags\":null,\"Zone\":\"ap-shanghai-2\"}]","StrategyId":9}}
120
120
  注意:此字段可能返回 null,表示取不到有效值。
121
121
  */
122
122
  RiskFieldsDesc: Array<RiskFieldsDesc>
@@ -133,6 +133,12 @@ export interface DescribeTaskStrategyRisksResponse {
133
133
  */
134
134
  RiskTotalCount: number
135
135
 
136
+ /**
137
+ * 风险实例详情列表,需要json decode
138
+ 注意:此字段可能返回 null,表示取不到有效值。
139
+ */
140
+ Risks: string
141
+
136
142
  /**
137
143
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
138
144
  */
@@ -2645,10 +2645,6 @@ export interface DescribeLifecycleHooksRequest {
2645
2645
  <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
2646
2646
  <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
2647
2647
  <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
2648
- 过滤条件。
2649
- <li> lifecycle-hook-id - String - 是否必填:否 -(过滤条件)按照生命周期挂钩ID过滤。</li>
2650
- <li> lifecycle-hook-name - String - 是否必填:否 -(过滤条件)按照生命周期挂钩名称过滤。</li>
2651
- <li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。</li>
2652
2648
  每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LifecycleHookIds `和`Filters`。
2653
2649
  */
2654
2650
  Filters?: Array<Filter>
@@ -2885,12 +2881,12 @@ export interface DescribeLifecycleHooksResponse {
2885
2881
  /**
2886
2882
  * 生命周期挂钩数组
2887
2883
  */
2888
- LifecycleHookSet?: Array<LifecycleHook>
2884
+ LifecycleHookSet: Array<LifecycleHook>
2889
2885
 
2890
2886
  /**
2891
2887
  * 总体数量
2892
2888
  */
2893
- TotalCount?: number
2889
+ TotalCount: number
2894
2890
 
2895
2891
  /**
2896
2892
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -575,6 +575,18 @@ notInService 不在服务区
575
575
  注意:此字段可能返回 null,表示取不到有效值。
576
576
  */
577
577
  SessionId: string
578
+
579
+ /**
580
+ * 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
581
+ 注意:此字段可能返回 null,表示取不到有效值。
582
+ */
583
+ ProtectedCaller: string
584
+
585
+ /**
586
+ * 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
587
+ 注意:此字段可能返回 null,表示取不到有效值。
588
+ */
589
+ ProtectedCallee: string
578
590
  }
579
591
 
580
592
  /**
@@ -660,12 +672,12 @@ export interface DescribeChatMessagesResponse {
660
672
  /**
661
673
  * 总记录数
662
674
  */
663
- TotalCount?: number
675
+ TotalCount: number
664
676
 
665
677
  /**
666
678
  * 消息列表
667
679
  */
668
- Messages?: Array<MessageBody>
680
+ Messages: Array<MessageBody>
669
681
 
670
682
  /**
671
683
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -777,11 +789,6 @@ export interface ErrStaffItem {
777
789
  * DescribeChatMessages请求参数结构体
778
790
  */
779
791
  export interface DescribeChatMessagesRequest {
780
- /**
781
- * 服务记录ID
782
- */
783
- CdrId: string
784
-
785
792
  /**
786
793
  * 实例ID
787
794
  */
@@ -792,6 +799,11 @@ export interface DescribeChatMessagesRequest {
792
799
  */
793
800
  SdkAppId?: number
794
801
 
802
+ /**
803
+ * 服务记录ID
804
+ */
805
+ CdrId?: string
806
+
795
807
  /**
796
808
  * 返回记录条数 最大为100默认20
797
809
  */
@@ -806,6 +818,11 @@ export interface DescribeChatMessagesRequest {
806
818
  * 1为从早到晚,2为从晚到早,默认为2
807
819
  */
808
820
  Order?: number
821
+
822
+ /**
823
+ * 服务记录SessionID
824
+ */
825
+ SessionId?: string
809
826
  }
810
827
 
811
828
  /**
@@ -880,6 +897,16 @@ finished 已完成
880
897
  * 转外线被叫
881
898
  */
882
899
  OutBoundCallee: string
900
+
901
+ /**
902
+ * 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
903
+ */
904
+ ProtectedCaller: string
905
+
906
+ /**
907
+ * 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
908
+ */
909
+ ProtectedCallee: string
883
910
  }
884
911
 
885
912
  /**
@@ -1075,6 +1102,16 @@ export interface PSTNSessionInfo {
1075
1102
  * 振铃时间,Unix 时间戳
1076
1103
  */
1077
1104
  RingTimestamp: number
1105
+
1106
+ /**
1107
+ * 主叫号码保护ID,开启号码保护映射功能时有效,且Caller字段置空
1108
+ */
1109
+ ProtectedCaller: string
1110
+
1111
+ /**
1112
+ * 被叫号码保护ID,开启号码保护映射功能时有效,且Callee字段置空
1113
+ */
1114
+ ProtectedCallee: string
1078
1115
  }
1079
1116
 
1080
1117
  /**
@@ -1411,6 +1448,11 @@ export interface DescribeTelCdrRequest {
1411
1448
  * 按手机号筛选
1412
1449
  */
1413
1450
  Phones?: Array<string>
1451
+
1452
+ /**
1453
+ * 按SessionId筛选
1454
+ */
1455
+ SessionIds?: Array<string>
1414
1456
  }
1415
1457
 
1416
1458
  /**
@@ -30,7 +30,7 @@ import {
30
30
  DescribeRoMinScaleResponse,
31
31
  CreateAuditRuleResponse,
32
32
  StopDBImportJobRequest,
33
- OfflineIsolatedInstancesResponse,
33
+ RoWeightValue,
34
34
  DescribeSlowLogDataResponse,
35
35
  SellType,
36
36
  DescribeDBInstanceInfoResponse,
@@ -167,7 +167,6 @@ import {
167
167
  DescribeBackupTablesResponse,
168
168
  Outbound,
169
169
  SlaveInstanceInfo,
170
- RoWeightValue,
171
170
  ModifyDBInstanceVipVportRequest,
172
171
  ModifyParamTemplateResponse,
173
172
  ModifyDBInstanceSecurityGroupsResponse,
@@ -193,7 +192,6 @@ import {
193
192
  DescribeAsyncRequestInfoRequest,
194
193
  TablePrivilege,
195
194
  BalanceRoGroupLoadRequest,
196
- ModifyRoTypeResponse,
197
195
  DescribeAuditRulesRequest,
198
196
  DescribeBackupOverviewResponse,
199
197
  ColumnPrivilege,
@@ -218,7 +216,7 @@ import {
218
216
  DescribeDBInstanceConfigRequest,
219
217
  DescribeBackupTablesRequest,
220
218
  DescribeBinlogsResponse,
221
- ModifyRoTypeRequest,
219
+ OfflineIsolatedInstancesResponse,
222
220
  SwitchDrInstanceToMasterResponse,
223
221
  DatabasePrivilege,
224
222
  RoGroupAttr,
@@ -640,16 +638,6 @@ export class Client extends AbstractClient {
640
638
  return this.request("DescribeAccountPrivileges", req, cb)
641
639
  }
642
640
 
643
- /**
644
- * 修改只读实例类型,可以将普通只读实例变为延迟只读实例,或者将延迟只读实例变为普通只读实例。
645
- */
646
- async ModifyRoType(
647
- req: ModifyRoTypeRequest,
648
- cb?: (error: string, rep: ModifyRoTypeResponse) => void
649
- ): Promise<ModifyRoTypeResponse> {
650
- return this.request("ModifyRoType", req, cb)
651
- }
652
-
653
641
  /**
654
642
  * 本接口(ReleaseIsolatedDBInstances)用于恢复已隔离云数据库实例。
655
643
  */