tencentcloud-sdk-nodejs 4.0.572 → 4.0.574

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 (71) hide show
  1. package/CHANGELOG.md +234 -0
  2. package/SERVICE_CHANGELOG.md +308 -58
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/asr/v20190614/asr_models.ts +13 -12
  8. package/src/services/billing/v20180709/billing_models.ts +4 -4
  9. package/src/services/cbs/v20170312/cbs_client.ts +1 -1
  10. package/src/services/cbs/v20170312/cbs_models.ts +4 -4
  11. package/src/services/cfw/v20190904/cfw_client.ts +4 -3
  12. package/src/services/cfw/v20190904/cfw_models.ts +109 -75
  13. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +5 -5
  14. package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +116 -104
  15. package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +32 -0
  16. package/src/services/cls/v20201016/cls_models.ts +17 -13
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +26 -3
  18. package/src/services/index.ts +1 -0
  19. package/src/services/lcic/v20220817/lcic_models.ts +2 -2
  20. package/src/services/pts/v20210728/pts_client.ts +27 -14
  21. package/src/services/pts/v20210728/pts_models.ts +260 -172
  22. package/src/services/teo/v20220901/teo_client.ts +8 -4
  23. package/src/services/teo/v20220901/teo_models.ts +209 -52
  24. package/src/services/tke/v20180525/tke_models.ts +9 -4
  25. package/src/services/trro/index.ts +5 -0
  26. package/src/services/trro/v20220325/index.ts +6 -0
  27. package/src/services/trro/v20220325/trro_client.ts +316 -0
  28. package/src/services/trro/v20220325/trro_models.ts +1357 -0
  29. package/src/services/waf/v20180125/waf_client.ts +14 -0
  30. package/src/services/waf/v20180125/waf_models.ts +180 -0
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  34. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  35. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +11 -10
  36. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -4
  37. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
  38. package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
  39. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
  40. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
  41. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +91 -61
  42. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -5
  43. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +41 -37
  44. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +60 -54
  45. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +28 -0
  46. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -5
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +25 -2
  48. package/tencentcloud/services/index.d.ts +1 -0
  49. package/tencentcloud/services/index.js +2 -0
  50. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
  51. package/tencentcloud/services/pts/v20210728/pts_client.d.ts +9 -5
  52. package/tencentcloud/services/pts/v20210728/pts_client.js +12 -6
  53. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +221 -146
  54. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  55. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +180 -46
  56. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -4
  57. package/tencentcloud/services/trro/index.d.ts +6 -0
  58. package/tencentcloud/services/trro/index.js +7 -0
  59. package/tencentcloud/services/trro/v20220325/index.d.ts +6 -0
  60. package/tencentcloud/services/trro/v20220325/index.js +9 -0
  61. package/tencentcloud/services/trro/v20220325/trro_client.d.ts +102 -0
  62. package/tencentcloud/services/trro/v20220325/trro_client.js +169 -0
  63. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +1130 -0
  64. package/tencentcloud/services/trro/v20220325/trro_models.js +18 -0
  65. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  66. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  67. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +149 -0
  68. package/test/cloudstudio.v20210524.test.js +46 -36
  69. package/test/pts.v20210728.test.js +14 -4
  70. package/test/trro.v20220325.test.js +251 -0
  71. package/test/waf.v20180125.test.js +10 -0
