tencentcloud-sdk-nodejs 4.0.686 → 4.0.687
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 +197 -0
- package/SERVICE_CHANGELOG.md +325 -396
- package/package.json +1 -1
- package/products.md +18 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ams/v20201229/ams_client.ts +4 -3
- package/src/services/ams/v20201229/ams_models.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +81 -28
- package/src/services/cdb/v20170320/cdb_models.ts +3 -3
- package/src/services/cvm/v20170312/cvm_models.ts +6 -1
- package/src/services/dlc/v20210125/dlc_client.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +1 -1
- package/src/services/ecc/v20181213/ecc_client.ts +1 -0
- package/src/services/ecc/v20181213/ecc_models.ts +35 -0
- package/src/services/ess/v20201111/ess_client.ts +6 -22
- package/src/services/ess/v20201111/ess_models.ts +96 -114
- package/src/services/essbasic/v20210526/essbasic_models.ts +45 -3
- package/src/services/index.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +5 -0
- package/src/services/mrs/v20200910/mrs_client.ts +3 -2
- package/src/services/mrs/v20200910/mrs_models.ts +2 -2
- package/src/services/ocr/v20181119/ocr_client.ts +1 -1
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +31 -19
- package/src/services/teo/v20220901/teo_models.ts +11 -10
- package/src/services/vod/v20180717/vod_client.ts +0 -12
- package/src/services/vod/v20180717/vod_models.ts +0 -24
- package/src/services/waf/v20180125/waf_client.ts +12 -0
- package/src/services/waf/v20180125/waf_models.ts +32 -0
- package/src/services/weilingwith/index.ts +5 -0
- package/src/services/weilingwith/v20230427/index.ts +6 -0
- package/src/services/weilingwith/v20230427/weilingwith_client.ts +93 -0
- package/src/services/weilingwith/v20230427/weilingwith_models.ts +197 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ams/v20201229/ams_client.d.ts +4 -3
- package/tencentcloud/services/ams/v20201229/ams_client.js +4 -3
- package/tencentcloud/services/ams/v20201229/ams_models.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +81 -28
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +3 -3
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1 -1
- package/tencentcloud/services/ecc/v20181213/ecc_models.d.ts +34 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -13
- package/tencentcloud/services/ess/v20201111/ess_client.js +4 -14
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +96 -112
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +45 -3
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +5 -0
- package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +2 -1
- package/tencentcloud/services/mrs/v20200910/mrs_client.js +2 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +2 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +31 -19
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +11 -10
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -5
- package/tencentcloud/services/vod/v20180717/vod_client.js +0 -6
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +0 -22
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +30 -0
- package/tencentcloud/services/weilingwith/index.d.ts +6 -0
- package/tencentcloud/services/weilingwith/index.js +7 -0
- package/tencentcloud/services/weilingwith/v20230427/index.d.ts +6 -0
- package/tencentcloud/services/weilingwith/v20230427/index.js +9 -0
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.d.ts +30 -0
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.js +61 -0
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +169 -0
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.js +18 -0
- package/test/ess.v20201111.test.js +0 -10
- package/test/vod.v20180717.test.js +0 -10
- package/test/waf.v20180125.test.js +10 -0
- package/test/weilingwith.v20230427.test.js +71 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 部门用户
|
|
3
|
+
*/
|
|
4
|
+
export interface SsoTeamUser {
|
|
5
|
+
/**
|
|
6
|
+
* 用户ID
|
|
7
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8
|
+
*/
|
|
9
|
+
UserId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* 用户名称
|
|
12
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13
|
+
*/
|
|
14
|
+
RealName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 用户类型
|
|
17
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18
|
+
*/
|
|
19
|
+
UserType?: string;
|
|
20
|
+
/**
|
|
21
|
+
* 所属租户ID
|
|
22
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23
|
+
*/
|
|
24
|
+
TenantId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 邮箱
|
|
27
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
28
|
+
*/
|
|
29
|
+
Email?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 电话
|
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33
|
+
*/
|
|
34
|
+
Phone?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 用户状态
|
|
37
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
*/
|
|
39
|
+
Status?: number;
|
|
40
|
+
/**
|
|
41
|
+
* 创建时间
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
CreateAt?: number;
|
|
45
|
+
/**
|
|
46
|
+
* 部门ID
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
DepartmentId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* 部门名称
|
|
52
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
|
+
*/
|
|
54
|
+
DepartmentName?: string;
|
|
55
|
+
/**
|
|
56
|
+
* 是否关联权限
|
|
57
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
58
|
+
*/
|
|
59
|
+
LinkFilter?: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 空间用户结果
|
|
63
|
+
*/
|
|
64
|
+
export interface SsoTeamUserResult {
|
|
65
|
+
/**
|
|
66
|
+
* 总数
|
|
67
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
68
|
+
*/
|
|
69
|
+
Total?: number;
|
|
70
|
+
/**
|
|
71
|
+
* 部门用户列表
|
|
72
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
73
|
+
*/
|
|
74
|
+
Users?: Array<SsoTeamUser>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* DescribeWorkspaceUserList返回参数结构体
|
|
78
|
+
*/
|
|
79
|
+
export interface DescribeWorkspaceUserListResponse {
|
|
80
|
+
/**
|
|
81
|
+
* 返回数据
|
|
82
|
+
*/
|
|
83
|
+
Result?: SsoTeamUserResult;
|
|
84
|
+
/**
|
|
85
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
86
|
+
*/
|
|
87
|
+
RequestId?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* DescribeWorkspaceUserList请求参数结构体
|
|
91
|
+
*/
|
|
92
|
+
export interface DescribeWorkspaceUserListRequest {
|
|
93
|
+
/**
|
|
94
|
+
* 翻页页码
|
|
95
|
+
*/
|
|
96
|
+
Offset: number;
|
|
97
|
+
/**
|
|
98
|
+
* 翻页大小
|
|
99
|
+
*/
|
|
100
|
+
Limit: number;
|
|
101
|
+
/**
|
|
102
|
+
* 工作空间ID
|
|
103
|
+
*/
|
|
104
|
+
WorkspaceId: string;
|
|
105
|
+
/**
|
|
106
|
+
* token
|
|
107
|
+
*/
|
|
108
|
+
ApplicationToken: string;
|
|
109
|
+
/**
|
|
110
|
+
* 租户ID
|
|
111
|
+
*/
|
|
112
|
+
TenantId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* 更新时间戳,单位秒
|
|
115
|
+
*/
|
|
116
|
+
UpdateAt?: number;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* DescribeInterfaceList请求参数结构体
|
|
120
|
+
*/
|
|
121
|
+
export declare type DescribeInterfaceListRequest = null;
|
|
122
|
+
/**
|
|
123
|
+
* DescribeApplicationList返回参数结构体
|
|
124
|
+
*/
|
|
125
|
+
export interface DescribeApplicationListResponse {
|
|
126
|
+
/**
|
|
127
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
128
|
+
*/
|
|
129
|
+
RequestId?: string;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* DescribeWorkspaceList返回参数结构体
|
|
133
|
+
*/
|
|
134
|
+
export interface DescribeWorkspaceListResponse {
|
|
135
|
+
/**
|
|
136
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
137
|
+
*/
|
|
138
|
+
RequestId?: string;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* DescribeApplicationList请求参数结构体
|
|
142
|
+
*/
|
|
143
|
+
export declare type DescribeApplicationListRequest = null;
|
|
144
|
+
/**
|
|
145
|
+
* DescribeInterfaceList返回参数结构体
|
|
146
|
+
*/
|
|
147
|
+
export interface DescribeInterfaceListResponse {
|
|
148
|
+
/**
|
|
149
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
150
|
+
*/
|
|
151
|
+
RequestId?: string;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* DescribeWorkspaceList请求参数结构体
|
|
155
|
+
*/
|
|
156
|
+
export declare type DescribeWorkspaceListRequest = null;
|
|
157
|
+
/**
|
|
158
|
+
* DescribeEdgeApplicationToken返回参数结构体
|
|
159
|
+
*/
|
|
160
|
+
export interface DescribeEdgeApplicationTokenResponse {
|
|
161
|
+
/**
|
|
162
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
163
|
+
*/
|
|
164
|
+
RequestId?: string;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* DescribeEdgeApplicationToken请求参数结构体
|
|
168
|
+
*/
|
|
169
|
+
export declare type DescribeEdgeApplicationTokenRequest = null;
|
|
@@ -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 });
|
|
@@ -318,16 +318,6 @@ it("ess.v20201111.DescribeExtendedServiceAuthInfos", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
-
it("ess.v20201111.CreateChannelSubOrganizationModifyQrCode", async function () {
|
|
322
|
-
try {
|
|
323
|
-
const data = await client.CreateChannelSubOrganizationModifyQrCode({})
|
|
324
|
-
expect(data).to.be.ok
|
|
325
|
-
} catch(error) {
|
|
326
|
-
expect(error.requestId).to.be.ok
|
|
327
|
-
expect(error.code).to.be.ok
|
|
328
|
-
}
|
|
329
|
-
})
|
|
330
|
-
|
|
331
321
|
it("ess.v20201111.UploadFiles", async function () {
|
|
332
322
|
try {
|
|
333
323
|
const data = await client.UploadFiles({})
|
|
@@ -958,16 +958,6 @@ it("vod.v20180717.ModifyHeadTailTemplate", async function () {
|
|
|
958
958
|
}
|
|
959
959
|
})
|
|
960
960
|
|
|
961
|
-
it("vod.v20180717.VerifyDomainOwnershipForConsole", async function () {
|
|
962
|
-
try {
|
|
963
|
-
const data = await client.VerifyDomainOwnershipForConsole({})
|
|
964
|
-
expect(data).to.be.ok
|
|
965
|
-
} catch(error) {
|
|
966
|
-
expect(error.requestId).to.be.ok
|
|
967
|
-
expect(error.code).to.be.ok
|
|
968
|
-
}
|
|
969
|
-
})
|
|
970
|
-
|
|
971
961
|
it("vod.v20180717.DeleteImageProcessingTemplate", async function () {
|
|
972
962
|
try {
|
|
973
963
|
const data = await client.DeleteImageProcessingTemplate({})
|
|
@@ -938,6 +938,16 @@ it("waf.v20180125.ModifyCustomWhiteRuleStatus", async function () {
|
|
|
938
938
|
}
|
|
939
939
|
})
|
|
940
940
|
|
|
941
|
+
it("waf.v20180125.DescribePorts", async function () {
|
|
942
|
+
try {
|
|
943
|
+
const data = await client.DescribePorts({})
|
|
944
|
+
expect(data).to.be.ok
|
|
945
|
+
} catch(error) {
|
|
946
|
+
expect(error.requestId).to.be.ok
|
|
947
|
+
expect(error.code).to.be.ok
|
|
948
|
+
}
|
|
949
|
+
})
|
|
950
|
+
|
|
941
951
|
it("waf.v20180125.ModifyHostMode", async function () {
|
|
942
952
|
try {
|
|
943
953
|
const data = await client.ModifyHostMode({})
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.weilingwith.v20230427.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("weilingwith.v20230427.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("weilingwith.v20230427.DescribeApplicationList", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeApplicationList({})
|
|
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("weilingwith.v20230427.DescribeInterfaceList", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeInterfaceList({})
|
|
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("weilingwith.v20230427.DescribeWorkspaceUserList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeWorkspaceUserList({})
|
|
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("weilingwith.v20230427.DescribeEdgeApplicationToken", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeEdgeApplicationToken({})
|
|
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("weilingwith.v20230427.DescribeWorkspaceList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeWorkspaceList({})
|
|
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
|
+
})
|