tencentcloud-sdk-nodejs 4.0.361 → 4.0.364

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/CHANGELOG.md +709 -0
  2. package/SERVICE_CHANGELOG.md +727 -93
  3. package/package.json +1 -1
  4. package/products.md +26 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/v20201229/ams_models.ts +7 -1
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +3 -1
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +68 -2
  9. package/src/services/apm/v20210622/apm_models.ts +6 -1
  10. package/src/services/asr/v20190614/asr_models.ts +0 -1
  11. package/src/services/cat/v20180409/cat_models.ts +1 -1
  12. package/src/services/ccc/v20200210/ccc_client.ts +13 -1
  13. package/src/services/ccc/v20200210/ccc_models.ts +48 -7
  14. package/src/services/ciam/v20220331/ciam_client.ts +160 -1
  15. package/src/services/ciam/v20220331/ciam_models.ts +1065 -4
  16. package/src/services/cii/v20210408/cii_client.ts +3 -0
  17. package/src/services/cii/v20210408/cii_models.ts +61 -0
  18. package/src/services/cloudhsm/v20191112/cloudhsm_client.ts +1 -1
  19. package/src/services/cloudhsm/v20191112/cloudhsm_models.ts +22 -6
  20. package/src/services/cpdp/v20190820/cpdp_models.ts +40 -0
  21. package/src/services/cvm/v20170312/cvm_models.ts +18 -8
  22. package/src/services/cwp/v20180228/cwp_models.ts +13 -1
  23. package/src/services/dlc/v20210125/dlc_client.ts +13 -0
  24. package/src/services/dlc/v20210125/dlc_models.ts +94 -7
  25. package/src/services/dnspod/v20210323/dnspod_client.ts +29 -0
  26. package/src/services/dnspod/v20210323/dnspod_models.ts +231 -0
  27. package/src/services/eis/v20210601/eis_models.ts +39 -0
  28. package/src/services/es/v20180416/es_models.ts +6 -0
  29. package/src/services/index.ts +1 -0
  30. package/src/services/live/v20180801/live_client.ts +1 -1
  31. package/src/services/live/v20180801/live_models.ts +1 -1
  32. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  33. package/src/services/ocr/v20181119/ocr_models.ts +8 -1
  34. package/src/services/redis/v20180412/redis_models.ts +10 -0
  35. package/src/services/ssl/v20191205/ssl_models.ts +6 -0
  36. package/src/services/tcbr/index.ts +5 -0
  37. package/src/services/tcbr/v20220217/index.ts +6 -0
  38. package/src/services/tcbr/v20220217/tcbr_client.ts +130 -0
  39. package/src/services/tcbr/v20220217/tcbr_models.ts +876 -0
  40. package/src/services/tem/v20210701/tem_client.ts +20 -7
  41. package/src/services/tem/v20210701/tem_models.ts +125 -11
  42. package/src/services/teo/v20220106/teo_client.ts +680 -412
  43. package/src/services/teo/v20220106/teo_models.ts +2929 -579
  44. package/src/services/vm/v20201229/vm_models.ts +7 -1
  45. package/src/services/vod/v20180717/vod_client.ts +27 -0
  46. package/src/services/vod/v20180717/vod_models.ts +232 -158
  47. package/tencentcloud/common/sdk_version.d.ts +1 -1
  48. package/tencentcloud/common/sdk_version.js +1 -1
  49. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +6 -1
  50. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  51. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
  52. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +57 -2
  53. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +5 -1
  54. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +0 -1
  55. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
  56. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
  57. package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
  58. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +42 -7
  59. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +49 -1
  60. package/tencentcloud/services/ciam/v20220331/ciam_client.js +72 -0
  61. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +902 -0
  62. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +52 -0
  63. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_client.d.ts +1 -1
  64. package/tencentcloud/services/cloudhsm/v20191112/cloudhsm_models.d.ts +18 -4
  65. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +35 -0
  66. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -8
  67. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +11 -1
  68. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  69. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  70. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +81 -7
  71. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -1
  72. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -0
  73. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +194 -0
  74. package/tencentcloud/services/eis/v20210601/eis_models.d.ts +32 -0
  75. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  76. package/tencentcloud/services/index.d.ts +1 -0
  77. package/tencentcloud/services/index.js +2 -0
  78. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  79. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  80. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  81. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  82. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  83. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +7 -1
  84. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +8 -0
  85. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
  86. package/tencentcloud/services/tcbr/index.d.ts +6 -0
  87. package/tencentcloud/services/tcbr/index.js +7 -0
  88. package/tencentcloud/services/tcbr/v20220217/index.d.ts +6 -0
  89. package/tencentcloud/services/tcbr/v20220217/index.js +9 -0
  90. package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +38 -0
  91. package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +73 -0
  92. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +723 -0
  93. package/tencentcloud/services/tcbr/v20220217/tcbr_models.js +18 -0
  94. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +7 -3
  95. package/tencentcloud/services/tem/v20210701/tem_client.js +9 -3
  96. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +106 -10
  97. package/tencentcloud/services/teo/v20220106/teo_client.d.ts +205 -125
  98. package/tencentcloud/services/teo/v20220106/teo_client.js +306 -186
  99. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +2541 -562
  100. package/tencentcloud/services/vm/v20201229/vm_models.d.ts +6 -1
  101. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +12 -1
  102. package/tencentcloud/services/vod/v20180717/vod_client.js +15 -0
  103. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +200 -136
  104. package/test/ccc.v20200210.test.js +10 -0
  105. package/test/ciam.v20220331.test.js +120 -0
  106. package/test/dlc.v20210125.test.js +10 -0
  107. package/test/dnspod.v20210323.test.js +20 -0
  108. package/test/tcbr.v20220217.test.js +91 -0
  109. package/test/tem.v20210701.test.js +12 -2
  110. package/test/teo.v20220106.test.js +324 -124
  111. package/test/vod.v20180717.test.js +20 -0
