tencentcloud-sdk-nodejs 4.0.361 → 4.0.362
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 +287 -0
- package/SERVICE_CHANGELOG.md +445 -95
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +3 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +68 -2
- package/src/services/ciam/v20220331/ciam_client.ts +116 -1
- package/src/services/ciam/v20220331/ciam_models.ts +653 -0
- package/src/services/cii/v20210408/cii_client.ts +3 -0
- package/src/services/cii/v20210408/cii_models.ts +61 -0
- package/src/services/cvm/v20170312/cvm_models.ts +18 -8
- package/src/services/dlc/v20210125/dlc_client.ts +13 -0
- package/src/services/dlc/v20210125/dlc_models.ts +93 -6
- package/src/services/eis/v20210601/eis_models.ts +39 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +10 -0
- package/src/services/teo/v20220106/teo_client.ts +642 -398
- package/src/services/teo/v20220106/teo_models.ts +2970 -749
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +57 -2
- package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +37 -1
- package/tencentcloud/services/ciam/v20220331/ciam_client.js +54 -0
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +553 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +52 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +17 -8
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +80 -6
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +32 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +197 -125
- package/tencentcloud/services/teo/v20220106/teo_client.js +294 -186
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +2446 -575
- package/test/ciam.v20220331.test.js +90 -0
- package/test/dlc.v20210125.test.js +10 -0
- package/test/teo.v20220106.test.js +304 -124
|
@@ -18,6 +18,96 @@ 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.UpdateUser", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpdateUser({})
|
|
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.ListUser", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ListUser({})
|
|
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.UpdateUserStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.UpdateUserStatus({})
|
|
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.ListUserByProperty", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.ListUserByProperty({})
|
|
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.DescribeUserById", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeUserById({})
|
|
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.CreateUser", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.CreateUser({})
|
|
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.SetPassword", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.SetPassword({})
|
|
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.LinkAccount", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.LinkAccount({})
|
|
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
|
+
|
|
21
111
|
it("ciam.v20220331.ResetPassword", async function () {
|
|
22
112
|
try {
|
|
23
113
|
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({})
|