@awarevue/api-types 2.0.17 → 2.0.19
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 +28 -0
- package/dist/commands/all.d.ts +28 -10
- package/dist/commands/display.d.ts +28 -28
- package/dist/commands/nvr-exporter.d.ts +18 -0
- package/dist/commands/server.d.ts +18 -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 +10 -0
- package/dist/queries/all.d.ts +27 -4
- package/dist/queries/camera.d.ts +8 -8
- package/dist/queries/nvr-analytics-server.d.ts +9 -0
- package/dist/queries/nvr-analytics-server.js +9 -1
- package/dist/queries/nvr-recorder.d.ts +42 -0
- package/package.json +1 -1
|
@@ -97,14 +97,17 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
97
97
|
id: z.ZodString;
|
|
98
98
|
displayName: z.ZodString;
|
|
99
99
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
100
|
+
rtspUrl: z.ZodString;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
102
|
id: string;
|
|
102
103
|
displayName: string;
|
|
103
104
|
externalPlayerUrl: string | null;
|
|
105
|
+
rtspUrl: string;
|
|
104
106
|
}, {
|
|
105
107
|
id: string;
|
|
106
108
|
displayName: string;
|
|
107
109
|
externalPlayerUrl: string | null;
|
|
110
|
+
rtspUrl: string;
|
|
108
111
|
}>, "many">;
|
|
109
112
|
defaultStreamId: z.ZodString;
|
|
110
113
|
} & {
|
|
@@ -115,6 +118,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
115
118
|
id: string;
|
|
116
119
|
displayName: string;
|
|
117
120
|
externalPlayerUrl: string | null;
|
|
121
|
+
rtspUrl: string;
|
|
118
122
|
}[];
|
|
119
123
|
lensType: "flat" | "fisheye";
|
|
120
124
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -139,6 +143,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
139
143
|
id: string;
|
|
140
144
|
displayName: string;
|
|
141
145
|
externalPlayerUrl: string | null;
|
|
146
|
+
rtspUrl: string;
|
|
142
147
|
}[];
|
|
143
148
|
lensType: "flat" | "fisheye";
|
|
144
149
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -330,6 +335,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
330
335
|
id: string;
|
|
331
336
|
displayName: string;
|
|
332
337
|
externalPlayerUrl: string | null;
|
|
338
|
+
rtspUrl: string;
|
|
333
339
|
}[];
|
|
334
340
|
lensType: "flat" | "fisheye";
|
|
335
341
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -424,6 +430,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
424
430
|
id: string;
|
|
425
431
|
displayName: string;
|
|
426
432
|
externalPlayerUrl: string | null;
|
|
433
|
+
rtspUrl: string;
|
|
427
434
|
}[];
|
|
428
435
|
lensType: "flat" | "fisheye";
|
|
429
436
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -520,6 +527,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
520
527
|
id: string;
|
|
521
528
|
displayName: string;
|
|
522
529
|
externalPlayerUrl: string | null;
|
|
530
|
+
rtspUrl: string;
|
|
523
531
|
}[];
|
|
524
532
|
lensType: "flat" | "fisheye";
|
|
525
533
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -617,6 +625,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
617
625
|
id: string;
|
|
618
626
|
displayName: string;
|
|
619
627
|
externalPlayerUrl: string | null;
|
|
628
|
+
rtspUrl: string;
|
|
620
629
|
}[];
|
|
621
630
|
lensType: "flat" | "fisheye";
|
|
622
631
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -809,14 +818,17 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
809
818
|
id: z.ZodString;
|
|
810
819
|
displayName: z.ZodString;
|
|
811
820
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
821
|
+
rtspUrl: z.ZodString;
|
|
812
822
|
}, "strip", z.ZodTypeAny, {
|
|
813
823
|
id: string;
|
|
814
824
|
displayName: string;
|
|
815
825
|
externalPlayerUrl: string | null;
|
|
826
|
+
rtspUrl: string;
|
|
816
827
|
}, {
|
|
817
828
|
id: string;
|
|
818
829
|
displayName: string;
|
|
819
830
|
externalPlayerUrl: string | null;
|
|
831
|
+
rtspUrl: string;
|
|
820
832
|
}>, "many">;
|
|
821
833
|
defaultStreamId: z.ZodString;
|
|
822
834
|
} & {
|
|
@@ -827,6 +839,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
827
839
|
id: string;
|
|
828
840
|
displayName: string;
|
|
829
841
|
externalPlayerUrl: string | null;
|
|
842
|
+
rtspUrl: string;
|
|
830
843
|
}[];
|
|
831
844
|
lensType: "flat" | "fisheye";
|
|
832
845
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -851,6 +864,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
851
864
|
id: string;
|
|
852
865
|
displayName: string;
|
|
853
866
|
externalPlayerUrl: string | null;
|
|
867
|
+
rtspUrl: string;
|
|
854
868
|
}[];
|
|
855
869
|
lensType: "flat" | "fisheye";
|
|
856
870
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1042,6 +1056,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1042
1056
|
id: string;
|
|
1043
1057
|
displayName: string;
|
|
1044
1058
|
externalPlayerUrl: string | null;
|
|
1059
|
+
rtspUrl: string;
|
|
1045
1060
|
}[];
|
|
1046
1061
|
lensType: "flat" | "fisheye";
|
|
1047
1062
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1136,6 +1151,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1136
1151
|
id: string;
|
|
1137
1152
|
displayName: string;
|
|
1138
1153
|
externalPlayerUrl: string | null;
|
|
1154
|
+
rtspUrl: string;
|
|
1139
1155
|
}[];
|
|
1140
1156
|
lensType: "flat" | "fisheye";
|
|
1141
1157
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1232,6 +1248,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1232
1248
|
id: string;
|
|
1233
1249
|
displayName: string;
|
|
1234
1250
|
externalPlayerUrl: string | null;
|
|
1251
|
+
rtspUrl: string;
|
|
1235
1252
|
}[];
|
|
1236
1253
|
lensType: "flat" | "fisheye";
|
|
1237
1254
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1329,6 +1346,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1329
1346
|
id: string;
|
|
1330
1347
|
displayName: string;
|
|
1331
1348
|
externalPlayerUrl: string | null;
|
|
1349
|
+
rtspUrl: string;
|
|
1332
1350
|
}[];
|
|
1333
1351
|
lensType: "flat" | "fisheye";
|
|
1334
1352
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -116,14 +116,17 @@ export declare const sNotify: z.ZodObject<{
|
|
|
116
116
|
id: z.ZodString;
|
|
117
117
|
displayName: z.ZodString;
|
|
118
118
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
119
|
+
rtspUrl: z.ZodString;
|
|
119
120
|
}, "strip", z.ZodTypeAny, {
|
|
120
121
|
id: string;
|
|
121
122
|
displayName: string;
|
|
122
123
|
externalPlayerUrl: string | null;
|
|
124
|
+
rtspUrl: string;
|
|
123
125
|
}, {
|
|
124
126
|
id: string;
|
|
125
127
|
displayName: string;
|
|
126
128
|
externalPlayerUrl: string | null;
|
|
129
|
+
rtspUrl: string;
|
|
127
130
|
}>, "many">;
|
|
128
131
|
defaultStreamId: z.ZodString;
|
|
129
132
|
} & {
|
|
@@ -134,6 +137,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
134
137
|
id: string;
|
|
135
138
|
displayName: string;
|
|
136
139
|
externalPlayerUrl: string | null;
|
|
140
|
+
rtspUrl: string;
|
|
137
141
|
}[];
|
|
138
142
|
lensType: "flat" | "fisheye";
|
|
139
143
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -158,6 +162,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
158
162
|
id: string;
|
|
159
163
|
displayName: string;
|
|
160
164
|
externalPlayerUrl: string | null;
|
|
165
|
+
rtspUrl: string;
|
|
161
166
|
}[];
|
|
162
167
|
lensType: "flat" | "fisheye";
|
|
163
168
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -350,6 +355,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
350
355
|
id: string;
|
|
351
356
|
displayName: string;
|
|
352
357
|
externalPlayerUrl: string | null;
|
|
358
|
+
rtspUrl: string;
|
|
353
359
|
}[];
|
|
354
360
|
lensType: "flat" | "fisheye";
|
|
355
361
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -445,6 +451,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
445
451
|
id: string;
|
|
446
452
|
displayName: string;
|
|
447
453
|
externalPlayerUrl: string | null;
|
|
454
|
+
rtspUrl: string;
|
|
448
455
|
}[];
|
|
449
456
|
lensType: "flat" | "fisheye";
|
|
450
457
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -542,6 +549,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
542
549
|
id: string;
|
|
543
550
|
displayName: string;
|
|
544
551
|
externalPlayerUrl: string | null;
|
|
552
|
+
rtspUrl: string;
|
|
545
553
|
}[];
|
|
546
554
|
lensType: "flat" | "fisheye";
|
|
547
555
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -640,6 +648,7 @@ export declare const sNotify: z.ZodObject<{
|
|
|
640
648
|
id: string;
|
|
641
649
|
displayName: string;
|
|
642
650
|
externalPlayerUrl: string | null;
|
|
651
|
+
rtspUrl: string;
|
|
643
652
|
}[];
|
|
644
653
|
lensType: "flat" | "fisheye";
|
|
645
654
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -832,14 +841,17 @@ export declare const serverCommands: {
|
|
|
832
841
|
id: z.ZodString;
|
|
833
842
|
displayName: z.ZodString;
|
|
834
843
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
844
|
+
rtspUrl: z.ZodString;
|
|
835
845
|
}, "strip", z.ZodTypeAny, {
|
|
836
846
|
id: string;
|
|
837
847
|
displayName: string;
|
|
838
848
|
externalPlayerUrl: string | null;
|
|
849
|
+
rtspUrl: string;
|
|
839
850
|
}, {
|
|
840
851
|
id: string;
|
|
841
852
|
displayName: string;
|
|
842
853
|
externalPlayerUrl: string | null;
|
|
854
|
+
rtspUrl: string;
|
|
843
855
|
}>, "many">;
|
|
844
856
|
defaultStreamId: z.ZodString;
|
|
845
857
|
} & {
|
|
@@ -850,6 +862,7 @@ export declare const serverCommands: {
|
|
|
850
862
|
id: string;
|
|
851
863
|
displayName: string;
|
|
852
864
|
externalPlayerUrl: string | null;
|
|
865
|
+
rtspUrl: string;
|
|
853
866
|
}[];
|
|
854
867
|
lensType: "flat" | "fisheye";
|
|
855
868
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -874,6 +887,7 @@ export declare const serverCommands: {
|
|
|
874
887
|
id: string;
|
|
875
888
|
displayName: string;
|
|
876
889
|
externalPlayerUrl: string | null;
|
|
890
|
+
rtspUrl: string;
|
|
877
891
|
}[];
|
|
878
892
|
lensType: "flat" | "fisheye";
|
|
879
893
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1066,6 +1080,7 @@ export declare const serverCommands: {
|
|
|
1066
1080
|
id: string;
|
|
1067
1081
|
displayName: string;
|
|
1068
1082
|
externalPlayerUrl: string | null;
|
|
1083
|
+
rtspUrl: string;
|
|
1069
1084
|
}[];
|
|
1070
1085
|
lensType: "flat" | "fisheye";
|
|
1071
1086
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1161,6 +1176,7 @@ export declare const serverCommands: {
|
|
|
1161
1176
|
id: string;
|
|
1162
1177
|
displayName: string;
|
|
1163
1178
|
externalPlayerUrl: string | null;
|
|
1179
|
+
rtspUrl: string;
|
|
1164
1180
|
}[];
|
|
1165
1181
|
lensType: "flat" | "fisheye";
|
|
1166
1182
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1258,6 +1274,7 @@ export declare const serverCommands: {
|
|
|
1258
1274
|
id: string;
|
|
1259
1275
|
displayName: string;
|
|
1260
1276
|
externalPlayerUrl: string | null;
|
|
1277
|
+
rtspUrl: string;
|
|
1261
1278
|
}[];
|
|
1262
1279
|
lensType: "flat" | "fisheye";
|
|
1263
1280
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1356,6 +1373,7 @@ export declare const serverCommands: {
|
|
|
1356
1373
|
id: string;
|
|
1357
1374
|
displayName: string;
|
|
1358
1375
|
externalPlayerUrl: string | null;
|
|
1376
|
+
rtspUrl: string;
|
|
1359
1377
|
}[];
|
|
1360
1378
|
lensType: "flat" | "fisheye";
|
|
1361
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']),
|
package/dist/device-import.d.ts
CHANGED
|
@@ -57,14 +57,17 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
57
57
|
id: z.ZodString;
|
|
58
58
|
displayName: z.ZodString;
|
|
59
59
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
60
|
+
rtspUrl: z.ZodString;
|
|
60
61
|
}, "strip", z.ZodTypeAny, {
|
|
61
62
|
id: string;
|
|
62
63
|
displayName: string;
|
|
63
64
|
externalPlayerUrl: string | null;
|
|
65
|
+
rtspUrl: string;
|
|
64
66
|
}, {
|
|
65
67
|
id: string;
|
|
66
68
|
displayName: string;
|
|
67
69
|
externalPlayerUrl: string | null;
|
|
70
|
+
rtspUrl: string;
|
|
68
71
|
}>, "many">;
|
|
69
72
|
defaultStreamId: z.ZodString;
|
|
70
73
|
} & {
|
|
@@ -75,6 +78,7 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
75
78
|
id: string;
|
|
76
79
|
displayName: string;
|
|
77
80
|
externalPlayerUrl: string | null;
|
|
81
|
+
rtspUrl: string;
|
|
78
82
|
}[];
|
|
79
83
|
lensType: "flat" | "fisheye";
|
|
80
84
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -99,6 +103,7 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
99
103
|
id: string;
|
|
100
104
|
displayName: string;
|
|
101
105
|
externalPlayerUrl: string | null;
|
|
106
|
+
rtspUrl: string;
|
|
102
107
|
}[];
|
|
103
108
|
lensType: "flat" | "fisheye";
|
|
104
109
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -327,14 +332,17 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
327
332
|
id: z.ZodString;
|
|
328
333
|
displayName: z.ZodString;
|
|
329
334
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
335
|
+
rtspUrl: z.ZodString;
|
|
330
336
|
}, "strip", z.ZodTypeAny, {
|
|
331
337
|
id: string;
|
|
332
338
|
displayName: string;
|
|
333
339
|
externalPlayerUrl: string | null;
|
|
340
|
+
rtspUrl: string;
|
|
334
341
|
}, {
|
|
335
342
|
id: string;
|
|
336
343
|
displayName: string;
|
|
337
344
|
externalPlayerUrl: string | null;
|
|
345
|
+
rtspUrl: string;
|
|
338
346
|
}>, "many">;
|
|
339
347
|
defaultStreamId: z.ZodString;
|
|
340
348
|
} & {
|
|
@@ -345,6 +353,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
345
353
|
id: string;
|
|
346
354
|
displayName: string;
|
|
347
355
|
externalPlayerUrl: string | null;
|
|
356
|
+
rtspUrl: string;
|
|
348
357
|
}[];
|
|
349
358
|
lensType: "flat" | "fisheye";
|
|
350
359
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -369,6 +378,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
369
378
|
id: string;
|
|
370
379
|
displayName: string;
|
|
371
380
|
externalPlayerUrl: string | null;
|
|
381
|
+
rtspUrl: string;
|
|
372
382
|
}[];
|
|
373
383
|
lensType: "flat" | "fisheye";
|
|
374
384
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -567,6 +577,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
567
577
|
id: string;
|
|
568
578
|
displayName: string;
|
|
569
579
|
externalPlayerUrl: string | null;
|
|
580
|
+
rtspUrl: string;
|
|
570
581
|
}[];
|
|
571
582
|
lensType: "flat" | "fisheye";
|
|
572
583
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -659,6 +670,7 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
659
670
|
id: string;
|
|
660
671
|
displayName: string;
|
|
661
672
|
externalPlayerUrl: string | null;
|
|
673
|
+
rtspUrl: string;
|
|
662
674
|
}[];
|
|
663
675
|
lensType: "flat" | "fisheye";
|
|
664
676
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -791,14 +803,17 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
791
803
|
id: z.ZodString;
|
|
792
804
|
displayName: z.ZodString;
|
|
793
805
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
806
|
+
rtspUrl: z.ZodString;
|
|
794
807
|
}, "strip", z.ZodTypeAny, {
|
|
795
808
|
id: string;
|
|
796
809
|
displayName: string;
|
|
797
810
|
externalPlayerUrl: string | null;
|
|
811
|
+
rtspUrl: string;
|
|
798
812
|
}, {
|
|
799
813
|
id: string;
|
|
800
814
|
displayName: string;
|
|
801
815
|
externalPlayerUrl: string | null;
|
|
816
|
+
rtspUrl: string;
|
|
802
817
|
}>, "many">;
|
|
803
818
|
defaultStreamId: z.ZodString;
|
|
804
819
|
} & {
|
|
@@ -809,6 +824,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
809
824
|
id: string;
|
|
810
825
|
displayName: string;
|
|
811
826
|
externalPlayerUrl: string | null;
|
|
827
|
+
rtspUrl: string;
|
|
812
828
|
}[];
|
|
813
829
|
lensType: "flat" | "fisheye";
|
|
814
830
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -833,6 +849,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
833
849
|
id: string;
|
|
834
850
|
displayName: string;
|
|
835
851
|
externalPlayerUrl: string | null;
|
|
852
|
+
rtspUrl: string;
|
|
836
853
|
}[];
|
|
837
854
|
lensType: "flat" | "fisheye";
|
|
838
855
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1038,14 +1055,17 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1038
1055
|
id: z.ZodString;
|
|
1039
1056
|
displayName: z.ZodString;
|
|
1040
1057
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1058
|
+
rtspUrl: z.ZodString;
|
|
1041
1059
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1060
|
id: string;
|
|
1043
1061
|
displayName: string;
|
|
1044
1062
|
externalPlayerUrl: string | null;
|
|
1063
|
+
rtspUrl: string;
|
|
1045
1064
|
}, {
|
|
1046
1065
|
id: string;
|
|
1047
1066
|
displayName: string;
|
|
1048
1067
|
externalPlayerUrl: string | null;
|
|
1068
|
+
rtspUrl: string;
|
|
1049
1069
|
}>, "many">;
|
|
1050
1070
|
defaultStreamId: z.ZodString;
|
|
1051
1071
|
} & {
|
|
@@ -1056,6 +1076,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1056
1076
|
id: string;
|
|
1057
1077
|
displayName: string;
|
|
1058
1078
|
externalPlayerUrl: string | null;
|
|
1079
|
+
rtspUrl: string;
|
|
1059
1080
|
}[];
|
|
1060
1081
|
lensType: "flat" | "fisheye";
|
|
1061
1082
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1080,6 +1101,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1080
1101
|
id: string;
|
|
1081
1102
|
displayName: string;
|
|
1082
1103
|
externalPlayerUrl: string | null;
|
|
1104
|
+
rtspUrl: string;
|
|
1083
1105
|
}[];
|
|
1084
1106
|
lensType: "flat" | "fisheye";
|
|
1085
1107
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1380,6 +1402,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1380
1402
|
id: string;
|
|
1381
1403
|
displayName: string;
|
|
1382
1404
|
externalPlayerUrl: string | null;
|
|
1405
|
+
rtspUrl: string;
|
|
1383
1406
|
}[];
|
|
1384
1407
|
lensType: "flat" | "fisheye";
|
|
1385
1408
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1496,6 +1519,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1496
1519
|
id: string;
|
|
1497
1520
|
displayName: string;
|
|
1498
1521
|
externalPlayerUrl: string | null;
|
|
1522
|
+
rtspUrl: string;
|
|
1499
1523
|
}[];
|
|
1500
1524
|
lensType: "flat" | "fisheye";
|
|
1501
1525
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1579,6 +1603,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1579
1603
|
id: string;
|
|
1580
1604
|
displayName: string;
|
|
1581
1605
|
externalPlayerUrl: string | null;
|
|
1606
|
+
rtspUrl: string;
|
|
1582
1607
|
}[];
|
|
1583
1608
|
lensType: "flat" | "fisheye";
|
|
1584
1609
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1695,6 +1720,7 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1695
1720
|
id: string;
|
|
1696
1721
|
displayName: string;
|
|
1697
1722
|
externalPlayerUrl: string | null;
|
|
1723
|
+
rtspUrl: string;
|
|
1698
1724
|
}[];
|
|
1699
1725
|
lensType: "flat" | "fisheye";
|
|
1700
1726
|
mountPoint: "wall" | "ceiling" | "floor";
|
package/dist/package.json
CHANGED
package/dist/primitives.d.ts
CHANGED
|
@@ -111,14 +111,17 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
111
111
|
id: z.ZodString;
|
|
112
112
|
displayName: z.ZodString;
|
|
113
113
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
114
|
+
rtspUrl: z.ZodString;
|
|
114
115
|
}, "strip", z.ZodTypeAny, {
|
|
115
116
|
id: string;
|
|
116
117
|
displayName: string;
|
|
117
118
|
externalPlayerUrl: string | null;
|
|
119
|
+
rtspUrl: string;
|
|
118
120
|
}, {
|
|
119
121
|
id: string;
|
|
120
122
|
displayName: string;
|
|
121
123
|
externalPlayerUrl: string | null;
|
|
124
|
+
rtspUrl: string;
|
|
122
125
|
}>, "many">;
|
|
123
126
|
defaultStreamId: z.ZodString;
|
|
124
127
|
} & {
|
|
@@ -129,6 +132,7 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
129
132
|
id: string;
|
|
130
133
|
displayName: string;
|
|
131
134
|
externalPlayerUrl: string | null;
|
|
135
|
+
rtspUrl: string;
|
|
132
136
|
}[];
|
|
133
137
|
lensType: "flat" | "fisheye";
|
|
134
138
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -153,6 +157,7 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
153
157
|
id: string;
|
|
154
158
|
displayName: string;
|
|
155
159
|
externalPlayerUrl: string | null;
|
|
160
|
+
rtspUrl: string;
|
|
156
161
|
}[];
|
|
157
162
|
lensType: "flat" | "fisheye";
|
|
158
163
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -410,14 +415,17 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
410
415
|
id: z.ZodString;
|
|
411
416
|
displayName: z.ZodString;
|
|
412
417
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
418
|
+
rtspUrl: z.ZodString;
|
|
413
419
|
}, "strip", z.ZodTypeAny, {
|
|
414
420
|
id: string;
|
|
415
421
|
displayName: string;
|
|
416
422
|
externalPlayerUrl: string | null;
|
|
423
|
+
rtspUrl: string;
|
|
417
424
|
}, {
|
|
418
425
|
id: string;
|
|
419
426
|
displayName: string;
|
|
420
427
|
externalPlayerUrl: string | null;
|
|
428
|
+
rtspUrl: string;
|
|
421
429
|
}>, "many">;
|
|
422
430
|
defaultStreamId: z.ZodString;
|
|
423
431
|
} & {
|
|
@@ -428,6 +436,7 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
428
436
|
id: string;
|
|
429
437
|
displayName: string;
|
|
430
438
|
externalPlayerUrl: string | null;
|
|
439
|
+
rtspUrl: string;
|
|
431
440
|
}[];
|
|
432
441
|
lensType: "flat" | "fisheye";
|
|
433
442
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -452,6 +461,7 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
452
461
|
id: string;
|
|
453
462
|
displayName: string;
|
|
454
463
|
externalPlayerUrl: string | null;
|
|
464
|
+
rtspUrl: string;
|
|
455
465
|
}[];
|
|
456
466
|
lensType: "flat" | "fisheye";
|
|
457
467
|
mountPoint: "wall" | "ceiling" | "floor";
|