@awarevue/api-types 2.0.16 → 2.0.18
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/agent-communication/protocol.d.ts +214 -2
- package/dist/commands/all.d.ts +188 -10
- package/dist/commands/display.d.ts +28 -28
- package/dist/commands/nvr-exporter.d.ts +178 -0
- package/dist/commands/server.d.ts +178 -0
- package/dist/device/any-device.d.ts +15 -0
- package/dist/device/camera.d.ts +8 -0
- package/dist/device/camera.js +1 -0
- package/dist/device-import.d.ts +26 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +99 -0
- package/dist/primitives.js +2 -2
- package/dist/queries/all.d.ts +211 -4
- package/dist/queries/camera.d.ts +8 -8
- package/dist/queries/nvr-recorder.d.ts +414 -0
- package/package.json +1 -1
|
@@ -27,6 +27,32 @@ export declare const sNotify: z.ZodObject<{
|
|
|
27
27
|
foreignRef: z.ZodString;
|
|
28
28
|
provider: z.ZodString;
|
|
29
29
|
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
30
|
+
} & {
|
|
31
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
params: z.ZodUnknown;
|
|
35
|
+
isDefault: z.ZodBoolean;
|
|
36
|
+
assignedRef: z.ZodNullable<z.ZodString>;
|
|
37
|
+
createdOn: z.ZodString;
|
|
38
|
+
lastModifiedOn: z.ZodString;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
name: string;
|
|
41
|
+
id: string;
|
|
42
|
+
isDefault: boolean;
|
|
43
|
+
assignedRef: string | null;
|
|
44
|
+
createdOn: string;
|
|
45
|
+
lastModifiedOn: string;
|
|
46
|
+
params?: unknown;
|
|
47
|
+
}, {
|
|
48
|
+
name: string;
|
|
49
|
+
id: string;
|
|
50
|
+
isDefault: boolean;
|
|
51
|
+
assignedRef: string | null;
|
|
52
|
+
createdOn: string;
|
|
53
|
+
lastModifiedOn: string;
|
|
54
|
+
params?: unknown;
|
|
55
|
+
}>, "many">;
|
|
30
56
|
}, "strip", z.ZodTypeAny, {
|
|
31
57
|
name: string;
|
|
32
58
|
foreignRef: string;
|
|
@@ -34,6 +60,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
34
60
|
providerMetadata: {} & {
|
|
35
61
|
[k: string]: unknown;
|
|
36
62
|
};
|
|
63
|
+
presets: {
|
|
64
|
+
name: string;
|
|
65
|
+
id: string;
|
|
66
|
+
isDefault: boolean;
|
|
67
|
+
assignedRef: string | null;
|
|
68
|
+
createdOn: string;
|
|
69
|
+
lastModifiedOn: string;
|
|
70
|
+
params?: unknown;
|
|
71
|
+
}[];
|
|
37
72
|
}, {
|
|
38
73
|
name: string;
|
|
39
74
|
foreignRef: string;
|
|
@@ -41,6 +76,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
41
76
|
providerMetadata: {} & {
|
|
42
77
|
[k: string]: unknown;
|
|
43
78
|
};
|
|
79
|
+
presets: {
|
|
80
|
+
name: string;
|
|
81
|
+
id: string;
|
|
82
|
+
isDefault: boolean;
|
|
83
|
+
assignedRef: string | null;
|
|
84
|
+
createdOn: string;
|
|
85
|
+
lastModifiedOn: string;
|
|
86
|
+
params?: unknown;
|
|
87
|
+
}[];
|
|
44
88
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
45
89
|
type: z.ZodLiteral<"alarm">;
|
|
46
90
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -72,14 +116,17 @@ export declare const sNotify: z.ZodObject<{
|
|
|
72
116
|
id: z.ZodString;
|
|
73
117
|
displayName: z.ZodString;
|
|
74
118
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
119
|
+
rtspUrl: z.ZodString;
|
|
75
120
|
}, "strip", z.ZodTypeAny, {
|
|
76
121
|
id: string;
|
|
77
122
|
displayName: string;
|
|
78
123
|
externalPlayerUrl: string | null;
|
|
124
|
+
rtspUrl: string;
|
|
79
125
|
}, {
|
|
80
126
|
id: string;
|
|
81
127
|
displayName: string;
|
|
82
128
|
externalPlayerUrl: string | null;
|
|
129
|
+
rtspUrl: string;
|
|
83
130
|
}>, "many">;
|
|
84
131
|
defaultStreamId: z.ZodString;
|
|
85
132
|
} & {
|
|
@@ -90,6 +137,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
90
137
|
id: string;
|
|
91
138
|
displayName: string;
|
|
92
139
|
externalPlayerUrl: string | null;
|
|
140
|
+
rtspUrl: string;
|
|
93
141
|
}[];
|
|
94
142
|
lensType: "flat" | "fisheye";
|
|
95
143
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -114,6 +162,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
114
162
|
id: string;
|
|
115
163
|
displayName: string;
|
|
116
164
|
externalPlayerUrl: string | null;
|
|
165
|
+
rtspUrl: string;
|
|
117
166
|
}[];
|
|
118
167
|
lensType: "flat" | "fisheye";
|
|
119
168
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -289,6 +338,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
289
338
|
providerMetadata: {} & {
|
|
290
339
|
[k: string]: unknown;
|
|
291
340
|
};
|
|
341
|
+
presets: {
|
|
342
|
+
name: string;
|
|
343
|
+
id: string;
|
|
344
|
+
isDefault: boolean;
|
|
345
|
+
assignedRef: string | null;
|
|
346
|
+
createdOn: string;
|
|
347
|
+
lastModifiedOn: string;
|
|
348
|
+
params?: unknown;
|
|
349
|
+
}[];
|
|
292
350
|
} & ({
|
|
293
351
|
type: "alarm";
|
|
294
352
|
} | {
|
|
@@ -297,6 +355,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
297
355
|
id: string;
|
|
298
356
|
displayName: string;
|
|
299
357
|
externalPlayerUrl: string | null;
|
|
358
|
+
rtspUrl: string;
|
|
300
359
|
}[];
|
|
301
360
|
lensType: "flat" | "fisheye";
|
|
302
361
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -375,6 +434,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
375
434
|
providerMetadata: {} & {
|
|
376
435
|
[k: string]: unknown;
|
|
377
436
|
};
|
|
437
|
+
presets: {
|
|
438
|
+
name: string;
|
|
439
|
+
id: string;
|
|
440
|
+
isDefault: boolean;
|
|
441
|
+
assignedRef: string | null;
|
|
442
|
+
createdOn: string;
|
|
443
|
+
lastModifiedOn: string;
|
|
444
|
+
params?: unknown;
|
|
445
|
+
}[];
|
|
378
446
|
} & ({
|
|
379
447
|
type: "alarm";
|
|
380
448
|
} | {
|
|
@@ -383,6 +451,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
383
451
|
id: string;
|
|
384
452
|
displayName: string;
|
|
385
453
|
externalPlayerUrl: string | null;
|
|
454
|
+
rtspUrl: string;
|
|
386
455
|
}[];
|
|
387
456
|
lensType: "flat" | "fisheye";
|
|
388
457
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -463,6 +532,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
463
532
|
providerMetadata: {} & {
|
|
464
533
|
[k: string]: unknown;
|
|
465
534
|
};
|
|
535
|
+
presets: {
|
|
536
|
+
name: string;
|
|
537
|
+
id: string;
|
|
538
|
+
isDefault: boolean;
|
|
539
|
+
assignedRef: string | null;
|
|
540
|
+
createdOn: string;
|
|
541
|
+
lastModifiedOn: string;
|
|
542
|
+
params?: unknown;
|
|
543
|
+
}[];
|
|
466
544
|
} & ({
|
|
467
545
|
type: "alarm";
|
|
468
546
|
} | {
|
|
@@ -471,6 +549,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
471
549
|
id: string;
|
|
472
550
|
displayName: string;
|
|
473
551
|
externalPlayerUrl: string | null;
|
|
552
|
+
rtspUrl: string;
|
|
474
553
|
}[];
|
|
475
554
|
lensType: "flat" | "fisheye";
|
|
476
555
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -552,6 +631,15 @@ export declare const sNotify: z.ZodObject<{
|
|
|
552
631
|
providerMetadata: {} & {
|
|
553
632
|
[k: string]: unknown;
|
|
554
633
|
};
|
|
634
|
+
presets: {
|
|
635
|
+
name: string;
|
|
636
|
+
id: string;
|
|
637
|
+
isDefault: boolean;
|
|
638
|
+
assignedRef: string | null;
|
|
639
|
+
createdOn: string;
|
|
640
|
+
lastModifiedOn: string;
|
|
641
|
+
params?: unknown;
|
|
642
|
+
}[];
|
|
555
643
|
} & ({
|
|
556
644
|
type: "alarm";
|
|
557
645
|
} | {
|
|
@@ -560,6 +648,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
560
648
|
id: string;
|
|
561
649
|
displayName: string;
|
|
562
650
|
externalPlayerUrl: string | null;
|
|
651
|
+
rtspUrl: string;
|
|
563
652
|
}[];
|
|
564
653
|
lensType: "flat" | "fisheye";
|
|
565
654
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -663,6 +752,32 @@ export declare const serverCommands: {
|
|
|
663
752
|
foreignRef: z.ZodString;
|
|
664
753
|
provider: z.ZodString;
|
|
665
754
|
providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
|
|
755
|
+
} & {
|
|
756
|
+
presets: z.ZodArray<z.ZodObject<{
|
|
757
|
+
id: z.ZodString;
|
|
758
|
+
name: z.ZodString;
|
|
759
|
+
params: z.ZodUnknown;
|
|
760
|
+
isDefault: z.ZodBoolean;
|
|
761
|
+
assignedRef: z.ZodNullable<z.ZodString>;
|
|
762
|
+
createdOn: z.ZodString;
|
|
763
|
+
lastModifiedOn: z.ZodString;
|
|
764
|
+
}, "strip", z.ZodTypeAny, {
|
|
765
|
+
name: string;
|
|
766
|
+
id: string;
|
|
767
|
+
isDefault: boolean;
|
|
768
|
+
assignedRef: string | null;
|
|
769
|
+
createdOn: string;
|
|
770
|
+
lastModifiedOn: string;
|
|
771
|
+
params?: unknown;
|
|
772
|
+
}, {
|
|
773
|
+
name: string;
|
|
774
|
+
id: string;
|
|
775
|
+
isDefault: boolean;
|
|
776
|
+
assignedRef: string | null;
|
|
777
|
+
createdOn: string;
|
|
778
|
+
lastModifiedOn: string;
|
|
779
|
+
params?: unknown;
|
|
780
|
+
}>, "many">;
|
|
666
781
|
}, "strip", z.ZodTypeAny, {
|
|
667
782
|
name: string;
|
|
668
783
|
foreignRef: string;
|
|
@@ -670,6 +785,15 @@ export declare const serverCommands: {
|
|
|
670
785
|
providerMetadata: {} & {
|
|
671
786
|
[k: string]: unknown;
|
|
672
787
|
};
|
|
788
|
+
presets: {
|
|
789
|
+
name: string;
|
|
790
|
+
id: string;
|
|
791
|
+
isDefault: boolean;
|
|
792
|
+
assignedRef: string | null;
|
|
793
|
+
createdOn: string;
|
|
794
|
+
lastModifiedOn: string;
|
|
795
|
+
params?: unknown;
|
|
796
|
+
}[];
|
|
673
797
|
}, {
|
|
674
798
|
name: string;
|
|
675
799
|
foreignRef: string;
|
|
@@ -677,6 +801,15 @@ export declare const serverCommands: {
|
|
|
677
801
|
providerMetadata: {} & {
|
|
678
802
|
[k: string]: unknown;
|
|
679
803
|
};
|
|
804
|
+
presets: {
|
|
805
|
+
name: string;
|
|
806
|
+
id: string;
|
|
807
|
+
isDefault: boolean;
|
|
808
|
+
assignedRef: string | null;
|
|
809
|
+
createdOn: string;
|
|
810
|
+
lastModifiedOn: string;
|
|
811
|
+
params?: unknown;
|
|
812
|
+
}[];
|
|
680
813
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
681
814
|
type: z.ZodLiteral<"alarm">;
|
|
682
815
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -708,14 +841,17 @@ export declare const serverCommands: {
|
|
|
708
841
|
id: z.ZodString;
|
|
709
842
|
displayName: z.ZodString;
|
|
710
843
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
844
|
+
rtspUrl: z.ZodString;
|
|
711
845
|
}, "strip", z.ZodTypeAny, {
|
|
712
846
|
id: string;
|
|
713
847
|
displayName: string;
|
|
714
848
|
externalPlayerUrl: string | null;
|
|
849
|
+
rtspUrl: string;
|
|
715
850
|
}, {
|
|
716
851
|
id: string;
|
|
717
852
|
displayName: string;
|
|
718
853
|
externalPlayerUrl: string | null;
|
|
854
|
+
rtspUrl: string;
|
|
719
855
|
}>, "many">;
|
|
720
856
|
defaultStreamId: z.ZodString;
|
|
721
857
|
} & {
|
|
@@ -726,6 +862,7 @@ export declare const serverCommands: {
|
|
|
726
862
|
id: string;
|
|
727
863
|
displayName: string;
|
|
728
864
|
externalPlayerUrl: string | null;
|
|
865
|
+
rtspUrl: string;
|
|
729
866
|
}[];
|
|
730
867
|
lensType: "flat" | "fisheye";
|
|
731
868
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -750,6 +887,7 @@ export declare const serverCommands: {
|
|
|
750
887
|
id: string;
|
|
751
888
|
displayName: string;
|
|
752
889
|
externalPlayerUrl: string | null;
|
|
890
|
+
rtspUrl: string;
|
|
753
891
|
}[];
|
|
754
892
|
lensType: "flat" | "fisheye";
|
|
755
893
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -925,6 +1063,15 @@ export declare const serverCommands: {
|
|
|
925
1063
|
providerMetadata: {} & {
|
|
926
1064
|
[k: string]: unknown;
|
|
927
1065
|
};
|
|
1066
|
+
presets: {
|
|
1067
|
+
name: string;
|
|
1068
|
+
id: string;
|
|
1069
|
+
isDefault: boolean;
|
|
1070
|
+
assignedRef: string | null;
|
|
1071
|
+
createdOn: string;
|
|
1072
|
+
lastModifiedOn: string;
|
|
1073
|
+
params?: unknown;
|
|
1074
|
+
}[];
|
|
928
1075
|
} & ({
|
|
929
1076
|
type: "alarm";
|
|
930
1077
|
} | {
|
|
@@ -933,6 +1080,7 @@ export declare const serverCommands: {
|
|
|
933
1080
|
id: string;
|
|
934
1081
|
displayName: string;
|
|
935
1082
|
externalPlayerUrl: string | null;
|
|
1083
|
+
rtspUrl: string;
|
|
936
1084
|
}[];
|
|
937
1085
|
lensType: "flat" | "fisheye";
|
|
938
1086
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1011,6 +1159,15 @@ export declare const serverCommands: {
|
|
|
1011
1159
|
providerMetadata: {} & {
|
|
1012
1160
|
[k: string]: unknown;
|
|
1013
1161
|
};
|
|
1162
|
+
presets: {
|
|
1163
|
+
name: string;
|
|
1164
|
+
id: string;
|
|
1165
|
+
isDefault: boolean;
|
|
1166
|
+
assignedRef: string | null;
|
|
1167
|
+
createdOn: string;
|
|
1168
|
+
lastModifiedOn: string;
|
|
1169
|
+
params?: unknown;
|
|
1170
|
+
}[];
|
|
1014
1171
|
} & ({
|
|
1015
1172
|
type: "alarm";
|
|
1016
1173
|
} | {
|
|
@@ -1019,6 +1176,7 @@ export declare const serverCommands: {
|
|
|
1019
1176
|
id: string;
|
|
1020
1177
|
displayName: string;
|
|
1021
1178
|
externalPlayerUrl: string | null;
|
|
1179
|
+
rtspUrl: string;
|
|
1022
1180
|
}[];
|
|
1023
1181
|
lensType: "flat" | "fisheye";
|
|
1024
1182
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1099,6 +1257,15 @@ export declare const serverCommands: {
|
|
|
1099
1257
|
providerMetadata: {} & {
|
|
1100
1258
|
[k: string]: unknown;
|
|
1101
1259
|
};
|
|
1260
|
+
presets: {
|
|
1261
|
+
name: string;
|
|
1262
|
+
id: string;
|
|
1263
|
+
isDefault: boolean;
|
|
1264
|
+
assignedRef: string | null;
|
|
1265
|
+
createdOn: string;
|
|
1266
|
+
lastModifiedOn: string;
|
|
1267
|
+
params?: unknown;
|
|
1268
|
+
}[];
|
|
1102
1269
|
} & ({
|
|
1103
1270
|
type: "alarm";
|
|
1104
1271
|
} | {
|
|
@@ -1107,6 +1274,7 @@ export declare const serverCommands: {
|
|
|
1107
1274
|
id: string;
|
|
1108
1275
|
displayName: string;
|
|
1109
1276
|
externalPlayerUrl: string | null;
|
|
1277
|
+
rtspUrl: string;
|
|
1110
1278
|
}[];
|
|
1111
1279
|
lensType: "flat" | "fisheye";
|
|
1112
1280
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1188,6 +1356,15 @@ export declare const serverCommands: {
|
|
|
1188
1356
|
providerMetadata: {} & {
|
|
1189
1357
|
[k: string]: unknown;
|
|
1190
1358
|
};
|
|
1359
|
+
presets: {
|
|
1360
|
+
name: string;
|
|
1361
|
+
id: string;
|
|
1362
|
+
isDefault: boolean;
|
|
1363
|
+
assignedRef: string | null;
|
|
1364
|
+
createdOn: string;
|
|
1365
|
+
lastModifiedOn: string;
|
|
1366
|
+
params?: unknown;
|
|
1367
|
+
}[];
|
|
1191
1368
|
} & ({
|
|
1192
1369
|
type: "alarm";
|
|
1193
1370
|
} | {
|
|
@@ -1196,6 +1373,7 @@ export declare const serverCommands: {
|
|
|
1196
1373
|
id: string;
|
|
1197
1374
|
displayName: string;
|
|
1198
1375
|
externalPlayerUrl: string | null;
|
|
1376
|
+
rtspUrl: string;
|
|
1199
1377
|
}[];
|
|
1200
1378
|
lensType: "flat" | "fisheye";
|
|
1201
1379
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -67,14 +67,17 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
67
67
|
id: z.ZodString;
|
|
68
68
|
displayName: z.ZodString;
|
|
69
69
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
70
|
+
rtspUrl: z.ZodString;
|
|
70
71
|
}, "strip", z.ZodTypeAny, {
|
|
71
72
|
id: string;
|
|
72
73
|
displayName: string;
|
|
73
74
|
externalPlayerUrl: string | null;
|
|
75
|
+
rtspUrl: string;
|
|
74
76
|
}, {
|
|
75
77
|
id: string;
|
|
76
78
|
displayName: string;
|
|
77
79
|
externalPlayerUrl: string | null;
|
|
80
|
+
rtspUrl: string;
|
|
78
81
|
}>, "many">;
|
|
79
82
|
defaultStreamId: z.ZodString;
|
|
80
83
|
} & {
|
|
@@ -85,6 +88,7 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
85
88
|
id: string;
|
|
86
89
|
displayName: string;
|
|
87
90
|
externalPlayerUrl: string | null;
|
|
91
|
+
rtspUrl: string;
|
|
88
92
|
}[];
|
|
89
93
|
lensType: "flat" | "fisheye";
|
|
90
94
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -109,6 +113,7 @@ export declare const sAnyDeviceSpecs: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
109
113
|
id: string;
|
|
110
114
|
displayName: string;
|
|
111
115
|
externalPlayerUrl: string | null;
|
|
116
|
+
rtspUrl: string;
|
|
112
117
|
}[];
|
|
113
118
|
lensType: "flat" | "fisheye";
|
|
114
119
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -436,14 +441,17 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
436
441
|
id: z.ZodString;
|
|
437
442
|
displayName: z.ZodString;
|
|
438
443
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
444
|
+
rtspUrl: z.ZodString;
|
|
439
445
|
}, "strip", z.ZodTypeAny, {
|
|
440
446
|
id: string;
|
|
441
447
|
displayName: string;
|
|
442
448
|
externalPlayerUrl: string | null;
|
|
449
|
+
rtspUrl: string;
|
|
443
450
|
}, {
|
|
444
451
|
id: string;
|
|
445
452
|
displayName: string;
|
|
446
453
|
externalPlayerUrl: string | null;
|
|
454
|
+
rtspUrl: string;
|
|
447
455
|
}>, "many">;
|
|
448
456
|
defaultStreamId: z.ZodString;
|
|
449
457
|
} & {
|
|
@@ -454,6 +462,7 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
454
462
|
id: string;
|
|
455
463
|
displayName: string;
|
|
456
464
|
externalPlayerUrl: string | null;
|
|
465
|
+
rtspUrl: string;
|
|
457
466
|
}[];
|
|
458
467
|
lensType: "flat" | "fisheye";
|
|
459
468
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -478,6 +487,7 @@ export declare const sDeviceDto: z.ZodIntersection<z.ZodIntersection<z.ZodDiscri
|
|
|
478
487
|
id: string;
|
|
479
488
|
displayName: string;
|
|
480
489
|
externalPlayerUrl: string | null;
|
|
490
|
+
rtspUrl: string;
|
|
481
491
|
}[];
|
|
482
492
|
lensType: "flat" | "fisheye";
|
|
483
493
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -771,14 +781,17 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
771
781
|
id: z.ZodString;
|
|
772
782
|
displayName: z.ZodString;
|
|
773
783
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
784
|
+
rtspUrl: z.ZodString;
|
|
774
785
|
}, "strip", z.ZodTypeAny, {
|
|
775
786
|
id: string;
|
|
776
787
|
displayName: string;
|
|
777
788
|
externalPlayerUrl: string | null;
|
|
789
|
+
rtspUrl: string;
|
|
778
790
|
}, {
|
|
779
791
|
id: string;
|
|
780
792
|
displayName: string;
|
|
781
793
|
externalPlayerUrl: string | null;
|
|
794
|
+
rtspUrl: string;
|
|
782
795
|
}>, "many">;
|
|
783
796
|
defaultStreamId: z.ZodString;
|
|
784
797
|
} & {
|
|
@@ -789,6 +802,7 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
789
802
|
id: string;
|
|
790
803
|
displayName: string;
|
|
791
804
|
externalPlayerUrl: string | null;
|
|
805
|
+
rtspUrl: string;
|
|
792
806
|
}[];
|
|
793
807
|
lensType: "flat" | "fisheye";
|
|
794
808
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -813,6 +827,7 @@ export declare const sCameraDto: z.ZodIntersection<z.ZodIntersection<z.ZodObject
|
|
|
813
827
|
id: string;
|
|
814
828
|
displayName: string;
|
|
815
829
|
externalPlayerUrl: string | null;
|
|
830
|
+
rtspUrl: string;
|
|
816
831
|
}[];
|
|
817
832
|
lensType: "flat" | "fisheye";
|
|
818
833
|
mountPoint: "wall" | "ceiling" | "floor";
|
package/dist/device/camera.d.ts
CHANGED
|
@@ -11,14 +11,17 @@ export declare const sStreamInfo: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodString;
|
|
12
12
|
displayName: z.ZodString;
|
|
13
13
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
14
|
+
rtspUrl: z.ZodString;
|
|
14
15
|
}, "strip", z.ZodTypeAny, {
|
|
15
16
|
id: string;
|
|
16
17
|
displayName: string;
|
|
17
18
|
externalPlayerUrl: string | null;
|
|
19
|
+
rtspUrl: string;
|
|
18
20
|
}, {
|
|
19
21
|
id: string;
|
|
20
22
|
displayName: string;
|
|
21
23
|
externalPlayerUrl: string | null;
|
|
24
|
+
rtspUrl: string;
|
|
22
25
|
}>;
|
|
23
26
|
export declare const sCameraSpecs: z.ZodObject<{
|
|
24
27
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
@@ -45,14 +48,17 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
45
48
|
id: z.ZodString;
|
|
46
49
|
displayName: z.ZodString;
|
|
47
50
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
51
|
+
rtspUrl: z.ZodString;
|
|
48
52
|
}, "strip", z.ZodTypeAny, {
|
|
49
53
|
id: string;
|
|
50
54
|
displayName: string;
|
|
51
55
|
externalPlayerUrl: string | null;
|
|
56
|
+
rtspUrl: string;
|
|
52
57
|
}, {
|
|
53
58
|
id: string;
|
|
54
59
|
displayName: string;
|
|
55
60
|
externalPlayerUrl: string | null;
|
|
61
|
+
rtspUrl: string;
|
|
56
62
|
}>, "many">;
|
|
57
63
|
defaultStreamId: z.ZodString;
|
|
58
64
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -60,6 +66,7 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
60
66
|
id: string;
|
|
61
67
|
displayName: string;
|
|
62
68
|
externalPlayerUrl: string | null;
|
|
69
|
+
rtspUrl: string;
|
|
63
70
|
}[];
|
|
64
71
|
lensType: "flat" | "fisheye";
|
|
65
72
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -83,6 +90,7 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
83
90
|
id: string;
|
|
84
91
|
displayName: string;
|
|
85
92
|
externalPlayerUrl: string | null;
|
|
93
|
+
rtspUrl: string;
|
|
86
94
|
}[];
|
|
87
95
|
lensType: "flat" | "fisheye";
|
|
88
96
|
mountPoint: "wall" | "ceiling" | "floor";
|
package/dist/device/camera.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.sStreamInfo = zod_1.z.object({
|
|
|
13
13
|
id: zod_1.z.string().nonempty(),
|
|
14
14
|
displayName: zod_1.z.string().nonempty(),
|
|
15
15
|
externalPlayerUrl: zod_1.z.string().nullable(),
|
|
16
|
+
rtspUrl: zod_1.z.string().nonempty(),
|
|
16
17
|
});
|
|
17
18
|
exports.sCameraSpecs = zod_1.z.object({
|
|
18
19
|
lensType: zod_1.z.enum(['flat', 'fisheye']),
|