tencentcloud-sdk-nodejs 4.0.779 → 4.0.781

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 (47) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/SERVICE_CHANGELOG.md +183 -52
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +16 -6
  7. package/src/services/dts/v20211206/dts_models.ts +6 -1
  8. package/src/services/faceid/v20180301/faceid_models.ts +8 -0
  9. package/src/services/monitor/v20180724/monitor_client.ts +88 -21
  10. package/src/services/monitor/v20180724/monitor_models.ts +489 -139
  11. package/src/services/ocr/v20181119/ocr_models.ts +9 -1
  12. package/src/services/rum/v20210622/rum_client.ts +36 -72
  13. package/src/services/rum/v20210622/rum_models.ts +36 -120
  14. package/src/services/tcb/v20180608/tcb_models.ts +9 -0
  15. package/src/services/tdid/v20210519/tdid_client.ts +135 -24
  16. package/src/services/tdid/v20210519/tdid_models.ts +520 -113
  17. package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
  18. package/src/services/tdmq/v20200217/tdmq_models.ts +95 -0
  19. package/src/services/teo/v20220901/teo_models.ts +7 -5
  20. package/src/services/tse/v20201207/tse_models.ts +1 -1
  21. package/src/services/tsf/v20180326/tsf_models.ts +14 -9
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +16 -6
  25. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -1
  26. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -0
  27. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +28 -5
  28. package/tencentcloud/services/monitor/v20180724/monitor_client.js +39 -6
  29. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +473 -137
  30. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -1
  31. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -25
  32. package/tencentcloud/services/rum/v20210622/rum_client.js +18 -36
  33. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +36 -114
  34. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +9 -0
  35. package/tencentcloud/services/tdid/v20210519/tdid_client.d.ts +41 -5
  36. package/tencentcloud/services/tdid/v20210519/tdid_client.js +60 -6
  37. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +498 -112
  38. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  39. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  40. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +93 -0
  41. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -5
  42. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -1
  43. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +14 -9
  44. package/test/monitor.v20180724.test.js +54 -4
  45. package/test/rum.v20210622.test.js +14 -44
  46. package/test/tdid.v20210519.test.js +100 -10
  47. package/test/tdmq.v20200217.test.js +10 -0
@@ -18,6 +18,26 @@ const client = new tencentcloud.tdid.v20210519.Client({
18
18
  })
