tencentcloud-sdk-nodejs 4.0.627 → 4.0.628

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 (58) hide show
  1. package/CHANGELOG.md +254 -0
  2. package/SERVICE_CHANGELOG.md +424 -98
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_client.ts +16 -0
  7. package/src/services/cdn/v20180606/cdn_models.ts +28 -0
  8. package/src/services/ckafka/v20190819/ckafka_client.ts +26 -12
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +262 -125
  10. package/src/services/cynosdb/v20190107/cynosdb_client.ts +13 -1
  11. package/src/services/cynosdb/v20190107/cynosdb_models.ts +42 -8
  12. package/src/services/ess/v20201111/ess_models.ts +4 -4
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -36
  14. package/src/services/postgres/v20170312/postgres_models.ts +5 -5
  15. package/src/services/sqlserver/v20180328/sqlserver_client.ts +1 -0
  16. package/src/services/sqlserver/v20180328/sqlserver_models.ts +33 -2
  17. package/src/services/tbaas/v20180416/tbaas_client.ts +21 -107
  18. package/src/services/tbaas/v20180416/tbaas_models.ts +192 -516
  19. package/src/services/tdid/v20210519/tdid_client.ts +102 -506
  20. package/src/services/tdid/v20210519/tdid_models.ts +419 -1855
  21. package/src/services/tdmq/v20200217/tdmq_models.ts +2 -2
  22. package/src/services/tione/v20211111/tione_models.ts +10 -0
  23. package/src/services/tke/v20180525/tke_client.ts +1 -1
  24. package/src/services/tke/v20180525/tke_models.ts +4 -4
  25. package/src/services/trp/v20210515/trp_client.ts +1 -0
  26. package/src/services/trp/v20210515/trp_models.ts +152 -40
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -1
  30. package/tencentcloud/services/cdn/v20180606/cdn_client.js +10 -0
  31. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +26 -0
  32. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +7 -3
  33. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +9 -3
  34. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +257 -124
  35. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  36. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  37. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +40 -8
  38. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -36
  40. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -5
  41. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +32 -2
  42. package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +3 -39
  43. package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +3 -51
  44. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +193 -503
  45. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +25 -195
  46. package/tencentcloud/services/tdid/v20210519/tdid_client.js +36 -262
  47. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +415 -1785
  48. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +2 -2
  49. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +10 -0
  50. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
  51. package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
  52. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
  53. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +151 -40
  54. package/test/cdn.v20180606.test.js +10 -0
  55. package/test/ckafka.v20190819.test.js +12 -2
  56. package/test/cynosdb.v20190107.test.js +10 -0
  57. package/test/tbaas.v20180416.test.js +2 -62
  58. package/test/tdid.v20210519.test.js +30 -310
@@ -18,56 +18,6 @@ const client = new tencentcloud.tdid.v20210519.Client({
18
18
  })