@@ -0,0 +1,1357 @@
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
+ * DescribeDeviceSessionDetails返回参数结构体
20
+ */
21
+ export interface DescribeDeviceSessionDetailsResponse {
22
+ /**
23
+ * 按设备区分的会话详细数据
24
+ */
25
+ Details: Array<SessionDeviceDetail>
26
+
27
+ /**
28
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
29
+ */
30
+ RequestId?: string
31
+ }
32
+
33
+ /**
34
+ * DeleteProject请求参数结构体
35
+ */
36
+ export interface DeleteProjectRequest {
37
+ /**
38
+ * 项目ID
39
+ */
40
+ ProjectId: string
41
+ }
42
+
43
+ /**
44
+ * 按授权查看的license列表
45
+ */
46
+ export interface License {
47
+ /**
48
+ * 该类型的license个数
49
+ 注意:此字段可能返回 null,表示取不到有效值。
50
+ */
51
+ Count?: number
52
+
53
+ /**
54
+ * license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
55
+ 注意:此字段可能返回 null,表示取不到有效值。
56
+ */
57
+ Status?: number
58
+
59
+ /**
60
+ * 到期时间戳:s
61
+ 注意:此字段可能返回 null,表示取不到有效值。
62
+ */
63
+ ExpireTime?: string
64
+
65
+ /**
66
+ * 服务时长:s
67
+ 注意:此字段可能返回 null,表示取不到有效值。
68
+ */
69
+ Duration?: string
70
+
71
+ /**
72
+ * 剩余天数:天
73
+ 注意:此字段可能返回 null,表示取不到有效值。
74
+ */
75
+ RemainDay?: number
76
+
77
+ /**
78
+ * 该类型的licenseId列表
79
+ 注意:此字段可能返回 null,表示取不到有效值。
80
+ */
81
+ LicenseIds?: Array<string>
82
+ }
83
+
84
+ /**
85
+ * 权限信息
86
+ */
87
+ export interface PolicyInfo {
88
+ /**
89
+ * 远端设备ID
90
+ */
91
+ RemoteDeviceId: string
92
+
93
+ /**
94
+ * 关联的现场设备ID
95
+ */
96
+ FieldDeviceIds: Array<string>
97
+
98
+ /**
99
+ * 最近添加时间
100
+ */
101
+ ModifyTime: string
102
+ }
103
+
104
+ /**
105
+ * ModifyDevice返回参数结构体
106
+ */
107
+ export interface ModifyDeviceResponse {
108
+ /**
109
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
110
+ */
111
+ RequestId?: string
112
+ }
113
+
114
+ /**
115
+ * GetLicenses请求参数结构体
116
+ */
117
+ export interface GetLicensesRequest {
118
+ /**
119
+ * 页码
120
+ */
121
+ PageNum: number
122
+
123
+ /**
124
+ * 页面数量
125
+ */
126
+ PageSize: number
127
+
128
+ /**
129
+ * projectId
130
+ */
131
+ ProjectId?: string
132
+
133
+ /**
134
+ * DeviceId
135
+ */
136
+ DeviceId?: string
137
+ }
138
+
139
+ /**
140
+ * DescribePolicy返回参数结构体
141
+ */
142
+ export interface DescribePolicyResponse {
143
+ /**
144
+ * 权限模式
145
+ */
146
+ PolicyMode: string
147
+
148
+ /**
149
+ * 返回的权限模式是否为当前生效的权限模式
150
+ */
151
+ PolicyEnabled: boolean
152
+
153
+ /**
154
+ * 权限信息列表
155
+ */
156
+ PolicyInfo: Array<PolicyInfo>
157
+
158
+ /**
159
+ * 本次返回的权限信息数量
160
+ */
161
+ Num: number
162
+
163
+ /**
164
+ * 权限信息总数
165
+ */
166
+ Total: number
167
+
168
+ /**
169
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
170
+ */
171
+ RequestId?: string
172
+ }
173
+
174
+ /**
175
+ * BatchDeleteDevices请求参数结构体
176
+ */
177
+ export interface BatchDeleteDevicesRequest {
178
+ /**
179
+ * 目标删除设备所属项目ID
180
+ */
181
+ ProjectId: string
182
+
183
+ /**
184
+ * 目标删除设备的设备ID数组
185
+ */
186
+ DeviceIds: Array<string>
187
+ }
188
+
189
+ /**
190
+ * 会话信息
191
+ */
192
+ export interface SessionInfo {
193
+ /**
194
+ * 会话ID
195
+ */
196
+ SessionId: string
197
+
198
+ /**
199
+ * 远端设备ID
200
+ */
201
+ RemoteDeviceId: string
202
+
203
+ /**
204
+ * 现场设备ID
205
+ */
206
+ FieldDeviceId: string
207
+
208
+ /**
209
+ * 分辨率
210
+ */
211
+ Resolution: string
212
+
213
+ /**
214
+ * 会话开始时间
215
+ */
216
+ StartTime: number
217
+
218
+ /**
219
+ * 会话结束时间
220
+ */
221
+ EndTime: number
222
+
223
+ /**
224
+ * 通话质量:good|normal|bad,对应优良差
225
+ */
226
+ Quality: string
227
+ }
228
+
229
+ /**
230
+ * DescribeDeviceInfo请求参数结构体
231
+ */
232
+ export interface DescribeDeviceInfoRequest {
233
+ /**
234
+ * 目标设备所属项目ID
235
+ */
236
+ ProjectId: string
237
+
238
+ /**
239
+ * 目标设备ID
240
+ */
241
+ DeviceId: string
242
+ }
243
+
244
+ /**
245
+ * DescribeSessionStatisticsByInterval返回参数结构体
246
+ */
247
+ export interface DescribeSessionStatisticsByIntervalResponse {
248
+ /**
249
+ * 各时间段的会话统计数据
250
+ */
251
+ SessionStatistics: Array<SessionIntervalStatistic>
252
+
253
+ /**
254
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
255
+ */
256
+ RequestId?: string
257
+ }
258
+
259
+ /**
260
+ * DescribeRecentSessionList请求参数结构体
261
+ */
262
+ export interface DescribeRecentSessionListRequest {
263
+ /**
264
+ * 项目ID
265
+ */
266
+ ProjectId: string
267
+
268
+ /**
269
+ * 页码,从1开始
270
+ */
271
+ PageNumber: number
272
+
273
+ /**
274
+ * 每页个数
275
+ */
276
+ PageSize: number
277
+
278
+ /**
279
+ * 设备ID,支持过滤远端设备或现场设备
280
+ */
281
+ DeviceId?: string
282
+
283
+ /**
284
+ * 时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算
285
+ */
286
+ StartTime?: number
287
+
288
+ /**
289
+ * 时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算
290
+ */
291
+ EndTime?: number
292
+ }
293
+
294
+ /**
295
+ * 最新会话信息
296
+ */
297
+ export interface RecentSessionInfo {
298
+ /**
299
+ * 会话ID
300
+ */
301
+ SessionId: string
302
+
303
+ /**
304
+ * 远端设备ID
305
+ */
306
+ RemoteDeviceId: string
307
+
308
+ /**
309
+ * 现场设备ID
310
+ */
311
+ FieldDeviceId: string
312
+
313
+ /**
314
+ * 分辨率
315
+ */
316
+ Resolution: string
317
+
318
+ /**
319
+ * 会话开始时间
320
+ */
321
+ StartTime: number
322
+
323
+ /**
324
+ * 最后更新时间
325
+ */
326
+ LatestUpdateTime: number
327
+ }
328
+
329
+ /**
330
+ * DescribeProjectInfo请求参数结构体
331
+ */
332
+ export interface DescribeProjectInfoRequest {
333
+ /**
334
+ * 目标项目ID
335
+ */
336
+ ProjectId?: string
337
+ }
338
+
339
+ /**
340
+ * ModifyPolicy请求参数结构体
341
+ */
342
+ export interface ModifyPolicyRequest {
343
+ /**
344
+ * 修改权限配置的项目ID
345
+ */
346
+ ProjectId: string
347
+
348
+ /**
349
+ * 修改权限配置的远端设备ID
350
+ */
351
+ RemoteDeviceId: string
352
+
353
+ /**
354
+ * 权限修改涉及的现场设备ID数组
355
+ */
356
+ FieldDeviceIds: Array<string>
357
+
358
+ /**
359
+ * 修改的目标权限模式,black为黑名单,white为白名单
360
+ */
361
+ PolicyMode: string
362
+
363
+ /**
364
+ * 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联)
365
+ */
366
+ ModifyMode: string
367
+ }
368
+
369
+ /**
370
+ * DescribeDeviceInfo返回参数结构体
371
+ */
372
+ export interface DescribeDeviceInfoResponse {
373
+ /**
374
+ * 设备名称
375
+ */
376
+ DeviceName: string
377
+
378
+ /**
379
+ * 设备类型,field为现场设备(被控方),remote为远端设备(操控方)
380
+ */
381
+ DeviceType: string
382
+
383
+ /**
384
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
385
+ */
386
+ DeviceStatus: string
387
+
388
+ /**
389
+ * 设备状态最后更新时间
390
+ */
391
+ LastReportTime: string
392
+
393
+ /**
394
+ * 设备信息最后修改时间
395
+ */
396
+ ModifyTime: string
397
+
398
+ /**
399
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
400
+ */
401
+ RequestId?: string
402
+ }
403
+
404
+ /**
405
+ * GetLicenseStat请求参数结构体
406
+ */
407
+ export type GetLicenseStatRequest = null
408
+
409
+ /**
410
+ * DescribeProjectList返回参数结构体
411
+ */
412
+ export interface DescribeProjectListResponse {
413
+ /**
414
+ * 项目信息数组
415
+ */
416
+ Projects: Array<ProjectInfo>
417
+
418
+ /**
419
+ * 项目总数
420
+ */
421
+ Total: number
422
+
423
+ /**
424
+ * 本次返回的项目数
425
+ */
426
+ Num: number
427
+
428
+ /**
429
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
430
+ */
431
+ RequestId?: string
432
+ }
433
+
434
+ /**
435
+ * ModifyProject返回参数结构体
436
+ */
437
+ export interface ModifyProjectResponse {
438
+ /**
439
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
440
+ */
441
+ RequestId?: string
442
+ }
443
+
444
+ /**
445
+ * BatchDeletePolicy返回参数结构体
446
+ */
447
+ export interface BatchDeletePolicyResponse {
448
+ /**
449
+ * 删除权限配置失败的远端设备ID列表
450
+ */
451
+ FailedRemoteDeviceIds: Array<string>
452
+
453
+ /**
454
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
455
+ */
456
+ RequestId?: string
457
+ }
458
+
459
+ /**
460
+ * GetLicenseStat返回参数结构体
461
+ */
462
+ export interface GetLicenseStatResponse {
463
+ /**
464
+ * 有效授权
465
+ */
466
+ Valid?: number
467
+
468
+ /**
469
+ * 已绑定授权
470
+ */
471
+ Bound?: number
472
+
473
+ /**
474
+ * 未绑定授权
475
+ */
476
+ UnBound?: number
477
+
478
+ /**
479
+ * 过期授权
480
+ */
481
+ Expire?: number
482
+
483
+ /**
484
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
485
+ */
486
+ RequestId?: string
487
+ }
488
+
489
+ /**
490
+ * DescribePolicy请求参数结构体
491
+ */
492
+ export interface DescribePolicyRequest {
493
+ /**
494
+ * 查看权限的项目ID
495
+ */
496
+ ProjectId: string
497
+
498
+ /**
499
+ * 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
500
+ */
501
+ PolicyMode?: string
502
+
503
+ /**
504
+ * 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
505
+ */
506
+ SearchMode?: string
507
+
508
+ /**
509
+ * 模糊匹配关键字,不填默认不进行模糊匹配
510
+ */
511
+ SearchWords?: string
512
+
513
+ /**
514
+ * 每页返回的最大数量,不填默认为10
515
+ */
516
+ PageSize?: number
517
+
518
+ /**
519
+ * 当前页码,不填默认为1(首页)
520
+ */
521
+ PageNumber?: number
522
+ }
523
+
524
+ /**
525
+ * ModifyPolicy返回参数结构体
526
+ */
527
+ export interface ModifyPolicyResponse {
528
+ /**
529
+ * 添加关联失败的现场设备ID列表
530
+ 注意:此字段可能返回 null,表示取不到有效值。
531
+ */
532
+ FailedInsertIds: Array<string>
533
+
534
+ /**
535
+ * 解除关联失败的现场设备ID列表
536
+ 注意:此字段可能返回 null,表示取不到有效值。
537
+ */
538
+ FailedDeleteIds: Array<string>
539
+
540
+ /**
541
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
542
+ */
543
+ RequestId?: string
544
+ }
545
+
546
+ /**
547
+ * 查询用户设备的授权绑定情况
548
+ */
549
+ export interface Device {
550
+ /**
551
+ * 设备ID
552
+ 注意:此字段可能返回 null,表示取不到有效值。
553
+ */
554
+ DeviceId?: string
555
+
556
+ /**
557
+ * 设备名称
558
+ 注意:此字段可能返回 null,表示取不到有效值。
559
+ */
560
+ DeviceName?: string
561
+
562
+ /**
563
+ * 已经绑定license数量
564
+ 注意:此字段可能返回 null,表示取不到有效值。
565
+ */
566
+ LicenseCount?: number
567
+
568
+ /**
569
+ * 剩余天数:天
570
+ 注意:此字段可能返回 null,表示取不到有效值。
571
+ */
572
+ RemainDay?: number
573
+
574
+ /**
575
+ * 过期时间:s
576
+ 注意:此字段可能返回 null,表示取不到有效值。
577
+ */
578
+ ExpireTime?: string
579
+
580
+ /**
581
+ * 服务时长:s
582
+ 注意:此字段可能返回 null,表示取不到有效值。
583
+ */
584
+ Duration?: string
585
+
586
+ /**
587
+ * 已经绑定licenseId列表
588
+ 注意:此字段可能返回 null,表示取不到有效值。
589
+ */
590
+ LicenseIds?: Array<string>
591
+ }
592
+
593
+ /**
594
+ * DescribeSessionStatistics请求参数结构体
595
+ */
596
+ export interface DescribeSessionStatisticsRequest {
597
+ /**
598
+ * 项目ID
599
+ */
600
+ ProjectId: string
601
+
602
+ /**
603
+ * 设备ID
604
+ */
605
+ DeviceId?: string
606
+
607
+ /**
608
+ * 起始时间,单位:秒
609
+ */
610
+ StartTime?: number
611
+
612
+ /**
613
+ * 结束时间,单位:秒
614
+ */
615
+ EndTime?: number
616
+ }
617
+
618
+ /**
619
+ * BatchDeleteDevices返回参数结构体
620
+ */
621
+ export interface BatchDeleteDevicesResponse {
622
+ /**
623
+ * 删除失败的设备ID列表
624
+ 注意:此字段可能返回 null,表示取不到有效值。
625
+ */
626
+ FailedDeviceIds: Array<string>
627
+
628
+ /**
629
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630
+ */
631
+ RequestId?: string
632
+ }
633
+
634
+ /**
635
+ * ModifyProject请求参数结构体
636
+ */
637
+ export interface ModifyProjectRequest {
638
+ /**
639
+ * 目标修改项目的项目ID
640
+ */
641
+ ProjectId: string
642
+
643
+ /**
644
+ * 修改后的项目名称,不填则不修改
645
+ */
646
+ ProjectName?: string
647
+
648
+ /**
649
+ * 修改后的项目描述,不填则不修改
650
+ */
651
+ ProjectDescription?: string
652
+
653
+ /**
654
+ * 修改后的权限模式,black为黑名单,white为白名单,不填则不修改
655
+ */
656
+ PolicyMode?: string
657
+ }
658
+
659
+ /**
660
+ * DescribeRecentSessionList返回参数结构体
661
+ */
662
+ export interface DescribeRecentSessionListResponse {
663
+ /**
664
+ * 总个数
665
+ */
666
+ Total: number
667
+
668
+ /**
669
+ * 会话列表
670
+ */
671
+ RecentSessionList: Array<RecentSessionInfo>
672
+
673
+ /**
674
+ * 本页数量
675
+ */
676
+ Num: number
677
+
678
+ /**
679
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ */
681
+ RequestId?: string
682
+ }
683
+
684
+ /**
685
+ * ModifyDevice请求参数结构体
686
+ */
687
+ export interface ModifyDeviceRequest {
688
+ /**
689
+ * 要修改设备归属项目的项目ID
690
+ */
691
+ ProjectId: string
692
+
693
+ /**
694
+ * 要修改设备的设备ID
695
+ */
696
+ DeviceId: string
697
+
698
+ /**
699
+ * 修改后的设备名称,不填则不修改
700
+ */
701
+ DeviceName?: string
702
+
703
+ /**
704
+ * 修改后的设备认证口令,不填则不修改
705
+ */
706
+ DeviceToken?: string
707
+ }
708
+
709
+ /**
710
+ * DescribeProjectList请求参数结构体
711
+ */
712
+ export interface DescribeProjectListRequest {
713
+ /**
714
+ * 每页返回的最大项目数量,不填默认为10
715
+ */
716
+ PageSize?: number
717
+
718
+ /**
719
+ * 当前页码,不填默认为1(首页)
720
+ */
721
+ PageNumber?: number
722
+ }
723
+
724
+ /**
725
+ * 项目信息
726
+ */
727
+ export interface ProjectInfo {
728
+ /**
729
+ * 项目ID
730
+ */
731
+ ProjectId: string
732
+
733
+ /**
734
+ * 项目名称
735
+ */
736
+ ProjectName: string
737
+
738
+ /**
739
+ * 项目描述
740
+ */
741
+ ProjectDescription: string
742
+
743
+ /**
744
+ * 项目权限模式,black为黑名单,white为白名单
745
+ */
746
+ PolicyMode: string
747
+
748
+ /**
749
+ * 项目信息修改时间
750
+ */
751
+ ModifyTime: string
752
+ }
753
+
754
+ /**
755
+ * BatchDeletePolicy请求参数结构体
756
+ */
757
+ export interface BatchDeletePolicyRequest {
758
+ /**
759
+ * 删除权限配置的项目ID
760
+ */
761
+ ProjectId: string
762
+
763
+ /**
764
+ * 删除权限配置的远端设备ID列表
765
+ */
766
+ RemoteDeviceIds: Array<string>
767
+
768
+ /**
769
+ * 删除权限配置的权限模式, black为黑名单,white为白名单
770
+ */
771
+ PolicyMode: string
772
+ }
773
+
774
+ /**
775
+ * DescribeDeviceSessionList返回参数结构体
776
+ */
777
+ export interface DescribeDeviceSessionListResponse {
778
+ /**
779
+ * 总个数
780
+ */
781
+ Total: number
782
+
783
+ /**
784
+ * 会话列表
785
+ */
786
+ DeviceSessionList: Array<SessionInfo>
787
+
788
+ /**
789
+ * 本页数量
790
+ */
791
+ Num: number
792
+
793
+ /**
794
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
795
+ */
796
+ RequestId?: string
797
+ }
798
+
799
+ /**
800
+ * DescribeProjectInfo返回参数结构体
801
+ */
802
+ export interface DescribeProjectInfoResponse {
803
+ /**
804
+ * 项目名称
805
+ */
806
+ ProjectName: string
807
+
808
+ /**
809
+ * 项目描述
810
+ */
811
+ ProjectDescription: string
812
+
813
+ /**
814
+ * 项目权限模式,black为黑名单,white为白名单
815
+ */
816
+ PolicyMode: string
817
+
818
+ /**
819
+ * 项目信息修改时间
820
+ */
821
+ ModifyTime: string
822
+
823
+ /**
824
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
825
+ */
826
+ RequestId?: string
827
+ }
828
+
829
+ /**
830
+ * DescribeDeviceList返回参数结构体
831
+ */
832
+ export interface DescribeDeviceListResponse {
833
+ /**
834
+ * 设备信息列表
835
+ */
836
+ Devices: Array<DeviceInfo>
837
+
838
+ /**
839
+ * 设备总数
840
+ */
841
+ Total: number
842
+
843
+ /**
844
+ * 本次返回的设备数
845
+ */
846
+ Num: number
847
+
848
+ /**
849
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
850
+ */
851
+ RequestId?: string
852
+ }
853
+
854
+ /**
855
+ * BoundLicenses请求参数结构体
856
+ */
857
+ export interface BoundLicensesRequest {
858
+ /**
859
+ * license数量
860
+ */
861
+ Count: number
862
+
863
+ /**
864
+ * 设备id
865
+ */
866
+ DeviceId: string
867
+
868
+ /**
869
+ * 项目ID
870
+ */
871
+ ProjectId: string
872
+ }
873
+
874
+ /**
875
+ * DeleteProject返回参数结构体
876
+ */
877
+ export interface DeleteProjectResponse {
878
+ /**
879
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
880
+ */
881
+ RequestId?: string
882
+ }
883
+
884
+ /**
885
+ * DescribeDeviceList请求参数结构体
886
+ */
887
+ export interface DescribeDeviceListRequest {
888
+ /**
889
+ * 设备所属项目ID
890
+ */
891
+ ProjectId: string
892
+
893
+ /**
894
+ * 设备类型筛选,不填默认为全部设备类型
895
+ */
896
+ DeviceType?: string
897
+
898
+ /**
899
+ * 对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配
900
+ */
901
+ SearchWords?: string
902
+
903
+ /**
904
+ * 每页返回的最大设备数,不填默认为10
905
+ */
906
+ PageSize?: number
907
+
908
+ /**
909
+ * 当前页码,不填默认为1(首页)
910
+ */
911
+ PageNumber?: number
912
+ }
913
+
914
+ /**
915
+ * 会话数据详单(按设备区分)
916
+ */
917
+ export interface SessionDeviceDetail {
918
+ /**
919
+ * 设备类型:field或remote
920
+ */
921
+ DeviceType: string
922
+
923
+ /**
924
+ * 起始点位时间,单位:秒
925
+ */
926
+ StartTime: number
927
+
928
+ /**
929
+ * 结束点位时间,单位:秒
930
+ */
931
+ EndTime: number
932
+
933
+ /**
934
+ * 会话ID
935
+ */
936
+ SessionId: string
937
+
938
+ /**
939
+ * 码率,单位:kbps
940
+ */
941
+ Rate: Array<number>
942
+
943
+ /**
944
+ * 帧率
945
+ */
946
+ Fps: Array<number>
947
+
948
+ /**
949
+ * 丢包率,单位:%
950
+ */
951
+ Lost: Array<number>
952
+
953
+ /**
954
+ * 网络时延,单位:ms
955
+ */
956
+ NetworkLatency: Array<number>
957
+
958
+ /**
959
+ * 视频时延,单位:ms
960
+ */
961
+ VideoLatency: Array<number>
962
+
963
+ /**
964
+ * CPU使用率,单位:%
965
+ */
966
+ CpuUsed: Array<number>
967
+
968
+ /**
969
+ * 内存使用率,单位:%
970
+ */
971
+ MemUsed: Array<number>
972
+
973
+ /**
974
+ * 时间偏移量,单位:秒
975
+ */
976
+ TimeOffset: Array<number>
977
+
978
+ /**
979
+ * 项目ID
980
+ */
981
+ ProjectId: string
982
+
983
+ /**
984
+ * 设备ID
985
+ */
986
+ DeviceId: string
987
+ }
988
+
989
+ /**
990
+ * GetDeviceLicense返回参数结构体
991
+ */
992
+ export interface GetDeviceLicenseResponse {
993
+ /**
994
+ * 指定设备已经绑定的可用license数量
995
+ */
996
+ AvailableCount?: number
997
+
998
+ /**
999
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1000
+ */
1001
+ RequestId?: string
1002
+ }
1003
+
1004
+ /**
1005
+ * CreateDevice返回参数结构体
1006
+ */
1007
+ export interface CreateDeviceResponse {
1008
+ /**
1009
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1010
+ */
1011
+ RequestId?: string
1012
+ }
1013
+
1014
+ /**
1015
+ * DescribeSessionStatisticsByInterval请求参数结构体
1016
+ */
1017
+ export interface DescribeSessionStatisticsByIntervalRequest {
1018
+ /**
1019
+ * 项目ID
1020
+ */
1021
+ ProjectId: string
1022
+
1023
+ /**
1024
+ * 统计时间间隔:hour|day|month
1025
+ */
1026
+ StatisticInterval: string
1027
+
1028
+ /**
1029
+ * 设备ID
1030
+ */
1031
+ DeviceId?: string
1032
+
1033
+ /**
1034
+ * 起始时间,单位:秒
1035
+ */
1036
+ StartTime?: number
1037
+
1038
+ /**
1039
+ * 结束时间,单位:秒
1040
+ */
1041
+ EndTime?: number
1042
+ }
1043
+
1044
+ /**
1045
+ * CreateDevice请求参数结构体
1046
+ */
1047
+ export interface CreateDeviceRequest {
1048
+ /**
1049
+ * 创建设备所归属的项目ID
1050
+ */
1051
+ ProjectId: string
1052
+
1053
+ /**
1054
+ * 创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过18
1055
+ */
1056
+ DeviceId: string
1057
+
1058
+ /**
1059
+ * 创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线
1060
+ */
1061
+ DeviceName: string
1062
+
1063
+ /**
1064
+ * 设备类型,field为现场设备(受控设备),remote为远端设备(操控设备),不填默认为field
1065
+ */
1066
+ DeviceType: string
1067
+
1068
+ /**
1069
+ * 设备认证口令,由大小写英文字母和数字构成,须为16位
1070
+ */
1071
+ DeviceToken: string
1072
+ }
1073
+
1074
+ /**
1075
+ * DescribeSessionStatistics返回参数结构体
1076
+ */
1077
+ export interface DescribeSessionStatisticsResponse {
1078
+ /**
1079
+ * 会话数量
1080
+ */
1081
+ SessionNum: number
1082
+
1083
+ /**
1084
+ * 通话时长,单位:分钟
1085
+ */
1086
+ TotalDuration: number
1087
+
1088
+ /**
1089
+ * 活跃现场设备数
1090
+ */
1091
+ ActiveFieldDeviceNum: number
1092
+
1093
+ /**
1094
+ * 活跃远端设备数
1095
+ */
1096
+ ActiveRemoteDeviceNum: number
1097
+
1098
+ /**
1099
+ * 优良会话占比,单位:%
1100
+ */
1101
+ NotBadSessionRatio: number
1102
+
1103
+ /**
1104
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1105
+ */
1106
+ RequestId?: string
1107
+ }
1108
+
1109
+ /**
1110
+ * GetDevices返回参数结构体
1111
+ */
1112
+ export interface GetDevicesResponse {
1113
+ /**
1114
+ * 设备授权列表
1115
+ */
1116
+ Devices?: Array<Device>
1117
+
1118
+ /**
1119
+ * 列表数量
1120
+ */
1121
+ TotalCount?: number
1122
+
1123
+ /**
1124
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1125
+ */
1126
+ RequestId?: string
1127
+ }
1128
+
1129
+ /**
1130
+ * BoundLicenses返回参数结构体
1131
+ */
1132
+ export interface BoundLicensesResponse {
1133
+ /**
1134
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1135
+ */
1136
+ RequestId?: string
1137
+ }
1138
+
1139
+ /**
1140
+ * DescribeDeviceSessionDetails请求参数结构体
1141
+ */
1142
+ export interface DescribeDeviceSessionDetailsRequest {
1143
+ /**
1144
+ * 会话ID
1145
+ */
1146
+ SessionId: string
1147
+ }
1148
+
1149
+ /**
1150
+ * GetLicenses返回参数结构体
1151
+ */
1152
+ export interface GetLicensesResponse {
1153
+ /**
1154
+ * license列表
1155
+ */
1156
+ Licenses?: Array<License>
1157
+
1158
+ /**
1159
+ * license列表项数量
1160
+ */
1161
+ TotalCount?: number
1162
+
1163
+ /**
1164
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1165
+ */
1166
+ RequestId?: string
1167
+ }
1168
+
1169
+ /**
1170
+ * 设备信息
1171
+ */
1172
+ export interface DeviceInfo {
1173
+ /**
1174
+ * 设备ID
1175
+ */
1176
+ DeviceId: string
1177
+
1178
+ /**
1179
+ * 设备名称
1180
+ */
1181
+ DeviceName: string
1182
+
1183
+ /**
1184
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
1185
+ */
1186
+ DeviceStatus: string
1187
+
1188
+ /**
1189
+ * 设备类型,field为现场设备(受控方),remote为远端设备(操控方)
1190
+ */
1191
+ DeviceType: string
1192
+
1193
+ /**
1194
+ * 设备信息最近修改时间
1195
+ */
1196
+ ModifyTime: string
1197
+
1198
+ /**
1199
+ * 设备状态最近更新时间
1200
+ */
1201
+ LastReportTime: string
1202
+
1203
+ /**
1204
+ * 设备所属项目Id
1205
+ */
1206
+ ProjectId: string
1207
+ }
1208
+
1209
+ /**
1210
+ * DescribeDeviceSessionList请求参数结构体
1211
+ */
1212
+ export interface DescribeDeviceSessionListRequest {
1213
+ /**
1214
+ * 项目ID
1215
+ */
1216
+ ProjectId: string
1217
+
1218
+ /**
1219
+ * 页码,从1开始
1220
+ */
1221
+ PageNumber: number
1222
+
1223
+ /**
1224
+ * 每页个数
1225
+ */
1226
+ PageSize: number
1227
+
1228
+ /**
1229
+ * 设备ID
1230
+ */
1231
+ DeviceId?: string
1232
+
1233
+ /**
1234
+ * 开始时间
1235
+ */
1236
+ StartTime?: number
1237
+
1238
+ /**
1239
+ * 结束时间
1240
+ */
1241
+ EndTime?: number
1242
+ }
1243
+
1244
+ /**
1245
+ * GetDevices请求参数结构体
1246
+ */
1247
+ export interface GetDevicesRequest {
1248
+ /**
1249
+ * 页码
1250
+ */
1251
+ PageNum: number
1252
+
1253
+ /**
1254
+ * 页面数量
1255
+ */
1256
+ PageSize: number
1257
+
1258
+ /**
1259
+ * 项目 ID
1260
+ */
1261
+ ProjectId?: string
1262
+
1263
+ /**
1264
+ * 设备ID
1265
+ */
1266
+ DeviceId?: string
1267
+ }
1268
+
1269
+ /**
1270
+ * CreateProject返回参数结构体
1271
+ */
1272
+ export interface CreateProjectResponse {
1273
+ /**
1274
+ * 项目ID,长度为16位
1275
+ */
1276
+ ProjectId: string
1277
+
1278
+ /**
1279
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1280
+ */
1281
+ RequestId?: string
1282
+ }
1283
+
1284
+ /**
1285
+ * 单位时间间隔的会话统计数据
1286
+ */
1287
+ export interface SessionIntervalStatistic {
1288
+ /**
1289
+ * 活跃现场设备数
1290
+ */
1291
+ ActiveFieldDeviceNum: number
1292
+
1293
+ /**
1294
+ * 活跃远端设备数
1295
+ */
1296
+ ActiveRemoteDeviceNum: number
1297
+
1298
+ /**
1299
+ * 会话数量
1300
+ */
1301
+ SessionNum: number
1302
+
1303
+ /**
1304
+ * 会话时长,单位:分钟
1305
+ */
1306
+ TotalDuration: number
1307
+
1308
+ /**
1309
+ * 时间戳,单位:秒
1310
+ */
1311
+ StartTime: number
1312
+
1313
+ /**
1314
+ * 时间戳,单位:秒
1315
+ */
1316
+ EndTime: number
1317
+
1318
+ /**
1319
+ * 优良会话占比,单位:%
1320
+ */
1321
+ NotBadSessionRatio: number
1322
+ }
1323
+
1324
+ /**
1325
+ * GetDeviceLicense请求参数结构体
1326
+ */
1327
+ export interface GetDeviceLicenseRequest {
1328
+ /**
1329
+ * 目标设备所属项目ID
1330
+ */
1331
+ ProjectId: string
1332
+
1333
+ /**
1334
+ * 目标设备ID
1335
+ */
1336
+ DeviceId: string
1337
+ }
1338
+
1339
+ /**
1340
+ * CreateProject请求参数结构体
1341
+ */
1342
+ export interface CreateProjectRequest {
1343
+ /**
1344
+ * 项目名称,长度不超过24个字符
1345
+ */
1346
+ ProjectName: string
1347
+
1348
+ /**
1349
+ * 项目描述,长度不超过120个字符,不填默认为空
1350
+ */
1351
+ ProjectDescription?: string
1352
+
1353
+ /**
1354
+ * 权限模式,black为黑名单,white为白名单,不填默认为black
1355
+ */
1356
+ PolicyMode?: string
1357
+ }