tencentcloud-sdk-nodejs 4.0.203 → 4.0.204

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 (32) hide show
  1. package/CHANGELOG.md +329 -18
  2. package/package.json +1 -1
  3. package/products.md +153 -152
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/billing/v20180709/billing_models.ts +34 -4
  6. package/src/services/cvm/v20170312/cvm_models.ts +2 -2
  7. package/src/services/ecm/v20190719/ecm_client.ts +401 -290
  8. package/src/services/ecm/v20190719/ecm_models.ts +4533 -3879
  9. package/src/services/gme/v20180711/gme_models.ts +5 -0
  10. package/src/services/partners/v20180321/partners_client.ts +80 -95
  11. package/src/services/partners/v20180321/partners_models.ts +31 -91
  12. package/src/services/sqlserver/v20180328/sqlserver_client.ts +31 -18
  13. package/src/services/sqlserver/v20180328/sqlserver_models.ts +208 -86
  14. package/src/services/vod/v20180717/vod_models.ts +1 -1
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +31 -1
  18. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
  19. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +65 -14
  20. package/tencentcloud/services/ecm/v20190719/ecm_client.js +84 -19
  21. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +4147 -3602
  22. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +4 -0
  23. package/tencentcloud/services/partners/v20180321/partners_client.d.ts +29 -35
  24. package/tencentcloud/services/partners/v20180321/partners_client.js +42 -50
  25. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +29 -80
  26. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +10 -6
  27. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +13 -7
  28. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +183 -82
  29. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
  30. package/test/ecm.v20190719.test.js +88 -18
  31. package/test/partners.v20180321.test.js +42 -52
  32. package/test/sqlserver.v20180328.test.js +14 -4
