tencentcloud-sdk-nodejs 4.0.572 → 4.0.573

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.
@@ -0,0 +1,989 @@
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
+ * 权限信息
45
+ */
46
+ export interface PolicyInfo {
47
+ /**
48
+ * 远端设备ID
49
+ */
50
+ RemoteDeviceId: string
51
+
52
+ /**
53
+ * 关联的现场设备ID
54
+ */
55
+ FieldDeviceIds: Array<string>
56
+
57
+ /**
58
+ * 最近添加时间
59
+ */
60
+ ModifyTime: string
61
+ }
62
+
63
+ /**
64
+ * ModifyDevice返回参数结构体
65
+ */
66
+ export interface ModifyDeviceResponse {
67
+ /**
68
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
69
+ */
70
+ RequestId?: string
71
+ }
72
+
73
+ /**
74
+ * DescribePolicy返回参数结构体
75
+ */
76
+ export interface DescribePolicyResponse {
77
+ /**
78
+ * 权限模式
79
+ */
80
+ PolicyMode: string
81
+
82
+ /**
83
+ * 返回的权限模式是否为当前生效的权限模式
84
+ */
85
+ PolicyEnabled: boolean
86
+
87
+ /**
88
+ * 权限信息列表
89
+ */
90
+ PolicyInfo: Array<PolicyInfo>
91
+
92
+ /**
93
+ * 本次返回的权限信息数量
94
+ */
95
+ Num: number
96
+
97
+ /**
98
+ * 权限信息总数
99
+ */
100
+ Total: number
101
+
102
+ /**
103
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
104
+ */
105
+ RequestId?: string
106
+ }
107
+
108
+ /**
109
+ * BatchDeleteDevices请求参数结构体
110
+ */
111
+ export interface BatchDeleteDevicesRequest {
112
+ /**
113
+ * 目标删除设备所属项目ID
114
+ */
115
+ ProjectId: string
116
+
117
+ /**
118
+ * 目标删除设备的设备ID数组
119
+ */
120
+ DeviceIds: Array<string>
121
+ }
122
+
123
+ /**
124
+ * 会话信息
125
+ */
126
+ export interface SessionInfo {
127
+ /**
128
+ * 会话ID
129
+ */
130
+ SessionId: string
131
+
132
+ /**
133
+ * 远端设备ID
134
+ */
135
+ RemoteDeviceId: string
136
+
137
+ /**
138
+ * 现场设备ID
139
+ */
140
+ FieldDeviceId: string
141
+
142
+ /**
143
+ * 分辨率
144
+ */
145
+ Resolution: string
146
+
147
+ /**
148
+ * 会话开始时间
149
+ */
150
+ StartTime: number
151
+
152
+ /**
153
+ * 会话结束时间
154
+ */
155
+ EndTime: number
156
+
157
+ /**
158
+ * 通话质量:good|normal|bad,对应优良差
159
+ */
160
+ Quality: string
161
+ }
162
+
163
+ /**
164
+ * DescribeDeviceInfo请求参数结构体
165
+ */
166
+ export interface DescribeDeviceInfoRequest {
167
+ /**
168
+ * 目标设备所属项目ID
169
+ */
170
+ ProjectId: string
171
+
172
+ /**
173
+ * 目标设备ID
174
+ */
175
+ DeviceId: string
176
+ }
177
+
178
+ /**
179
+ * DescribeSessionStatisticsByInterval返回参数结构体
180
+ */
181
+ export interface DescribeSessionStatisticsByIntervalResponse {
182
+ /**
183
+ * 各时间段的会话统计数据
184
+ */
185
+ SessionStatistics: Array<SessionIntervalStatistic>
186
+
187
+ /**
188
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
189
+ */
190
+ RequestId?: string
191
+ }
192
+
193
+ /**
194
+ * DescribeProjectInfo请求参数结构体
195
+ */
196
+ export interface DescribeProjectInfoRequest {
197
+ /**
198
+ * 目标项目ID
199
+ */
200
+ ProjectId?: string
201
+ }
202
+
203
+ /**
204
+ * ModifyPolicy请求参数结构体
205
+ */
206
+ export interface ModifyPolicyRequest {
207
+ /**
208
+ * 修改权限配置的项目ID
209
+ */
210
+ ProjectId: string
211
+
212
+ /**
213
+ * 修改权限配置的远端设备ID
214
+ */
215
+ RemoteDeviceId: string
216
+
217
+ /**
218
+ * 权限修改涉及的现场设备ID数组
219
+ */
220
+ FieldDeviceIds: Array<string>
221
+
222
+ /**
223
+ * 修改的目标权限模式,black为黑名单,white为白名单
224
+ */
225
+ PolicyMode: string
226
+
227
+ /**
228
+ * 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联)
229
+ */
230
+ ModifyMode: string
231
+ }
232
+
233
+ /**
234
+ * DescribeDeviceInfo返回参数结构体
235
+ */
236
+ export interface DescribeDeviceInfoResponse {
237
+ /**
238
+ * 设备名称
239
+ */
240
+ DeviceName: string
241
+
242
+ /**
243
+ * 设备类型,field为现场设备(被控方),remote为远端设备(操控方)
244
+ */
245
+ DeviceType: string
246
+
247
+ /**
248
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
249
+ */
250
+ DeviceStatus: string
251
+
252
+ /**
253
+ * 设备状态最后更新时间
254
+ */
255
+ LastReportTime: string
256
+
257
+ /**
258
+ * 设备信息最后修改时间
259
+ */
260
+ ModifyTime: string
261
+
262
+ /**
263
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
264
+ */
265
+ RequestId?: string
266
+ }
267
+
268
+ /**
269
+ * DescribeProjectList返回参数结构体
270
+ */
271
+ export interface DescribeProjectListResponse {
272
+ /**
273
+ * 项目信息数组
274
+ */
275
+ Projects: Array<ProjectInfo>
276
+
277
+ /**
278
+ * 项目总数
279
+ */
280
+ Total: number
281
+
282
+ /**
283
+ * 本次返回的项目数
284
+ */
285
+ Num: number
286
+
287
+ /**
288
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
289
+ */
290
+ RequestId?: string
291
+ }
292
+
293
+ /**
294
+ * ModifyProject返回参数结构体
295
+ */
296
+ export interface ModifyProjectResponse {
297
+ /**
298
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
299
+ */
300
+ RequestId?: string
301
+ }
302
+
303
+ /**
304
+ * BatchDeletePolicy返回参数结构体
305
+ */
306
+ export interface BatchDeletePolicyResponse {
307
+ /**
308
+ * 删除权限配置失败的远端设备ID列表
309
+ */
310
+ FailedRemoteDeviceIds: Array<string>
311
+
312
+ /**
313
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
314
+ */
315
+ RequestId?: string
316
+ }
317
+
318
+ /**
319
+ * DescribePolicy请求参数结构体
320
+ */
321
+ export interface DescribePolicyRequest {
322
+ /**
323
+ * 查看权限的项目ID
324
+ */
325
+ ProjectId: string
326
+
327
+ /**
328
+ * 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
329
+ */
330
+ PolicyMode?: string
331
+
332
+ /**
333
+ * 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
334
+ */
335
+ SearchMode?: string
336
+
337
+ /**
338
+ * 模糊匹配关键字,不填默认不进行模糊匹配
339
+ */
340
+ SearchWords?: string
341
+
342
+ /**
343
+ * 每页返回的最大数量,不填默认为10
344
+ */
345
+ PageSize?: number
346
+
347
+ /**
348
+ * 当前页码,不填默认为1(首页)
349
+ */
350
+ PageNumber?: number
351
+ }
352
+
353
+ /**
354
+ * DescribeSessionStatistics请求参数结构体
355
+ */
356
+ export interface DescribeSessionStatisticsRequest {
357
+ /**
358
+ * 项目ID
359
+ */
360
+ ProjectId: string
361
+
362
+ /**
363
+ * 设备ID
364
+ */
365
+ DeviceId?: string
366
+
367
+ /**
368
+ * 起始时间,单位:秒
369
+ */
370
+ StartTime?: number
371
+
372
+ /**
373
+ * 结束时间,单位:秒
374
+ */
375
+ EndTime?: number
376
+ }
377
+
378
+ /**
379
+ * BatchDeleteDevices返回参数结构体
380
+ */
381
+ export interface BatchDeleteDevicesResponse {
382
+ /**
383
+ * 删除失败的设备ID列表
384
+ 注意:此字段可能返回 null,表示取不到有效值。
385
+ */
386
+ FailedDeviceIds: Array<string>
387
+
388
+ /**
389
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
390
+ */
391
+ RequestId?: string
392
+ }
393
+
394
+ /**
395
+ * ModifyProject请求参数结构体
396
+ */
397
+ export interface ModifyProjectRequest {
398
+ /**
399
+ * 目标修改项目的项目ID
400
+ */
401
+ ProjectId: string
402
+
403
+ /**
404
+ * 修改后的项目名称,不填则不修改
405
+ */
406
+ ProjectName?: string
407
+
408
+ /**
409
+ * 修改后的项目描述,不填则不修改
410
+ */
411
+ ProjectDescription?: string
412
+
413
+ /**
414
+ * 修改后的权限模式,black为黑名单,white为白名单,不填则不修改
415
+ */
416
+ PolicyMode?: string
417
+ }
418
+
419
+ /**
420
+ * ModifyDevice请求参数结构体
421
+ */
422
+ export interface ModifyDeviceRequest {
423
+ /**
424
+ * 要修改设备归属项目的项目ID
425
+ */
426
+ ProjectId: string
427
+
428
+ /**
429
+ * 要修改设备的设备ID
430
+ */
431
+ DeviceId: string
432
+
433
+ /**
434
+ * 修改后的设备名称,不填则不修改
435
+ */
436
+ DeviceName?: string
437
+
438
+ /**
439
+ * 修改后的设备认证口令,不填则不修改
440
+ */
441
+ DeviceToken?: string
442
+ }
443
+
444
+ /**
445
+ * DescribeProjectList请求参数结构体
446
+ */
447
+ export interface DescribeProjectListRequest {
448
+ /**
449
+ * 每页返回的最大项目数量,不填默认为10
450
+ */
451
+ PageSize?: number
452
+
453
+ /**
454
+ * 当前页码,不填默认为1(首页)
455
+ */
456
+ PageNumber?: number
457
+ }
458
+
459
+ /**
460
+ * 项目信息
461
+ */
462
+ export interface ProjectInfo {
463
+ /**
464
+ * 项目ID
465
+ */
466
+ ProjectId: string
467
+
468
+ /**
469
+ * 项目名称
470
+ */
471
+ ProjectName: string
472
+
473
+ /**
474
+ * 项目描述
475
+ */
476
+ ProjectDescription: string
477
+
478
+ /**
479
+ * 项目权限模式,black为黑名单,white为白名单
480
+ */
481
+ PolicyMode: string
482
+
483
+ /**
484
+ * 项目信息修改时间
485
+ */
486
+ ModifyTime: string
487
+ }
488
+
489
+ /**
490
+ * BatchDeletePolicy请求参数结构体
491
+ */
492
+ export interface BatchDeletePolicyRequest {
493
+ /**
494
+ * 删除权限配置的项目ID
495
+ */
496
+ ProjectId: string
497
+
498
+ /**
499
+ * 删除权限配置的远端设备ID列表
500
+ */
501
+ RemoteDeviceIds: Array<string>
502
+
503
+ /**
504
+ * 删除权限配置的权限模式, black为黑名单,white为白名单
505
+ */
506
+ PolicyMode: string
507
+ }
508
+
509
+ /**
510
+ * DescribeDeviceSessionList返回参数结构体
511
+ */
512
+ export interface DescribeDeviceSessionListResponse {
513
+ /**
514
+ * 总个数
515
+ */
516
+ Total: number
517
+
518
+ /**
519
+ * 会话列表
520
+ */
521
+ DeviceSessionList: Array<SessionInfo>
522
+
523
+ /**
524
+ * 本页数量
525
+ */
526
+ Num: number
527
+
528
+ /**
529
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
530
+ */
531
+ RequestId?: string
532
+ }
533
+
534
+ /**
535
+ * DescribeProjectInfo返回参数结构体
536
+ */
537
+ export interface DescribeProjectInfoResponse {
538
+ /**
539
+ * 项目名称
540
+ */
541
+ ProjectName: string
542
+
543
+ /**
544
+ * 项目描述
545
+ */
546
+ ProjectDescription: string
547
+
548
+ /**
549
+ * 项目权限模式,black为黑名单,white为白名单
550
+ */
551
+ PolicyMode: string
552
+
553
+ /**
554
+ * 项目信息修改时间
555
+ */
556
+ ModifyTime: string
557
+
558
+ /**
559
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
560
+ */
561
+ RequestId?: string
562
+ }
563
+
564
+ /**
565
+ * DescribeDeviceList返回参数结构体
566
+ */
567
+ export interface DescribeDeviceListResponse {
568
+ /**
569
+ * 设备信息列表
570
+ */
571
+ Devices: Array<DeviceInfo>
572
+
573
+ /**
574
+ * 设备总数
575
+ */
576
+ Total: number
577
+
578
+ /**
579
+ * 本次返回的设备数
580
+ */
581
+ Num: number
582
+
583
+ /**
584
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
585
+ */
586
+ RequestId?: string
587
+ }
588
+
589
+ /**
590
+ * DeleteProject返回参数结构体
591
+ */
592
+ export interface DeleteProjectResponse {
593
+ /**
594
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
595
+ */
596
+ RequestId?: string
597
+ }
598
+
599
+ /**
600
+ * DescribeDeviceList请求参数结构体
601
+ */
602
+ export interface DescribeDeviceListRequest {
603
+ /**
604
+ * 设备所属项目ID
605
+ */
606
+ ProjectId: string
607
+
608
+ /**
609
+ * 设备类型筛选,不填默认为全部设备类型
610
+ */
611
+ DeviceType?: string
612
+
613
+ /**
614
+ * 对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配
615
+ */
616
+ SearchWords?: string
617
+
618
+ /**
619
+ * 每页返回的最大设备数,不填默认为10
620
+ */
621
+ PageSize?: number
622
+
623
+ /**
624
+ * 当前页码,不填默认为1(首页)
625
+ */
626
+ PageNumber?: number
627
+ }
628
+
629
+ /**
630
+ * 会话数据详单(按设备区分)
631
+ */
632
+ export interface SessionDeviceDetail {
633
+ /**
634
+ * 设备类型:field或remote
635
+ */
636
+ DeviceType: string
637
+
638
+ /**
639
+ * 起始点位时间,单位:秒
640
+ */
641
+ StartTime: number
642
+
643
+ /**
644
+ * 结束点位时间,单位:秒
645
+ */
646
+ EndTime: number
647
+
648
+ /**
649
+ * 会话ID
650
+ */
651
+ SessionId: string
652
+
653
+ /**
654
+ * 码率,单位:kbps
655
+ */
656
+ Rate: Array<number>
657
+
658
+ /**
659
+ * 帧率
660
+ */
661
+ Fps: Array<number>
662
+
663
+ /**
664
+ * 丢包率,单位:%
665
+ */
666
+ Lost: Array<number>
667
+
668
+ /**
669
+ * 网络时延,单位:ms
670
+ */
671
+ NetworkLatency: Array<number>
672
+
673
+ /**
674
+ * 视频时延,单位:ms
675
+ */
676
+ VideoLatency: Array<number>
677
+
678
+ /**
679
+ * CPU使用率,单位:%
680
+ */
681
+ CpuUsed: Array<number>
682
+
683
+ /**
684
+ * 内存使用率,单位:%
685
+ */
686
+ MemUsed: Array<number>
687
+
688
+ /**
689
+ * 时间偏移量,单位:秒
690
+ */
691
+ TimeOffset: Array<number>
692
+
693
+ /**
694
+ * 项目ID
695
+ */
696
+ ProjectId: string
697
+
698
+ /**
699
+ * 设备ID
700
+ */
701
+ DeviceId: string
702
+ }
703
+
704
+ /**
705
+ * CreateDevice返回参数结构体
706
+ */
707
+ export interface CreateDeviceResponse {
708
+ /**
709
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
710
+ */
711
+ RequestId?: string
712
+ }
713
+
714
+ /**
715
+ * DescribeSessionStatisticsByInterval请求参数结构体
716
+ */
717
+ export interface DescribeSessionStatisticsByIntervalRequest {
718
+ /**
719
+ * 项目ID
720
+ */
721
+ ProjectId: string
722
+
723
+ /**
724
+ * 统计时间间隔:hour|day|month
725
+ */
726
+ StatisticInterval: string
727
+
728
+ /**
729
+ * 设备ID
730
+ */
731
+ DeviceId?: string
732
+
733
+ /**
734
+ * 起始时间,单位:秒
735
+ */
736
+ StartTime?: number
737
+
738
+ /**
739
+ * 结束时间,单位:秒
740
+ */
741
+ EndTime?: number
742
+ }
743
+
744
+ /**
745
+ * CreateDevice请求参数结构体
746
+ */
747
+ export interface CreateDeviceRequest {
748
+ /**
749
+ * 创建设备所归属的项目ID
750
+ */
751
+ ProjectId: string
752
+
753
+ /**
754
+ * 创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过18
755
+ */
756
+ DeviceId: string
757
+
758
+ /**
759
+ * 创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线
760
+ */
761
+ DeviceName: string
762
+
763
+ /**
764
+ * 设备类型,field为现场设备(受控设备),remote为远端设备(操控设备),不填默认为field
765
+ */
766
+ DeviceType: string
767
+
768
+ /**
769
+ * 设备认证口令,由大小写英文字母和数字构成,须为16位
770
+ */
771
+ DeviceToken: string
772
+ }
773
+
774
+ /**
775
+ * DescribeSessionStatistics返回参数结构体
776
+ */
777
+ export interface DescribeSessionStatisticsResponse {
778
+ /**
779
+ * 会话数量
780
+ */
781
+ SessionNum: number
782
+
783
+ /**
784
+ * 通话时长,单位:分钟
785
+ */
786
+ TotalDuration: number
787
+
788
+ /**
789
+ * 活跃现场设备数
790
+ */
791
+ ActiveFieldDeviceNum: number
792
+
793
+ /**
794
+ * 活跃远端设备数
795
+ */
796
+ ActiveRemoteDeviceNum: number
797
+
798
+ /**
799
+ * 优良会话占比,单位:%
800
+ */
801
+ NotBadSessionRatio: number
802
+
803
+ /**
804
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
805
+ */
806
+ RequestId?: string
807
+ }
808
+
809
+ /**
810
+ * DescribeDeviceSessionDetails请求参数结构体
811
+ */
812
+ export interface DescribeDeviceSessionDetailsRequest {
813
+ /**
814
+ * 会话ID
815
+ */
816
+ SessionId: string
817
+ }
818
+
819
+ /**
820
+ * 设备信息
821
+ */
822
+ export interface DeviceInfo {
823
+ /**
824
+ * 设备ID
825
+ */
826
+ DeviceId: string
827
+
828
+ /**
829
+ * 设备名称
830
+ */
831
+ DeviceName: string
832
+
833
+ /**
834
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
835
+ */
836
+ DeviceStatus: string
837
+
838
+ /**
839
+ * 设备类型,field为现场设备(受控方),remote为远端设备(操控方)
840
+ */
841
+ DeviceType: string
842
+
843
+ /**
844
+ * 设备信息最近修改时间
845
+ */
846
+ ModifyTime: string
847
+
848
+ /**
849
+ * 设备状态最近更新时间
850
+ */
851
+ LastReportTime: string
852
+
853
+ /**
854
+ * 设备所属项目Id
855
+ */
856
+ ProjectId: string
857
+ }
858
+
859
+ /**
860
+ * DescribeDeviceSessionList请求参数结构体
861
+ */
862
+ export interface DescribeDeviceSessionListRequest {
863
+ /**
864
+ * 项目ID
865
+ */
866
+ ProjectId: string
867
+
868
+ /**
869
+ * 页码,从1开始
870
+ */
871
+ PageNumber: number
872
+
873
+ /**
874
+ * 每页个数
875
+ */
876
+ PageSize: number
877
+
878
+ /**
879
+ * 设备ID
880
+ */
881
+ DeviceId?: string
882
+
883
+ /**
884
+ * 开始时间
885
+ */
886
+ StartTime?: number
887
+
888
+ /**
889
+ * 结束时间
890
+ */
891
+ EndTime?: number
892
+ }
893
+
894
+ /**
895
+ * ModifyPolicy返回参数结构体
896
+ */
897
+ export interface ModifyPolicyResponse {
898
+ /**
899
+ * 添加关联失败的现场设备ID列表
900
+ 注意:此字段可能返回 null,表示取不到有效值。
901
+ */
902
+ FailedInsertIds: Array<string>
903
+
904
+ /**
905
+ * 解除关联失败的现场设备ID列表
906
+ 注意:此字段可能返回 null,表示取不到有效值。
907
+ */
908
+ FailedDeleteIds: Array<string>
909
+
910
+ /**
911
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
912
+ */
913
+ RequestId?: string
914
+ }
915
+
916
+ /**
917
+ * CreateProject返回参数结构体
918
+ */
919
+ export interface CreateProjectResponse {
920
+ /**
921
+ * 项目ID,长度为16位
922
+ */
923
+ ProjectId: string
924
+
925
+ /**
926
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
927
+ */
928
+ RequestId?: string
929
+ }
930
+
931
+ /**
932
+ * 单位时间间隔的会话统计数据
933
+ */
934
+ export interface SessionIntervalStatistic {
935
+ /**
936
+ * 活跃现场设备数
937
+ */
938
+ ActiveFieldDeviceNum: number
939
+
940
+ /**
941
+ * 活跃远端设备数
942
+ */
943
+ ActiveRemoteDeviceNum: number
944
+
945
+ /**
946
+ * 会话数量
947
+ */
948
+ SessionNum: number
949
+
950
+ /**
951
+ * 会话时长,单位:分钟
952
+ */
953
+ TotalDuration: number
954
+
955
+ /**
956
+ * 时间戳,单位:秒
957
+ */
958
+ StartTime: number
959
+
960
+ /**
961
+ * 时间戳,单位:秒
962
+ */
963
+ EndTime: number
964
+
965
+ /**
966
+ * 优良会话占比,单位:%
967
+ */
968
+ NotBadSessionRatio: number
969
+ }
970
+
971
+ /**
972
+ * CreateProject请求参数结构体
973
+ */
974
+ export interface CreateProjectRequest {
975
+ /**
976
+ * 项目名称,长度不超过24个字符
977
+ */
978
+ ProjectName: string
979
+
980
+ /**
981
+ * 项目描述,长度不超过120个字符,不填默认为空
982
+ */
983
+ ProjectDescription?: string
984
+
985
+ /**
986
+ * 权限模式,black为黑名单,white为白名单,不填默认为black
987
+ */
988
+ PolicyMode?: string
989
+ }