19
19
  describe("tdid.v20210519.test.js", function () {
20
20
 
21
+ it("tdid.v20210519.GetOverSummary", async function () {
22
+ try {
23
+ const data = await client.GetOverSummary({})
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.QueryAuthorityInfo", async function () {
32
+ try {
33
+ const data = await client.QueryAuthorityInfo({})
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
+
21
41
  it("tdid.v20210519.VerifyCredentials", async function () {
22
42
  try {
23
43
  const data = await client.VerifyCredentials({})
@@ -28,6 +48,26 @@ it("tdid.v20210519.VerifyCredentials", async function () {
28
48
  }
29
49
  })
30
50
 
51
+ it("tdid.v20210519.QueryCPT", async function () {
52
+ try {
53
+ const data = await client.QueryCPT({})
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.CreatePresentation", async function () {
62
+ try {
63
+ const data = await client.CreatePresentation({})
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
+
31
71
  it("tdid.v20210519.CreateTDidByHost", async function () {
32
72
  try {
33
73
  const data = await client.CreateTDidByHost({})
@@ -38,6 +78,16 @@ it("tdid.v20210519.CreateTDidByHost", async function () {
38
78
  }
39
79
  })
40
80
 
81
+ it("tdid.v20210519.GetTDidByObjectId", async function () {
82
+ try {
83
+ const data = await client.GetTDidByObjectId({})
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
+
41
91
  it("tdid.v20210519.CreateTDidByPubKey", async function () {
42
92
  try {
43
93
  const data = await client.CreateTDidByPubKey({})
@@ -48,6 +98,36 @@ it("tdid.v20210519.CreateTDidByPubKey", async function () {
48
98
  }
49
99
  })
50
100
 
101
+ it("tdid.v20210519.VerifyPresentation", async function () {
102
+ try {
103
+ const data = await client.VerifyPresentation({})
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.CreateDisclosedCredential", async function () {
112
+ try {
113
+ const data = await client.CreateDisclosedCredential({})
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.GetAppSummary", async function () {
122
+ try {
123
+ const data = await client.GetAppSummary({})
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
+
51
131
  it("tdid.v20210519.GetTDidDocument", async function () {
52
132
  try {
53
133
  const data = await client.GetTDidDocument({})
@@ -58,9 +138,9 @@ it("tdid.v20210519.GetTDidDocument", async function () {
58
138
  }
59
139
  })
60
140
 
61
- it("tdid.v20210519.UpdateCredentialState", async function () {
141
+ it("tdid.v20210519.GetTDidPubKey", async function () {
62
142
  try {
63
- const data = await client.UpdateCredentialState({})
143
+ const data = await client.GetTDidPubKey({})
64
144
  expect(data).to.be.ok
65
145
  } catch(error) {
66
146
  expect(error.requestId).to.be.ok
@@ -68,9 +148,9 @@ it("tdid.v20210519.UpdateCredentialState", async function () {
68
148
  }
69
149
  })
70
150
 
71
- it("tdid.v20210519.DeactivateTDid", async function () {
151
+ it("tdid.v20210519.SetTDidAttribute", async function () {
72
152
  try {
73
- const data = await client.DeactivateTDid({})
153
+ const data = await client.SetTDidAttribute({})
74
154
  expect(data).to.be.ok
75
155
  } catch(error) {
76
156
  expect(error.requestId).to.be.ok
@@ -78,9 +158,9 @@ it("tdid.v20210519.DeactivateTDid", async function () {
78
158
  }
79
159
  })
80
160
 
81
- it("tdid.v20210519.GetCredentialState", async function () {
161
+ it("tdid.v20210519.UpdateCredentialState", async function () {
82
162
  try {
83
- const data = await client.GetCredentialState({})
163
+ const data = await client.UpdateCredentialState({})
84
164
  expect(data).to.be.ok
85
165
  } catch(error) {
86
166
  expect(error.requestId).to.be.ok
@@ -88,9 +168,19 @@ it("tdid.v20210519.GetCredentialState", async function () {
88
168
  }
89
169
  })
90
170
 
91
- it("tdid.v20210519.IssueCredential", async function () {
171
+ it("tdid.v20210519.DeactivateTDid", async function () {
92
172
  try {
93
- const data = await client.IssueCredential({})
173
+ const data = await client.DeactivateTDid({})
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.GetCredentialState", async function () {
182
+ try {
183
+ const data = await client.GetCredentialState({})
94
184
  expect(data).to.be.ok
95
185
  } catch(error) {
96
186
  expect(error.requestId).to.be.ok
@@ -98,9 +188,9 @@ it("tdid.v20210519.IssueCredential", async function () {
98
188
  }
99
189
  })
100
190
 
101
- it("tdid.v20210519.CheckNewPurchase", async function () {
191
+ it("tdid.v20210519.IssueCredential", async function () {
102
192
  try {
103
- const data = await client.CheckNewPurchase({})
193
+ const data = await client.IssueCredential({})
104
194
  expect(data).to.be.ok
105
195
  } catch(error) {
106
196
  expect(error.requestId).to.be.ok
@@ -698,6 +698,16 @@ it("tdmq.v20200217.DeleteRocketMQTopic", async function () {
698
698
  }
699
699
  })
700
700
 
701
+ it("tdmq.v20200217.ExportRocketMQMessageDetail", async function () {
702
+ try {
703
+ const data = await client.ExportRocketMQMessageDetail({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
701
711
  it("tdmq.v20200217.DescribeRabbitMQQueues", async function () {
702
712
  try {
703
713
  const data = await client.DescribeRabbitMQQueues({})