tencentcloud-sdk-nodejs 4.1.0 → 4.1.2

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 (111) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/common/sse_response_model.js +1 -1
  3. package/es/services/antiddos/v20200309/antiddos_client.js +3 -9
  4. package/es/services/cdb/v20170320/cdb_client.js +3 -0
  5. package/es/services/cls/v20201016/cls_client.js +2 -14
  6. package/es/services/dnspod/v20210323/dnspod_client.js +168 -159
  7. package/es/services/dsgc/v20190723/dsgc_client.js +0 -3
  8. package/es/services/iotexplorer/v20190423/iotexplorer_client.js +3 -0
  9. package/es/services/lke/v20231130/lke_client.js +2 -5
  10. package/es/services/monitor/v20180724/monitor_client.js +8 -2
  11. package/es/services/mps/v20190612/mps_client.js +31 -4
  12. package/es/services/redis/v20180412/redis_client.js +3 -0
  13. package/es/services/tcb/v20180608/tcb_client.js +3 -3
  14. package/es/services/tcss/v20201101/tcss_client.js +26 -29
  15. package/es/services/tdmq/v20200217/tdmq_client.js +0 -3
  16. package/es/services/teo/v20220901/teo_client.js +6 -0
  17. package/package.json +1 -1
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/common/sse_response_model.js +1 -1
  21. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -17
  22. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -22
  23. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +51 -237
  24. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +23 -23
  25. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +11 -86
  26. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +3 -1
  27. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -7
  28. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +7 -7
  29. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +0 -10
  30. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
  31. package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
  32. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +161 -128
  33. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +70 -167
  34. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +4 -4
  35. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +16 -617
  36. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +21 -10
  37. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +3 -19
  38. package/tencentcloud/services/cls/v20201016/cls_client.js +3 -27
  39. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +176 -596
  40. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -0
  41. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -43
  42. package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +15 -33
  43. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +23 -73
  44. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -24
  45. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +187 -175
  46. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +273 -255
  47. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +218 -17
  48. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +0 -4
  49. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +1 -6
  50. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +0 -7
  51. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +0 -13
  52. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +2 -2
  53. package/tencentcloud/services/emr/v20190103/emr_client.js +1 -1
  54. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +136 -34
  55. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -1
  56. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
  57. package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +2 -2
  58. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +0 -1
  59. package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +2 -2
  60. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +5 -1
  61. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +16 -17
  62. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
  63. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
  64. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +35 -0
  65. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +1 -1
  66. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +1 -1
  67. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +139 -363
  68. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +10 -14
  69. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +3 -7
  70. package/tencentcloud/services/lke/v20231130/lke_client.js +3 -9
  71. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +6 -24
  72. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -1
  73. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -1
  74. package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +0 -1
  75. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +4 -23
  76. package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +1 -1
  77. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +23 -51
  78. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +11 -3
  79. package/tencentcloud/services/monitor/v20180724/monitor_client.js +15 -3
  80. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +202 -22
  81. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +42 -5
  82. package/tencentcloud/services/mps/v20190612/mps_client.js +61 -6
  83. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1322 -216
  84. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -5
  85. package/tencentcloud/services/postgres/v20170312/postgres_client.js +5 -5
  86. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +43 -154
  87. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
  88. package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
  89. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +19 -2
  90. package/tencentcloud/services/svp/v20240125/svp_models.d.ts +0 -22
  91. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -5
  92. package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -6
  93. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +84 -183
  94. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +31 -45
  95. package/tencentcloud/services/tcss/v20201101/tcss_client.js +45 -61
  96. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +974 -1431
  97. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -5
  98. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -6
  99. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +83 -92
  100. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
  101. package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
  102. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +81 -27
  103. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +2 -5
  104. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -8
  105. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +2 -12
  106. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +0 -27
  107. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +0 -17
  108. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +0 -17
  109. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -0
  110. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +95 -0
  111. package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +0 -482
@@ -28,140 +28,138 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("dnspod.tencentcloudapi.com", "2021-03-23", clientConfig);
29
29
  }
30
30
  /**
31
- * 创建添加子域名 Zone 域解析时所需要的 TXT 记录值
31
+ * 获取域名权限
32
32
  */
