tencentcloud-sdk-nodejs 4.0.448 → 4.0.450

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 (84) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/SERVICE_CHANGELOG.md +360 -27
  3. package/package.json +1 -1
  4. package/products.md +18 -15
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bpaas/index.ts +5 -0
  7. package/src/services/bpaas/v20181217/bpaas_client.ts +59 -0
  8. package/src/services/bpaas/v20181217/bpaas_models.ts +291 -0
  9. package/src/services/bpaas/v20181217/index.ts +6 -0
  10. package/src/services/cam/v20190116/cam_models.ts +2 -2
  11. package/src/services/cfg/v20210820/cfg_models.ts +12 -0
  12. package/src/services/ckafka/v20190819/ckafka_client.ts +2 -1
  13. package/src/services/ckafka/v20190819/ckafka_models.ts +86 -10
  14. package/src/services/es/v20180416/es_models.ts +6 -0
  15. package/src/services/ess/v20201111/ess_models.ts +1 -1
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
  17. package/src/services/index.ts +3 -0
  18. package/src/services/lcic/index.ts +5 -0
  19. package/src/services/lcic/v20220817/index.ts +6 -0
  20. package/src/services/lcic/v20220817/lcic_client.ts +115 -0
  21. package/src/services/lcic/v20220817/lcic_models.ts +371 -0
  22. package/src/services/live/v20180801/live_models.ts +19 -16
  23. package/src/services/monitor/v20180724/monitor_client.ts +4 -1
  24. package/src/services/monitor/v20180724/monitor_models.ts +137 -7
  25. package/src/services/organization/v20210331/organization_models.ts +7 -1
  26. package/src/services/postgres/v20170312/postgres_client.ts +1 -1
  27. package/src/services/postgres/v20170312/postgres_models.ts +76 -12
  28. package/src/services/tcm/v20210413/tcm_client.ts +1 -0
  29. package/src/services/tcm/v20210413/tcm_models.ts +11 -0
  30. package/src/services/tcr/v20190924/tcr_models.ts +3 -3
  31. package/src/services/tds/index.ts +5 -0
  32. package/src/services/tds/v20220801/index.ts +6 -0
  33. package/src/services/tds/v20220801/tds_client.ts +68 -0
  34. package/src/services/tds/v20220801/tds_models.ts +256 -0
  35. package/src/services/tke/v20180525/tke_models.ts +2 -2
  36. package/src/services/vpc/v20170312/vpc_models.ts +1 -1
  37. package/tencentcloud/common/sdk_version.d.ts +1 -1
  38. package/tencentcloud/common/sdk_version.js +1 -1
  39. package/tencentcloud/services/bpaas/index.d.ts +6 -0
  40. package/tencentcloud/services/bpaas/index.js +7 -0
  41. package/tencentcloud/services/bpaas/v20181217/bpaas_client.d.ts +18 -0
  42. package/tencentcloud/services/bpaas/v20181217/bpaas_client.js +43 -0
  43. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +233 -0
  44. package/tencentcloud/services/bpaas/v20181217/bpaas_models.js +18 -0
  45. package/tencentcloud/services/bpaas/v20181217/index.d.ts +6 -0
  46. package/tencentcloud/services/bpaas/v20181217/index.js +9 -0
  47. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +2 -2
  48. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +10 -0
  49. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +72 -8
  50. package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  53. package/tencentcloud/services/index.d.ts +3 -0
  54. package/tencentcloud/services/index.js +6 -0
  55. package/tencentcloud/services/lcic/index.d.ts +6 -0
  56. package/tencentcloud/services/lcic/index.js +7 -0
  57. package/tencentcloud/services/lcic/v20220817/index.d.ts +6 -0
  58. package/tencentcloud/services/lcic/v20220817/index.js +9 -0
  59. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +38 -0
  60. package/tencentcloud/services/lcic/v20220817/lcic_client.js +73 -0
  61. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +302 -0
  62. package/tencentcloud/services/lcic/v20220817/lcic_models.js +18 -0
  63. package/tencentcloud/services/live/v20180801/live_models.d.ts +16 -13
  64. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  65. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +115 -7
  66. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +6 -1
  67. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
  68. package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
  69. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +67 -11
  70. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +9 -0
  71. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +3 -3
  72. package/tencentcloud/services/tds/index.d.ts +6 -0
  73. package/tencentcloud/services/tds/index.js +7 -0
  74. package/tencentcloud/services/tds/v20220801/index.d.ts +6 -0
  75. package/tencentcloud/services/tds/v20220801/index.js +9 -0
  76. package/tencentcloud/services/tds/v20220801/tds_client.d.ts +22 -0
  77. package/tencentcloud/services/tds/v20220801/tds_client.js +49 -0
  78. package/tencentcloud/services/tds/v20220801/tds_models.d.ts +199 -0
  79. package/tencentcloud/services/tds/v20220801/tds_models.js +18 -0
  80. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
  81. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
  82. package/test/bpaas.v20181217.test.js +41 -0
  83. package/test/lcic.v20220817.test.js +91 -0
  84. package/test/tds.v20220801.test.js +51 -0
