tencentcloud-sdk-nodejs 4.0.674 → 4.0.676
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.
- package/CHANGELOG.md +461 -0
- package/SERVICE_CHANGELOG.md +554 -73
- package/package.json +1 -1
- package/products.md +29 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_client.ts +197 -160
- package/src/services/billing/v20180709/billing_models.ts +1761 -1649
- package/src/services/cdwch/v20200915/cdwch_models.ts +20 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +4 -0
- package/src/services/cvm/v20170312/cvm_client.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +6 -1
- package/src/services/cwp/v20180228/cwp_models.ts +21 -15
- package/src/services/dcdb/v20180411/dcdb_models.ts +5 -1
- package/src/services/es/v20180416/es_models.ts +100 -86
- package/src/services/ess/v20201111/ess_client.ts +75 -28
- package/src/services/ess/v20201111/ess_models.ts +533 -296
- package/src/services/essbasic/v20210526/essbasic_client.ts +5 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +14 -5
- package/src/services/faceid/v20180301/faceid_models.ts +7 -6
- package/src/services/iotvideo/v20201215/iotvideo_models.ts +9 -5
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +19 -7
- package/src/services/iss/v20230517/iss_models.ts +4 -4
- package/src/services/lcic/v20220817/lcic_models.ts +14 -4
- package/src/services/mariadb/v20170312/mariadb_models.ts +5 -1
- package/src/services/memcached/v20190318/memcached_models.ts +1 -1
- package/src/services/mna/v20210119/mna_models.ts +1 -1
- package/src/services/ms/v20180408/ms_client.ts +3 -3
- package/src/services/nlp/v20190408/nlp_client.ts +1 -1
- package/src/services/ocr/v20181119/ocr_models.ts +2 -0
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/ssl/v20191205/ssl_models.ts +30 -8
- package/src/services/tem/v20210701/tem_models.ts +8 -8
- package/src/services/teo/v20220901/teo_client.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +1 -1
- package/src/services/tse/v20201207/tse_models.ts +2 -2
- package/src/services/wedata/v20210820/wedata_models.ts +90 -90
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +47 -35
- package/tencentcloud/services/billing/v20180709/billing_client.js +69 -51
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1687 -1582
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +20 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +4 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +21 -15
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +5 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +100 -86
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +41 -12
- package/tencentcloud/services/ess/v20201111/ess_client.js +46 -13
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +520 -289
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +5 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +14 -5
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +7 -6
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +9 -5
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +19 -7
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +4 -4
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +14 -4
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +5 -1
- package/tencentcloud/services/memcached/v20190318/memcached_models.d.ts +1 -1
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +1 -1
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -3
- package/tencentcloud/services/ms/v20180408/ms_client.js +3 -3
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +1 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +30 -8
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +8 -8
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -2
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +90 -90
- package/test/billing.v20180709.test.js +64 -34
- package/test/ess.v20201111.test.js +24 -4
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.billing.v20180709.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("billing.v20180709.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("billing.v20180709.
|
|
21
|
+
it("billing.v20180709.DescribeCostSummaryByResource", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeCostSummaryByResource({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("billing.v20180709.DescribeAccountBalance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("billing.v20180709.
|
|
31
|
+
it("billing.v20180709.DescribeBillList", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeBillList({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("billing.v20180709.DescribeVoucherInfo", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("billing.v20180709.
|
|
41
|
+
it("billing.v20180709.DescribeBillResourceSummary", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeBillResourceSummary({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("billing.v20180709.DescribeDosageDetailByDate", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("billing.v20180709.
|
|
51
|
+
it("billing.v20180709.CreateAllocationTag", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.CreateAllocationTag({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("billing.v20180709.DescribeCostSummaryByResource", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("billing.v20180709.
|
|
61
|
+
it("billing.v20180709.PayDeals", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.PayDeals({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +68,19 @@ it("billing.v20180709.DescribeVoucherUsageDetails", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("billing.v20180709.
|
|
71
|
+
it("billing.v20180709.DescribeCostSummaryByProject", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeCostSummaryByProject({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
81
|
+
it("billing.v20180709.DescribeVoucherInfo", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.DescribeVoucherInfo({})
|
|
74
84
|
expect(data).to.be.ok
|
|
75
85
|
} catch(error) {
|
|
76
86
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,9 @@ it("billing.v20180709.DescribeBillSummary", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("billing.v20180709.
|
|
111
|
+
it("billing.v20180709.DescribeBillSummaryByPayMode", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.DescribeBillSummaryByPayMode({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +118,9 @@ it("billing.v20180709.DescribeDealsByCond", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
111
|
-
it("billing.v20180709.
|
|
121
|
+
it("billing.v20180709.DescribeCostSummaryByRegion", async function () {
|
|
112
122
|
try {
|
|
113
|
-
const data = await client.
|
|
123
|
+
const data = await client.DescribeCostSummaryByRegion({})
|
|
114
124
|
expect(data).to.be.ok
|
|
115
125
|
} catch(error) {
|
|
116
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +128,9 @@ it("billing.v20180709.DescribeCostSummaryByProject", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("billing.v20180709.
|
|
131
|
+
it("billing.v20180709.DescribeCostSummaryByProduct", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeCostSummaryByProduct({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,9 @@ it("billing.v20180709.DescribeBillSummaryByPayMode", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("billing.v20180709.
|
|
141
|
+
it("billing.v20180709.DescribeDosageCosDetailByDate", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeDosageCosDetailByDate({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +148,29 @@ it("billing.v20180709.DescribeBillResourceSummary", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("billing.v20180709.
|
|
151
|
+
it("billing.v20180709.DescribeAccountBalance", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeAccountBalance({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("billing.v20180709.DescribeDosageDetailByDate", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeDosageDetailByDate({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
it("billing.v20180709.DescribeVoucherUsageDetails", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeVoucherUsageDetails({})
|
|
144
174
|
expect(data).to.be.ok
|
|
145
175
|
} catch(error) {
|
|
146
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +198,9 @@ it("billing.v20180709.DescribeBillSummaryByProject", async function () {
|
|
|
168
198
|
}
|
|
169
199
|
})
|
|
170
200
|
|
|
171
|
-
it("billing.v20180709.
|
|
201
|
+
it("billing.v20180709.DescribeBillSummaryByTag", async function () {
|
|
172
202
|
try {
|
|
173
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeBillSummaryByTag({})
|
|
174
204
|
expect(data).to.be.ok
|
|
175
205
|
} catch(error) {
|
|
176
206
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +208,9 @@ it("billing.v20180709.DescribeBillSummaryByProduct", async function () {
|
|
|
178
208
|
}
|
|
179
209
|
})
|
|
180
210
|
|
|
181
|
-
it("billing.v20180709.
|
|
211
|
+
it("billing.v20180709.DescribeTagList", async function () {
|
|
182
212
|
try {
|
|
183
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeTagList({})
|
|
184
214
|
expect(data).to.be.ok
|
|
185
215
|
} catch(error) {
|
|
186
216
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +218,9 @@ it("billing.v20180709.DescribeBillSummaryByTag", async function () {
|
|
|
188
218
|
}
|
|
189
219
|
})
|
|
190
220
|
|
|
191
|
-
it("billing.v20180709.
|
|
221
|
+
it("billing.v20180709.DeleteAllocationTag", async function () {
|
|
192
222
|
try {
|
|
193
|
-
const data = await client.
|
|
223
|
+
const data = await client.DeleteAllocationTag({})
|
|
194
224
|
expect(data).to.be.ok
|
|
195
225
|
} catch(error) {
|
|
196
226
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +228,9 @@ it("billing.v20180709.DescribeCostSummaryByProduct", async function () {
|
|
|
198
228
|
}
|
|
199
229
|
})
|
|
200
230
|
|
|
201
|
-
it("billing.v20180709.
|
|
231
|
+
it("billing.v20180709.DescribeDealsByCond", async function () {
|
|
202
232
|
try {
|
|
203
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeDealsByCond({})
|
|
204
234
|
expect(data).to.be.ok
|
|
205
235
|
} catch(error) {
|
|
206
236
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +238,9 @@ it("billing.v20180709.DescribeCostDetail", async function () {
|
|
|
208
238
|
}
|
|
209
239
|
})
|
|
210
240
|
|
|
211
|
-
it("billing.v20180709.
|
|
241
|
+
it("billing.v20180709.DescribeBillSummaryByProduct", async function () {
|
|
212
242
|
try {
|
|
213
|
-
const data = await client.
|
|
243
|
+
const data = await client.DescribeBillSummaryByProduct({})
|
|
214
244
|
expect(data).to.be.ok
|
|
215
245
|
} catch(error) {
|
|
216
246
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +248,9 @@ it("billing.v20180709.DescribeDosageCosDetailByDate", async function () {
|
|
|
218
248
|
}
|
|
219
249
|
})
|
|
220
250
|
|
|
221
|
-
it("billing.v20180709.
|
|
251
|
+
it("billing.v20180709.DescribeCostDetail", async function () {
|
|
222
252
|
try {
|
|
223
|
-
const data = await client.
|
|
253
|
+
const data = await client.DescribeCostDetail({})
|
|
224
254
|
expect(data).to.be.ok
|
|
225
255
|
} catch(error) {
|
|
226
256
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +98,9 @@ it("ess.v20201111.CreateUserAutoSignEnableUrl", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("ess.v20201111.
|
|
101
|
+
it("ess.v20201111.CreateIntegrationRole", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.CreateIntegrationRole({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -328,6 +328,16 @@ it("ess.v20201111.CreateChannelSubOrganizationModifyQrCode", async function () {
|
|
|
328
328
|
}
|
|
329
329
|
})
|
|
330
330
|
|
|
331
|
+
it("ess.v20201111.UploadFiles", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.UploadFiles({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
331
341
|
it("ess.v20201111.DescribeFlowEvidenceReport", async function () {
|
|
332
342
|
try {
|
|
333
343
|
const data = await client.DescribeFlowEvidenceReport({})
|
|
@@ -458,9 +468,19 @@ it("ess.v20201111.CreateIntegrationUserRoles", async function () {
|
|
|
458
468
|
}
|
|
459
469
|
})
|
|
460
470
|
|
|
461
|
-
it("ess.v20201111.
|
|
471
|
+
it("ess.v20201111.ModifyIntegrationRole", async function () {
|
|
462
472
|
try {
|
|
463
|
-
const data = await client.
|
|
473
|
+
const data = await client.ModifyIntegrationRole({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("ess.v20201111.CreateSealPolicy", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.CreateSealPolicy({})
|
|
464
484
|
expect(data).to.be.ok
|
|
465
485
|
} catch(error) {
|
|
466
486
|
expect(error.requestId).to.be.ok
|