33
- async CreateSubdomainValidateTXTValue(req, cb) {
34
- return this.request("CreateSubdomainValidateTXTValue", req, cb);
33
+ async DescribeDomainPurview(req, cb) {
34
+ return this.request("DescribeDomainPurview", req, cb);
35
35
  }
36
36
  /**
37
- * 获取某个域名下的解析记录列表
38
- 备注:
39
- 1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
40
- 2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
37
+ * 暂停子域名的解析记录
41
38
  */
42
- async DescribeRecordList(req, cb) {
43
- return this.request("DescribeRecordList", req, cb);
39
+ async ModifySubdomainStatus(req, cb) {
40
+ return this.request("ModifySubdomainStatus", req, cb);
44
41
  }
45
42
  /**
46
- * 获取域名共享信息
43
+ * 统计子域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况。仅付费套餐域名可用。
47
44
  */
48
- async DescribeDomainShareInfo(req, cb) {
49
- return this.request("DescribeDomainShareInfo", req, cb);
45
+ async DescribeSubdomainAnalytics(req, cb) {
46
+ return this.request("DescribeSubdomainAnalytics", req, cb);
50
47
  }
51
48
  /**
52
- * 查询最近一次回滚
49
+ * 添加TXT记录
50
+ 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
53
51
  */
54
- async DescribeSnapshotRollbackTask(req, cb) {
55
- return this.request("DescribeSnapshotRollbackTask", req, cb);
52
+ async CreateTXTRecord(req, cb) {
53
+ return this.request("CreateTXTRecord", req, cb);
56
54
  }
57
55
  /**
58
- * 增值服务自动续费设置
56
+ * 快照回滚前检查
59
57
  */
60
- async ModifyVasAutoRenewStatus(req, cb) {
61
- return this.request("ModifyVasAutoRenewStatus", req, cb);
58
+ async CheckSnapshotRollback(req, cb) {
59
+ return this.request("CheckSnapshotRollback", req, cb);
62
60
  }
63
61
  /**
64
- * 创建域名的线路分组
62
+ * 增值服务自动续费设置
65
63
  */
66
- async CreateLineGroup(req, cb) {
67
- return this.request("CreateLineGroup", req, cb);
64
+ async ModifyVasAutoRenewStatus(req, cb) {
65
+ return this.request("ModifyVasAutoRenewStatus", req, cb);
68
66
  }
69
67
  /**
70
- * 获取域名权限
68
+ * 获取域名Whois信息
71
69
  */
72
- async DescribeDomainPurview(req, cb) {
73
- return this.request("DescribeDomainPurview", req, cb);
70
+ async DescribeDomainWhois(req, cb) {
71
+ return this.request("DescribeDomainWhois", req, cb);
74
72
  }
75
73
  /**
76
- * 获取域名的线路分组列表
74
+ * 批量添加域名
77
75
  */
78
- async DescribeLineGroupList(req, cb) {
79
- return this.request("DescribeLineGroupList", req, cb);
76
+ async CreateDomainBatch(req, cb) {
77
+ return this.request("CreateDomainBatch", req, cb);
80
78
  }
81
79
  /**
82
- * 删除域名的自定义线路
80
+ * 获取域名共享信息
83
81
  */
84
- async DeleteDomainCustomLine(req, cb) {
85
- return this.request("DeleteDomainCustomLine", req, cb);
82
+ async DescribeDomainShareInfo(req, cb) {
83
+ return this.request("DescribeDomainShareInfo", req, cb);
86
84
  }
87
85
  /**
88
- * 获取等级允许的记录类型
86
+ * 创建域名的线路分组
89
87
  */
90
- async DescribeRecordType(req, cb) {
91
- return this.request("DescribeRecordType", req, cb);
88
+ async CreateLineGroup(req, cb) {
89
+ return this.request("CreateLineGroup", req, cb);
92
90
  }
93
91
  /**
94
- * 删除记录分组
92
+ * 获取域名信息
95
93
  */
96
- async DeleteRecordGroup(req, cb) {
97
- return this.request("DeleteRecordGroup", req, cb);
94
+ async DescribeDomain(req, cb) {
95
+ return this.request("DescribeDomain", req, cb);
98
96
  }
99
97
  /**
100
- * 重新回滚指定解析记录快照
98
+ * 获取等级允许的记录类型
101
99
  */
102
- async RollbackRecordSnapshot(req, cb) {
103
- return this.request("RollbackRecordSnapshot", req, cb);
100
+ async DescribeRecordType(req, cb) {
101
+ return this.request("DescribeRecordType", req, cb);
104
102
  }
105
103
  /**
106
- * 修改域名状态
104
+ * 修改记录分组
107
105
  */
108
- async ModifyDomainStatus(req, cb) {
109
- return this.request("ModifyDomainStatus", req, cb);
106
+ async ModifyRecordGroup(req, cb) {
107
+ return this.request("ModifyRecordGroup", req, cb);
110
108
  }
111
109
  /**
112
- * 获取域名别名列表
110
+ * 修改快照配置
113
111
  */
114
- async DescribeDomainAliasList(req, cb) {
115
- return this.request("DescribeDomainAliasList", req, cb);
112
+ async ModifySnapshotConfig(req, cb) {
113
+ return this.request("ModifySnapshotConfig", req, cb);
116
114
  }
117
115
  /**
118
- * 查询快照列表
116
+ * 修改记录
119
117
  */
120
- async DescribeSnapshotList(req, cb) {
121
- return this.request("DescribeSnapshotList", req, cb);
118
+ async ModifyRecord(req, cb) {
119
+ return this.request("ModifyRecord", req, cb);
122
120
  }
123
121
  /**
124
- * 添加TXT记录
125
- 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
122
+ * 域名过户
126
123
  */
127
- async CreateTXTRecord(req, cb) {
128
- return this.request("CreateTXTRecord", req, cb);
124
+ async ModifyDomainOwner(req, cb) {
125
+ return this.request("ModifyDomainOwner", req, cb);
129
126
  }
130
127
  /**
131
- * 批量删除域名
128
+ * 批量删除解析记录
129
+ 备注:因存储限制, 建议一次批量删除最多2000条
132
130
  */
133
- async DeleteDomainBatch(req, cb) {
134
- return this.request("DeleteDomainBatch", req, cb);
131
+ async DeleteRecordBatch(req, cb) {
132
+ return this.request("DeleteRecordBatch", req, cb);
135
133
  }
136
134
  /**
137
- * 下载快照
135
+ * 重新回滚指定解析记录快照
138
136
  */
139
- async DownloadSnapshot(req, cb) {
140
- return this.request("DownloadSnapshot", req, cb);
137
+ async RollbackRecordSnapshot(req, cb) {
138
+ return this.request("RollbackRecordSnapshot", req, cb);
141
139
  }
142
140
  /**
143
- * 快照回滚前检查
141
+ * 判断是否有除系统默认的@-NS记录之外的记录存在
144
142
  */
145
- async CheckSnapshotRollback(req, cb) {
146
- return this.request("CheckSnapshotRollback", req, cb);
143
+ async DescribeRecordExistExceptDefaultNS(req, cb) {
144
+ return this.request("DescribeRecordExistExceptDefaultNS", req, cb);
147
145
  }
148
146
  /**
149
- * 修改记录
147
+ * 创建快照
150
148
  */
151
- async ModifyRecord(req, cb) {
152
- return this.request("ModifyRecord", req, cb);
149
+ async CreateSnapshot(req, cb) {
150
+ return this.request("CreateSnapshot", req, cb);
153
151
  }
154
152
  /**
155
- * 获取域名Whois信息
153
+ * 修改记录可选字段
156
154
  */
157
- async DescribeDomainWhois(req, cb) {
158
- return this.request("DescribeDomainWhois", req, cb);
155
+ async ModifyRecordFields(req, cb) {
156
+ return this.request("ModifyRecordFields", req, cb);
159
157
  }
160
158
  /**
161
- * 查询解析记录分组列表
159
+ * 批量删除域名
162
160
  */
163
- async DescribeRecordGroupList(req, cb) {
164
- return this.request("DescribeRecordGroupList", req, cb);
161
+ async DeleteDomainBatch(req, cb) {
162
+ return this.request("DeleteDomainBatch", req, cb);
165
163
  }
166
164
  /**
167
165
  * 查询快照回滚结果
@@ -169,12 +167,6 @@ class Client extends abstract_client_1.AbstractClient {
169
167
  async DescribeSnapshotRollbackResult(req, cb) {
170
168
  return this.request("DescribeSnapshotRollbackResult", req, cb);
171
169
  }
172
- /**
173
- * 删除快照
174
- */
175
- async DeleteSnapshot(req, cb) {
176
- return this.request("DeleteSnapshot", req, cb);
177
- }
178
170
  /**
179
171
  * 域名锁定解锁
180
172
  */
@@ -182,157 +174,163 @@ class Client extends abstract_client_1.AbstractClient {
182
174
  return this.request("ModifyDomainUnlock", req, cb);
183
175
  }
184
176
  /**
185
- * 批量添加域名
177
+ * 获取域名列表
186
178
  */
187
- async CreateDomainBatch(req, cb) {
188
- return this.request("CreateDomainBatch", req, cb);
179
+ async DescribeDomainList(req, cb) {
180
+ return this.request("DescribeDomainList", req, cb);
189
181
  }
190
182
  /**
191
- * 获取域名分组列表
183
+ * 查询解析快照配置
192
184
  */
193
- async DescribeDomainGroupList(req, cb) {
194
- return this.request("DescribeDomainGroupList", req, cb);
185
+ async DescribeSnapshotConfig(req, cb) {
186
+ return this.request("DescribeSnapshotConfig", req, cb);
195
187
  }
196
188
  /**
197
- * DNSPod商品下单
189
+ * 获取账户信息
198
190
  */
199
- async CreateDeal(req, cb) {
200
- return this.request("CreateDeal", req, cb);
191
+ async DescribeUserDetail(req, cb) {
192
+ return this.request("DescribeUserDetail", req, cb);
201
193
  }
202
194
  /**
203
- * 获取某个域名下的解析记录列表
204
- 备注:
205
- 1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
206
- 2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
195
+ * 修改域名状态
207
196
  */
208
- async DescribeRecordFilterList(req, cb) {
209
- return this.request("DescribeRecordFilterList", req, cb);
197
+ async ModifyDomainStatus(req, cb) {
198
+ return this.request("ModifyDomainStatus", req, cb);
210
199
  }
211
200
  /**
212
- * 查询解析快照配置
201
+ * 统计各个域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况
213
202
  */
214
- async DescribeSnapshotConfig(req, cb) {
215
- return this.request("DescribeSnapshotConfig", req, cb);
203
+ async DescribeDomainAnalytics(req, cb) {
204
+ return this.request("DescribeDomainAnalytics", req, cb);
216
205
  }
217
206
  /**
218
- * 锁定域名
207
+ * DNS 解析套餐自动续费设置
219
208
  */
220
- async ModifyDomainLock(req, cb) {
221
- return this.request("ModifyDomainLock", req, cb);
209
+ async ModifyPackageAutoRenew(req, cb) {
210
+ return this.request("ModifyPackageAutoRenew", req, cb);
222
211
  }
223
212
  /**
224
- * 按账号删除域名共享
213
+ * 添加记录
214
+ 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
225
215
  */
226
- async DeleteShareDomain(req, cb) {
227
- return this.request("DeleteShareDomain", req, cb);
216
+ async CreateRecord(req, cb) {
217
+ return this.request("CreateRecord", req, cb);
228
218
  }
229
219
  /**
230
- * 设置域名备注
220
+ * 按分类返回线路列表
231
221
  */
232
- async ModifyDomainRemark(req, cb) {
233
- return this.request("ModifyDomainRemark", req, cb);
222
+ async DescribeRecordLineCategoryList(req, cb) {
223
+ return this.request("DescribeRecordLineCategoryList", req, cb);
234
224
  }
235
225
  /**
236
- * 获取域名信息
226
+ * 获取域名日志
237
227
  */
238
- async DescribeDomain(req, cb) {
239
- return this.request("DescribeDomain", req, cb);
228
+ async DescribeDomainLogList(req, cb) {
229
+ return this.request("DescribeDomainLogList", req, cb);
240
230
  }
241
231
  /**
242
- * 修改域名的线路分组
232
+ * 创建域名分组
243
233
  */
244
- async ModifyLineGroup(req, cb) {
245
- return this.request("ModifyLineGroup", req, cb);
234
+ async CreateDomainGroup(req, cb) {
235
+ return this.request("CreateDomainGroup", req, cb);
246
236
  }
247
237
  /**
248
- * 删除域名的线路分组
238
+ * 获取域名概览信息
249
239
  */
250
- async DeleteLineGroup(req, cb) {
251
- return this.request("DeleteLineGroup", req, cb);
240
+ async DescribeDomainPreview(req, cb) {
241
+ return this.request("DescribeDomainPreview", req, cb);
252
242
  }
253
243
  /**
254
- * 修改解析记录的状态
244
+ * 将记录添加到分组
255
245
  */
256
- async ModifyRecordStatus(req, cb) {
257
- return this.request("ModifyRecordStatus", req, cb);
246
+ async ModifyRecordToGroup(req, cb) {
247
+ return this.request("ModifyRecordToGroup", req, cb);
258
248
  }
259
249
  /**
260
- * 添加记录分组
250
+ * 修改TXT记录
261
251
  */
262
- async CreateRecordGroup(req, cb) {
263
- return this.request("CreateRecordGroup", req, cb);
252
+ async ModifyTXTRecord(req, cb) {
253
+ return this.request("ModifyTXTRecord", req, cb);
264
254
  }
265
255
  /**
266
- * 更新动态 DNS 记录
256
+ * 删除域名
267
257
  */
268
- async ModifyDynamicDNS(req, cb) {
269
- return this.request("ModifyDynamicDNS", req, cb);
258
+ async DeleteDomain(req, cb) {
259
+ return this.request("DeleteDomain", req, cb);
270
260
  }
271
261
  /**
272
- * 批量添加记录
262
+ * 获取域名分组列表
273
263
  */
274
- async CreateRecordBatch(req, cb) {
275
- return this.request("CreateRecordBatch", req, cb);
264
+ async DescribeDomainGroupList(req, cb) {
265
+ return this.request("DescribeDomainGroupList", req, cb);
276
266
  }
277
267
  /**
278
- * 创建域名的自定义线路
268
+ * 删除域名的自定义线路
279
269
  */
280
- async CreateDomainCustomLine(req, cb) {
281
- return this.request("CreateDomainCustomLine", req, cb);
270
+ async DeleteDomainCustomLine(req, cb) {
271
+ return this.request("DeleteDomainCustomLine", req, cb);
282
272
  }
283
273
  /**
284
- * 获取任务详情
274
+ * 获取域名别名列表
285
275
  */
286
- async DescribeBatchTask(req, cb) {
287
- return this.request("DescribeBatchTask", req, cb);
276
+ async DescribeDomainAliasList(req, cb) {
277
+ return this.request("DescribeDomainAliasList", req, cb);
288
278
  }
289
279
  /**
290
- * 回滚快照
280
+ * 查询快照列表
291
281
  */
292
- async RollbackSnapshot(req, cb) {
293
- return this.request("RollbackSnapshot", req, cb);
282
+ async DescribeSnapshotList(req, cb) {
283
+ return this.request("DescribeSnapshotList", req, cb);
294
284
  }
295
285
  /**
296
- * 查看添加子域名 Zone 域解析 TXT 记录值验证状态
286
+ * 批量导出子域名解析量
297
287
  */
298
- async DescribeSubdomainValidateStatus(req, cb) {
299
- return this.request("DescribeSubdomainValidateStatus", req, cb);
288
+ async CreateSubDomainsAnalyticsFile(req, cb) {
289
+ return this.request("CreateSubDomainsAnalyticsFile", req, cb);
300
290
  }
301
291
  /**
302
- * 删除记录
292
+ * 删除快照
303
293
  */
304
- async DeleteRecord(req, cb) {
305
- return this.request("DeleteRecord", req, cb);
294
+ async DeleteSnapshot(req, cb) {
295
+ return this.request("DeleteSnapshot", req, cb);
306
296
  }
307
297
  /**
308
- * 暂停子域名的解析记录
298
+ * DNSPod商品下单
309
299
  */
310
- async ModifySubdomainStatus(req, cb) {
311
- return this.request("ModifySubdomainStatus", req, cb);
300
+ async CreateDeal(req, cb) {
301
+ return this.request("CreateDeal", req, cb);
312
302
  }
313
303
  /**
314
- * 修改记录可选字段
304
+ * 修改域名所属分组
315
305
  */
316
- async ModifyRecordFields(req, cb) {
317
- return this.request("ModifyRecordFields", req, cb);
306
+ async ModifyDomainToGroup(req, cb) {
307
+ return this.request("ModifyDomainToGroup", req, cb);
318
308
  }
319
309
  /**
320
- * 修改记录分组
310
+ * 添加域名
311
+
312
+ 备注:该接口不支持添加子域名。
321
313
  */
322
- async ModifyRecordGroup(req, cb) {
323
- return this.request("ModifyRecordGroup", req, cb);
314
+ async CreateDomain(req, cb) {
315
+ return this.request("CreateDomain", req, cb);
324
316
  }
325
317
  /**
326
- * 获取记录信息
318
+ * 锁定域名
327
319
  */
328
- async DescribeRecord(req, cb) {
329
- return this.request("DescribeRecord", req, cb);
320
+ async ModifyDomainLock(req, cb) {
321
+ return this.request("ModifyDomainLock", req, cb);
330
322
  }
331
323
  /**
332
- * 获取各套餐配置详情
324
+ * 回滚快照
333
325
  */
334
- async DescribePackageDetail(req, cb) {
335
- return this.request("DescribePackageDetail", req, cb);
326
+ async RollbackSnapshot(req, cb) {
327
+ return this.request("RollbackSnapshot", req, cb);
328
+ }
329
+ /**
330
+ * 查询解析记录分组列表
331
+ */
332
+ async DescribeRecordGroupList(req, cb) {
333
+ return this.request("DescribeRecordGroupList", req, cb);
336
334
  }
337
335
  /**
338
336
  * 获取等级允许的线路
@@ -341,116 +339,118 @@ class Client extends abstract_client_1.AbstractClient {
341
339
  return this.request("DescribeRecordLineList", req, cb);
342
340
  }
343
341
  /**
344
- * 获取域名增值服务用量
342
+ * 设置记录备注
345
343
  */
346
- async DescribeVASStatistic(req, cb) {
347
- return this.request("DescribeVASStatistic", req, cb);
344
+ async ModifyRecordRemark(req, cb) {
345
+ return this.request("ModifyRecordRemark", req, cb);
348
346
  }
349
347
  /**
350
- * 统计各个域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况
348
+ * 获取域名的线路分组列表
351
349
  */
352
- async DescribeDomainAnalytics(req, cb) {
353
- return this.request("DescribeDomainAnalytics", req, cb);
350
+ async DescribeLineGroupList(req, cb) {
351
+ return this.request("DescribeLineGroupList", req, cb);
354
352
  }
355
353
  /**
356
- * DNS 解析套餐自动续费设置
354
+ * 修改域名的线路分组
357
355
  */
358
- async ModifyPackageAutoRenew(req, cb) {
359
- return this.request("ModifyPackageAutoRenew", req, cb);
356
+ async ModifyLineGroup(req, cb) {
357
+ return this.request("ModifyLineGroup", req, cb);
360
358
  }
361
359
  /**
362
- * 批量删除解析记录
363
- 备注:因存储限制, 建议一次批量删除最多2000条
360
+ * 复制域名的线路分组
364
361
  */
365
- async DeleteRecordBatch(req, cb) {
366
- return this.request("DeleteRecordBatch", req, cb);
362
+ async CreateLineGroupCopy(req, cb) {
363
+ return this.request("CreateLineGroupCopy", req, cb);
367
364
  }
368
365
  /**
369
- * 创建域名别名
366
+ * 回滚前检查单条记录
370
367
  */
371
- async CreateDomainAlias(req, cb) {
372
- return this.request("CreateDomainAlias", req, cb);
368
+ async CheckRecordSnapshotRollback(req, cb) {
369
+ return this.request("CheckRecordSnapshotRollback", req, cb);
373
370
  }
374
371
  /**
375
- * 添加记录
376
- 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
372
+ * DNSPod商品余额支付
377
373
  */
378
- async CreateRecord(req, cb) {
379
- return this.request("CreateRecord", req, cb);
374
+ async PayOrderWithBalance(req, cb) {
375
+ return this.request("PayOrderWithBalance", req, cb);
380
376
  }
381
377
  /**
382
- * 获取指定域名的已共享列表
378
+ * 根据批量任务ID获取生成文件信息
383
379
  */
384
- async DescribeDomainShareUserList(req, cb) {
385
- return this.request("DescribeDomainShareUserList", req, cb);
380
+ async DescribeFileInfoByJobId(req, cb) {
381
+ return this.request("DescribeFileInfoByJobId", req, cb);
386
382
  }
387
383
  /**
388
- * 按分类返回线路列表
384
+ * 获取各套餐配置详情
389
385
  */
390
- async DescribeRecordLineCategoryList(req, cb) {
391
- return this.request("DescribeRecordLineCategoryList", req, cb);
386
+ async DescribePackageDetail(req, cb) {
387
+ return this.request("DescribePackageDetail", req, cb);
392
388
  }
393
389
  /**
394
- * 判断是否有除系统默认的@-NS记录之外的记录存在
390
+ * 获取某个域名下的解析记录列表
391
+ 备注:
392
+ 1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
393
+ 2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
395
394
  */
396
- async DescribeRecordExistExceptDefaultNS(req, cb) {
397
- return this.request("DescribeRecordExistExceptDefaultNS", req, cb);
395
+ async DescribeRecordFilterList(req, cb) {
396
+ return this.request("DescribeRecordFilterList", req, cb);
398
397
  }
399
398
  /**
400
- * 域名过户
399
+ * 批量修改记录
401
400
  */
402
- async ModifyDomainOwner(req, cb) {
403
- return this.request("ModifyDomainOwner", req, cb);
401
+ async ModifyRecordBatch(req, cb) {
402
+ return this.request("ModifyRecordBatch", req, cb);
404
403
  }
405
404
  /**
406
- * 创建域名分组
405
+ * 查询解析记录重新回滚的结果
407
406
  */
408
- async CreateDomainGroup(req, cb) {
409
- return this.request("CreateDomainGroup", req, cb);
407
+ async DescribeRecordSnapshotRollbackResult(req, cb) {
408
+ return this.request("DescribeRecordSnapshotRollbackResult", req, cb);
410
409
  }
411
410
  /**
412
- * 修改快照配置
411
+ * 创建添加子域名 Zone 域解析时所需要的 TXT 记录值
413
412
  */
414
- async ModifySnapshotConfig(req, cb) {
415
- return this.request("ModifySnapshotConfig", req, cb);
413
+ async CreateSubdomainValidateTXTValue(req, cb) {
414
+ return this.request("CreateSubdomainValidateTXTValue", req, cb);
416
415
  }
417
416
  /**
418
- * 删除域名别名
417
+ * 获取某个域名下的解析记录列表
418
+ 备注:
419
+ 1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
420
+ 2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
419
421
  */
420
- async DeleteDomainAlias(req, cb) {
421
- return this.request("DeleteDomainAlias", req, cb);
422
+ async DescribeRecordList(req, cb) {
423
+ return this.request("DescribeRecordList", req, cb);
422
424
  }
423
425
  /**
424
- * 复制域名的线路分组
426
+ * 查询最近一次回滚
425
427
  */
426
- async CreateLineGroupCopy(req, cb) {
427
- return this.request("CreateLineGroupCopy", req, cb);
428
+ async DescribeSnapshotRollbackTask(req, cb) {
429
+ return this.request("DescribeSnapshotRollbackTask", req, cb);
428
430
  }
429
431
  /**
430
- * 回滚前检查单条记录
432
+ * 删除记录
431
433
  */
432
- async CheckRecordSnapshotRollback(req, cb) {
433
- return this.request("CheckRecordSnapshotRollback", req, cb);
434
+ async DeleteRecord(req, cb) {
435
+ return this.request("DeleteRecord", req, cb);
434
436
  }
435
437
  /**
436
- * 获取域名的自定义线路列表
438
+ * 删除记录分组
437
439
  */
438
- async DescribeDomainCustomLineList(req, cb) {
439
- return this.request("DescribeDomainCustomLineList", req, cb);
440
+ async DeleteRecordGroup(req, cb) {
441
+ return this.request("DeleteRecordGroup", req, cb);
440
442
  }
441
443
  /**
442
- * 添加域名
443
-
444
- 备注:该接口不支持添加子域名。
444
+ * 下载快照
445
445
  */
446
- async CreateDomain(req, cb) {
447
- return this.request("CreateDomain", req, cb);
446
+ async DownloadSnapshot(req, cb) {
447
+ return this.request("DownloadSnapshot", req, cb);
448
448
  }
449
449
  /**
450
- * 设置记录备注
450
+ * 修改解析记录的状态
451
451
  */
452
- async ModifyRecordRemark(req, cb) {
453
- return this.request("ModifyRecordRemark", req, cb);
452
+ async ModifyRecordStatus(req, cb) {
453
+ return this.request("ModifyRecordStatus", req, cb);
454
454
  }
455
455
  /**
456
456
  * 修改域名的自定义线路
@@ -459,89 +459,107 @@ class Client extends abstract_client_1.AbstractClient {
459
459
  return this.request("ModifyDomainCustomLine", req, cb);
460
460
  }
461
461
  /**
462
- * 获取域名筛选列表
463
- 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
462
+ * 获取域名增值服务用量
464
463
  */
465
- async DescribeDomainFilterList(req, cb) {
466
- return this.request("DescribeDomainFilterList", req, cb);
464
+ async DescribeVASStatistic(req, cb) {
465
+ return this.request("DescribeVASStatistic", req, cb);
467
466
  }
468
467
  /**
469
- * DNSPod商品余额支付
468
+ * 按账号删除域名共享
470
469
  */
471
- async PayOrderWithBalance(req, cb) {
472
- return this.request("PayOrderWithBalance", req, cb);
470
+ async DeleteShareDomain(req, cb) {
471
+ return this.request("DeleteShareDomain", req, cb);
473
472
  }
474
473
  /**
475
- * 将记录添加到分组
474
+ * 删除域名的线路分组
476
475
  */
477
- async ModifyRecordToGroup(req, cb) {
478
- return this.request("ModifyRecordToGroup", req, cb);
476
+ async DeleteLineGroup(req, cb) {
477
+ return this.request("DeleteLineGroup", req, cb);
479
478
  }
480
479
  /**
481
- * 获取域名概览信息
480
+ * 添加记录分组
482
481
  */
483
- async DescribeDomainPreview(req, cb) {
484
- return this.request("DescribeDomainPreview", req, cb);
482
+ async CreateRecordGroup(req, cb) {
483
+ return this.request("CreateRecordGroup", req, cb);
485
484
  }
486
485
  /**
487
- * 修改TXT记录
486
+ * 更新动态 DNS 记录
488
487
  */
489
- async ModifyTXTRecord(req, cb) {
490
- return this.request("ModifyTXTRecord", req, cb);
488
+ async ModifyDynamicDNS(req, cb) {
489
+ return this.request("ModifyDynamicDNS", req, cb);
491
490
  }
492
491
  /**
493
- * 统计子域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况。仅付费套餐域名可用。
492
+ * 批量添加记录
494
493
  */
495
- async DescribeSubdomainAnalytics(req, cb) {
496
- return this.request("DescribeSubdomainAnalytics", req, cb);
494
+ async CreateRecordBatch(req, cb) {
495
+ return this.request("CreateRecordBatch", req, cb);
497
496
  }
498
497
  /**
499
- * 修改域名所属分组
498
+ * 创建域名的自定义线路
500
499
  */
501
- async ModifyDomainToGroup(req, cb) {
502
- return this.request("ModifyDomainToGroup", req, cb);
500
+ async CreateDomainCustomLine(req, cb) {
501
+ return this.request("CreateDomainCustomLine", req, cb);
503
502
  }
504
503
  /**
505
- * 批量修改记录
504
+ * 批量导出域名解析量
506
505
  */
507
- async ModifyRecordBatch(req, cb) {
508
- return this.request("ModifyRecordBatch", req, cb);
506
+ async CreateDomainsAnalyticsFile(req, cb) {
507
+ return this.request("CreateDomainsAnalyticsFile", req, cb);
509
508
  }
510
509
  /**
511
- * 获取域名列表
510
+ * 获取记录信息
512
511
  */
513
- async DescribeDomainList(req, cb) {
514
- return this.request("DescribeDomainList", req, cb);
512
+ async DescribeRecord(req, cb) {
513
+ return this.request("DescribeRecord", req, cb);
515
514
  }
516
515
  /**
517
- * 删除域名
516
+ * 获取指定域名的已共享列表
518
517
  */
519
- async DeleteDomain(req, cb) {
520
- return this.request("DeleteDomain", req, cb);
518
+ async DescribeDomainShareUserList(req, cb) {
519
+ return this.request("DescribeDomainShareUserList", req, cb);
521
520
  }
522
521
  /**
523
- * 获取域名日志
522
+ * 设置域名备注
524
523
  */
525
- async DescribeDomainLogList(req, cb) {
526
- return this.request("DescribeDomainLogList", req, cb);
524
+ async ModifyDomainRemark(req, cb) {
525
+ return this.request("ModifyDomainRemark", req, cb);
527
526
  }
528
527
  /**
529
- * 获取账户信息
528
+ * 查看添加子域名 Zone 域解析 TXT 记录值验证状态
530
529
  */
531
- async DescribeUserDetail(req, cb) {
532
- return this.request("DescribeUserDetail", req, cb);
530
+ async DescribeSubdomainValidateStatus(req, cb) {
531
+ return this.request("DescribeSubdomainValidateStatus", req, cb);
533
532
  }
534
533
  /**
535
- * 创建快照
534
+ * 删除域名别名
536
535
  */
537
- async CreateSnapshot(req, cb) {
538
- return this.request("CreateSnapshot", req, cb);
536
+ async DeleteDomainAlias(req, cb) {
537
+ return this.request("DeleteDomainAlias", req, cb);
539
538
  }
540
539
  /**
541
- * 查询解析记录重新回滚的结果
540
+ * 获取任务详情
542
541
  */
543
- async DescribeRecordSnapshotRollbackResult(req, cb) {
544
- return this.request("DescribeRecordSnapshotRollbackResult", req, cb);
542
+ async DescribeBatchTask(req, cb) {
543
+ return this.request("DescribeBatchTask", req, cb);
544
+ }
545
+ /**
546
+ * 获取域名的自定义线路列表
547
+ */
548
+ async DescribeDomainCustomLineList(req, cb) {
549
+ return this.request("DescribeDomainCustomLineList", req, cb);
550
+ }
551
+ /**
552
+ * 获取域名筛选列表
553
+ 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
554
+ */
555
+ async DescribeDomainFilterList(req, cb) {
556
+ return this.request("DescribeDomainFilterList", req, cb);
557
+ }
558
+ /**
559
+ * 创建域名别名
560
+ */
561
+ async CreateDomainAlias(req, cb) {
562
+ return this.request("CreateDomainAlias", req, cb);
545
563
  }
546
564
  }
547
565
  exports.Client = Client;