@@ -0,0 +1,199 @@
1
+ /**
2
+ * DescribeFraudBase请求参数结构体
3
+ */
4
+ export interface DescribeFraudBaseRequest {
5
+ /**
6
+ * 客户端通过SDK获取的设备Token
7
+ */
8
+ DeviceToken: string;
9
+ }
10
+ /**
11
+ * 风险信息
12
+ */
13
+ export interface RiskInfo {
14
+ /**
15
+ * 风险类型
16
+ */
17
+ Type: number;
18
+ /**
19
+ * 风险等级
20
+ */
21
+ Level: number;
22
+ }
23
+ /**
24
+ * DescribeFraudPremium返回参数结构体
25
+ */
26
+ export interface DescribeFraudPremiumResponse {
27
+ /**
28
+ * App版本信息
29
+ */
30
+ AppVersion: string;
31
+ /**
32
+ * 品牌
33
+ */
34
+ Brand: string;
35
+ /**
36
+ * 客户端IP
37
+ */
38
+ ClientIp: string;
39
+ /**
40
+ * 机型
41
+ */
42
+ Model: string;
43
+ /**
44
+ * 网络类型
45
+ */
46
+ NetworkType: string;
47
+ /**
48
+ * 应用包名
49
+ */
50
+ PackageName: string;
51
+ /**
52
+ * 平台(2-Android,3-iOS,4-H5,5-微信小程序)
53
+ */
54
+ Platform: string;
55
+ /**
56
+ * 系统版本
57
+ */
58
+ SystemVersion: string;
59
+ /**
60
+ * SDK版本号
61
+ */
62
+ SdkBuildNo: string;
63
+ /**
64
+ * 实时风险信息
65
+ */
66
+ RiskInfos: Array<RiskInfo>;
67
+ /**
68
+ * 离线风险信息
69
+ */
70
+ HistRiskInfos: Array<RiskInfo>;
71
+ /**
72
+ * 设备匿名标识
73
+ */
74
+ Openid: string;
75
+ /**
76
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
77
+ */
78
+ RequestId?: string;
79
+ }
80
+ /**
81
+ * DescribeTrustedID返回参数结构体
82
+ */
83
+ export interface DescribeTrustedIDResponse {
84
+ /**
85
+ * 设备匿名标识
86
+ */
87
+ Openid: string;
88
+ /**
89
+ * App版本信息
90
+ */
91
+ AppVersion: string;
92
+ /**
93
+ * 品牌
94
+ */
95
+ Brand: string;
96
+ /**
97
+ * 客户端IP
98
+ */
99
+ ClientIp: string;
100
+ /**
101
+ * 机型
102
+ */
103
+ Model: string;
104
+ /**
105
+ * 网络类型
106
+ */
107
+ NetworkType: string;
108
+ /**
109
+ * 应用包名
110
+ */
111
+ PackageName: string;
112
+ /**
113
+ * 平台(2-Android,3-iOS,4-H5,5-微信小程序)
114
+ */
115
+ Platform: string;
116
+ /**
117
+ * 系统版本
118
+ */
119
+ SystemVersion: string;
120
+ /**
121
+ * SDK版本号
122
+ */
123
+ SdkBuildNo: string;
124
+ /**
125
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
126
+ */
127
+ RequestId?: string;
128
+ }
129
+ /**
130
+ * DescribeFraudBase返回参数结构体
131
+ */
132
+ export interface DescribeFraudBaseResponse {
133
+ /**
134
+ * App版本信息
135
+ */
136
+ AppVersion: string;
137
+ /**
138
+ * 品牌
139
+ */
140
+ Brand: string;
141
+ /**
142
+ * 客户端IP
143
+ */
144
+ ClientIp: string;
145
+ /**
146
+ * 机型
147
+ */
148
+ Model: string;
149
+ /**
150
+ * 网络类型
151
+ */
152
+ NetworkType: string;
153
+ /**
154
+ * 应用包名
155
+ */
156
+ PackageName: string;
157
+ /**
158
+ * 平台(2-Android,3-iOS,4-H5,5-微信小程序)
159
+ */
160
+ Platform: string;
161
+ /**
162
+ * 系统版本
163
+ */
164
+ SystemVersion: string;
165
+ /**
166
+ * SDK版本号
167
+ */
168
+ SdkBuildNo: string;
169
+ /**
170
+ * 实时风险信息
171
+ */
172
+ RiskInfos: Array<RiskInfo>;
173
+ /**
174
+ * 离线风险信息
175
+ */
176
+ HistRiskInfos: Array<RiskInfo>;
177
+ /**
178
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
179
+ */
180
+ RequestId?: string;
181
+ }
182
+ /**
183
+ * DescribeTrustedID请求参数结构体
184
+ */
185
+ export interface DescribeTrustedIDRequest {
186
+ /**
187
+ * 客户端通过SDK获取的设备Token
188
+ */
189
+ DeviceToken: string;
190
+ }
191
+ /**
192
+ * DescribeFraudPremium请求参数结构体
193
+ */
194
+ export interface DescribeFraudPremiumRequest {
195
+ /**
196
+ * 客户端通过SDK获取的设备Token
197
+ */
198
+ DeviceToken: string;
199
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7419,7 +7419,7 @@ export interface AutoUpgradeClusterLevel {
7419
7419
  */
7420
7420
  export interface CreateEKSClusterRequest {
7421
7421
  /**
7422
- * k8s版本号。可为1.14.4, 1.12.8
7422
+ * k8s版本号。可为1.18.4 1.20.6
7423
7423
  */
7424
7424
  K8SVersion: string;
7425
7425
  /**
@@ -7439,7 +7439,7 @@ export interface CreateEKSClusterRequest {
7439
7439
  */
7440
7440
  ClusterDesc?: string;
7441
7441
  /**
7442
- * Serivce 所在子网Id
7442
+ * Service CIDR 或 Serivce 所在子网Id
7443
7443
  */
7444
7444
  ServiceSubnetId?: string;
7445
7445
  /**
@@ -9249,7 +9249,7 @@ export interface Address {
9249
9249
  */
9250
9250
  IsEipDirectConnection: boolean;
9251
9251
  /**
9252
- * EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP。其中:CalcIP 表示设备 IPWanIP 表示普通公网 IPEIP 表示弹性公网 IPAnycastEip 表示加速 EIP。
9252
+ * EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP、高防EIP。其中:`CalcIP` 表示设备 IP,`WanIP` 表示普通公网 IP,`EIP` 表示弹性公网 IP,`AnycastEip` 表示加速 EIP,`AntiDDoSEIP`表示高防EIP
9253
9253
  */
9254
9254
  AddressType: string;
9255
9255
  /**
@@ -0,0 +1,41 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.bpaas.v20181217.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("bpaas.v20181217.test.js", function () {
20
+
21
+ it("bpaas.v20181217.GetBpaasApproveDetail", async function () {
22
+ try {
23
+ const data = await client.GetBpaasApproveDetail({})
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("bpaas.v20181217.OutApproveBpaasApplication", async function () {
32
+ try {
33
+ const data = await client.OutApproveBpaasApplication({})
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
+ })
@@ -0,0 +1,91 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.lcic.v20220817.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("lcic.v20220817.test.js", function () {
20
+
21
+ it("lcic.v20220817.DescribeUser", async function () {
22
+ try {
23
+ const data = await client.DescribeUser({})
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("lcic.v20220817.LoginOriginId", async function () {
32
+ try {
33
+ const data = await client.LoginOriginId({})
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("lcic.v20220817.RegisterUser", async function () {
42
+ try {
43
+ const data = await client.RegisterUser({})
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("lcic.v20220817.LoginUser", async function () {
52
+ try {
53
+ const data = await client.LoginUser({})
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("lcic.v20220817.CreateSupervisor", async function () {
62
+ try {
63
+ const data = await client.CreateSupervisor({})
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("lcic.v20220817.DescribeRoom", async function () {
72
+ try {
73
+ const data = await client.DescribeRoom({})
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("lcic.v20220817.CreateRoom", async function () {
82
+ try {
83
+ const data = await client.CreateRoom({})
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
+ })
@@ -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
+ })