tencentcloud-sdk-nodejs 4.0.757 → 4.0.758
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 +109 -0
- package/README.md +3 -2
- package/SERVICE_CHANGELOG.md +135 -60
- package/package.json +1 -1
- package/products.md +9 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +2 -2
- package/src/services/eb/v20210416/eb_models.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +9 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -3
- package/src/services/index.ts +1 -0
- package/src/services/ioa/index.ts +5 -0
- package/src/services/ioa/v20220601/index.ts +6 -0
- package/src/services/ioa/v20220601/ioa_client.ts +49 -0
- package/src/services/ioa/v20220601/ioa_models.ts +213 -0
- package/src/services/lcic/v20220817/lcic_models.ts +8 -0
- package/src/services/teo/v20220901/teo_models.ts +27 -16
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/src/services/tsf/v20180326/tsf_models.ts +5 -5
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +2 -2
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -3
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ioa/index.d.ts +6 -0
- package/tencentcloud/services/ioa/index.js +7 -0
- package/tencentcloud/services/ioa/v20220601/index.d.ts +6 -0
- package/tencentcloud/services/ioa/v20220601/index.js +9 -0
- package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +14 -0
- package/tencentcloud/services/ioa/v20220601/ioa_client.js +37 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +189 -0
- package/tencentcloud/services/ioa/v20220601/ioa_models.js +18 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +27 -16
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -5
- package/test/ioa.v20220601.test.js +31 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
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
|
+
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
|
+
import { ClientConfig } from "../../../common/interface"
|
|
20
|
+
import {
|
|
21
|
+
Sort,
|
|
22
|
+
DescribeDevicesPageRsp,
|
|
23
|
+
FilterGroup,
|
|
24
|
+
DescribeDevicesResponse,
|
|
25
|
+
Filter,
|
|
26
|
+
DescribeDevicesRequest,
|
|
27
|
+
Paging,
|
|
28
|
+
Condition,
|
|
29
|
+
} from "./ioa_models"
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* ioa client
|
|
33
|
+
* @class
|
|
34
|
+
*/
|
|
35
|
+
export class Client extends AbstractClient {
|
|
36
|
+
constructor(clientConfig: ClientConfig) {
|
|
37
|
+
super("ioa.tencentcloudapi.com", "2022-06-01", clientConfig)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
|
|
42
|
+
*/
|
|
43
|
+
async DescribeDevices(
|
|
44
|
+
req: DescribeDevicesRequest,
|
|
45
|
+
cb?: (error: string, rep: DescribeDevicesResponse) => void
|
|
46
|
+
): Promise<DescribeDevicesResponse> {
|
|
47
|
+
return this.request("DescribeDevices", req, cb)
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Sort 排序字段
|
|
20
|
+
*/
|
|
21
|
+
export interface Sort {
|
|
22
|
+
/**
|
|
23
|
+
* 排序字段
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
Field?: string
|
|
27
|
+
/**
|
|
28
|
+
* 排序方式
|
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
30
|
+
*/
|
|
31
|
+
Order?: string
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 分页的data数据
|
|
36
|
+
*/
|
|
37
|
+
export interface DescribeDevicesPageRsp {
|
|
38
|
+
/**
|
|
39
|
+
* 数据分页信息
|
|
40
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
41
|
+
*/
|
|
42
|
+
Paging?: Paging
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* FilterGroups 条件过滤组
|
|
47
|
+
*/
|
|
48
|
+
export interface FilterGroup {
|
|
49
|
+
/**
|
|
50
|
+
* Filters 条件过滤
|
|
51
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
52
|
+
*/
|
|
53
|
+
Filters?: Array<Filter>
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* DescribeDevices返回参数结构体
|
|
58
|
+
*/
|
|
59
|
+
export interface DescribeDevicesResponse {
|
|
60
|
+
/**
|
|
61
|
+
* 分页的data数据
|
|
62
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
63
|
+
*/
|
|
64
|
+
Data?: DescribeDevicesPageRsp
|
|
65
|
+
/**
|
|
66
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
67
|
+
*/
|
|
68
|
+
RequestId?: string
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Filters 条件过滤
|
|
73
|
+
*/
|
|
74
|
+
export interface Filter {
|
|
75
|
+
/**
|
|
76
|
+
* 过滤字段
|
|
77
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
78
|
+
*/
|
|
79
|
+
Field?: string
|
|
80
|
+
/**
|
|
81
|
+
* 过滤方式 eq:等于,net:不等于,like,nlike,gt:大于,lt:小于,egt:大于等于,elt:小于等于
|
|
82
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
83
|
+
*/
|
|
84
|
+
Operator?: string
|
|
85
|
+
/**
|
|
86
|
+
* 过滤条件
|
|
87
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
88
|
+
*/
|
|
89
|
+
Values?: Array<string>
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* DescribeDevices请求参数结构体
|
|
94
|
+
*/
|
|
95
|
+
export interface DescribeDevicesRequest {
|
|
96
|
+
/**
|
|
97
|
+
* 过滤条件<br>
|
|
98
|
+
<li>Ip - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照Ip进行过滤。</li>
|
|
99
|
+
<li>MacAddr - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照mac地址进行过滤。</li>
|
|
100
|
+
<li>IoaUserName - String - 是否必填:否 - 操作符: eq - 排序支持:否- 按照ioa用户名进行过滤。</li>
|
|
101
|
+
分页参数<br>
|
|
102
|
+
<li>PageNum 从1开始,小于等于0时使用默认参数。</li>
|
|
103
|
+
<li>PageSize 最大值5000,最好不超过100。</li>
|
|
104
|
+
*/
|
|
105
|
+
Condition?: Condition
|
|
106
|
+
/**
|
|
107
|
+
* 私有化默认分组id-名称-操作系统
|
|
108
|
+
1 全网终端 Win
|
|
109
|
+
2 未分组终端 Win
|
|
110
|
+
30000000 服务器 Win
|
|
111
|
+
40000101 全网终端 Linux
|
|
112
|
+
40000102 未分组终端 Linux
|
|
113
|
+
40000103 服务器 Linux
|
|
114
|
+
40000201 全网终端 macOS
|
|
115
|
+
40000202 未分组终端 macOS
|
|
116
|
+
40000203 服务器 macOS
|
|
117
|
+
40000401 全网终端 Android
|
|
118
|
+
40000402 未分组终端 Android
|
|
119
|
+
40000501 全网终端 iOS
|
|
120
|
+
40000502 未分组终端 iOS
|
|
121
|
+
*/
|
|
122
|
+
GroupId?: number
|
|
123
|
+
/**
|
|
124
|
+
* 系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0)
|
|
125
|
+
*/
|
|
126
|
+
OsType?: number
|
|
127
|
+
/**
|
|
128
|
+
* 在线状态 2 在线 0,1 离线
|
|
129
|
+
*/
|
|
130
|
+
OnlineStatus?: number
|
|
131
|
+
/**
|
|
132
|
+
* 过滤条件--兼容旧接口,参数同Condition
|
|
133
|
+
*/
|
|
134
|
+
Filters?: Array<Filter>
|
|
135
|
+
/**
|
|
136
|
+
* 排序字段--兼容旧接口,参数同Condition
|
|
137
|
+
*/
|
|
138
|
+
Sort?: Sort
|
|
139
|
+
/**
|
|
140
|
+
* 获取第几页--兼容旧接口,参数同Condition(只支持32位)
|
|
141
|
+
*/
|
|
142
|
+
PageNum?: number
|
|
143
|
+
/**
|
|
144
|
+
* 每页获取数--兼容旧接口,参数同Condition(只支持32位)
|
|
145
|
+
*/
|
|
146
|
+
PageSize?: number
|
|
147
|
+
/**
|
|
148
|
+
* 授权状态 4未授权 5已授权
|
|
149
|
+
*/
|
|
150
|
+
Status?: number
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* 数据分页信息
|
|
155
|
+
*/
|
|
156
|
+
export interface Paging {
|
|
157
|
+
/**
|
|
158
|
+
* 每页条数(只支持32位)
|
|
159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
160
|
+
*/
|
|
161
|
+
PageSize?: number
|
|
162
|
+
/**
|
|
163
|
+
* 页码(只支持32位)
|
|
164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
165
|
+
*/
|
|
166
|
+
PageNum?: number
|
|
167
|
+
/**
|
|
168
|
+
* 总页数(只支持32位)
|
|
169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
170
|
+
*/
|
|
171
|
+
PageCount?: number
|
|
172
|
+
/**
|
|
173
|
+
* 记录总数
|
|
174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
175
|
+
*/
|
|
176
|
+
Total?: number
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* - [ ] 过滤条件<br>
|
|
181
|
+
|
|
182
|
+
<li>Name - String - 是否必填:否 - 操作符: ilike - 排序支持:否- 根据分组名称进行查询。</li>
|
|
183
|
+
分页参数<br>
|
|
184
|
+
<li>PageNum 从1开始,小于等于0时使用默认参数。</li>
|
|
185
|
+
<li>PageSize 最大值5000,最好不超过100。</li>
|
|
186
|
+
*/
|
|
187
|
+
export interface Condition {
|
|
188
|
+
/**
|
|
189
|
+
* Filters 条件过滤
|
|
190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
191
|
+
*/
|
|
192
|
+
Filters?: Array<Filter>
|
|
193
|
+
/**
|
|
194
|
+
* FilterGroups 条件过滤组
|
|
195
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
196
|
+
*/
|
|
197
|
+
FilterGroups?: Array<FilterGroup>
|
|
198
|
+
/**
|
|
199
|
+
* Sort 排序字段
|
|
200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
201
|
+
*/
|
|
202
|
+
Sort?: Sort
|
|
203
|
+
/**
|
|
204
|
+
* PageSize 每页获取数(只支持32位)
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
PageSize?: number
|
|
208
|
+
/**
|
|
209
|
+
* PageNum 获取第几页(只支持32位)
|
|
210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
211
|
+
*/
|
|
212
|
+
PageNum?: number
|
|
213
|
+
}
|
|
@@ -141,6 +141,10 @@ video 纯视频
|
|
|
141
141
|
* 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
|
|
142
142
|
*/
|
|
143
143
|
EnableAutoStart?: number
|
|
144
|
+
/**
|
|
145
|
+
* 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
|
|
146
|
+
*/
|
|
147
|
+
RecordBackground?: string
|
|
144
148
|
}
|
|
145
149
|
|
|
146
150
|
/**
|
|
@@ -2129,6 +2133,10 @@ video 纯视频
|
|
|
2129
2133
|
* 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
|
|
2130
2134
|
*/
|
|
2131
2135
|
EnableAutoStart?: number
|
|
2136
|
+
/**
|
|
2137
|
+
* 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
|
|
2138
|
+
*/
|
|
2139
|
+
RecordBackground?: string
|
|
2132
2140
|
/**
|
|
2133
2141
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2134
2142
|
*/
|
|
@@ -1172,41 +1172,52 @@ export interface OriginInfo {
|
|
|
1172
1172
|
/**
|
|
1173
1173
|
* 源站类型,取值有:
|
|
1174
1174
|
<li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li>
|
|
1175
|
-
<li>COS
|
|
1175
|
+
<li>COS:腾讯云 COS 对象存储源站;</li>
|
|
1176
|
+
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
|
1176
1177
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
|
1177
|
-
<li>
|
|
1178
|
-
<li>
|
|
1179
|
-
<li>
|
|
1178
|
+
<li>VODEO:云点播(混合云版);</li>
|
|
1179
|
+
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
|
1180
|
+
<li>LB:负载均衡,当前仅白名单开放。</li>
|
|
1180
1181
|
*/
|
|
1181
1182
|
OriginType: string
|
|
1182
1183
|
/**
|
|
1183
|
-
*
|
|
1184
|
+
* 源站地址,根据 OriginType 的取值分为以下情况:
|
|
1185
|
+
<li>当 OriginType = IP_DOMAIN 时,该参数请填写 IPv4、IPv6 地址或域名;</li>
|
|
1186
|
+
<li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
|
|
1187
|
+
<li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
|
|
1188
|
+
<li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
|
|
1189
|
+
<li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数填写 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数请填写对应存储桶域名;</li>
|
|
1190
|
+
<li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
|
|
1191
|
+
<li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
|
|
1184
1192
|
*/
|
|
1185
1193
|
Origin: string
|
|
1186
1194
|
/**
|
|
1187
|
-
* 备用源站组 ID
|
|
1195
|
+
* 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 时生效,该字段为旧版能力,调用后控制台无法进行配置修改,如需使用请提交工单咨询。
|
|
1188
1196
|
*/
|
|
1189
1197
|
BackupOrigin?: string
|
|
1190
1198
|
/**
|
|
1191
|
-
*
|
|
1199
|
+
* 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有:
|
|
1192
1200
|
<li>on:使用私有鉴权;</li>
|
|
1193
|
-
<li>off:不使用私有鉴权。</li
|
|
1201
|
+
<li>off:不使用私有鉴权。</li>
|
|
1202
|
+
不填写时,默认值为off。
|
|
1194
1203
|
*/
|
|
1195
1204
|
PrivateAccess?: string
|
|
1196
1205
|
/**
|
|
1197
|
-
*
|
|
1206
|
+
* 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。
|
|
1198
1207
|
*/
|
|
1199
1208
|
PrivateParameters?: Array<PrivateParameter>
|
|
1200
1209
|
/**
|
|
1201
|
-
*
|
|
1210
|
+
* VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。
|
|
1202
1211
|
*/
|
|
1203
1212
|
VodeoSubAppId?: number
|
|
1204
1213
|
/**
|
|
1205
|
-
*
|
|
1214
|
+
* VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
|
|
1215
|
+
<li>All:当前应用下所有存储桶;</li>
|
|
1216
|
+
<li>Bucket:指定的某一个存储桶。</li>
|
|
1206
1217
|
*/
|
|
1207
1218
|
VodeoDistributionRange?: string
|
|
1208
1219
|
/**
|
|
1209
|
-
*
|
|
1220
|
+
* VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
|
|
1210
1221
|
*/
|
|
1211
1222
|
VodeoBucketId?: string
|
|
1212
1223
|
}
|
|
@@ -7063,14 +7074,14 @@ export interface Resource {
|
|
|
7063
7074
|
}
|
|
7064
7075
|
|
|
7065
7076
|
/**
|
|
7066
|
-
*
|
|
7077
|
+
* 对象存储源站私有鉴权参数
|
|
7067
7078
|
*/
|
|
7068
7079
|
export interface PrivateParameter {
|
|
7069
7080
|
/**
|
|
7070
7081
|
* 私有鉴权参数名称,取值有:
|
|
7071
|
-
<li>AccessKeyId:鉴权参数Access Key ID;</li>
|
|
7072
|
-
<li>SecretAccessKey:鉴权参数Secret Access Key;</li>
|
|
7073
|
-
<li>SignatureVersion:鉴权版本,v2或者v4;</li>
|
|
7082
|
+
<li>AccessKeyId:鉴权参数 Access Key ID;</li>
|
|
7083
|
+
<li>SecretAccessKey:鉴权参数 Secret Access Key;</li>
|
|
7084
|
+
<li>SignatureVersion:鉴权版本,v2 或者 v4;</li>
|
|
7074
7085
|
<li>Region:存储桶地域。</li>
|
|
7075
7086
|
*/
|
|
7076
7087
|
Name: string
|
|
@@ -3781,7 +3781,7 @@ export interface DescribeSimpleApplicationsRequest {
|
|
|
3781
3781
|
*/
|
|
3782
3782
|
export interface DescribeDeliveryConfigByGroupIdResponse {
|
|
3783
3783
|
/**
|
|
3784
|
-
* 投递
|
|
3784
|
+
* 投递kafka配置项
|
|
3785
3785
|
*/
|
|
3786
3786
|
Result?: SimpleKafkaDeliveryConfig
|
|
3787
3787
|
/**
|
|
@@ -10871,11 +10871,11 @@ export interface DescribeInvocationMetricScatterPlotRequest {
|
|
|
10871
10871
|
*/
|
|
10872
10872
|
Period?: number
|
|
10873
10873
|
/**
|
|
10874
|
-
*
|
|
10874
|
+
* 查询指标维度, 不能为空。可选 NamespaceId, GroupId, InstanceId, OperationName, ServiceName, PeerServiceName, PeerOperationName
|
|
10875
10875
|
*/
|
|
10876
10876
|
MetricDimensions?: Array<MetricDimension>
|
|
10877
10877
|
/**
|
|
10878
|
-
*
|
|
10878
|
+
* 查询指标名, 不能为空。仅支持 range_count_duratioin 为 key 下的 sum 方法
|
|
10879
10879
|
*/
|
|
10880
10880
|
Metrics?: Array<Metric>
|
|
10881
10881
|
/**
|
|
@@ -12773,10 +12773,10 @@ export interface DescribeUnitApiUseDetailResponse {
|
|
|
12773
12773
|
*/
|
|
12774
12774
|
export interface DescribeInvocationMetricScatterPlotResponse {
|
|
12775
12775
|
/**
|
|
12776
|
-
*
|
|
12776
|
+
* 多值时间统计指标
|
|
12777
12777
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12778
12778
|
*/
|
|
12779
|
-
Result
|
|
12779
|
+
Result?: InvocationMetricScatterPlot
|
|
12780
12780
|
/**
|
|
12781
12781
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12782
12782
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.758";
|
|
@@ -8,7 +8,7 @@ import { DescribeInstancesRequest, DescribeInstanceNodesResponse, DescribeInstan
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 获取集群列表
|
|
12
12
|
*/
|
|
13
13
|
DescribeInstances(req: DescribeInstancesRequest, cb?: (error: string, rep: DescribeInstancesResponse) => void): Promise<DescribeInstancesResponse>;
|
|
14
14
|
/**
|
|
@@ -390,11 +390,11 @@ export interface DescribeInstancesResponse {
|
|
|
390
390
|
/**
|
|
391
391
|
* 实例总数
|
|
392
392
|
*/
|
|
393
|
-
TotalCount
|
|
393
|
+
TotalCount?: number;
|
|
394
394
|
/**
|
|
395
395
|
* 实例数组
|
|
396
396
|
*/
|
|
397
|
-
InstancesList
|
|
397
|
+
InstancesList?: Array<InstanceInfo>;
|
|
398
398
|
/**
|
|
399
399
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
400
400
|
*/
|
|
@@ -487,7 +487,7 @@ export interface CreateConnectionResponse {
|
|
|
487
487
|
/**
|
|
488
488
|
* 连接器ID
|
|
489
489
|
*/
|
|
490
|
-
ConnectionId
|
|
490
|
+
ConnectionId?: string;
|
|
491
491
|
/**
|
|
492
492
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
493
493
|
*/
|
|
@@ -1641,7 +1641,7 @@ export interface CreateConnectionRequest {
|
|
|
1641
1641
|
*/
|
|
1642
1642
|
Enable?: boolean;
|
|
1643
1643
|
/**
|
|
1644
|
-
*
|
|
1644
|
+
* 连接器类型,目前支持以下类型:apigw/ckafka/dts/tdmq
|
|
1645
1645
|
*/
|
|
1646
1646
|
Type?: string;
|
|
1647
1647
|
}
|
|
@@ -129,6 +129,7 @@ export interface CreateSealRequest {
|
|
|
129
129
|
<li>**CONTRACT**: 合同专用章;</li>
|
|
130
130
|
<li>**FINANCE**: 财务专用章;</li>
|
|
131
131
|
<li>**PERSONNEL**: 人事专用章</li>
|
|
132
|
+
<li>**INVOICE**: 发票专用章</li>
|
|
132
133
|
</ul>
|
|
133
134
|
注: `同企业下只能有一个公章, 重复创建会报错`
|
|
134
135
|
*/
|
|
@@ -192,9 +193,16 @@ export interface CreateSealRequest {
|
|
|
192
193
|
* 印章尺寸取值描述, 可以选择的尺寸如下:
|
|
193
194
|
<ul><li> **42_42**: 圆形企业公章直径42mm, 当SealStyle是圆形的时候才有效</li>
|
|
194
195
|
<li> **40_40**: 圆形企业印章直径40mm, 当SealStyle是圆形的时候才有效</li>
|
|
195
|
-
<li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li
|
|
196
|
+
<li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li>
|
|
197
|
+
<li> **40_30**: 椭圆形印章40mm x 30mm, 当SealStyle是椭圆的时候才有效</li></ul>
|
|
196
198
|
*/
|
|
197
199
|
SealSize?: string;
|
|
200
|
+
/**
|
|
201
|
+
* 企业税号
|
|
202
|
+
注: `1.印章类型SealType是INVOICE类型时,此参数才会生效`
|
|
203
|
+
`2.印章类型SealType是INVOICE类型,且该字段没有传入值或传入空时,会取该企业对应的统一社会信用代码作为默认的企业税号`
|
|
204
|
+
*/
|
|
205
|
+
TaxIdentifyCode?: string;
|
|
198
206
|
}
|
|
199
207
|
/**
|
|
200
208
|
* ModifyIntegrationDepartment返回参数结构体
|
|
@@ -1112,7 +1112,7 @@ export interface ReleasedApprover {
|
|
|
1112
1112
|
export interface CreateConsoleLoginUrlResponse {
|
|
1113
1113
|
/**
|
|
1114
1114
|
* 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
|
|
1115
|
-
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> </tbody> </table>
|
|
1115
|
+
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/PC_SHORT_URL</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC/CHANNEL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/APP</td> <td>一年</td> </tr> </tbody> </table>
|
|
1116
1116
|
注:
|
|
1117
1117
|
`1.链接仅单次有效,每次登录需要需要重新创建新的链接`
|
|
1118
1118
|
`2.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
|
|
@@ -3049,9 +3049,9 @@ export interface CreateConsoleLoginUrlRequest {
|
|
|
3049
3049
|
MenuStatus?: string;
|
|
3050
3050
|
/**
|
|
3051
3051
|
* 生成链接的类型:
|
|
3052
|
-
生成链接的类型
|
|
3053
3052
|
<ul><li>**PC**:(默认)web控制台链接, 需要在PC浏览器中打开</li>
|
|
3054
|
-
<li>**CHANNEL**:H5跳转到电子签小程序链接,
|
|
3053
|
+
<li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
3054
|
+
<li>**SHORT_URL**:H5跳转到电子签小程序链接的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
3055
3055
|
<li>**APP**:第三方APP或小程序跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li></ul>
|
|
3056
3056
|
*/
|
|
3057
3057
|
Endpoint?: string;
|
|
@@ -6729,6 +6729,7 @@ export interface CreateSealByImageRequest {
|
|
|
6729
6729
|
<li>**CONTRACT**: 合同专用章;</li>
|
|
6730
6730
|
<li>**FINANCE**: 财务专用章;</li>
|
|
6731
6731
|
<li>**PERSONNEL**: 人事专用章</li>
|
|
6732
|
+
<li>**INVOICE**: 发票专用章</li>
|
|
6732
6733
|
</ul>
|
|
6733
6734
|
注: `同企业下只能有一个公章, 重复创建会报错`
|
|
6734
6735
|
*/
|
|
@@ -6754,6 +6755,12 @@ export interface CreateSealByImageRequest {
|
|
|
6754
6755
|
<li> **45_30**: 椭圆形印章45mm x 30mm, 当SealStyle是椭圆的时候才有效</li></ul>
|
|
6755
6756
|
*/
|
|
6756
6757
|
SealSize?: string;
|
|
6758
|
+
/**
|
|
6759
|
+
* 企业税号
|
|
6760
|
+
注: `1.印章类型SealType是INVOICE类型时,此参数才会生效`
|
|
6761
|
+
`2.印章类型SealType是INVOICE类型,且该字段没有传入值或传入空时,会取该企业对应的统一社会信用代码作为默认的企业税号`
|
|
6762
|
+
*/
|
|
6763
|
+
TaxIdentifyCode?: string;
|
|
6757
6764
|
}
|
|
6758
6765
|
/**
|
|
6759
6766
|
* ChannelCreateFlowApprovers请求参数结构体
|
|
@@ -118,6 +118,7 @@ export { ie } from "./ie";
|
|
|
118
118
|
export { iecp } from "./iecp";
|
|
119
119
|
export { iir } from "./iir";
|
|
120
120
|
export { ims } from "./ims";
|
|
121
|
+
export { ioa } from "./ioa";
|
|
121
122
|
export { iot } from "./iot";
|
|
122
123
|
export { iotcloud } from "./iotcloud";
|
|
123
124
|
export { iotexplorer } from "./iotexplorer";
|
|
@@ -240,6 +240,8 @@ var iir_1 = require("./iir");
|
|
|
240
240
|
Object.defineProperty(exports, "iir", { enumerable: true, get: function () { return iir_1.iir; } });
|
|
241
241
|
var ims_1 = require("./ims");
|
|
242
242
|
Object.defineProperty(exports, "ims", { enumerable: true, get: function () { return ims_1.ims; } });
|
|
243
|
+
var ioa_1 = require("./ioa");
|
|
244
|
+
Object.defineProperty(exports, "ioa", { enumerable: true, get: function () { return ioa_1.ioa; } });
|
|
243
245
|
var iot_1 = require("./iot");
|
|
244
246
|
Object.defineProperty(exports, "iot", { enumerable: true, get: function () { return iot_1.iot; } });
|
|
245
247
|
var iotcloud_1 = require("./iotcloud");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20220601 = void 0;
|
|
4
|
+
const Models = require("./ioa_models");
|
|
5
|
+
const ioa_client_1 = require("./ioa_client");
|
|
6
|
+
exports.v20220601 = {
|
|
7
|
+
Client: ioa_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeDevicesResponse, DescribeDevicesRequest } from "./ioa_models";
|
|
4
|
+
/**
|
|
5
|
+
* ioa client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
|
|
12
|
+
*/
|
|
13
|
+
DescribeDevices(req: DescribeDevicesRequest, cb?: (error: string, rep: DescribeDevicesResponse) => void): Promise<DescribeDevicesResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* ioa client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("ioa.tencentcloudapi.com", "2022-06-01", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 查询满足条件的终端数据详情,私有化调用path为:/capi/Assets/Device/DescribeDevices
|
|
32
|
+
*/
|
|
33
|
+
async DescribeDevices(req, cb) {
|
|
34
|
+
return this.request("DescribeDevices", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|