tencentcloud-sdk-nodejs 4.0.827 → 4.0.828
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 +131 -0
- package/SERVICE_CHANGELOG.md +157 -155
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/domain/v20180808/domain_client.ts +12 -0
- package/src/services/domain/v20180808/domain_models.ts +19 -0
- package/src/services/ess/v20201111/ess_models.ts +2 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +11 -1
- package/src/services/ioa/v20220601/ioa_models.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +4 -0
- package/src/services/mrs/v20200910/mrs_client.ts +4 -2
- package/src/services/ocr/v20181119/ocr_models.ts +5 -0
- package/src/services/omics/v20221128/omics_models.ts +14 -4
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/weilingwith/v20230427/weilingwith_client.ts +103 -13
- package/src/services/weilingwith/v20230427/weilingwith_models.ts +403 -75
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +17 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -1
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
- package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +2 -0
- package/tencentcloud/services/mrs/v20200910/mrs_client.js +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +5 -0
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +14 -4
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.d.ts +31 -3
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_client.js +45 -3
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +383 -75
- package/test/domain.v20180808.test.js +10 -0
- package/test/weilingwith.v20230427.test.js +72 -2
package/products.md
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-03-20 01:14:30 |
|
|
83
83
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2024-03-28 01:14:58 |
|
|
84
84
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2024-03-20 01:14:57 |
|
|
85
|
-
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-03
|
|
85
|
+
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2024-04-03 11:17:24 |
|
|
86
86
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2024-03-20 01:15:11 |
|
|
87
87
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
88
88
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-03-28 01:15:37 |
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
97
97
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-27 01:16:55 |
|
|
98
98
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-03-28 10:47:55 |
|
|
99
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-04-
|
|
100
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-04-
|
|
99
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-04-03 11:18:44 |
|
|
100
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-04-03 11:19:08 |
|
|
101
101
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-03-20 01:17:05 |
|
|
102
102
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-04-01 01:17:27 |
|
|
103
103
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-03-20 01:17:11 |
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-03-20 01:17:49 |
|
|
121
121
|
| iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
|
|
122
122
|
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-03-20 01:18:02 |
|
|
123
|
-
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-03
|
|
123
|
+
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-04-03 11:20:41 |
|
|
124
124
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
125
125
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-03-20 01:18:04 |
|
|
126
126
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-03-28 01:18:46 |
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-03-20 01:19:25 |
|
|
135
135
|
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-03-29 01:20:28 |
|
|
136
136
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-03-20 01:19:40 |
|
|
137
|
-
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-04-
|
|
137
|
+
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-04-03 11:22:46 |
|
|
138
138
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
139
139
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
140
140
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
|
|
@@ -147,15 +147,15 @@
|
|
|
147
147
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-03-20 01:20:31 |
|
|
148
148
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-03-20 01:20:37 |
|
|
149
149
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-04-02 01:19:24 |
|
|
150
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-03
|
|
150
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-04-03 11:24:07 |
|
|
151
151
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-04-01 01:22:02 |
|
|
152
152
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-03-20 01:21:32 |
|
|
153
153
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
154
154
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-03-20 01:21:33 |
|
|
155
155
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
156
156
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-26 01:21:37 |
|
|
157
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-03
|
|
158
|
-
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-03
|
|
157
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-04-03 11:24:26 |
|
|
158
|
+
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-04-03 11:24:43 |
|
|
159
159
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-03-20 01:22:17 |
|
|
160
160
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 |
|
|
161
161
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-03-20 01:29:00 |
|
|
225
225
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-26 01:27:42 |
|
|
226
226
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
|
|
227
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-
|
|
227
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-04-03 11:30:33 |
|
|
228
228
|
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-04-02 01:25:46 |
|
|
229
229
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-03-20 01:29:39 |
|
|
230
230
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-03-20 01:31:28 |
|
|
239
239
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
|
|
240
240
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-04-01 01:31:06 |
|
|
241
|
-
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-03
|
|
241
|
+
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-04-03 11:34:07 |
|
|
242
242
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
243
243
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 |
|
|
244
244
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.828"
|
|
@@ -90,6 +90,7 @@ import {
|
|
|
90
90
|
CreatePhoneEmailRequest,
|
|
91
91
|
PriceInfo,
|
|
92
92
|
DescribeTemplateRequest,
|
|
93
|
+
DescribeTldListRequest,
|
|
93
94
|
DescribeBatchOperationLogDetailsRequest,
|
|
94
95
|
DescribeDomainNameListResponse,
|
|
95
96
|
SyncCustomDnsHostRequest,
|
|
@@ -100,6 +101,7 @@ import {
|
|
|
100
101
|
DomainList,
|
|
101
102
|
DescribePhoneEmailListRequest,
|
|
102
103
|
DomainBaseInfo,
|
|
104
|
+
DescribeTldListResponse,
|
|
103
105
|
CreateCustomDnsHostRequest,
|
|
104
106
|
DeleteCustomDnsHostRequest,
|
|
105
107
|
CheckBatchStatusResponse,
|
|
@@ -248,6 +250,16 @@ export class Client extends AbstractClient {
|
|
|
248
250
|
return this.request("DeleteTemplate", req, cb)
|
|
249
251
|
}
|
|
250
252
|
|
|
253
|
+
/**
|
|
254
|
+
* 用于获取域名注册当前支持注册的后缀
|
|
255
|
+
*/
|
|
256
|
+
async DescribeTldList(
|
|
257
|
+
req?: DescribeTldListRequest,
|
|
258
|
+
cb?: (error: string, rep: DescribeTldListResponse) => void
|
|
259
|
+
): Promise<DescribeTldListResponse> {
|
|
260
|
+
return this.request("DescribeTldList", req, cb)
|
|
261
|
+
}
|
|
262
|
+
|
|
251
263
|
/**
|
|
252
264
|
* 检查域名是否可以注册。
|
|
253
265
|
*/
|
|
@@ -1533,6 +1533,11 @@ export interface DescribeTemplateRequest {
|
|
|
1533
1533
|
TemplateId: string
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
|
+
/**
|
|
1537
|
+
* DescribeTldList请求参数结构体
|
|
1538
|
+
*/
|
|
1539
|
+
export type DescribeTldListRequest = null
|
|
1540
|
+
|
|
1536
1541
|
/**
|
|
1537
1542
|
* DescribeBatchOperationLogDetails请求参数结构体
|
|
1538
1543
|
*/
|
|
@@ -1913,6 +1918,20 @@ false:关闭锁定
|
|
|
1913
1918
|
LockEndTime: string
|
|
1914
1919
|
}
|
|
1915
1920
|
|
|
1921
|
+
/**
|
|
1922
|
+
* DescribeTldList返回参数结构体
|
|
1923
|
+
*/
|
|
1924
|
+
export interface DescribeTldListResponse {
|
|
1925
|
+
/**
|
|
1926
|
+
* 支持的后缀列表
|
|
1927
|
+
*/
|
|
1928
|
+
List?: Array<string>
|
|
1929
|
+
/**
|
|
1930
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1931
|
+
*/
|
|
1932
|
+
RequestId?: string
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1916
1935
|
/**
|
|
1917
1936
|
* CreateCustomDnsHost请求参数结构体
|
|
1918
1937
|
*/
|
|
@@ -2211,8 +2211,9 @@ export interface CreateSchemeUrlRequest {
|
|
|
2211
2211
|
<ul><li>**false**:否, 签署完成不会自动跳转回来(默认)</li><li>**true**:是, 签署完成会自动跳转回来</li></ul>
|
|
2212
2212
|
|
|
2213
2213
|
注:
|
|
2214
|
-
1. 该参数<font color="red">只针对APP
|
|
2214
|
+
1. 该参数<font color="red">只针对APP类型(电子签小程序跳转贵方小程序)场景</font> 的签署链接有效
|
|
2215
2215
|
2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
|
|
2216
|
+
3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
|
|
2216
2217
|
*/
|
|
2217
2218
|
AutoJumpBack?: boolean
|
|
2218
2219
|
/**
|
|
@@ -4541,7 +4541,13 @@ export interface CreateSignUrlsRequest {
|
|
|
4541
4541
|
*/
|
|
4542
4542
|
OpenId?: string
|
|
4543
4543
|
/**
|
|
4544
|
-
*
|
|
4544
|
+
* 签署完成后是否自动回跳
|
|
4545
|
+
<ul><li>false:否, 签署完成不会自动跳转回来(默认)</li><li>true:是, 签署完成会自动跳转回来</li></ul>
|
|
4546
|
+
|
|
4547
|
+
注:
|
|
4548
|
+
1. 该参数<font color="red">只针对APP类型(电子签小程序跳转贵方小程序)场景</font> 的签署链接有效
|
|
4549
|
+
2. <font color="red">手机应用APP 或 微信小程序需要监控界面的返回走后序逻辑</font>, 微信小程序的文档可以参考[这个](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onShow-Object-object)
|
|
4550
|
+
3. <font color="red">电子签小程序跳转贵方APP,不支持自动跳转,必需用户手动点击完成按钮(微信的限制)</font>
|
|
4545
4551
|
*/
|
|
4546
4552
|
AutoJumpBack?: boolean
|
|
4547
4553
|
/**
|
|
@@ -4651,6 +4657,10 @@ export interface RegistrationOrganizationInfo {
|
|
|
4651
4657
|
* 营业执照正面照(PNG或JPG) base64格式, 大小不超过5M
|
|
4652
4658
|
*/
|
|
4653
4659
|
BusinessLicense?: string
|
|
4660
|
+
/**
|
|
4661
|
+
* 授权书(PNG或JPG或PDF) base64格式, 大小不超过8M
|
|
4662
|
+
*/
|
|
4663
|
+
PowerOfAttorneys?: Array<string>
|
|
4654
4664
|
}
|
|
4655
4665
|
|
|
4656
4666
|
/**
|
|
@@ -7517,6 +7517,10 @@ export interface CreateLiveRecordTemplateRequest {
|
|
|
7517
7517
|
* Mp3录制参数,开启Mp3录制时设置。
|
|
7518
7518
|
*/
|
|
7519
7519
|
Mp3Param?: RecordParam
|
|
7520
|
+
/**
|
|
7521
|
+
* 是否存储至 cos,值为 1 时表示存储至 cos。
|
|
7522
|
+
*/
|
|
7523
|
+
CosStore?: number
|
|
7520
7524
|
/**
|
|
7521
7525
|
* 是否去除水印,类型为慢直播时此参数无效。
|
|
7522
7526
|
如果为false,则录制水印流或转码流;如果为true,则录制原始流。
|
|
@@ -364,8 +364,10 @@ export class Client extends AbstractClient {
|
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
* 文本分类
|
|
368
|
+
|
|
369
|
+
适用场景:经过腾讯医疗专用 OCR 从图片识别之后的文本,并且需要加上每个字符的坐标信息,才可以调用此接口。通过其它 OCR 识别的文本可能不适配。医院的 XML 格式文本也不适配,XML 文件需要经过特殊转换才能直接调用此接口。单次调用传入的文本不宜超过 2000 字。如有需要调用此接口,建议先咨询产品团队。
|
|
370
|
+
*/
|
|
369
371
|
async TextToClass(
|
|
370
372
|
req: TextToClassRequest,
|
|
371
373
|
cb?: (error: string, rep: TextToClassResponse) => void
|
|
@@ -8242,6 +8242,11 @@ export interface DocumentElement {
|
|
|
8242
8242
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8243
8243
|
*/
|
|
8244
8244
|
Level?: number
|
|
8245
|
+
/**
|
|
8246
|
+
* 入参开启EnableInsetImage后返回,表示在InsetImagePackage中的内嵌图片名称
|
|
8247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8248
|
+
*/
|
|
8249
|
+
InsetImageName?: string
|
|
8245
8250
|
/**
|
|
8246
8251
|
* 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
|
|
8247
8252
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -156,10 +156,6 @@ export interface RunApplicationRequest {
|
|
|
156
156
|
* 投递环境ID。
|
|
157
157
|
*/
|
|
158
158
|
EnvironmentId: string
|
|
159
|
-
/**
|
|
160
|
-
* 任务输入JSON。需要进行base64编码。
|
|
161
|
-
*/
|
|
162
|
-
InputBase64: string
|
|
163
159
|
/**
|
|
164
160
|
* 项目ID。(不填使用指定地域下的默认项目)
|
|
165
161
|
*/
|
|
@@ -168,6 +164,14 @@ export interface RunApplicationRequest {
|
|
|
168
164
|
* 任务批次描述。
|
|
169
165
|
*/
|
|
170
166
|
Description?: string
|
|
167
|
+
/**
|
|
168
|
+
* 任务输入COS地址。(InputBase64和InputCosUri必选其一)
|
|
169
|
+
*/
|
|
170
|
+
InputCosUri?: string
|
|
171
|
+
/**
|
|
172
|
+
* 任务输入JSON。需要进行base64编码。(InputBase64和InputCosUri必选其一)
|
|
173
|
+
*/
|
|
174
|
+
InputBase64?: string
|
|
171
175
|
/**
|
|
172
176
|
* 批量投递表格ID,不填表示单例投递。
|
|
173
177
|
*/
|
|
@@ -196,6 +200,12 @@ export interface RunApplicationRequest {
|
|
|
196
200
|
* 工作目录,使用缓存卷内的相对路径 (暂时仅支持Nextflow)
|
|
197
201
|
*/
|
|
198
202
|
WorkDir?: string
|
|
203
|
+
/**
|
|
204
|
+
* 访问模式,不填默认私有。取值范围
|
|
205
|
+
- PRIVATE:私有应用
|
|
206
|
+
- PUBLIC:公共应用
|
|
207
|
+
*/
|
|
208
|
+
AccessMode?: string
|
|
199
209
|
}
|
|
200
210
|
|
|
201
211
|
/**
|
|
@@ -3079,7 +3079,7 @@ export interface AgentParams {
|
|
|
3079
3079
|
*/
|
|
3080
3080
|
UserSig?: string
|
|
3081
3081
|
/**
|
|
3082
|
-
* 所有参与混流转推的主播持续离开TRTC
|
|
3082
|
+
* 所有参与混流转推的主播持续离开TRTC房间或切换成观众超过MaxIdleTime的时长,自动停止转推,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
|
|
3083
3083
|
*/
|
|
3084
3084
|
MaxIdleTime?: number
|
|
3085
3085
|
}
|
|
@@ -20,7 +20,8 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DescribeWorkSpaceBuildingCountAndAreaRequest,
|
|
22
22
|
ApplicationList,
|
|
23
|
-
|
|
23
|
+
SaveDeviceGroupRequest,
|
|
24
|
+
DescribeGroupInfo,
|
|
24
25
|
AlarmInfo,
|
|
25
26
|
DeviceDataInfo,
|
|
26
27
|
BuildingProfileRes,
|
|
@@ -32,6 +33,7 @@ import {
|
|
|
32
33
|
AddAlarmProcessRecordRequest,
|
|
33
34
|
DescribeInterfaceListResponse,
|
|
34
35
|
MessageProfile,
|
|
36
|
+
ModifyDeviceTagInfo,
|
|
35
37
|
ModifyDeviceNameResponse,
|
|
36
38
|
DescribeEdgeApplicationTokenResponse,
|
|
37
39
|
DeviceLocation,
|
|
@@ -41,6 +43,7 @@ import {
|
|
|
41
43
|
EmptyRes,
|
|
42
44
|
ApiContent,
|
|
43
45
|
DescribeWorkspaceListResponse,
|
|
46
|
+
SpaceDeviceRelationRes,
|
|
44
47
|
ProductInfo,
|
|
45
48
|
ApiInfo,
|
|
46
49
|
DescribeModelListResponse,
|
|
@@ -49,13 +52,15 @@ import {
|
|
|
49
52
|
ElementPropertyRes,
|
|
50
53
|
CreateApplicationTokenResponse,
|
|
51
54
|
DescribeTenantUserListRequest,
|
|
52
|
-
|
|
55
|
+
BatchReportAppMessageResponse,
|
|
53
56
|
DescribeDeviceStatusListResponse,
|
|
54
57
|
ModifyDeviceNameRequest,
|
|
58
|
+
DeleteDeviceGroupResponse,
|
|
55
59
|
DescribeAlarmStatusListRequest,
|
|
56
60
|
DescribeFileDownloadURLResponse,
|
|
57
61
|
DescribeRuleDetailResponse,
|
|
58
62
|
ReportMsgRes,
|
|
63
|
+
DescribeDeviceGroupListRes,
|
|
59
64
|
DescribeSpaceInfoByDeviceIdResponse,
|
|
60
65
|
DescribeApplicationListRequest,
|
|
61
66
|
ElementProfileTreeNode,
|
|
@@ -66,7 +71,7 @@ import {
|
|
|
66
71
|
AlarmTypeDetailInfo,
|
|
67
72
|
ChangeAlarmStatusResponse,
|
|
68
73
|
DescribeBuildingModelResponse,
|
|
69
|
-
|
|
74
|
+
DescribeDeviceGroupListResponse,
|
|
70
75
|
DescribeElementProfilePageRequest,
|
|
71
76
|
DescribePropertyListResponse,
|
|
72
77
|
DescribeSpaceDeviceRelationListRequest,
|
|
@@ -91,6 +96,7 @@ import {
|
|
|
91
96
|
WorkspaceInfoList,
|
|
92
97
|
BuildingModelRes,
|
|
93
98
|
DescribeBuildingListResponse,
|
|
99
|
+
BatchDeleteDeviceResponse,
|
|
94
100
|
SpaceRelationRes,
|
|
95
101
|
SsoTeamUserResult,
|
|
96
102
|
DescribeWorkspaceUserListResponse,
|
|
@@ -103,7 +109,8 @@ import {
|
|
|
103
109
|
ElementTranslate,
|
|
104
110
|
ControlCameraPTZResponse,
|
|
105
111
|
DescribeWorkspaceListRequest,
|
|
106
|
-
|
|
112
|
+
ModifyDeviceFieldResponse,
|
|
113
|
+
ControlDeviceRequest,
|
|
107
114
|
DescribeDeviceTypeListResponse,
|
|
108
115
|
AlarmStatusData,
|
|
109
116
|
RecordInfo,
|
|
@@ -125,7 +132,9 @@ import {
|
|
|
125
132
|
AdministrationData,
|
|
126
133
|
DescribeSpaceDeviceIdListResponse,
|
|
127
134
|
DescribeElementProfileTreeResponse,
|
|
135
|
+
ModifyDeviceFieldInfo,
|
|
128
136
|
DescribeTenantDepartmentListRequest,
|
|
137
|
+
StopVideoStreamingResponse,
|
|
129
138
|
BatchReportAppMessageRes,
|
|
130
139
|
DescribeBuildingProfileRequest,
|
|
131
140
|
DescribeDeviceShadowListResponse,
|
|
@@ -133,35 +142,41 @@ import {
|
|
|
133
142
|
DescribeCityWorkspaceListRes,
|
|
134
143
|
DeviceTypeSet,
|
|
135
144
|
DescribeBuildingListRequest,
|
|
136
|
-
|
|
145
|
+
ModifyDeviceGroupInfo,
|
|
137
146
|
StatLevel,
|
|
138
147
|
DescribeWorkspaceUserListRequest,
|
|
139
148
|
ControlDeviceSet,
|
|
140
149
|
BatchCreateDeviceRes,
|
|
141
150
|
DescribeVideoCloudRecordResponse,
|
|
151
|
+
SaveDeviceGroupRes,
|
|
142
152
|
DescribeDeviceListRes,
|
|
143
153
|
DescribeSpaceDeviceRelationListResponse,
|
|
144
154
|
UpdateWorkspaceParkAttributesRequest,
|
|
155
|
+
ModifyDeviceTagRequest,
|
|
156
|
+
ModifyDeviceGroupResponse,
|
|
145
157
|
DescribeLinkRuleListResponse,
|
|
146
158
|
DescribeSpaceTypeListResponse,
|
|
147
|
-
|
|
159
|
+
BuildingProfile,
|
|
148
160
|
ApplicationTokenInfo,
|
|
149
161
|
DescribeAlarmLevelListResponse,
|
|
150
162
|
AlarmLevelInfo,
|
|
151
163
|
HandleRecordInfo,
|
|
152
164
|
ElementProfileTreeRes,
|
|
153
165
|
DeviceTagRes,
|
|
166
|
+
BatchDeleteDeviceRequest,
|
|
167
|
+
DescribeDeviceGroupListRequest,
|
|
154
168
|
ActionDetail,
|
|
155
169
|
DescribeAdministrationByTagRes,
|
|
156
170
|
DescribeCityWorkspaceListRequest,
|
|
157
171
|
UpdateWorkspaceParkAttributesResponse,
|
|
158
|
-
|
|
172
|
+
DeleteDeviceGroupRequest,
|
|
159
173
|
DescribeCityWorkspaceListResponse,
|
|
160
174
|
BatchCreateDeviceRequest,
|
|
161
175
|
BatchKillAlarmRequest,
|
|
162
176
|
DescribeActionListRes,
|
|
163
177
|
LinkRuleInfo,
|
|
164
178
|
StatDeviceType,
|
|
179
|
+
ModifyDeviceGroupRequest,
|
|
165
180
|
DescribeElementProfileTreeRequest,
|
|
166
181
|
DescribeLinkRuleListRequest,
|
|
167
182
|
DescribeEventListResponse,
|
|
@@ -176,6 +191,7 @@ import {
|
|
|
176
191
|
ApplicationInfo,
|
|
177
192
|
DescribeFileUploadURLRequest,
|
|
178
193
|
DescribeDeviceStatusListRequest,
|
|
194
|
+
DescribeDeviceTagListResponse,
|
|
179
195
|
DescribeVideoCloudRecordRequest,
|
|
180
196
|
ElementProfilePageRes,
|
|
181
197
|
DescribeAdministrationByTagRequest,
|
|
@@ -201,6 +217,7 @@ import {
|
|
|
201
217
|
DescribeAlarmStatusListResponse,
|
|
202
218
|
CreateApplicationTokenRequest,
|
|
203
219
|
DescribeFileUploadURLResponse,
|
|
220
|
+
SaveDeviceGroupResponse,
|
|
204
221
|
ElementProfile,
|
|
205
222
|
DescribeTenantDepartmentListResponse,
|
|
206
223
|
DescribeWorkSpaceBuildingCountAndAreaResponse,
|
|
@@ -214,6 +231,7 @@ import {
|
|
|
214
231
|
LinkRule,
|
|
215
232
|
SpaceType,
|
|
216
233
|
ActionObj,
|
|
234
|
+
ModelInfo,
|
|
217
235
|
DeviceStatusInfo,
|
|
218
236
|
DeviceStatusRes,
|
|
219
237
|
BatchKillAlarmResponse,
|
|
@@ -229,6 +247,7 @@ import {
|
|
|
229
247
|
RawInfo,
|
|
230
248
|
FileDownloadURL,
|
|
231
249
|
DescribeAlarmStatusListRes,
|
|
250
|
+
ModifyDeviceTagResponse,
|
|
232
251
|
DescribeVideoLiveStreamRequest,
|
|
233
252
|
ModelSet,
|
|
234
253
|
ChangeAlarmStatusRequest,
|
|
@@ -244,6 +263,7 @@ import {
|
|
|
244
263
|
DescribeElementProfilePageResponse,
|
|
245
264
|
DescribeSpaceDeviceIdListRequest,
|
|
246
265
|
RelatedProduct,
|
|
266
|
+
ModifyDeviceFieldRequest,
|
|
247
267
|
DescribeActionListRequest,
|
|
248
268
|
DescribeEdgeApplicationTokenRequest,
|
|
249
269
|
} from "./weilingwith_models"
|
|
@@ -407,6 +427,16 @@ export class Client extends AbstractClient {
|
|
|
407
427
|
return this.request("DescribeDeviceTagList", req, cb)
|
|
408
428
|
}
|
|
409
429
|
|
|
430
|
+
/**
|
|
431
|
+
* 设备分组列表
|
|
432
|
+
*/
|
|
433
|
+
async DescribeDeviceGroupList(
|
|
434
|
+
req: DescribeDeviceGroupListRequest,
|
|
435
|
+
cb?: (error: string, rep: DescribeDeviceGroupListResponse) => void
|
|
436
|
+
): Promise<DescribeDeviceGroupListResponse> {
|
|
437
|
+
return this.request("DescribeDeviceGroupList", req, cb)
|
|
438
|
+
}
|
|
439
|
+
|
|
410
440
|
/**
|
|
411
441
|
* 告警类型获取
|
|
412
442
|
*/
|
|
@@ -427,6 +457,16 @@ export class Client extends AbstractClient {
|
|
|
427
457
|
return this.request("DescribeSpaceTypeList", req, cb)
|
|
428
458
|
}
|
|
429
459
|
|
|
460
|
+
/**
|
|
461
|
+
* 批量修改设备组
|
|
462
|
+
*/
|
|
463
|
+
async ModifyDeviceGroup(
|
|
464
|
+
req: ModifyDeviceGroupRequest,
|
|
465
|
+
cb?: (error: string, rep: ModifyDeviceGroupResponse) => void
|
|
466
|
+
): Promise<ModifyDeviceGroupResponse> {
|
|
467
|
+
return this.request("ModifyDeviceGroup", req, cb)
|
|
468
|
+
}
|
|
469
|
+
|
|
430
470
|
/**
|
|
431
471
|
* 拉取设备的设备类型列表
|
|
432
472
|
*/
|
|
@@ -477,6 +517,16 @@ export class Client extends AbstractClient {
|
|
|
477
517
|
return this.request("UpdateWorkspaceParkAttributes", req, cb)
|
|
478
518
|
}
|
|
479
519
|
|
|
520
|
+
/**
|
|
521
|
+
* 断流接口
|
|
522
|
+
*/
|
|
523
|
+
async StopVideoStreaming(
|
|
524
|
+
req: StopVideoStreamingRequest,
|
|
525
|
+
cb?: (error: string, rep: StopVideoStreamingResponse) => void
|
|
526
|
+
): Promise<StopVideoStreamingResponse> {
|
|
527
|
+
return this.request("StopVideoStreaming", req, cb)
|
|
528
|
+
}
|
|
529
|
+
|
|
480
530
|
/**
|
|
481
531
|
* 模型列表查询/单个查询(产品模型/标准模型)
|
|
482
532
|
*/
|
|
@@ -507,6 +557,16 @@ export class Client extends AbstractClient {
|
|
|
507
557
|
return this.request("DescribeProductList", req, cb)
|
|
508
558
|
}
|
|
509
559
|
|
|
560
|
+
/**
|
|
561
|
+
* 批量删除设备
|
|
562
|
+
*/
|
|
563
|
+
async BatchDeleteDevice(
|
|
564
|
+
req: BatchDeleteDeviceRequest,
|
|
565
|
+
cb?: (error: string, rep: BatchDeleteDeviceResponse) => void
|
|
566
|
+
): Promise<BatchDeleteDeviceResponse> {
|
|
567
|
+
return this.request("BatchDeleteDevice", req, cb)
|
|
568
|
+
}
|
|
569
|
+
|
|
510
570
|
/**
|
|
511
571
|
* 动作列表查询
|
|
512
572
|
*/
|
|
@@ -637,6 +697,16 @@ export class Client extends AbstractClient {
|
|
|
637
697
|
return this.request("BatchCreateDevice", req, cb)
|
|
638
698
|
}
|
|
639
699
|
|
|
700
|
+
/**
|
|
701
|
+
* 批量修改设备标签
|
|
702
|
+
*/
|
|
703
|
+
async ModifyDeviceTag(
|
|
704
|
+
req: ModifyDeviceTagRequest,
|
|
705
|
+
cb?: (error: string, rep: ModifyDeviceTagResponse) => void
|
|
706
|
+
): Promise<ModifyDeviceTagResponse> {
|
|
707
|
+
return this.request("ModifyDeviceTag", req, cb)
|
|
708
|
+
}
|
|
709
|
+
|
|
640
710
|
/**
|
|
641
711
|
* 获取视频扩展信息
|
|
642
712
|
*/
|
|
@@ -687,6 +757,16 @@ export class Client extends AbstractClient {
|
|
|
687
757
|
return this.request("DescribeBuildingModel", req, cb)
|
|
688
758
|
}
|
|
689
759
|
|
|
760
|
+
/**
|
|
761
|
+
* 删除设备分组
|
|
762
|
+
*/
|
|
763
|
+
async DeleteDeviceGroup(
|
|
764
|
+
req: DeleteDeviceGroupRequest,
|
|
765
|
+
cb?: (error: string, rep: DeleteDeviceGroupResponse) => void
|
|
766
|
+
): Promise<DeleteDeviceGroupResponse> {
|
|
767
|
+
return this.request("DeleteDeviceGroup", req, cb)
|
|
768
|
+
}
|
|
769
|
+
|
|
690
770
|
/**
|
|
691
771
|
* 查询指定空间下设备与构件绑定关系列表
|
|
692
772
|
*/
|
|
@@ -707,6 +787,16 @@ export class Client extends AbstractClient {
|
|
|
707
787
|
return this.request("DescribeBuildingList", req, cb)
|
|
708
788
|
}
|
|
709
789
|
|
|
790
|
+
/**
|
|
791
|
+
* 设备分组新增/修改
|
|
792
|
+
*/
|
|
793
|
+
async SaveDeviceGroup(
|
|
794
|
+
req: SaveDeviceGroupRequest,
|
|
795
|
+
cb?: (error: string, rep: SaveDeviceGroupResponse) => void
|
|
796
|
+
): Promise<SaveDeviceGroupResponse> {
|
|
797
|
+
return this.request("SaveDeviceGroup", req, cb)
|
|
798
|
+
}
|
|
799
|
+
|
|
710
800
|
/**
|
|
711
801
|
* 云台控制
|
|
712
802
|
*/
|
|
@@ -818,12 +908,12 @@ export class Client extends AbstractClient {
|
|
|
818
908
|
}
|
|
819
909
|
|
|
820
910
|
/**
|
|
821
|
-
*
|
|
911
|
+
* 批量修改设备自定义字段值
|
|
822
912
|
*/
|
|
823
|
-
async
|
|
824
|
-
req:
|
|
825
|
-
cb?: (error: string, rep:
|
|
826
|
-
): Promise<
|
|
827
|
-
return this.request("
|
|
913
|
+
async ModifyDeviceField(
|
|
914
|
+
req: ModifyDeviceFieldRequest,
|
|
915
|
+
cb?: (error: string, rep: ModifyDeviceFieldResponse) => void
|
|
916
|
+
): Promise<ModifyDeviceFieldResponse> {
|
|
917
|
+
return this.request("ModifyDeviceField", req, cb)
|
|
828
918
|
}
|
|
829
919
|
}
|