19
19
  describe("tdid.v20210519.test.js", function () {
20
20
 
21
- it("tdid.v20210519.CreateSelectiveCredential", async function () {
22
- try {
23
- const data = await client.CreateSelectiveCredential({})
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("tdid.v20210519.GetAuthoritiesList", async function () {
32
- try {
33
- const data = await client.GetAuthoritiesList({})
34
- expect(data).to.be.ok
35
- } catch(error) {
36
- expect(error.requestId).to.be.ok
37
- expect(error.code).to.be.ok
38
- }
39
- })
40
-
41
- it("tdid.v20210519.GetPolicyList", async function () {
42
- try {
43
- const data = await client.GetPolicyList({})
44
- expect(data).to.be.ok
45
- } catch(error) {
46
- expect(error.requestId).to.be.ok
47
- expect(error.code).to.be.ok
48
- }
49
- })
50
-
51
- it("tdid.v20210519.GetCredentialStatus", async function () {
52
- try {
53
- const data = await client.GetCredentialStatus({})
54
- expect(data).to.be.ok
55
- } catch(error) {
56
- expect(error.requestId).to.be.ok
57
- expect(error.code).to.be.ok
58
- }
59
- })
60
-
61
- it("tdid.v20210519.GetPublicKey", async function () {
62
- try {
63
- const data = await client.GetPublicKey({})
64
- expect(data).to.be.ok
65
- } catch(error) {
66
- expect(error.requestId).to.be.ok
67
- expect(error.code).to.be.ok
68
- }
69
- })
70
-
71
21
  it("tdid.v20210519.CheckChain", async function () {
72
22
  try {
73
23
  const data = await client.CheckChain({})
@@ -78,209 +28,9 @@ it("tdid.v20210519.CheckChain", async function () {
78
28
  }
79
29
  })
80
30
 
81
- it("tdid.v20210519.QueryPolicy", async function () {
82
- try {
83
- const data = await client.QueryPolicy({})
84
- expect(data).to.be.ok
85
- } catch(error) {
86
- expect(error.requestId).to.be.ok
87
- expect(error.code).to.be.ok
88
- }
89
- })
90
-
91
- it("tdid.v20210519.CheckDidDeploy", async function () {
92
- try {
93
- const data = await client.CheckDidDeploy({})
94
- expect(data).to.be.ok
95
- } catch(error) {
96
- expect(error.requestId).to.be.ok
97
- expect(error.code).to.be.ok
98
- }
99
- })
100
-
101
- it("tdid.v20210519.RecognizeAuthorityIssuer", async function () {
102
- try {
103
- const data = await client.RecognizeAuthorityIssuer({})
104
- expect(data).to.be.ok
105
- } catch(error) {
106
- expect(error.requestId).to.be.ok
107
- expect(error.code).to.be.ok
108
- }
109
- })
110
-
111
- it("tdid.v20210519.CancelAuthorityIssuer", async function () {
112
- try {
113
- const data = await client.CancelAuthorityIssuer({})
114
- expect(data).to.be.ok
115
- } catch(error) {
116
- expect(error.requestId).to.be.ok
117
- expect(error.code).to.be.ok
118
- }
119
- })
120
-
121
- it("tdid.v20210519.GetDidRegisterTrend", async function () {
122
- try {
123
- const data = await client.GetDidRegisterTrend({})
124
- expect(data).to.be.ok
125
- } catch(error) {
126
- expect(error.requestId).to.be.ok
127
- expect(error.code).to.be.ok
128
- }
129
- })
130
-
131
- it("tdid.v20210519.GetDidDetail", async function () {
132
- try {
133
- const data = await client.GetDidDetail({})
134
- expect(data).to.be.ok
135
- } catch(error) {
136
- expect(error.requestId).to.be.ok
137
- expect(error.code).to.be.ok
138
- }
139
- })
140
-
141
- it("tdid.v20210519.RemoveHash", async function () {
142
- try {
143
- const data = await client.RemoveHash({})
144
- expect(data).to.be.ok
145
- } catch(error) {
146
- expect(error.requestId).to.be.ok
147
- expect(error.code).to.be.ok
148
- }
149
- })
150
-
151
- it("tdid.v20210519.GetCredentialIssueRank", async function () {
152
- try {
153
- const data = await client.GetCredentialIssueRank({})
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("tdid.v20210519.GetGroupList", async function () {
162
- try {
163
- const data = await client.GetGroupList({})
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("tdid.v20210519.RegisterClaimPolicy", async function () {
172
- try {
173
- const data = await client.RegisterClaimPolicy({})
174
- expect(data).to.be.ok
175
- } catch(error) {
176
- expect(error.requestId).to.be.ok
177
- expect(error.code).to.be.ok
178
- }
179
- })
180
-
181
- it("tdid.v20210519.GetConsortiumList", async function () {
182
- try {
183
- const data = await client.GetConsortiumList({})
184
- expect(data).to.be.ok
185
- } catch(error) {
186
- expect(error.requestId).to.be.ok
187
- expect(error.code).to.be.ok
188
- }
189
- })
190
-
191
- it("tdid.v20210519.GetDidClusterList", async function () {
192
- try {
193
- const data = await client.GetDidClusterList({})
194
- expect(data).to.be.ok
195
- } catch(error) {
196
- expect(error.requestId).to.be.ok
197
- expect(error.code).to.be.ok
198
- }
199
- })
200
-
201
- it("tdid.v20210519.GetDidServiceDetail", async function () {
202
- try {
203
- const data = await client.GetDidServiceDetail({})
204
- expect(data).to.be.ok
205
- } catch(error) {
206
- expect(error.requestId).to.be.ok
207
- expect(error.code).to.be.ok
208
- }
209
- })
210
-
211
- it("tdid.v20210519.GetCptList", async function () {
212
- try {
213
- const data = await client.GetCptList({})
214
- expect(data).to.be.ok
215
- } catch(error) {
216
- expect(error.requestId).to.be.ok
217
- expect(error.code).to.be.ok
218
- }
219
- })
220
-
221
- it("tdid.v20210519.GetCredentialIssueTrend", async function () {
222
- try {
223
- const data = await client.GetCredentialIssueTrend({})
224
- expect(data).to.be.ok
225
- } catch(error) {
226
- expect(error.requestId).to.be.ok
227
- expect(error.code).to.be.ok
228
- }
229
- })
230
-
231
- it("tdid.v20210519.DeployByName", async function () {
232
- try {
233
- const data = await client.DeployByName({})
234
- expect(data).to.be.ok
235
- } catch(error) {
236
- expect(error.requestId).to.be.ok
237
- expect(error.code).to.be.ok
238
- }
239
- })
240
-
241
- it("tdid.v20210519.CreateDidService", async function () {
242
- try {
243
- const data = await client.CreateDidService({})
244
- expect(data).to.be.ok
245
- } catch(error) {
246
- expect(error.requestId).to.be.ok
247
- expect(error.code).to.be.ok
248
- }
249
- })
250
-
251
- it("tdid.v20210519.CreateCredential", async function () {
252
- try {
253
- const data = await client.CreateCredential({})
254
- expect(data).to.be.ok
255
- } catch(error) {
256
- expect(error.requestId).to.be.ok
257
- expect(error.code).to.be.ok
258
- }
259
- })
260
-
261
- it("tdid.v20210519.GetDidClusterDetail", async function () {
262
- try {
263
- const data = await client.GetDidClusterDetail({})
264
- expect(data).to.be.ok
265
- } catch(error) {
266
- expect(error.requestId).to.be.ok
267
- expect(error.code).to.be.ok
268
- }
269
- })
270
-
271
- it("tdid.v20210519.SetCredentialStatus", async function () {
272
- try {
273
- const data = await client.SetCredentialStatus({})
274
- expect(data).to.be.ok
275
- } catch(error) {
276
- expect(error.requestId).to.be.ok
277
- expect(error.code).to.be.ok
278
- }
279
- })
280
-
281
- it("tdid.v20210519.GetLabelList", async function () {
31
+ it("tdid.v20210519.GetCptInfo", async function () {
282
32
  try {
283
- const data = await client.GetLabelList({})
33
+ const data = await client.GetCptInfo({})
284
34
  expect(data).to.be.ok
285
35
  } catch(error) {
286
36
  expect(error.requestId).to.be.ok
@@ -288,9 +38,9 @@ it("tdid.v20210519.GetLabelList", async function () {
288
38
  }
289
39
  })
290
40
 
291
- it("tdid.v20210519.EnableHash", async function () {
41
+ it("tdid.v20210519.GetDidDocument", async function () {
292
42
  try {
293
- const data = await client.EnableHash({})
43
+ const data = await client.GetDidDocument({})
294
44
  expect(data).to.be.ok
295
45
  } catch(error) {
296
46
  expect(error.requestId).to.be.ok
@@ -298,9 +48,9 @@ it("tdid.v20210519.EnableHash", async function () {
298
48
  }
299
49
  })
300
50
 
301
- it("tdid.v20210519.GetDeployList", async function () {
51
+ it("tdid.v20210519.CreateSelectiveCredential", async function () {
302
52
  try {
303
- const data = await client.GetDeployList({})
53
+ const data = await client.CreateSelectiveCredential({})
304
54
  expect(data).to.be.ok
305
55
  } catch(error) {
306
56
  expect(error.requestId).to.be.ok
@@ -318,26 +68,6 @@ it("tdid.v20210519.CreateTDid", async function () {
318
68
  }
319
69
  })
320
70
 
321
- it("tdid.v20210519.RegisterIssuer", async function () {
322
- try {
323
- const data = await client.RegisterIssuer({})
324
- expect(data).to.be.ok
325
- } catch(error) {
326
- expect(error.requestId).to.be.ok
327
- expect(error.code).to.be.ok
328
- }
329
- })
330
-
331
- it("tdid.v20210519.GetDeployInfo", async function () {
332
- try {
333
- const data = await client.GetDeployInfo({})
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
-
341
71
  it("tdid.v20210519.GetCredentialCptRank", async function () {
342
72
  try {
343
73
  const data = await client.GetCredentialCptRank({})
@@ -348,29 +78,9 @@ it("tdid.v20210519.GetCredentialCptRank", async function () {
348
78
  }
349
79
  })
350
80
 
351
- it("tdid.v20210519.GetCptInfo", async function () {
352
- try {
353
- const data = await client.GetCptInfo({})
354
- expect(data).to.be.ok
355
- } catch(error) {
356
- expect(error.requestId).to.be.ok
357
- expect(error.code).to.be.ok
358
- }
359
- })
360
-
361
- it("tdid.v20210519.GetDidDocument", async function () {
362
- try {
363
- const data = await client.GetDidDocument({})
364
- expect(data).to.be.ok
365
- } catch(error) {
366
- expect(error.requestId).to.be.ok
367
- expect(error.code).to.be.ok
368
- }
369
- })
370
-
371
- it("tdid.v20210519.GetDidServiceList", async function () {
81
+ it("tdid.v20210519.CreateCredential", async function () {
372
82
  try {
373
- const data = await client.GetDidServiceList({})
83
+ const data = await client.CreateCredential({})
374
84
  expect(data).to.be.ok
375
85
  } catch(error) {
376
86
  expect(error.requestId).to.be.ok
@@ -378,9 +88,9 @@ it("tdid.v20210519.GetDidServiceList", async function () {
378
88
  }
379
89
  })
380
90
 
381
- it("tdid.v20210519.GetDidList", async function () {
91
+ it("tdid.v20210519.CreateTDidByPublicKey", async function () {
382
92
  try {
383
- const data = await client.GetDidList({})
93
+ const data = await client.CreateTDidByPublicKey({})
384
94
  expect(data).to.be.ok
385
95
  } catch(error) {
386
96
  expect(error.requestId).to.be.ok
@@ -388,9 +98,9 @@ it("tdid.v20210519.GetDidList", async function () {
388
98
  }
389
99
  })
390
100
 
391
- it("tdid.v20210519.CreateTDidByPublicKey", async function () {
101
+ it("tdid.v20210519.GetConsortiumList", async function () {
392
102
  try {
393
- const data = await client.CreateTDidByPublicKey({})
103
+ const data = await client.GetConsortiumList({})
394
104
  expect(data).to.be.ok
395
105
  } catch(error) {
396
106
  expect(error.requestId).to.be.ok
@@ -428,9 +138,9 @@ it("tdid.v20210519.AddLabel", async function () {
428
138
  }
429
139
  })
430
140
 
431
- it("tdid.v20210519.DownCpt", async function () {
141
+ it("tdid.v20210519.GetDidClusterList", async function () {
432
142
  try {
433
- const data = await client.DownCpt({})
143
+ const data = await client.GetDidClusterList({})
434
144
  expect(data).to.be.ok
435
145
  } catch(error) {
436
146
  expect(error.requestId).to.be.ok
@@ -438,9 +148,9 @@ it("tdid.v20210519.DownCpt", async function () {
438
148
  }
439
149
  })
440
150
 
441
- it("tdid.v20210519.RegisterCpt", async function () {
151
+ it("tdid.v20210519.GetCredentialStatus", async function () {
442
152
  try {
443
- const data = await client.RegisterCpt({})
153
+ const data = await client.GetCredentialStatus({})
444
154
  expect(data).to.be.ok
445
155
  } catch(error) {
446
156
  expect(error.requestId).to.be.ok
@@ -468,9 +178,9 @@ it("tdid.v20210519.VerifyCredential", async function () {
468
178
  }
469
179
  })
470
180
 
471
- it("tdid.v20210519.GetDataPanel", async function () {
181
+ it("tdid.v20210519.GetDidClusterDetail", async function () {
472
182
  try {
473
- const data = await client.GetDataPanel({})
183
+ const data = await client.GetDidClusterDetail({})
474
184
  expect(data).to.be.ok
475
185
  } catch(error) {
476
186
  expect(error.requestId).to.be.ok
@@ -488,9 +198,19 @@ it("tdid.v20210519.GetAuthorityIssuer", async function () {
488
198
  }
489
199
  })
490
200
 
491
- it("tdid.v20210519.CreateLabel", async function () {
201
+ it("tdid.v20210519.SetCredentialStatus", async function () {
492
202
  try {
493
- const data = await client.CreateLabel({})
203
+ const data = await client.SetCredentialStatus({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
211
+ it("tdid.v20210519.RegisterCpt", async function () {
212
+ try {
213
+ const data = await client.RegisterCpt({})
494
214
  expect(data).to.be.ok
495
215
  } catch(error) {
496
216
  expect(error.requestId).to.be.ok