@awarevue/api-types 2.0.39 → 2.0.40
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/dist/api/agent-protocol/protocol.d.ts +204 -136
- package/dist/api/commands/all.d.ts +135 -92
- package/dist/api/commands/nvr-exporter.d.ts +140 -92
- package/dist/api/commands/nvr-exporter.js +1 -0
- package/dist/api/commands/server.d.ts +130 -92
- package/dist/api/queries/all.d.ts +153 -102
- package/dist/api/queries/nvr-recorder.d.ts +306 -204
- package/dist/api/rest/cast.d.ts +2 -2
- package/dist/api/rest/device.d.ts +18 -0
- package/dist/api/rest/device.js +3 -0
- package/dist/api/rest/media.d.ts +3 -0
- package/dist/api/rest/media.js +1 -0
- package/dist/api/rest/view.d.ts +68 -14
- package/dist/api/rest/webrtc-playback.d.ts +18 -3
- package/dist/api/rest/webrtc-playback.js +5 -1
- package/dist/objects/device/any-device.d.ts +111 -66
- package/dist/objects/device/camera.d.ts +59 -22
- package/dist/objects/device/camera.js +5 -4
- package/dist/objects/device/device-import.d.ts +190 -124
- package/dist/objects/view.d.ts +114 -21
- package/dist/objects/view.js +7 -4
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +74 -44
- package/package.json +1 -1
|
@@ -426,8 +426,6 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
426
426
|
}, {
|
|
427
427
|
type: "alarm";
|
|
428
428
|
}>, z.ZodObject<{
|
|
429
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
430
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
431
429
|
ptzCapable: z.ZodBoolean;
|
|
432
430
|
ptzPanSpeed: z.ZodNumber;
|
|
433
431
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -438,31 +436,46 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
438
436
|
tiltMax: z.ZodNumber;
|
|
439
437
|
zoomMin: z.ZodNumber;
|
|
440
438
|
zoomMax: z.ZodNumber;
|
|
441
|
-
recordingCapable: z.ZodBoolean;
|
|
442
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
443
|
-
kind: z.ZodString;
|
|
444
|
-
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
kind: string;
|
|
446
|
-
}, {
|
|
447
|
-
kind: string;
|
|
448
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
449
439
|
streams: z.ZodArray<z.ZodObject<{
|
|
450
440
|
id: z.ZodString;
|
|
451
441
|
displayName: z.ZodString;
|
|
452
442
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
453
443
|
rtspUrl: z.ZodString;
|
|
444
|
+
recordingCapable: z.ZodBoolean;
|
|
445
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
446
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
447
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
448
|
+
kind: z.ZodString;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
kind: string;
|
|
451
|
+
}, {
|
|
452
|
+
kind: string;
|
|
453
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
454
454
|
}, "strip", z.ZodTypeAny, {
|
|
455
455
|
id: string;
|
|
456
456
|
displayName: string;
|
|
457
457
|
externalPlayerUrl: string | null;
|
|
458
458
|
rtspUrl: string;
|
|
459
|
+
recordingCapable: boolean;
|
|
460
|
+
lensType: "flat" | "fisheye";
|
|
461
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
462
|
+
webrtcPlaybackSource: ({
|
|
463
|
+
kind: string;
|
|
464
|
+
} & Record<string, unknown>) | null;
|
|
459
465
|
}, {
|
|
460
466
|
id: string;
|
|
461
467
|
displayName: string;
|
|
462
468
|
externalPlayerUrl: string | null;
|
|
463
469
|
rtspUrl: string;
|
|
470
|
+
recordingCapable: boolean;
|
|
471
|
+
lensType: "flat" | "fisheye";
|
|
472
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
473
|
+
webrtcPlaybackSource: ({
|
|
474
|
+
kind: string;
|
|
475
|
+
} & Record<string, unknown>) | null;
|
|
464
476
|
}>, "many">;
|
|
465
477
|
defaultStreamId: z.ZodString;
|
|
478
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
466
479
|
} & {
|
|
467
480
|
type: z.ZodLiteral<"camera">;
|
|
468
481
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -472,9 +485,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
472
485
|
displayName: string;
|
|
473
486
|
externalPlayerUrl: string | null;
|
|
474
487
|
rtspUrl: string;
|
|
488
|
+
recordingCapable: boolean;
|
|
489
|
+
lensType: "flat" | "fisheye";
|
|
490
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
491
|
+
webrtcPlaybackSource: ({
|
|
492
|
+
kind: string;
|
|
493
|
+
} & Record<string, unknown>) | null;
|
|
475
494
|
}[];
|
|
476
|
-
lensType: "flat" | "fisheye";
|
|
477
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
478
495
|
ptzCapable: boolean;
|
|
479
496
|
ptzPanSpeed: number;
|
|
480
497
|
ptzTiltSpeed: number;
|
|
@@ -485,11 +502,8 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
485
502
|
tiltMax: number;
|
|
486
503
|
zoomMin: number;
|
|
487
504
|
zoomMax: number;
|
|
488
|
-
recordingCapable: boolean;
|
|
489
|
-
webrtcPlaybackSource: ({
|
|
490
|
-
kind: string;
|
|
491
|
-
} & Record<string, unknown>) | null;
|
|
492
505
|
defaultStreamId: string;
|
|
506
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
493
507
|
}, {
|
|
494
508
|
type: "camera";
|
|
495
509
|
streams: {
|
|
@@ -497,9 +511,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
497
511
|
displayName: string;
|
|
498
512
|
externalPlayerUrl: string | null;
|
|
499
513
|
rtspUrl: string;
|
|
514
|
+
recordingCapable: boolean;
|
|
515
|
+
lensType: "flat" | "fisheye";
|
|
516
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
517
|
+
webrtcPlaybackSource: ({
|
|
518
|
+
kind: string;
|
|
519
|
+
} & Record<string, unknown>) | null;
|
|
500
520
|
}[];
|
|
501
|
-
lensType: "flat" | "fisheye";
|
|
502
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
503
521
|
ptzCapable: boolean;
|
|
504
522
|
ptzPanSpeed: number;
|
|
505
523
|
ptzTiltSpeed: number;
|
|
@@ -510,11 +528,8 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
510
528
|
tiltMax: number;
|
|
511
529
|
zoomMin: number;
|
|
512
530
|
zoomMax: number;
|
|
513
|
-
recordingCapable: boolean;
|
|
514
|
-
webrtcPlaybackSource: ({
|
|
515
|
-
kind: string;
|
|
516
|
-
} & Record<string, unknown>) | null;
|
|
517
531
|
defaultStreamId: string;
|
|
532
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
518
533
|
}>, z.ZodObject<{
|
|
519
534
|
canReportOpenState: z.ZodBoolean;
|
|
520
535
|
canReportLockState: z.ZodBoolean;
|
|
@@ -692,9 +707,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
692
707
|
displayName: string;
|
|
693
708
|
externalPlayerUrl: string | null;
|
|
694
709
|
rtspUrl: string;
|
|
710
|
+
recordingCapable: boolean;
|
|
711
|
+
lensType: "flat" | "fisheye";
|
|
712
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
713
|
+
webrtcPlaybackSource: ({
|
|
714
|
+
kind: string;
|
|
715
|
+
} & Record<string, unknown>) | null;
|
|
695
716
|
}[];
|
|
696
|
-
lensType: "flat" | "fisheye";
|
|
697
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
698
717
|
ptzCapable: boolean;
|
|
699
718
|
ptzPanSpeed: number;
|
|
700
719
|
ptzTiltSpeed: number;
|
|
@@ -705,11 +724,8 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
705
724
|
tiltMax: number;
|
|
706
725
|
zoomMin: number;
|
|
707
726
|
zoomMax: number;
|
|
708
|
-
recordingCapable: boolean;
|
|
709
|
-
webrtcPlaybackSource: ({
|
|
710
|
-
kind: string;
|
|
711
|
-
} & Record<string, unknown>) | null;
|
|
712
727
|
defaultStreamId: string;
|
|
728
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
713
729
|
} | {
|
|
714
730
|
type: "door";
|
|
715
731
|
canReportOpenState: boolean;
|
|
@@ -788,9 +804,13 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
788
804
|
displayName: string;
|
|
789
805
|
externalPlayerUrl: string | null;
|
|
790
806
|
rtspUrl: string;
|
|
807
|
+
recordingCapable: boolean;
|
|
808
|
+
lensType: "flat" | "fisheye";
|
|
809
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
810
|
+
webrtcPlaybackSource: ({
|
|
811
|
+
kind: string;
|
|
812
|
+
} & Record<string, unknown>) | null;
|
|
791
813
|
}[];
|
|
792
|
-
lensType: "flat" | "fisheye";
|
|
793
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
794
814
|
ptzCapable: boolean;
|
|
795
815
|
ptzPanSpeed: number;
|
|
796
816
|
ptzTiltSpeed: number;
|
|
@@ -801,11 +821,8 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
801
821
|
tiltMax: number;
|
|
802
822
|
zoomMin: number;
|
|
803
823
|
zoomMax: number;
|
|
804
|
-
recordingCapable: boolean;
|
|
805
|
-
webrtcPlaybackSource: ({
|
|
806
|
-
kind: string;
|
|
807
|
-
} & Record<string, unknown>) | null;
|
|
808
824
|
defaultStreamId: string;
|
|
825
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
809
826
|
} | {
|
|
810
827
|
type: "door";
|
|
811
828
|
canReportOpenState: boolean;
|
|
@@ -940,8 +957,6 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
940
957
|
}, {
|
|
941
958
|
type: "alarm";
|
|
942
959
|
}>, z.ZodObject<{
|
|
943
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
944
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
945
960
|
ptzCapable: z.ZodBoolean;
|
|
946
961
|
ptzPanSpeed: z.ZodNumber;
|
|
947
962
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -952,31 +967,46 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
952
967
|
tiltMax: z.ZodNumber;
|
|
953
968
|
zoomMin: z.ZodNumber;
|
|
954
969
|
zoomMax: z.ZodNumber;
|
|
955
|
-
recordingCapable: z.ZodBoolean;
|
|
956
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
957
|
-
kind: z.ZodString;
|
|
958
|
-
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
kind: string;
|
|
960
|
-
}, {
|
|
961
|
-
kind: string;
|
|
962
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
963
970
|
streams: z.ZodArray<z.ZodObject<{
|
|
964
971
|
id: z.ZodString;
|
|
965
972
|
displayName: z.ZodString;
|
|
966
973
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
967
974
|
rtspUrl: z.ZodString;
|
|
975
|
+
recordingCapable: z.ZodBoolean;
|
|
976
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
977
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
978
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
979
|
+
kind: z.ZodString;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
kind: string;
|
|
982
|
+
}, {
|
|
983
|
+
kind: string;
|
|
984
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
968
985
|
}, "strip", z.ZodTypeAny, {
|
|
969
986
|
id: string;
|
|
970
987
|
displayName: string;
|
|
971
988
|
externalPlayerUrl: string | null;
|
|
972
989
|
rtspUrl: string;
|
|
990
|
+
recordingCapable: boolean;
|
|
991
|
+
lensType: "flat" | "fisheye";
|
|
992
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
993
|
+
webrtcPlaybackSource: ({
|
|
994
|
+
kind: string;
|
|
995
|
+
} & Record<string, unknown>) | null;
|
|
973
996
|
}, {
|
|
974
997
|
id: string;
|
|
975
998
|
displayName: string;
|
|
976
999
|
externalPlayerUrl: string | null;
|
|
977
1000
|
rtspUrl: string;
|
|
1001
|
+
recordingCapable: boolean;
|
|
1002
|
+
lensType: "flat" | "fisheye";
|
|
1003
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1004
|
+
webrtcPlaybackSource: ({
|
|
1005
|
+
kind: string;
|
|
1006
|
+
} & Record<string, unknown>) | null;
|
|
978
1007
|
}>, "many">;
|
|
979
1008
|
defaultStreamId: z.ZodString;
|
|
1009
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
980
1010
|
} & {
|
|
981
1011
|
type: z.ZodLiteral<"camera">;
|
|
982
1012
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -986,9 +1016,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
986
1016
|
displayName: string;
|
|
987
1017
|
externalPlayerUrl: string | null;
|
|
988
1018
|
rtspUrl: string;
|
|
1019
|
+
recordingCapable: boolean;
|
|
1020
|
+
lensType: "flat" | "fisheye";
|
|
1021
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1022
|
+
webrtcPlaybackSource: ({
|
|
1023
|
+
kind: string;
|
|
1024
|
+
} & Record<string, unknown>) | null;
|
|
989
1025
|
}[];
|
|
990
|
-
lensType: "flat" | "fisheye";
|
|
991
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
992
1026
|
ptzCapable: boolean;
|
|
993
1027
|
ptzPanSpeed: number;
|
|
994
1028
|
ptzTiltSpeed: number;
|
|
@@ -999,11 +1033,8 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
999
1033
|
tiltMax: number;
|
|
1000
1034
|
zoomMin: number;
|
|
1001
1035
|
zoomMax: number;
|
|
1002
|
-
recordingCapable: boolean;
|
|
1003
|
-
webrtcPlaybackSource: ({
|
|
1004
|
-
kind: string;
|
|
1005
|
-
} & Record<string, unknown>) | null;
|
|
1006
1036
|
defaultStreamId: string;
|
|
1037
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1007
1038
|
}, {
|
|
1008
1039
|
type: "camera";
|
|
1009
1040
|
streams: {
|
|
@@ -1011,9 +1042,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1011
1042
|
displayName: string;
|
|
1012
1043
|
externalPlayerUrl: string | null;
|
|
1013
1044
|
rtspUrl: string;
|
|
1045
|
+
recordingCapable: boolean;
|
|
1046
|
+
lensType: "flat" | "fisheye";
|
|
1047
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1048
|
+
webrtcPlaybackSource: ({
|
|
1049
|
+
kind: string;
|
|
1050
|
+
} & Record<string, unknown>) | null;
|
|
1014
1051
|
}[];
|
|
1015
|
-
lensType: "flat" | "fisheye";
|
|
1016
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1017
1052
|
ptzCapable: boolean;
|
|
1018
1053
|
ptzPanSpeed: number;
|
|
1019
1054
|
ptzTiltSpeed: number;
|
|
@@ -1024,11 +1059,8 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1024
1059
|
tiltMax: number;
|
|
1025
1060
|
zoomMin: number;
|
|
1026
1061
|
zoomMax: number;
|
|
1027
|
-
recordingCapable: boolean;
|
|
1028
|
-
webrtcPlaybackSource: ({
|
|
1029
|
-
kind: string;
|
|
1030
|
-
} & Record<string, unknown>) | null;
|
|
1031
1062
|
defaultStreamId: string;
|
|
1063
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1032
1064
|
}>, z.ZodObject<{
|
|
1033
1065
|
canReportOpenState: z.ZodBoolean;
|
|
1034
1066
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1203,9 +1235,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1203
1235
|
displayName: string;
|
|
1204
1236
|
externalPlayerUrl: string | null;
|
|
1205
1237
|
rtspUrl: string;
|
|
1238
|
+
recordingCapable: boolean;
|
|
1239
|
+
lensType: "flat" | "fisheye";
|
|
1240
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1241
|
+
webrtcPlaybackSource: ({
|
|
1242
|
+
kind: string;
|
|
1243
|
+
} & Record<string, unknown>) | null;
|
|
1206
1244
|
}[];
|
|
1207
|
-
lensType: "flat" | "fisheye";
|
|
1208
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1209
1245
|
ptzCapable: boolean;
|
|
1210
1246
|
ptzPanSpeed: number;
|
|
1211
1247
|
ptzTiltSpeed: number;
|
|
@@ -1216,11 +1252,8 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1216
1252
|
tiltMax: number;
|
|
1217
1253
|
zoomMin: number;
|
|
1218
1254
|
zoomMax: number;
|
|
1219
|
-
recordingCapable: boolean;
|
|
1220
|
-
webrtcPlaybackSource: ({
|
|
1221
|
-
kind: string;
|
|
1222
|
-
} & Record<string, unknown>) | null;
|
|
1223
1255
|
defaultStreamId: string;
|
|
1256
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1224
1257
|
} | {
|
|
1225
1258
|
type: "door";
|
|
1226
1259
|
canReportOpenState: boolean;
|
|
@@ -1298,9 +1331,13 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1298
1331
|
displayName: string;
|
|
1299
1332
|
externalPlayerUrl: string | null;
|
|
1300
1333
|
rtspUrl: string;
|
|
1334
|
+
recordingCapable: boolean;
|
|
1335
|
+
lensType: "flat" | "fisheye";
|
|
1336
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1337
|
+
webrtcPlaybackSource: ({
|
|
1338
|
+
kind: string;
|
|
1339
|
+
} & Record<string, unknown>) | null;
|
|
1301
1340
|
}[];
|
|
1302
|
-
lensType: "flat" | "fisheye";
|
|
1303
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1304
1341
|
ptzCapable: boolean;
|
|
1305
1342
|
ptzPanSpeed: number;
|
|
1306
1343
|
ptzTiltSpeed: number;
|
|
@@ -1311,11 +1348,8 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
1311
1348
|
tiltMax: number;
|
|
1312
1349
|
zoomMin: number;
|
|
1313
1350
|
zoomMax: number;
|
|
1314
|
-
recordingCapable: boolean;
|
|
1315
|
-
webrtcPlaybackSource: ({
|
|
1316
|
-
kind: string;
|
|
1317
|
-
} & Record<string, unknown>) | null;
|
|
1318
1351
|
defaultStreamId: string;
|
|
1352
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1319
1353
|
} | {
|
|
1320
1354
|
type: "door";
|
|
1321
1355
|
canReportOpenState: boolean;
|
|
@@ -1456,8 +1490,6 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1456
1490
|
}, {
|
|
1457
1491
|
type: "alarm";
|
|
1458
1492
|
}>, z.ZodObject<{
|
|
1459
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1460
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1461
1493
|
ptzCapable: z.ZodBoolean;
|
|
1462
1494
|
ptzPanSpeed: z.ZodNumber;
|
|
1463
1495
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -1468,31 +1500,46 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1468
1500
|
tiltMax: z.ZodNumber;
|
|
1469
1501
|
zoomMin: z.ZodNumber;
|
|
1470
1502
|
zoomMax: z.ZodNumber;
|
|
1471
|
-
recordingCapable: z.ZodBoolean;
|
|
1472
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1473
|
-
kind: z.ZodString;
|
|
1474
|
-
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
kind: string;
|
|
1476
|
-
}, {
|
|
1477
|
-
kind: string;
|
|
1478
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1479
1503
|
streams: z.ZodArray<z.ZodObject<{
|
|
1480
1504
|
id: z.ZodString;
|
|
1481
1505
|
displayName: z.ZodString;
|
|
1482
1506
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1483
1507
|
rtspUrl: z.ZodString;
|
|
1508
|
+
recordingCapable: z.ZodBoolean;
|
|
1509
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1510
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
1511
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
1512
|
+
kind: z.ZodString;
|
|
1513
|
+
}, "strip", z.ZodTypeAny, {
|
|
1514
|
+
kind: string;
|
|
1515
|
+
}, {
|
|
1516
|
+
kind: string;
|
|
1517
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1484
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1485
1519
|
id: string;
|
|
1486
1520
|
displayName: string;
|
|
1487
1521
|
externalPlayerUrl: string | null;
|
|
1488
1522
|
rtspUrl: string;
|
|
1523
|
+
recordingCapable: boolean;
|
|
1524
|
+
lensType: "flat" | "fisheye";
|
|
1525
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1526
|
+
webrtcPlaybackSource: ({
|
|
1527
|
+
kind: string;
|
|
1528
|
+
} & Record<string, unknown>) | null;
|
|
1489
1529
|
}, {
|
|
1490
1530
|
id: string;
|
|
1491
1531
|
displayName: string;
|
|
1492
1532
|
externalPlayerUrl: string | null;
|
|
1493
1533
|
rtspUrl: string;
|
|
1534
|
+
recordingCapable: boolean;
|
|
1535
|
+
lensType: "flat" | "fisheye";
|
|
1536
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1537
|
+
webrtcPlaybackSource: ({
|
|
1538
|
+
kind: string;
|
|
1539
|
+
} & Record<string, unknown>) | null;
|
|
1494
1540
|
}>, "many">;
|
|
1495
1541
|
defaultStreamId: z.ZodString;
|
|
1542
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
1496
1543
|
} & {
|
|
1497
1544
|
type: z.ZodLiteral<"camera">;
|
|
1498
1545
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1502,9 +1549,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1502
1549
|
displayName: string;
|
|
1503
1550
|
externalPlayerUrl: string | null;
|
|
1504
1551
|
rtspUrl: string;
|
|
1552
|
+
recordingCapable: boolean;
|
|
1553
|
+
lensType: "flat" | "fisheye";
|
|
1554
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1555
|
+
webrtcPlaybackSource: ({
|
|
1556
|
+
kind: string;
|
|
1557
|
+
} & Record<string, unknown>) | null;
|
|
1505
1558
|
}[];
|
|
1506
|
-
lensType: "flat" | "fisheye";
|
|
1507
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1508
1559
|
ptzCapable: boolean;
|
|
1509
1560
|
ptzPanSpeed: number;
|
|
1510
1561
|
ptzTiltSpeed: number;
|
|
@@ -1515,11 +1566,8 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1515
1566
|
tiltMax: number;
|
|
1516
1567
|
zoomMin: number;
|
|
1517
1568
|
zoomMax: number;
|
|
1518
|
-
recordingCapable: boolean;
|
|
1519
|
-
webrtcPlaybackSource: ({
|
|
1520
|
-
kind: string;
|
|
1521
|
-
} & Record<string, unknown>) | null;
|
|
1522
1569
|
defaultStreamId: string;
|
|
1570
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1523
1571
|
}, {
|
|
1524
1572
|
type: "camera";
|
|
1525
1573
|
streams: {
|
|
@@ -1527,9 +1575,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1527
1575
|
displayName: string;
|
|
1528
1576
|
externalPlayerUrl: string | null;
|
|
1529
1577
|
rtspUrl: string;
|
|
1578
|
+
recordingCapable: boolean;
|
|
1579
|
+
lensType: "flat" | "fisheye";
|
|
1580
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1581
|
+
webrtcPlaybackSource: ({
|
|
1582
|
+
kind: string;
|
|
1583
|
+
} & Record<string, unknown>) | null;
|
|
1530
1584
|
}[];
|
|
1531
|
-
lensType: "flat" | "fisheye";
|
|
1532
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1533
1585
|
ptzCapable: boolean;
|
|
1534
1586
|
ptzPanSpeed: number;
|
|
1535
1587
|
ptzTiltSpeed: number;
|
|
@@ -1540,11 +1592,8 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1540
1592
|
tiltMax: number;
|
|
1541
1593
|
zoomMin: number;
|
|
1542
1594
|
zoomMax: number;
|
|
1543
|
-
recordingCapable: boolean;
|
|
1544
|
-
webrtcPlaybackSource: ({
|
|
1545
|
-
kind: string;
|
|
1546
|
-
} & Record<string, unknown>) | null;
|
|
1547
1595
|
defaultStreamId: string;
|
|
1596
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1548
1597
|
}>, z.ZodObject<{
|
|
1549
1598
|
canReportOpenState: z.ZodBoolean;
|
|
1550
1599
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1721,9 +1770,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1721
1770
|
displayName: string;
|
|
1722
1771
|
externalPlayerUrl: string | null;
|
|
1723
1772
|
rtspUrl: string;
|
|
1773
|
+
recordingCapable: boolean;
|
|
1774
|
+
lensType: "flat" | "fisheye";
|
|
1775
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1776
|
+
webrtcPlaybackSource: ({
|
|
1777
|
+
kind: string;
|
|
1778
|
+
} & Record<string, unknown>) | null;
|
|
1724
1779
|
}[];
|
|
1725
|
-
lensType: "flat" | "fisheye";
|
|
1726
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1727
1780
|
ptzCapable: boolean;
|
|
1728
1781
|
ptzPanSpeed: number;
|
|
1729
1782
|
ptzTiltSpeed: number;
|
|
@@ -1734,11 +1787,8 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1734
1787
|
tiltMax: number;
|
|
1735
1788
|
zoomMin: number;
|
|
1736
1789
|
zoomMax: number;
|
|
1737
|
-
recordingCapable: boolean;
|
|
1738
|
-
webrtcPlaybackSource: ({
|
|
1739
|
-
kind: string;
|
|
1740
|
-
} & Record<string, unknown>) | null;
|
|
1741
1790
|
defaultStreamId: string;
|
|
1791
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1742
1792
|
} | {
|
|
1743
1793
|
type: "door";
|
|
1744
1794
|
canReportOpenState: boolean;
|
|
@@ -1817,9 +1867,13 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1817
1867
|
displayName: string;
|
|
1818
1868
|
externalPlayerUrl: string | null;
|
|
1819
1869
|
rtspUrl: string;
|
|
1870
|
+
recordingCapable: boolean;
|
|
1871
|
+
lensType: "flat" | "fisheye";
|
|
1872
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
1873
|
+
webrtcPlaybackSource: ({
|
|
1874
|
+
kind: string;
|
|
1875
|
+
} & Record<string, unknown>) | null;
|
|
1820
1876
|
}[];
|
|
1821
|
-
lensType: "flat" | "fisheye";
|
|
1822
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
1823
1877
|
ptzCapable: boolean;
|
|
1824
1878
|
ptzPanSpeed: number;
|
|
1825
1879
|
ptzTiltSpeed: number;
|
|
@@ -1830,11 +1884,8 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
1830
1884
|
tiltMax: number;
|
|
1831
1885
|
zoomMin: number;
|
|
1832
1886
|
zoomMax: number;
|
|
1833
|
-
recordingCapable: boolean;
|
|
1834
|
-
webrtcPlaybackSource: ({
|
|
1835
|
-
kind: string;
|
|
1836
|
-
} & Record<string, unknown>) | null;
|
|
1837
1887
|
defaultStreamId: string;
|
|
1888
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1838
1889
|
} | {
|
|
1839
1890
|
type: "door";
|
|
1840
1891
|
canReportOpenState: boolean;
|
|
@@ -1999,8 +2050,6 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1999
2050
|
}, {
|
|
2000
2051
|
type: "alarm";
|
|
2001
2052
|
}>, z.ZodObject<{
|
|
2002
|
-
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2003
|
-
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
2004
2053
|
ptzCapable: z.ZodBoolean;
|
|
2005
2054
|
ptzPanSpeed: z.ZodNumber;
|
|
2006
2055
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -2011,31 +2060,46 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2011
2060
|
tiltMax: z.ZodNumber;
|
|
2012
2061
|
zoomMin: z.ZodNumber;
|
|
2013
2062
|
zoomMax: z.ZodNumber;
|
|
2014
|
-
recordingCapable: z.ZodBoolean;
|
|
2015
|
-
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
2016
|
-
kind: z.ZodString;
|
|
2017
|
-
}, "strip", z.ZodTypeAny, {
|
|
2018
|
-
kind: string;
|
|
2019
|
-
}, {
|
|
2020
|
-
kind: string;
|
|
2021
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2022
2063
|
streams: z.ZodArray<z.ZodObject<{
|
|
2023
2064
|
id: z.ZodString;
|
|
2024
2065
|
displayName: z.ZodString;
|
|
2025
2066
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
2026
2067
|
rtspUrl: z.ZodString;
|
|
2068
|
+
recordingCapable: z.ZodBoolean;
|
|
2069
|
+
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2070
|
+
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
2071
|
+
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
2072
|
+
kind: z.ZodString;
|
|
2073
|
+
}, "strip", z.ZodTypeAny, {
|
|
2074
|
+
kind: string;
|
|
2075
|
+
}, {
|
|
2076
|
+
kind: string;
|
|
2077
|
+
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2027
2078
|
}, "strip", z.ZodTypeAny, {
|
|
2028
2079
|
id: string;
|
|
2029
2080
|
displayName: string;
|
|
2030
2081
|
externalPlayerUrl: string | null;
|
|
2031
2082
|
rtspUrl: string;
|
|
2083
|
+
recordingCapable: boolean;
|
|
2084
|
+
lensType: "flat" | "fisheye";
|
|
2085
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2086
|
+
webrtcPlaybackSource: ({
|
|
2087
|
+
kind: string;
|
|
2088
|
+
} & Record<string, unknown>) | null;
|
|
2032
2089
|
}, {
|
|
2033
2090
|
id: string;
|
|
2034
2091
|
displayName: string;
|
|
2035
2092
|
externalPlayerUrl: string | null;
|
|
2036
2093
|
rtspUrl: string;
|
|
2094
|
+
recordingCapable: boolean;
|
|
2095
|
+
lensType: "flat" | "fisheye";
|
|
2096
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2097
|
+
webrtcPlaybackSource: ({
|
|
2098
|
+
kind: string;
|
|
2099
|
+
} & Record<string, unknown>) | null;
|
|
2037
2100
|
}>, "many">;
|
|
2038
2101
|
defaultStreamId: z.ZodString;
|
|
2102
|
+
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
2039
2103
|
} & {
|
|
2040
2104
|
type: z.ZodLiteral<"camera">;
|
|
2041
2105
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2045,9 +2109,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2045
2109
|
displayName: string;
|
|
2046
2110
|
externalPlayerUrl: string | null;
|
|
2047
2111
|
rtspUrl: string;
|
|
2112
|
+
recordingCapable: boolean;
|
|
2113
|
+
lensType: "flat" | "fisheye";
|
|
2114
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2115
|
+
webrtcPlaybackSource: ({
|
|
2116
|
+
kind: string;
|
|
2117
|
+
} & Record<string, unknown>) | null;
|
|
2048
2118
|
}[];
|
|
2049
|
-
lensType: "flat" | "fisheye";
|
|
2050
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
2051
2119
|
ptzCapable: boolean;
|
|
2052
2120
|
ptzPanSpeed: number;
|
|
2053
2121
|
ptzTiltSpeed: number;
|
|
@@ -2058,11 +2126,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2058
2126
|
tiltMax: number;
|
|
2059
2127
|
zoomMin: number;
|
|
2060
2128
|
zoomMax: number;
|
|
2061
|
-
recordingCapable: boolean;
|
|
2062
|
-
webrtcPlaybackSource: ({
|
|
2063
|
-
kind: string;
|
|
2064
|
-
} & Record<string, unknown>) | null;
|
|
2065
2129
|
defaultStreamId: string;
|
|
2130
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2066
2131
|
}, {
|
|
2067
2132
|
type: "camera";
|
|
2068
2133
|
streams: {
|
|
@@ -2070,9 +2135,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2070
2135
|
displayName: string;
|
|
2071
2136
|
externalPlayerUrl: string | null;
|
|
2072
2137
|
rtspUrl: string;
|
|
2138
|
+
recordingCapable: boolean;
|
|
2139
|
+
lensType: "flat" | "fisheye";
|
|
2140
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2141
|
+
webrtcPlaybackSource: ({
|
|
2142
|
+
kind: string;
|
|
2143
|
+
} & Record<string, unknown>) | null;
|
|
2073
2144
|
}[];
|
|
2074
|
-
lensType: "flat" | "fisheye";
|
|
2075
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
2076
2145
|
ptzCapable: boolean;
|
|
2077
2146
|
ptzPanSpeed: number;
|
|
2078
2147
|
ptzTiltSpeed: number;
|
|
@@ -2083,11 +2152,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2083
2152
|
tiltMax: number;
|
|
2084
2153
|
zoomMin: number;
|
|
2085
2154
|
zoomMax: number;
|
|
2086
|
-
recordingCapable: boolean;
|
|
2087
|
-
webrtcPlaybackSource: ({
|
|
2088
|
-
kind: string;
|
|
2089
|
-
} & Record<string, unknown>) | null;
|
|
2090
2155
|
defaultStreamId: string;
|
|
2156
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2091
2157
|
}>, z.ZodObject<{
|
|
2092
2158
|
canReportOpenState: z.ZodBoolean;
|
|
2093
2159
|
canReportLockState: z.ZodBoolean;
|
|
@@ -2272,9 +2338,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2272
2338
|
displayName: string;
|
|
2273
2339
|
externalPlayerUrl: string | null;
|
|
2274
2340
|
rtspUrl: string;
|
|
2341
|
+
recordingCapable: boolean;
|
|
2342
|
+
lensType: "flat" | "fisheye";
|
|
2343
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2344
|
+
webrtcPlaybackSource: ({
|
|
2345
|
+
kind: string;
|
|
2346
|
+
} & Record<string, unknown>) | null;
|
|
2275
2347
|
}[];
|
|
2276
|
-
lensType: "flat" | "fisheye";
|
|
2277
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
2278
2348
|
ptzCapable: boolean;
|
|
2279
2349
|
ptzPanSpeed: number;
|
|
2280
2350
|
ptzTiltSpeed: number;
|
|
@@ -2285,11 +2355,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2285
2355
|
tiltMax: number;
|
|
2286
2356
|
zoomMin: number;
|
|
2287
2357
|
zoomMax: number;
|
|
2288
|
-
recordingCapable: boolean;
|
|
2289
|
-
webrtcPlaybackSource: ({
|
|
2290
|
-
kind: string;
|
|
2291
|
-
} & Record<string, unknown>) | null;
|
|
2292
2358
|
defaultStreamId: string;
|
|
2359
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2293
2360
|
} | {
|
|
2294
2361
|
type: "door";
|
|
2295
2362
|
canReportOpenState: boolean;
|
|
@@ -2366,9 +2433,13 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2366
2433
|
displayName: string;
|
|
2367
2434
|
externalPlayerUrl: string | null;
|
|
2368
2435
|
rtspUrl: string;
|
|
2436
|
+
recordingCapable: boolean;
|
|
2437
|
+
lensType: "flat" | "fisheye";
|
|
2438
|
+
mountPoint: "wall" | "ceiling" | "floor";
|
|
2439
|
+
webrtcPlaybackSource: ({
|
|
2440
|
+
kind: string;
|
|
2441
|
+
} & Record<string, unknown>) | null;
|
|
2369
2442
|
}[];
|
|
2370
|
-
lensType: "flat" | "fisheye";
|
|
2371
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
2372
2443
|
ptzCapable: boolean;
|
|
2373
2444
|
ptzPanSpeed: number;
|
|
2374
2445
|
ptzTiltSpeed: number;
|
|
@@ -2379,11 +2450,8 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
|
|
|
2379
2450
|
tiltMax: number;
|
|
2380
2451
|
zoomMin: number;
|
|
2381
2452
|
zoomMax: number;
|
|
2382
|
-
recordingCapable: boolean;
|
|
2383
|
-
webrtcPlaybackSource: ({
|
|
2384
|
-
kind: string;
|
|
2385
|
-
} & Record<string, unknown>) | null;
|
|
2386
2453
|
defaultStreamId: string;
|
|
2454
|
+
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2387
2455
|
} | {
|
|
2388
2456
|
type: "door";
|
|
2389
2457
|
canReportOpenState: boolean;
|