@@ -168,6 +168,16 @@ it("ccc.v20200210.DescribeCCCBuyInfoList", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("ccc.v20200210.CreateCCCSkillGroup", async function () {
172
+ try {
173
+ const data = await client.CreateCCCSkillGroup({})
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
+
171
181
  it("ccc.v20200210.UnbindStaffSkillGroupList", async function () {
172
182
  try {
173
183
  const data = await client.UnbindStaffSkillGroupList({})
@@ -18,6 +18,126 @@ const client = new tencentcloud.ciam.v20220331.Client({
18
18
  })
19
19
  describe("ciam.v20220331.test.js", function () {
20
20
 
21
+ it("ciam.v20220331.DeleteUsers", async function () {
22
+ try {
23
+ const data = await client.DeleteUsers({})
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("ciam.v20220331.ListJobs", async function () {
32
+ try {
33
+ const data = await client.ListJobs({})
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("ciam.v20220331.UpdateUser", async function () {
42
+ try {
43
+ const data = await client.UpdateUser({})
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("ciam.v20220331.ListUser", async function () {
52
+ try {
53
+ const data = await client.ListUser({})
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("ciam.v20220331.UpdateUserStatus", async function () {
62
+ try {
63
+ const data = await client.UpdateUserStatus({})
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
+ it("ciam.v20220331.ListUserByProperty", async function () {
72
+ try {
73
+ const data = await client.ListUserByProperty({})
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("ciam.v20220331.DescribeUserById", async function () {
82
+ try {
83
+ const data = await client.DescribeUserById({})
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("ciam.v20220331.CreateUser", async function () {
92
+ try {
93
+ const data = await client.CreateUser({})
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("ciam.v20220331.SetPassword", async function () {
102
+ try {
103
+ const data = await client.SetPassword({})
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("ciam.v20220331.CreateFileExportUserJob", async function () {
112
+ try {
113
+ const data = await client.CreateFileExportUserJob({})
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("ciam.v20220331.CreateApiImportUserJob", async function () {
122
+ try {
123
+ const data = await client.CreateApiImportUserJob({})
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("ciam.v20220331.LinkAccount", async function () {
132
+ try {
133
+ const data = await client.LinkAccount({})
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
+
21
141
  it("ciam.v20220331.ResetPassword", async function () {
22
142
  try {
23
143
  const data = await client.ResetPassword({})
@@ -178,6 +178,16 @@ it("dlc.v20210125.CreateWorkGroup", async function () {
178
178
  }
179
179
  })
180
180
 
181
+ it("dlc.v20210125.ListTaskJobLogDetail", async function () {
182
+ try {
183
+ const data = await client.ListTaskJobLogDetail({})
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
+
181
191
  it("dlc.v20210125.UnbindWorkGroupsFromUser", async function () {
182
192
  try {
183
193
  const data = await client.UnbindWorkGroupsFromUser({})
@@ -68,6 +68,16 @@ it("dnspod.v20210323.DescribeDomainAliasList", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
72
+ try {
73
+ const data = await client.DescribeSubdomainAnalytics({})
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
+
71
81
  it("dnspod.v20210323.ModifyRecordStatus", async function () {
72
82
  try {
73
83
  const data = await client.ModifyRecordStatus({})
@@ -198,6 +208,16 @@ it("dnspod.v20210323.DescribeRecordLineList", async function () {
198
208
  }
199
209
  })
200
210
 
211
+ it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
212
+ try {
213
+ const data = await client.DescribeDomainAnalytics({})
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
+
201
221
  it("dnspod.v20210323.ModifyRecordRemark", async function () {
202
222
  try {
203
223
  const data = await client.ModifyRecordRemark({})
@@ -0,0 +1,91 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.tcbr.v20220217.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("tcbr.v20220217.test.js", function () {
20
+
21
+ it("tcbr.v20220217.CreateCloudRunServer", async function () {
22
+ try {
23
+ const data = await client.CreateCloudRunServer({})
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("tcbr.v20220217.UpdateCloudRunServer", async function () {
32
+ try {
33
+ const data = await client.UpdateCloudRunServer({})
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("tcbr.v20220217.DescribeEnvBaseInfo", async function () {
42
+ try {
43
+ const data = await client.DescribeEnvBaseInfo({})
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("tcbr.v20220217.DescribeCloudRunServers", async function () {
52
+ try {
53
+ const data = await client.DescribeCloudRunServers({})
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("tcbr.v20220217.CreateCloudRunEnv", async function () {
62
+ try {
63
+ const data = await client.CreateCloudRunEnv({})
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
+ it("tcbr.v20220217.DescribeCloudRunEnvs", async function () {
72
+ try {
73
+ const data = await client.DescribeCloudRunEnvs({})
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("tcbr.v20220217.DescribeCloudRunServerDetail", async function () {
82
+ try {
83
+ const data = await client.DescribeCloudRunServerDetail({})
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
+ })
@@ -18,9 +18,9 @@ const client = new tencentcloud.tem.v20210701.Client({
18
18
  })
19
19
  describe("tem.v20210701.test.js", function () {
20
20
 
21
- it("tem.v20210701.ModifyApplicationReplicas", async function () {
21
+ it("tem.v20210701.DescribeApplicationsStatus", async function () {
22
22
  try {
23
- const data = await client.ModifyApplicationReplicas({})
23
+ const data = await client.DescribeApplicationsStatus({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -38,6 +38,16 @@ it("tem.v20210701.ModifyIngress", async function () {
38
38
  }
39
39
  })
40
40
 
41
+ it("tem.v20210701.ModifyApplicationReplicas", async function () {
42
+ try {
43
+ const data = await client.ModifyApplicationReplicas({})
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
+
41
51
  it("tem.v20210701.DeleteApplication", async function () {
42
52
  try {
43
53
  const data = await client.DeleteApplication({})