@awarevue/api-types 2.0.47 → 2.0.49
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 +0 -28
- package/dist/api/commands/all.d.ts +0 -18
- package/dist/api/commands/nvr-exporter.d.ts +0 -18
- package/dist/api/commands/server.d.ts +0 -18
- package/dist/api/queries/all.d.ts +0 -21
- package/dist/api/queries/nvr-recorder.d.ts +0 -42
- package/dist/api/rest/camera.d.ts +55 -0
- package/dist/api/rest/camera.js +24 -0
- package/dist/api/rest/index.d.ts +1 -0
- package/dist/api/rest/index.js +1 -0
- package/dist/objects/device/any-device.d.ts +0 -15
- package/dist/objects/device/camera.d.ts +0 -8
- package/dist/objects/device/camera.js +0 -1
- package/dist/objects/device/device-import.d.ts +0 -26
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +0 -10
- package/package.json +1 -1
|
@@ -226,7 +226,6 @@ export declare const requestSchemasByType: {
|
|
|
226
226
|
displayName: z.ZodString;
|
|
227
227
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
228
228
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
229
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
230
229
|
recordingCapable: z.ZodBoolean;
|
|
231
230
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
232
231
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -242,7 +241,6 @@ export declare const requestSchemasByType: {
|
|
|
242
241
|
displayName: string;
|
|
243
242
|
externalPlayerUrl: string | null;
|
|
244
243
|
rtspUrl: string | null;
|
|
245
|
-
mountedStreamId: string | null;
|
|
246
244
|
recordingCapable: boolean;
|
|
247
245
|
lensType: "flat" | "fisheye";
|
|
248
246
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -254,7 +252,6 @@ export declare const requestSchemasByType: {
|
|
|
254
252
|
displayName: string;
|
|
255
253
|
externalPlayerUrl: string | null;
|
|
256
254
|
rtspUrl: string | null;
|
|
257
|
-
mountedStreamId: string | null;
|
|
258
255
|
recordingCapable: boolean;
|
|
259
256
|
lensType: "flat" | "fisheye";
|
|
260
257
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -273,7 +270,6 @@ export declare const requestSchemasByType: {
|
|
|
273
270
|
displayName: string;
|
|
274
271
|
externalPlayerUrl: string | null;
|
|
275
272
|
rtspUrl: string | null;
|
|
276
|
-
mountedStreamId: string | null;
|
|
277
273
|
recordingCapable: boolean;
|
|
278
274
|
lensType: "flat" | "fisheye";
|
|
279
275
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -300,7 +296,6 @@ export declare const requestSchemasByType: {
|
|
|
300
296
|
displayName: string;
|
|
301
297
|
externalPlayerUrl: string | null;
|
|
302
298
|
rtspUrl: string | null;
|
|
303
|
-
mountedStreamId: string | null;
|
|
304
299
|
recordingCapable: boolean;
|
|
305
300
|
lensType: "flat" | "fisheye";
|
|
306
301
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -494,7 +489,6 @@ export declare const requestSchemasByType: {
|
|
|
494
489
|
displayName: string;
|
|
495
490
|
externalPlayerUrl: string | null;
|
|
496
491
|
rtspUrl: string | null;
|
|
497
|
-
mountedStreamId: string | null;
|
|
498
492
|
recordingCapable: boolean;
|
|
499
493
|
lensType: "flat" | "fisheye";
|
|
500
494
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -590,7 +584,6 @@ export declare const requestSchemasByType: {
|
|
|
590
584
|
displayName: string;
|
|
591
585
|
externalPlayerUrl: string | null;
|
|
592
586
|
rtspUrl: string | null;
|
|
593
|
-
mountedStreamId: string | null;
|
|
594
587
|
recordingCapable: boolean;
|
|
595
588
|
lensType: "flat" | "fisheye";
|
|
596
589
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -747,7 +740,6 @@ export declare const requestSchemasByType: {
|
|
|
747
740
|
displayName: z.ZodString;
|
|
748
741
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
749
742
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
750
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
751
743
|
recordingCapable: z.ZodBoolean;
|
|
752
744
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
753
745
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -763,7 +755,6 @@ export declare const requestSchemasByType: {
|
|
|
763
755
|
displayName: string;
|
|
764
756
|
externalPlayerUrl: string | null;
|
|
765
757
|
rtspUrl: string | null;
|
|
766
|
-
mountedStreamId: string | null;
|
|
767
758
|
recordingCapable: boolean;
|
|
768
759
|
lensType: "flat" | "fisheye";
|
|
769
760
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -775,7 +766,6 @@ export declare const requestSchemasByType: {
|
|
|
775
766
|
displayName: string;
|
|
776
767
|
externalPlayerUrl: string | null;
|
|
777
768
|
rtspUrl: string | null;
|
|
778
|
-
mountedStreamId: string | null;
|
|
779
769
|
recordingCapable: boolean;
|
|
780
770
|
lensType: "flat" | "fisheye";
|
|
781
771
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -794,7 +784,6 @@ export declare const requestSchemasByType: {
|
|
|
794
784
|
displayName: string;
|
|
795
785
|
externalPlayerUrl: string | null;
|
|
796
786
|
rtspUrl: string | null;
|
|
797
|
-
mountedStreamId: string | null;
|
|
798
787
|
recordingCapable: boolean;
|
|
799
788
|
lensType: "flat" | "fisheye";
|
|
800
789
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -821,7 +810,6 @@ export declare const requestSchemasByType: {
|
|
|
821
810
|
displayName: string;
|
|
822
811
|
externalPlayerUrl: string | null;
|
|
823
812
|
rtspUrl: string | null;
|
|
824
|
-
mountedStreamId: string | null;
|
|
825
813
|
recordingCapable: boolean;
|
|
826
814
|
lensType: "flat" | "fisheye";
|
|
827
815
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1017,7 +1005,6 @@ export declare const requestSchemasByType: {
|
|
|
1017
1005
|
displayName: string;
|
|
1018
1006
|
externalPlayerUrl: string | null;
|
|
1019
1007
|
rtspUrl: string | null;
|
|
1020
|
-
mountedStreamId: string | null;
|
|
1021
1008
|
recordingCapable: boolean;
|
|
1022
1009
|
lensType: "flat" | "fisheye";
|
|
1023
1010
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1113,7 +1100,6 @@ export declare const requestSchemasByType: {
|
|
|
1113
1100
|
displayName: string;
|
|
1114
1101
|
externalPlayerUrl: string | null;
|
|
1115
1102
|
rtspUrl: string | null;
|
|
1116
|
-
mountedStreamId: string | null;
|
|
1117
1103
|
recordingCapable: boolean;
|
|
1118
1104
|
lensType: "flat" | "fisheye";
|
|
1119
1105
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1268,7 +1254,6 @@ export declare const requestSchemasByType: {
|
|
|
1268
1254
|
displayName: z.ZodString;
|
|
1269
1255
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1270
1256
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1271
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
1272
1257
|
recordingCapable: z.ZodBoolean;
|
|
1273
1258
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1274
1259
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -1284,7 +1269,6 @@ export declare const requestSchemasByType: {
|
|
|
1284
1269
|
displayName: string;
|
|
1285
1270
|
externalPlayerUrl: string | null;
|
|
1286
1271
|
rtspUrl: string | null;
|
|
1287
|
-
mountedStreamId: string | null;
|
|
1288
1272
|
recordingCapable: boolean;
|
|
1289
1273
|
lensType: "flat" | "fisheye";
|
|
1290
1274
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1296,7 +1280,6 @@ export declare const requestSchemasByType: {
|
|
|
1296
1280
|
displayName: string;
|
|
1297
1281
|
externalPlayerUrl: string | null;
|
|
1298
1282
|
rtspUrl: string | null;
|
|
1299
|
-
mountedStreamId: string | null;
|
|
1300
1283
|
recordingCapable: boolean;
|
|
1301
1284
|
lensType: "flat" | "fisheye";
|
|
1302
1285
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1315,7 +1298,6 @@ export declare const requestSchemasByType: {
|
|
|
1315
1298
|
displayName: string;
|
|
1316
1299
|
externalPlayerUrl: string | null;
|
|
1317
1300
|
rtspUrl: string | null;
|
|
1318
|
-
mountedStreamId: string | null;
|
|
1319
1301
|
recordingCapable: boolean;
|
|
1320
1302
|
lensType: "flat" | "fisheye";
|
|
1321
1303
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1342,7 +1324,6 @@ export declare const requestSchemasByType: {
|
|
|
1342
1324
|
displayName: string;
|
|
1343
1325
|
externalPlayerUrl: string | null;
|
|
1344
1326
|
rtspUrl: string | null;
|
|
1345
|
-
mountedStreamId: string | null;
|
|
1346
1327
|
recordingCapable: boolean;
|
|
1347
1328
|
lensType: "flat" | "fisheye";
|
|
1348
1329
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1538,7 +1519,6 @@ export declare const requestSchemasByType: {
|
|
|
1538
1519
|
displayName: string;
|
|
1539
1520
|
externalPlayerUrl: string | null;
|
|
1540
1521
|
rtspUrl: string | null;
|
|
1541
|
-
mountedStreamId: string | null;
|
|
1542
1522
|
recordingCapable: boolean;
|
|
1543
1523
|
lensType: "flat" | "fisheye";
|
|
1544
1524
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1634,7 +1614,6 @@ export declare const requestSchemasByType: {
|
|
|
1634
1614
|
displayName: string;
|
|
1635
1615
|
externalPlayerUrl: string | null;
|
|
1636
1616
|
rtspUrl: string | null;
|
|
1637
|
-
mountedStreamId: string | null;
|
|
1638
1617
|
recordingCapable: boolean;
|
|
1639
1618
|
lensType: "flat" | "fisheye";
|
|
1640
1619
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -86,7 +86,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
86
86
|
displayName: z.ZodString;
|
|
87
87
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
88
88
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
89
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
90
89
|
recordingCapable: z.ZodBoolean;
|
|
91
90
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
92
91
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -102,7 +101,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
102
101
|
displayName: string;
|
|
103
102
|
externalPlayerUrl: string | null;
|
|
104
103
|
rtspUrl: string | null;
|
|
105
|
-
mountedStreamId: string | null;
|
|
106
104
|
recordingCapable: boolean;
|
|
107
105
|
lensType: "flat" | "fisheye";
|
|
108
106
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -114,7 +112,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
114
112
|
displayName: string;
|
|
115
113
|
externalPlayerUrl: string | null;
|
|
116
114
|
rtspUrl: string | null;
|
|
117
|
-
mountedStreamId: string | null;
|
|
118
115
|
recordingCapable: boolean;
|
|
119
116
|
lensType: "flat" | "fisheye";
|
|
120
117
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -133,7 +130,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
133
130
|
displayName: string;
|
|
134
131
|
externalPlayerUrl: string | null;
|
|
135
132
|
rtspUrl: string | null;
|
|
136
|
-
mountedStreamId: string | null;
|
|
137
133
|
recordingCapable: boolean;
|
|
138
134
|
lensType: "flat" | "fisheye";
|
|
139
135
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -160,7 +156,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
160
156
|
displayName: string;
|
|
161
157
|
externalPlayerUrl: string | null;
|
|
162
158
|
rtspUrl: string | null;
|
|
163
|
-
mountedStreamId: string | null;
|
|
164
159
|
recordingCapable: boolean;
|
|
165
160
|
lensType: "flat" | "fisheye";
|
|
166
161
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -354,7 +349,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
354
349
|
displayName: string;
|
|
355
350
|
externalPlayerUrl: string | null;
|
|
356
351
|
rtspUrl: string | null;
|
|
357
|
-
mountedStreamId: string | null;
|
|
358
352
|
recordingCapable: boolean;
|
|
359
353
|
lensType: "flat" | "fisheye";
|
|
360
354
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -450,7 +444,6 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
450
444
|
displayName: string;
|
|
451
445
|
externalPlayerUrl: string | null;
|
|
452
446
|
rtspUrl: string | null;
|
|
453
|
-
mountedStreamId: string | null;
|
|
454
447
|
recordingCapable: boolean;
|
|
455
448
|
lensType: "flat" | "fisheye";
|
|
456
449
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -626,7 +619,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
626
619
|
displayName: z.ZodString;
|
|
627
620
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
628
621
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
629
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
630
622
|
recordingCapable: z.ZodBoolean;
|
|
631
623
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
632
624
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -642,7 +634,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
642
634
|
displayName: string;
|
|
643
635
|
externalPlayerUrl: string | null;
|
|
644
636
|
rtspUrl: string | null;
|
|
645
|
-
mountedStreamId: string | null;
|
|
646
637
|
recordingCapable: boolean;
|
|
647
638
|
lensType: "flat" | "fisheye";
|
|
648
639
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -654,7 +645,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
654
645
|
displayName: string;
|
|
655
646
|
externalPlayerUrl: string | null;
|
|
656
647
|
rtspUrl: string | null;
|
|
657
|
-
mountedStreamId: string | null;
|
|
658
648
|
recordingCapable: boolean;
|
|
659
649
|
lensType: "flat" | "fisheye";
|
|
660
650
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -673,7 +663,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
673
663
|
displayName: string;
|
|
674
664
|
externalPlayerUrl: string | null;
|
|
675
665
|
rtspUrl: string | null;
|
|
676
|
-
mountedStreamId: string | null;
|
|
677
666
|
recordingCapable: boolean;
|
|
678
667
|
lensType: "flat" | "fisheye";
|
|
679
668
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -700,7 +689,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
700
689
|
displayName: string;
|
|
701
690
|
externalPlayerUrl: string | null;
|
|
702
691
|
rtspUrl: string | null;
|
|
703
|
-
mountedStreamId: string | null;
|
|
704
692
|
recordingCapable: boolean;
|
|
705
693
|
lensType: "flat" | "fisheye";
|
|
706
694
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -896,7 +884,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
896
884
|
displayName: string;
|
|
897
885
|
externalPlayerUrl: string | null;
|
|
898
886
|
rtspUrl: string | null;
|
|
899
|
-
mountedStreamId: string | null;
|
|
900
887
|
recordingCapable: boolean;
|
|
901
888
|
lensType: "flat" | "fisheye";
|
|
902
889
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -992,7 +979,6 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
992
979
|
displayName: string;
|
|
993
980
|
externalPlayerUrl: string | null;
|
|
994
981
|
rtspUrl: string | null;
|
|
995
|
-
mountedStreamId: string | null;
|
|
996
982
|
recordingCapable: boolean;
|
|
997
983
|
lensType: "flat" | "fisheye";
|
|
998
984
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1160,7 +1146,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1160
1146
|
displayName: z.ZodString;
|
|
1161
1147
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1162
1148
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1163
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
1164
1149
|
recordingCapable: z.ZodBoolean;
|
|
1165
1150
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1166
1151
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -1176,7 +1161,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1176
1161
|
displayName: string;
|
|
1177
1162
|
externalPlayerUrl: string | null;
|
|
1178
1163
|
rtspUrl: string | null;
|
|
1179
|
-
mountedStreamId: string | null;
|
|
1180
1164
|
recordingCapable: boolean;
|
|
1181
1165
|
lensType: "flat" | "fisheye";
|
|
1182
1166
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1188,7 +1172,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1188
1172
|
displayName: string;
|
|
1189
1173
|
externalPlayerUrl: string | null;
|
|
1190
1174
|
rtspUrl: string | null;
|
|
1191
|
-
mountedStreamId: string | null;
|
|
1192
1175
|
recordingCapable: boolean;
|
|
1193
1176
|
lensType: "flat" | "fisheye";
|
|
1194
1177
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1207,7 +1190,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1207
1190
|
displayName: string;
|
|
1208
1191
|
externalPlayerUrl: string | null;
|
|
1209
1192
|
rtspUrl: string | null;
|
|
1210
|
-
mountedStreamId: string | null;
|
|
1211
1193
|
recordingCapable: boolean;
|
|
1212
1194
|
lensType: "flat" | "fisheye";
|
|
1213
1195
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1234,7 +1216,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1234
1216
|
displayName: string;
|
|
1235
1217
|
externalPlayerUrl: string | null;
|
|
1236
1218
|
rtspUrl: string | null;
|
|
1237
|
-
mountedStreamId: string | null;
|
|
1238
1219
|
recordingCapable: boolean;
|
|
1239
1220
|
lensType: "flat" | "fisheye";
|
|
1240
1221
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1430,7 +1411,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1430
1411
|
displayName: string;
|
|
1431
1412
|
externalPlayerUrl: string | null;
|
|
1432
1413
|
rtspUrl: string | null;
|
|
1433
|
-
mountedStreamId: string | null;
|
|
1434
1414
|
recordingCapable: boolean;
|
|
1435
1415
|
lensType: "flat" | "fisheye";
|
|
1436
1416
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1526,7 +1506,6 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1526
1506
|
displayName: string;
|
|
1527
1507
|
externalPlayerUrl: string | null;
|
|
1528
1508
|
rtspUrl: string | null;
|
|
1529
|
-
mountedStreamId: string | null;
|
|
1530
1509
|
recordingCapable: boolean;
|
|
1531
1510
|
lensType: "flat" | "fisheye";
|
|
1532
1511
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1694,7 +1673,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1694
1673
|
displayName: z.ZodString;
|
|
1695
1674
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1696
1675
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1697
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
1698
1676
|
recordingCapable: z.ZodBoolean;
|
|
1699
1677
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1700
1678
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -1710,7 +1688,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1710
1688
|
displayName: string;
|
|
1711
1689
|
externalPlayerUrl: string | null;
|
|
1712
1690
|
rtspUrl: string | null;
|
|
1713
|
-
mountedStreamId: string | null;
|
|
1714
1691
|
recordingCapable: boolean;
|
|
1715
1692
|
lensType: "flat" | "fisheye";
|
|
1716
1693
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1722,7 +1699,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1722
1699
|
displayName: string;
|
|
1723
1700
|
externalPlayerUrl: string | null;
|
|
1724
1701
|
rtspUrl: string | null;
|
|
1725
|
-
mountedStreamId: string | null;
|
|
1726
1702
|
recordingCapable: boolean;
|
|
1727
1703
|
lensType: "flat" | "fisheye";
|
|
1728
1704
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1741,7 +1717,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1741
1717
|
displayName: string;
|
|
1742
1718
|
externalPlayerUrl: string | null;
|
|
1743
1719
|
rtspUrl: string | null;
|
|
1744
|
-
mountedStreamId: string | null;
|
|
1745
1720
|
recordingCapable: boolean;
|
|
1746
1721
|
lensType: "flat" | "fisheye";
|
|
1747
1722
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1768,7 +1743,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1768
1743
|
displayName: string;
|
|
1769
1744
|
externalPlayerUrl: string | null;
|
|
1770
1745
|
rtspUrl: string | null;
|
|
1771
|
-
mountedStreamId: string | null;
|
|
1772
1746
|
recordingCapable: boolean;
|
|
1773
1747
|
lensType: "flat" | "fisheye";
|
|
1774
1748
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1962,7 +1936,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1962
1936
|
displayName: string;
|
|
1963
1937
|
externalPlayerUrl: string | null;
|
|
1964
1938
|
rtspUrl: string | null;
|
|
1965
|
-
mountedStreamId: string | null;
|
|
1966
1939
|
recordingCapable: boolean;
|
|
1967
1940
|
lensType: "flat" | "fisheye";
|
|
1968
1941
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2058,7 +2031,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2058
2031
|
displayName: string;
|
|
2059
2032
|
externalPlayerUrl: string | null;
|
|
2060
2033
|
rtspUrl: string | null;
|
|
2061
|
-
mountedStreamId: string | null;
|
|
2062
2034
|
recordingCapable: boolean;
|
|
2063
2035
|
lensType: "flat" | "fisheye";
|
|
2064
2036
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2215,7 +2187,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2215
2187
|
displayName: z.ZodString;
|
|
2216
2188
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
2217
2189
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
2218
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
2219
2190
|
recordingCapable: z.ZodBoolean;
|
|
2220
2191
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2221
2192
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -2231,7 +2202,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2231
2202
|
displayName: string;
|
|
2232
2203
|
externalPlayerUrl: string | null;
|
|
2233
2204
|
rtspUrl: string | null;
|
|
2234
|
-
mountedStreamId: string | null;
|
|
2235
2205
|
recordingCapable: boolean;
|
|
2236
2206
|
lensType: "flat" | "fisheye";
|
|
2237
2207
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2243,7 +2213,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2243
2213
|
displayName: string;
|
|
2244
2214
|
externalPlayerUrl: string | null;
|
|
2245
2215
|
rtspUrl: string | null;
|
|
2246
|
-
mountedStreamId: string | null;
|
|
2247
2216
|
recordingCapable: boolean;
|
|
2248
2217
|
lensType: "flat" | "fisheye";
|
|
2249
2218
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2262,7 +2231,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2262
2231
|
displayName: string;
|
|
2263
2232
|
externalPlayerUrl: string | null;
|
|
2264
2233
|
rtspUrl: string | null;
|
|
2265
|
-
mountedStreamId: string | null;
|
|
2266
2234
|
recordingCapable: boolean;
|
|
2267
2235
|
lensType: "flat" | "fisheye";
|
|
2268
2236
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2289,7 +2257,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2289
2257
|
displayName: string;
|
|
2290
2258
|
externalPlayerUrl: string | null;
|
|
2291
2259
|
rtspUrl: string | null;
|
|
2292
|
-
mountedStreamId: string | null;
|
|
2293
2260
|
recordingCapable: boolean;
|
|
2294
2261
|
lensType: "flat" | "fisheye";
|
|
2295
2262
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2485,7 +2452,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2485
2452
|
displayName: string;
|
|
2486
2453
|
externalPlayerUrl: string | null;
|
|
2487
2454
|
rtspUrl: string | null;
|
|
2488
|
-
mountedStreamId: string | null;
|
|
2489
2455
|
recordingCapable: boolean;
|
|
2490
2456
|
lensType: "flat" | "fisheye";
|
|
2491
2457
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2581,7 +2547,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2581
2547
|
displayName: string;
|
|
2582
2548
|
externalPlayerUrl: string | null;
|
|
2583
2549
|
rtspUrl: string | null;
|
|
2584
|
-
mountedStreamId: string | null;
|
|
2585
2550
|
recordingCapable: boolean;
|
|
2586
2551
|
lensType: "flat" | "fisheye";
|
|
2587
2552
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2736,7 +2701,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2736
2701
|
displayName: z.ZodString;
|
|
2737
2702
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
2738
2703
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
2739
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
2740
2704
|
recordingCapable: z.ZodBoolean;
|
|
2741
2705
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
2742
2706
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -2752,7 +2716,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2752
2716
|
displayName: string;
|
|
2753
2717
|
externalPlayerUrl: string | null;
|
|
2754
2718
|
rtspUrl: string | null;
|
|
2755
|
-
mountedStreamId: string | null;
|
|
2756
2719
|
recordingCapable: boolean;
|
|
2757
2720
|
lensType: "flat" | "fisheye";
|
|
2758
2721
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2764,7 +2727,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2764
2727
|
displayName: string;
|
|
2765
2728
|
externalPlayerUrl: string | null;
|
|
2766
2729
|
rtspUrl: string | null;
|
|
2767
|
-
mountedStreamId: string | null;
|
|
2768
2730
|
recordingCapable: boolean;
|
|
2769
2731
|
lensType: "flat" | "fisheye";
|
|
2770
2732
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2783,7 +2745,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2783
2745
|
displayName: string;
|
|
2784
2746
|
externalPlayerUrl: string | null;
|
|
2785
2747
|
rtspUrl: string | null;
|
|
2786
|
-
mountedStreamId: string | null;
|
|
2787
2748
|
recordingCapable: boolean;
|
|
2788
2749
|
lensType: "flat" | "fisheye";
|
|
2789
2750
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -2810,7 +2771,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2810
2771
|
displayName: string;
|
|
2811
2772
|
externalPlayerUrl: string | null;
|
|
2812
2773
|
rtspUrl: string | null;
|
|
2813
|
-
mountedStreamId: string | null;
|
|
2814
2774
|
recordingCapable: boolean;
|
|
2815
2775
|
lensType: "flat" | "fisheye";
|
|
2816
2776
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -3006,7 +2966,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3006
2966
|
displayName: string;
|
|
3007
2967
|
externalPlayerUrl: string | null;
|
|
3008
2968
|
rtspUrl: string | null;
|
|
3009
|
-
mountedStreamId: string | null;
|
|
3010
2969
|
recordingCapable: boolean;
|
|
3011
2970
|
lensType: "flat" | "fisheye";
|
|
3012
2971
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -3102,7 +3061,6 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3102
3061
|
displayName: string;
|
|
3103
3062
|
externalPlayerUrl: string | null;
|
|
3104
3063
|
rtspUrl: string | null;
|
|
3105
|
-
mountedStreamId: string | null;
|
|
3106
3064
|
recordingCapable: boolean;
|
|
3107
3065
|
lensType: "flat" | "fisheye";
|
|
3108
3066
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const sAddCameraRq: z.ZodObject<{
|
|
3
|
+
displayName: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
displayName: string;
|
|
6
|
+
}, {
|
|
7
|
+
displayName: string;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const sAddCameraRs: z.ZodObject<{
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
id: string;
|
|
13
|
+
}, {
|
|
14
|
+
id: string;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const sAddCameraStreamRq: z.ZodObject<{
|
|
17
|
+
cameraId: z.ZodString;
|
|
18
|
+
displayName: z.ZodString;
|
|
19
|
+
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
displayName: string;
|
|
22
|
+
rtspUrl: string | null;
|
|
23
|
+
cameraId: string;
|
|
24
|
+
}, {
|
|
25
|
+
displayName: string;
|
|
26
|
+
rtspUrl: string | null;
|
|
27
|
+
cameraId: string;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const sAddCameraStreamRs: z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
ffmpegCommandTemplate: z.ZodString;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
id: string;
|
|
34
|
+
ffmpegCommandTemplate: string;
|
|
35
|
+
}, {
|
|
36
|
+
id: string;
|
|
37
|
+
ffmpegCommandTemplate: string;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const sDeleteCameraStreamRq: z.ZodObject<{
|
|
40
|
+
cameraId: z.ZodString;
|
|
41
|
+
streamId: z.ZodString;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
streamId: string;
|
|
44
|
+
cameraId: string;
|
|
45
|
+
}, {
|
|
46
|
+
streamId: string;
|
|
47
|
+
cameraId: string;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const sDeleteCameraStreamRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
50
|
+
export type AddCameraRq = z.infer<typeof sAddCameraRq>;
|
|
51
|
+
export type AddCameraRs = z.infer<typeof sAddCameraRs>;
|
|
52
|
+
export type AddCameraStreamRq = z.infer<typeof sAddCameraStreamRq>;
|
|
53
|
+
export type AddCameraStreamRs = z.infer<typeof sAddCameraStreamRs>;
|
|
54
|
+
export type DeleteCameraStreamRq = z.infer<typeof sDeleteCameraStreamRq>;
|
|
55
|
+
export type DeleteCameraStreamRs = z.infer<typeof sDeleteCameraStreamRs>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sDeleteCameraStreamRs = exports.sDeleteCameraStreamRq = exports.sAddCameraStreamRs = exports.sAddCameraStreamRq = exports.sAddCameraRs = exports.sAddCameraRq = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.sAddCameraRq = zod_1.z.object({
|
|
6
|
+
displayName: zod_1.z.string().nonempty(),
|
|
7
|
+
});
|
|
8
|
+
exports.sAddCameraRs = zod_1.z.object({
|
|
9
|
+
id: zod_1.z.string().nonempty(),
|
|
10
|
+
});
|
|
11
|
+
exports.sAddCameraStreamRq = zod_1.z.object({
|
|
12
|
+
cameraId: zod_1.z.string().nonempty(),
|
|
13
|
+
displayName: zod_1.z.string().nonempty(),
|
|
14
|
+
rtspUrl: zod_1.z.string().nonempty().nullable(),
|
|
15
|
+
});
|
|
16
|
+
exports.sAddCameraStreamRs = zod_1.z.object({
|
|
17
|
+
id: zod_1.z.string().nonempty(),
|
|
18
|
+
ffmpegCommandTemplate: zod_1.z.string().nonempty(),
|
|
19
|
+
});
|
|
20
|
+
exports.sDeleteCameraStreamRq = zod_1.z.object({
|
|
21
|
+
cameraId: zod_1.z.string().nonempty(),
|
|
22
|
+
streamId: zod_1.z.string().nonempty(),
|
|
23
|
+
});
|
|
24
|
+
exports.sDeleteCameraStreamRs = zod_1.z.object({});
|
package/dist/api/rest/index.d.ts
CHANGED
package/dist/api/rest/index.js
CHANGED