@@ -5452,7 +5452,7 @@ export interface SimpleHlsClipRequest {
5452
5452
  export interface MediaDeleteItem {
5453
5453
  /**
5454
5454
  * 所指定的删除部分。如果未填写该字段则参数无效。可选值有:
5455
- <li>OriginFiles(删除原文件,删除后无法发起转码、微信发布等任何视频处理操作)。</li>
5455
+ <li>OriginalFiles(删除原文件,删除后无法发起转码、微信发布等任何视频处理操作)。</li>
5456
5456
  <li>TranscodeFiles(删除转码文件)。</li>
5457
5457
  <li>WechatPublishFiles(删除微信发布文件)。</li>
5458
5458
  */
@@ -128,9 +128,9 @@ it("ecm.v20190719.RunInstances", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("ecm.v20190719.DescribeCustomImageTask", async function () {
131
+ it("ecm.v20190719.ImportImage", async function () {
132
132
  try {
133
- const data = await client.DescribeCustomImageTask({})
133
+ const data = await client.ImportImage({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("ecm.v20190719.DescribeNode", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("ecm.v20190719.ImportImage", async function () {
191
+ it("ecm.v20190719.DescribeCustomImageTask", async function () {
192
192
  try {
193
- const data = await client.ImportImage({})
193
+ const data = await client.DescribeCustomImageTask({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -368,6 +368,16 @@ it("ecm.v20190719.ModifyLoadBalancerAttributes", async function () {
368
368
  }
369
369
  })
370
370
 
371
+ it("ecm.v20190719.AttachDisks", async function () {
372
+ try {
373
+ const data = await client.AttachDisks({})
374
+ expect(data).to.be.ok
375
+ } catch(error) {
376
+ expect(error.requestId).to.be.ok
377
+ expect(error.code).to.be.ok
378
+ }
379
+ })
380
+
371
381
  it("ecm.v20190719.SetLoadBalancerSecurityGroups", async function () {
372
382
  try {
373
383
  const data = await client.SetLoadBalancerSecurityGroups({})
@@ -418,16 +428,6 @@ it("ecm.v20190719.AssociateAddress", async function () {
418
428
  }
419
429
  })
420
430
 
421
- it("ecm.v20190719.ModifyDefaultSubnet", async function () {
422
- try {
423
- const data = await client.ModifyDefaultSubnet({})
424
- expect(data).to.be.ok
425
- } catch(error) {
426
- expect(error.requestId).to.be.ok
427
- expect(error.code).to.be.ok
428
- }
429
- })
430
-
431
431
  it("ecm.v20190719.DeleteSubnet", async function () {
432
432
  try {
433
433
  const data = await client.DeleteSubnet({})
@@ -518,6 +518,16 @@ it("ecm.v20190719.ResetInstances", async function () {
518
518
  }
519
519
  })
520
520
 
521
+ it("ecm.v20190719.TerminateDisks", async function () {
522
+ try {
523
+ const data = await client.TerminateDisks({})
524
+ expect(data).to.be.ok
525
+ } catch(error) {
526
+ expect(error.requestId).to.be.ok
527
+ expect(error.code).to.be.ok
528
+ }
529
+ })
530
+
521
531
  it("ecm.v20190719.ModifyTargetPort", async function () {
522
532
  try {
523
533
  const data = await client.ModifyTargetPort({})
@@ -588,9 +598,9 @@ it("ecm.v20190719.DescribeRouteConflicts", async function () {
588
598
  }
589
599
  })
590
600
 
591
- it("ecm.v20190719.RemovePrivateIpAddresses", async function () {
601
+ it("ecm.v20190719.DetachDisks", async function () {
592
602
  try {
593
- const data = await client.RemovePrivateIpAddresses({})
603
+ const data = await client.DetachDisks({})
594
604
  expect(data).to.be.ok
595
605
  } catch(error) {
596
606
  expect(error.requestId).to.be.ok
@@ -608,6 +618,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
608
618
  }
609
619
  })
610
620
 
621
+ it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
622
+ try {
623
+ const data = await client.ModifyIpv6AddressesAttribute({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
611
631
  it("ecm.v20190719.DescribeBaseOverview", async function () {
612
632
  try {
613
633
  const data = await client.DescribeBaseOverview({})
@@ -728,6 +748,16 @@ it("ecm.v20190719.DescribeNetworkInterfaces", async function () {
728
748
  }
729
749
  })
730
750
 
751
+ it("ecm.v20190719.CreateDisks", async function () {
752
+ try {
753
+ const data = await client.CreateDisks({})
754
+ expect(data).to.be.ok
755
+ } catch(error) {
756
+ expect(error.requestId).to.be.ok
757
+ expect(error.code).to.be.ok
758
+ }
759
+ })
760
+
731
761
  it("ecm.v20190719.AssociateSecurityGroups", async function () {
732
762
  try {
733
763
  const data = await client.AssociateSecurityGroups({})
@@ -788,6 +818,16 @@ it("ecm.v20190719.ImportCustomImage", async function () {
788
818
  }
789
819
  })
790
820
 
821
+ it("ecm.v20190719.DescribeSnapshots", async function () {
822
+ try {
823
+ const data = await client.DescribeSnapshots({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
791
831
  it("ecm.v20190719.TerminateInstances", async function () {
792
832
  try {
793
833
  const data = await client.TerminateInstances({})
@@ -838,9 +878,9 @@ it("ecm.v20190719.SetSecurityGroupForLoadbalancers", async function () {
838
878
  }
839
879
  })
840
880
 
841
- it("ecm.v20190719.ModifyIpv6AddressesAttribute", async function () {
881
+ it("ecm.v20190719.ModifyDefaultSubnet", async function () {
842
882
  try {
843
- const data = await client.ModifyIpv6AddressesAttribute({})
883
+ const data = await client.ModifyDefaultSubnet({})
844
884
  expect(data).to.be.ok
845
885
  } catch(error) {
846
886
  expect(error.requestId).to.be.ok
@@ -1048,6 +1088,16 @@ it("ecm.v20190719.CreateHaVip", async function () {
1048
1088
  }
1049
1089
  })
1050
1090
 
1091
+ it("ecm.v20190719.DescribeDisks", async function () {
1092
+ try {
1093
+ const data = await client.DescribeDisks({})
1094
+ expect(data).to.be.ok
1095
+ } catch(error) {
1096
+ expect(error.requestId).to.be.ok
1097
+ expect(error.code).to.be.ok
1098
+ }
1099
+ })
1100
+
1051
1101
  it("ecm.v20190719.MigrateNetworkInterface", async function () {
1052
1102
  try {
1053
1103
  const data = await client.MigrateNetworkInterface({})
@@ -1068,6 +1118,16 @@ it("ecm.v20190719.CreateListener", async function () {
1068
1118
  }
1069
1119
  })
1070
1120
 
1121
+ it("ecm.v20190719.DeleteSnapshots", async function () {
1122
+ try {
1123
+ const data = await client.DeleteSnapshots({})
1124
+ expect(data).to.be.ok
1125
+ } catch(error) {
1126
+ expect(error.requestId).to.be.ok
1127
+ expect(error.code).to.be.ok
1128
+ }
1129
+ })
1130
+
1071
1131
  it("ecm.v20190719.ModifyRouteTableAttribute", async function () {
1072
1132
  try {
1073
1133
  const data = await client.ModifyRouteTableAttribute({})
@@ -1188,6 +1248,16 @@ it("ecm.v20190719.ModifyAddressAttribute", async function () {
1188
1248
  }
1189
1249
  })
1190
1250
 
1251
+ it("ecm.v20190719.RemovePrivateIpAddresses", async function () {
1252
+ try {
1253
+ const data = await client.RemovePrivateIpAddresses({})
1254
+ expect(data).to.be.ok
1255
+ } catch(error) {
1256
+ expect(error.requestId).to.be.ok
1257
+ expect(error.code).to.be.ok
1258
+ }
1259
+ })
1260
+
1191
1261
  it("ecm.v20190719.CreateSecurityGroupPolicies", async function () {
1192
1262
  try {
1193
1263
  const data = await client.CreateSecurityGroupPolicies({})
@@ -18,19 +18,9 @@ const client = new tencentcloud.partners.v20180321.Client({
18
18
  })
19
19
  describe("partners.v20180321.test.js", function () {
20
20
 
21
- it("partners.v20180321.DescribeAgentDealsCache", async function () {
22
- try {
23
- const data = await client.DescribeAgentDealsCache({})
24
- expect(data).to.be.ok
25
- } catch(error) {
26
- expect(error.requestId).to.be.ok
27
- expect(error.code).to.be.ok
28
- }
29
- })
30
-
31
- it("partners.v20180321.DescribeAgentBills", async function () {
21
+ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
32
22
  try {
33
- const data = await client.DescribeAgentBills({})
23
+ const data = await client.DescribeAgentSelfPayDeals({})
34
24
  expect(data).to.be.ok
35
25
  } catch(error) {
36
26
  expect(error.requestId).to.be.ok
@@ -38,9 +28,9 @@ it("partners.v20180321.DescribeAgentBills", async function () {
38
28
  }
39
29
  })
40
30
 
41
- it("partners.v20180321.AgentTransferMoney", async function () {
31
+ it("partners.v20180321.DescribeAgentDealsCache", async function () {
42
32
  try {
43
- const data = await client.AgentTransferMoney({})
33
+ const data = await client.DescribeAgentDealsCache({})
44
34
  expect(data).to.be.ok
45
35
  } catch(error) {
46
36
  expect(error.requestId).to.be.ok
@@ -48,9 +38,9 @@ it("partners.v20180321.AgentTransferMoney", async function () {
48
38
  }
49
39
  })
50
40
 
51
- it("partners.v20180321.DescribeRebateInfos", async function () {
41
+ it("partners.v20180321.ModifyClientRemark", async function () {
52
42
  try {
53
- const data = await client.DescribeRebateInfos({})
43
+ const data = await client.ModifyClientRemark({})
54
44
  expect(data).to.be.ok
55
45
  } catch(error) {
56
46
  expect(error.requestId).to.be.ok
@@ -58,9 +48,9 @@ it("partners.v20180321.DescribeRebateInfos", async function () {
58
48
  }
59
49
  })
60
50
 
61
- it("partners.v20180321.DescribeClientBaseInfo", async function () {
51
+ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
62
52
  try {
63
- const data = await client.DescribeClientBaseInfo({})
53
+ const data = await client.DescribeAgentSelfPayDealsV2({})
64
54
  expect(data).to.be.ok
65
55
  } catch(error) {
66
56
  expect(error.requestId).to.be.ok
@@ -68,9 +58,9 @@ it("partners.v20180321.DescribeClientBaseInfo", async function () {
68
58
  }
69
59
  })
70
60
 
71
- it("partners.v20180321.RemovePayRelationForClient", async function () {
61
+ it("partners.v20180321.AgentPayDeals", async function () {
72
62
  try {
73
- const data = await client.RemovePayRelationForClient({})
63
+ const data = await client.AgentPayDeals({})
74
64
  expect(data).to.be.ok
75
65
  } catch(error) {
76
66
  expect(error.requestId).to.be.ok
@@ -78,9 +68,9 @@ it("partners.v20180321.RemovePayRelationForClient", async function () {
78
68
  }
79
69
  })
80
70
 
81
- it("partners.v20180321.ModifyClientRemark", async function () {
71
+ it("partners.v20180321.DescribeAgentBills", async function () {
82
72
  try {
83
- const data = await client.ModifyClientRemark({})
73
+ const data = await client.DescribeAgentBills({})
84
74
  expect(data).to.be.ok
85
75
  } catch(error) {
86
76
  expect(error.requestId).to.be.ok
@@ -88,9 +78,9 @@ it("partners.v20180321.ModifyClientRemark", async function () {
88
78
  }
89
79
  })
90
80
 
91
- it("partners.v20180321.DescribeClientBalance", async function () {
81
+ it("partners.v20180321.AgentTransferMoney", async function () {
92
82
  try {
93
- const data = await client.DescribeClientBalance({})
83
+ const data = await client.AgentTransferMoney({})
94
84
  expect(data).to.be.ok
95
85
  } catch(error) {
96
86
  expect(error.requestId).to.be.ok
@@ -98,9 +88,9 @@ it("partners.v20180321.DescribeClientBalance", async function () {
98
88
  }
99
89
  })
100
90
 
101
- it("partners.v20180321.DescribeClientBalanceNew", async function () {
91
+ it("partners.v20180321.DescribeRebateInfos", async function () {
102
92
  try {
103
- const data = await client.DescribeClientBalanceNew({})
93
+ const data = await client.DescribeRebateInfos({})
104
94
  expect(data).to.be.ok
105
95
  } catch(error) {
106
96
  expect(error.requestId).to.be.ok
@@ -108,9 +98,9 @@ it("partners.v20180321.DescribeClientBalanceNew", async function () {
108
98
  }
109
99
  })
110
100
 
111
- it("partners.v20180321.DescribeAgentClientGrade", async function () {
101
+ it("partners.v20180321.DescribeSalesmans", async function () {
112
102
  try {
113
- const data = await client.DescribeAgentClientGrade({})
103
+ const data = await client.DescribeSalesmans({})
114
104
  expect(data).to.be.ok
115
105
  } catch(error) {
116
106
  expect(error.requestId).to.be.ok
@@ -118,9 +108,9 @@ it("partners.v20180321.DescribeAgentClientGrade", async function () {
118
108
  }
119
109
  })
120
110
 
121
- it("partners.v20180321.DescribeUnbindClientList", async function () {
111
+ it("partners.v20180321.RemovePayRelationForClient", async function () {
122
112
  try {
123
- const data = await client.DescribeUnbindClientList({})
113
+ const data = await client.RemovePayRelationForClient({})
124
114
  expect(data).to.be.ok
125
115
  } catch(error) {
126
116
  expect(error.requestId).to.be.ok
@@ -128,9 +118,9 @@ it("partners.v20180321.DescribeUnbindClientList", async function () {
128
118
  }
129
119
  })
130
120
 
131
- it("partners.v20180321.AgentPayDeals", async function () {
121
+ it("partners.v20180321.DescribeClientBalanceNew", async function () {
132
122
  try {
133
- const data = await client.AgentPayDeals({})
123
+ const data = await client.DescribeClientBalanceNew({})
134
124
  expect(data).to.be.ok
135
125
  } catch(error) {
136
126
  expect(error.requestId).to.be.ok
@@ -138,9 +128,9 @@ it("partners.v20180321.AgentPayDeals", async function () {
138
128
  }
139
129
  })
140
130
 
141
- it("partners.v20180321.DescribeSalesmans", async function () {
131
+ it("partners.v20180321.DescribeAgentPayDeals", async function () {
142
132
  try {
143
- const data = await client.DescribeSalesmans({})
133
+ const data = await client.DescribeAgentPayDeals({})
144
134
  expect(data).to.be.ok
145
135
  } catch(error) {
146
136
  expect(error.requestId).to.be.ok
@@ -148,9 +138,9 @@ it("partners.v20180321.DescribeSalesmans", async function () {
148
138
  }
149
139
  })
150
140
 
151
- it("partners.v20180321.DescribeAgentPayDeals", async function () {
141
+ it("partners.v20180321.DescribeUnbindClientList", async function () {
152
142
  try {
153
- const data = await client.DescribeAgentPayDeals({})
143
+ const data = await client.DescribeUnbindClientList({})
154
144
  expect(data).to.be.ok
155
145
  } catch(error) {
156
146
  expect(error.requestId).to.be.ok
@@ -158,9 +148,9 @@ it("partners.v20180321.DescribeAgentPayDeals", async function () {
158
148
  }
159
149
  })
160
150
 
161
- it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
151
+ it("partners.v20180321.DescribeAgentClients", async function () {
162
152
  try {
163
- const data = await client.DescribeAgentPayDealsV2({})
153
+ const data = await client.DescribeAgentClients({})
164
154
  expect(data).to.be.ok
165
155
  } catch(error) {
166
156
  expect(error.requestId).to.be.ok
@@ -168,9 +158,9 @@ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
168
158
  }
169
159
  })
170
160
 
171
- it("partners.v20180321.DescribeAgentAuditedClients", async function () {
161
+ it("partners.v20180321.DescribeClientBalance", async function () {
172
162
  try {
173
- const data = await client.DescribeAgentAuditedClients({})
163
+ const data = await client.DescribeClientBalance({})
174
164
  expect(data).to.be.ok
175
165
  } catch(error) {
176
166
  expect(error.requestId).to.be.ok
@@ -178,9 +168,9 @@ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
178
168
  }
179
169
  })
180
170
 
181
- it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
171
+ it("partners.v20180321.DescribeAgentClientGrade", async function () {
182
172
  try {
183
- const data = await client.DescribeAgentSelfPayDealsV2({})
173
+ const data = await client.DescribeAgentClientGrade({})
184
174
  expect(data).to.be.ok
185
175
  } catch(error) {
186
176
  expect(error.requestId).to.be.ok
@@ -188,9 +178,9 @@ it("partners.v20180321.DescribeAgentSelfPayDealsV2", async function () {
188
178
  }
189
179
  })
190
180
 
191
- it("partners.v20180321.AuditApplyClient", async function () {
181
+ it("partners.v20180321.DescribeAgentPayDealsV2", async function () {
192
182
  try {
193
- const data = await client.AuditApplyClient({})
183
+ const data = await client.DescribeAgentPayDealsV2({})
194
184
  expect(data).to.be.ok
195
185
  } catch(error) {
196
186
  expect(error.requestId).to.be.ok
@@ -198,9 +188,9 @@ it("partners.v20180321.AuditApplyClient", async function () {
198
188
  }
199
189
  })
200
190
 
201
- it("partners.v20180321.DescribeAgentDealsByCache", async function () {
191
+ it("partners.v20180321.DescribeAgentAuditedClients", async function () {
202
192
  try {
203
- const data = await client.DescribeAgentDealsByCache({})
193
+ const data = await client.DescribeAgentAuditedClients({})
204
194
  expect(data).to.be.ok
205
195
  } catch(error) {
206
196
  expect(error.requestId).to.be.ok
@@ -208,9 +198,9 @@ it("partners.v20180321.DescribeAgentDealsByCache", async function () {
208
198
  }
209
199
  })
210
200
 
211
- it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
201
+ it("partners.v20180321.CreatePayRelationForClient", async function () {
212
202
  try {
213
- const data = await client.DescribeAgentSelfPayDeals({})
203
+ const data = await client.CreatePayRelationForClient({})
214
204
  expect(data).to.be.ok
215
205
  } catch(error) {
216
206
  expect(error.requestId).to.be.ok
@@ -218,9 +208,9 @@ it("partners.v20180321.DescribeAgentSelfPayDeals", async function () {
218
208
  }
219
209
  })
220
210
 
221
- it("partners.v20180321.DescribeAgentClients", async function () {
211
+ it("partners.v20180321.AuditApplyClient", async function () {
222
212
  try {
223
- const data = await client.DescribeAgentClients({})
213
+ const data = await client.AuditApplyClient({})
224
214
  expect(data).to.be.ok
225
215
  } catch(error) {
226
216
  expect(error.requestId).to.be.ok
@@ -228,9 +218,9 @@ it("partners.v20180321.DescribeAgentClients", async function () {
228
218
  }
229
219
  })
230
220
 
231
- it("partners.v20180321.CreatePayRelationForClient", async function () {
221
+ it("partners.v20180321.DescribeAgentDealsByCache", async function () {
232
222
  try {
233
- const data = await client.CreatePayRelationForClient({})
223
+ const data = await client.DescribeAgentDealsByCache({})
234
224
  expect(data).to.be.ok
235
225
  } catch(error) {
236
226
  expect(error.requestId).to.be.ok