tencentcloud-sdk-nodejs 4.0.449 → 4.0.451
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 +273 -0
- package/SERVICE_CHANGELOG.md +290 -107
- package/package.json +1 -1
- package/products.md +18 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cfg/v20210820/cfg_models.ts +12 -0
- package/src/services/ciam/v20220331/ciam_client.ts +1 -0
- package/src/services/ciam/v20220331/ciam_models.ts +130 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +4 -4
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +5 -5
- package/src/services/cpdp/v20190820/cpdp_client.ts +24 -12
- package/src/services/cpdp/v20190820/cpdp_models.ts +48 -0
- package/src/services/es/v20180416/es_models.ts +6 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/index.ts +1 -0
- package/src/services/monitor/v20180724/monitor_client.ts +4 -1
- package/src/services/monitor/v20180724/monitor_models.ts +137 -7
- package/src/services/oceanus/v20190422/oceanus_models.ts +6 -0
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +1 -2
- package/src/services/tcm/v20210413/tcm_client.ts +1 -0
- package/src/services/tcm/v20210413/tcm_models.ts +11 -0
- package/src/services/tcr/v20190924/tcr_models.ts +3 -3
- package/src/services/tds/index.ts +5 -0
- package/src/services/tds/v20220801/index.ts +6 -0
- package/src/services/tds/v20220801/tds_client.ts +68 -0
- package/src/services/tds/v20220801/tds_models.ts +256 -0
- package/src/services/tem/v20210701/tem_client.ts +59 -11
- package/src/services/tem/v20210701/tem_models.ts +265 -102
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/tse/v20201207/tse_models.ts +7 -2
- package/src/services/vod/v20180717/vod_models.ts +2 -0
- package/src/services/vpc/v20170312/vpc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +10 -0
- package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +106 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +4 -4
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +4 -4
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +5 -5
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -5
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -6
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +41 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +115 -7
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +5 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -2
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +9 -0
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +3 -3
- package/tencentcloud/services/tds/index.d.ts +6 -0
- package/tencentcloud/services/tds/index.js +7 -0
- package/tencentcloud/services/tds/v20220801/index.d.ts +6 -0
- package/tencentcloud/services/tds/v20220801/index.js +9 -0
- package/tencentcloud/services/tds/v20220801/tds_client.d.ts +22 -0
- package/tencentcloud/services/tds/v20220801/tds_client.js +49 -0
- package/tencentcloud/services/tds/v20220801/tds_models.d.ts +199 -0
- package/tencentcloud/services/tds/v20220801/tds_models.js +18 -0
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +19 -3
- package/tencentcloud/services/tem/v20210701/tem_client.js +27 -3
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +232 -93
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +6 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/test/cpdp.v20190820.test.js +14 -4
- package/test/tds.v20220801.test.js +51 -0
- package/test/tem.v20210701.test.js +42 -2
|
@@ -918,9 +918,9 @@ it("cpdp.v20190820.QueryShopOpenId", async function () {
|
|
|
918
918
|
}
|
|
919
919
|
})
|
|
920
920
|
|
|
921
|
-
it("cpdp.v20190820.
|
|
921
|
+
it("cpdp.v20190820.QueryFinancialDataUrl", async function () {
|
|
922
922
|
try {
|
|
923
|
-
const data = await client.
|
|
923
|
+
const data = await client.QueryFinancialDataUrl({})
|
|
924
924
|
expect(data).to.be.ok
|
|
925
925
|
} catch(error) {
|
|
926
926
|
expect(error.requestId).to.be.ok
|
|
@@ -1358,9 +1358,9 @@ it("cpdp.v20190820.ApplyPayerInfo", async function () {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
})
|
|
1360
1360
|
|
|
1361
|
-
it("cpdp.v20190820.
|
|
1361
|
+
it("cpdp.v20190820.QueryOpenBankPaymentOrder", async function () {
|
|
1362
1362
|
try {
|
|
1363
|
-
const data = await client.
|
|
1363
|
+
const data = await client.QueryOpenBankPaymentOrder({})
|
|
1364
1364
|
expect(data).to.be.ok
|
|
1365
1365
|
} catch(error) {
|
|
1366
1366
|
expect(error.requestId).to.be.ok
|
|
@@ -1698,6 +1698,16 @@ it("cpdp.v20190820.CreateCustAcctId", async function () {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
})
|
|
1700
1700
|
|
|
1701
|
+
it("cpdp.v20190820.UploadFile", async function () {
|
|
1702
|
+
try {
|
|
1703
|
+
const data = await client.UploadFile({})
|
|
1704
|
+
expect(data).to.be.ok
|
|
1705
|
+
} catch(error) {
|
|
1706
|
+
expect(error.requestId).to.be.ok
|
|
1707
|
+
expect(error.code).to.be.ok
|
|
1708
|
+
}
|
|
1709
|
+
})
|
|
1710
|
+
|
|
1701
1711
|
it("cpdp.v20190820.CloseOrder", async function () {
|
|
1702
1712
|
try {
|
|
1703
1713
|
const data = await client.CloseOrder({})
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tds.v20220801.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("tds.v20220801.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tds.v20220801.DescribeFraudBase", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeFraudBase({})
|
|
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("tds.v20220801.DescribeTrustedID", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeTrustedID({})
|
|
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("tds.v20220801.DescribeFraudPremium", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeFraudPremium({})
|
|
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
|
+
})
|
|
@@ -38,6 +38,16 @@ it("tem.v20210701.DescribeApplicationsStatus", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("tem.v20210701.DescribeApplicationServiceList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeApplicationServiceList({})
|
|
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.DescribePagedLogConfigList", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.DescribePagedLogConfigList({})
|
|
@@ -128,6 +138,16 @@ it("tem.v20210701.DescribeEnvironmentStatus", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
141
|
+
it("tem.v20210701.ResumeDeployApplication", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ResumeDeployApplication({})
|
|
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
|
+
|
|
131
151
|
it("tem.v20210701.DeleteIngress", async function () {
|
|
132
152
|
try {
|
|
133
153
|
const data = await client.DeleteIngress({})
|
|
@@ -168,9 +188,9 @@ it("tem.v20210701.DescribeDeployApplicationDetail", async function () {
|
|
|
168
188
|
}
|
|
169
189
|
})
|
|
170
190
|
|
|
171
|
-
it("tem.v20210701.
|
|
191
|
+
it("tem.v20210701.ModifyApplicationService", async function () {
|
|
172
192
|
try {
|
|
173
|
-
const data = await client.
|
|
193
|
+
const data = await client.ModifyApplicationService({})
|
|
174
194
|
expect(data).to.be.ok
|
|
175
195
|
} catch(error) {
|
|
176
196
|
expect(error.requestId).to.be.ok
|
|
@@ -228,6 +248,16 @@ it("tem.v20210701.CreateLogConfig", async function () {
|
|
|
228
248
|
}
|
|
229
249
|
})
|
|
230
250
|
|
|
251
|
+
it("tem.v20210701.CreateApplicationService", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.CreateApplicationService({})
|
|
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
|
+
|
|
231
261
|
it("tem.v20210701.DescribeApplicationInfo", async function () {
|
|
232
262
|
try {
|
|
233
263
|
const data = await client.DescribeApplicationInfo({})
|
|
@@ -318,6 +348,16 @@ it("tem.v20210701.DescribeIngress", async function () {
|
|
|
318
348
|
}
|
|
319
349
|
})
|
|
320
350
|
|
|
351
|
+
it("tem.v20210701.DeleteApplicationService", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.DeleteApplicationService({})
|
|
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
|
+
|
|
321
361
|
it("tem.v20210701.GenerateApplicationPackageDownloadUrl", async function () {
|
|
322
362
|
try {
|
|
323
363
|
const data = await client.GenerateApplicationPackageDownloadUrl({})
|