@awarevue/api-types 2.0.48 → 2.0.50
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/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/dist/primitives.js +6 -6
- package/package.json +1 -1
|
@@ -48,7 +48,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
48
48
|
displayName: z.ZodString;
|
|
49
49
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
50
50
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
51
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
52
51
|
recordingCapable: z.ZodBoolean;
|
|
53
52
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
54
53
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -64,7 +63,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
64
63
|
displayName: string;
|
|
65
64
|
externalPlayerUrl: string | null;
|
|
66
65
|
rtspUrl: string | null;
|
|
67
|
-
mountedStreamId: string | null;
|
|
68
66
|
recordingCapable: boolean;
|
|
69
67
|
lensType: "flat" | "fisheye";
|
|
70
68
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -76,7 +74,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
76
74
|
displayName: string;
|
|
77
75
|
externalPlayerUrl: string | null;
|
|
78
76
|
rtspUrl: string | null;
|
|
79
|
-
mountedStreamId: string | null;
|
|
80
77
|
recordingCapable: boolean;
|
|
81
78
|
lensType: "flat" | "fisheye";
|
|
82
79
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -95,7 +92,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
95
92
|
displayName: string;
|
|
96
93
|
externalPlayerUrl: string | null;
|
|
97
94
|
rtspUrl: string | null;
|
|
98
|
-
mountedStreamId: string | null;
|
|
99
95
|
recordingCapable: boolean;
|
|
100
96
|
lensType: "flat" | "fisheye";
|
|
101
97
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -122,7 +118,6 @@ export declare const sImportedDevice: z.ZodIntersection<z.ZodIntersection<z.ZodO
|
|
|
122
118
|
displayName: string;
|
|
123
119
|
externalPlayerUrl: string | null;
|
|
124
120
|
rtspUrl: string | null;
|
|
125
|
-
mountedStreamId: string | null;
|
|
126
121
|
recordingCapable: boolean;
|
|
127
122
|
lensType: "flat" | "fisheye";
|
|
128
123
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -346,7 +341,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
346
341
|
displayName: z.ZodString;
|
|
347
342
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
348
343
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
349
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
350
344
|
recordingCapable: z.ZodBoolean;
|
|
351
345
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
352
346
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -362,7 +356,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
362
356
|
displayName: string;
|
|
363
357
|
externalPlayerUrl: string | null;
|
|
364
358
|
rtspUrl: string | null;
|
|
365
|
-
mountedStreamId: string | null;
|
|
366
359
|
recordingCapable: boolean;
|
|
367
360
|
lensType: "flat" | "fisheye";
|
|
368
361
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -374,7 +367,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
374
367
|
displayName: string;
|
|
375
368
|
externalPlayerUrl: string | null;
|
|
376
369
|
rtspUrl: string | null;
|
|
377
|
-
mountedStreamId: string | null;
|
|
378
370
|
recordingCapable: boolean;
|
|
379
371
|
lensType: "flat" | "fisheye";
|
|
380
372
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -393,7 +385,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
393
385
|
displayName: string;
|
|
394
386
|
externalPlayerUrl: string | null;
|
|
395
387
|
rtspUrl: string | null;
|
|
396
|
-
mountedStreamId: string | null;
|
|
397
388
|
recordingCapable: boolean;
|
|
398
389
|
lensType: "flat" | "fisheye";
|
|
399
390
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -420,7 +411,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
420
411
|
displayName: string;
|
|
421
412
|
externalPlayerUrl: string | null;
|
|
422
413
|
rtspUrl: string | null;
|
|
423
|
-
mountedStreamId: string | null;
|
|
424
414
|
recordingCapable: boolean;
|
|
425
415
|
lensType: "flat" | "fisheye";
|
|
426
416
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -624,7 +614,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
624
614
|
displayName: string;
|
|
625
615
|
externalPlayerUrl: string | null;
|
|
626
616
|
rtspUrl: string | null;
|
|
627
|
-
mountedStreamId: string | null;
|
|
628
617
|
recordingCapable: boolean;
|
|
629
618
|
lensType: "flat" | "fisheye";
|
|
630
619
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -720,7 +709,6 @@ export declare const sDeviceDiscoveryDto: z.ZodObject<{
|
|
|
720
709
|
displayName: string;
|
|
721
710
|
externalPlayerUrl: string | null;
|
|
722
711
|
rtspUrl: string | null;
|
|
723
|
-
mountedStreamId: string | null;
|
|
724
712
|
recordingCapable: boolean;
|
|
725
713
|
lensType: "flat" | "fisheye";
|
|
726
714
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -846,7 +834,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
846
834
|
displayName: z.ZodString;
|
|
847
835
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
848
836
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
849
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
850
837
|
recordingCapable: z.ZodBoolean;
|
|
851
838
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
852
839
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -862,7 +849,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
862
849
|
displayName: string;
|
|
863
850
|
externalPlayerUrl: string | null;
|
|
864
851
|
rtspUrl: string | null;
|
|
865
|
-
mountedStreamId: string | null;
|
|
866
852
|
recordingCapable: boolean;
|
|
867
853
|
lensType: "flat" | "fisheye";
|
|
868
854
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -874,7 +860,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
874
860
|
displayName: string;
|
|
875
861
|
externalPlayerUrl: string | null;
|
|
876
862
|
rtspUrl: string | null;
|
|
877
|
-
mountedStreamId: string | null;
|
|
878
863
|
recordingCapable: boolean;
|
|
879
864
|
lensType: "flat" | "fisheye";
|
|
880
865
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -893,7 +878,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
893
878
|
displayName: string;
|
|
894
879
|
externalPlayerUrl: string | null;
|
|
895
880
|
rtspUrl: string | null;
|
|
896
|
-
mountedStreamId: string | null;
|
|
897
881
|
recordingCapable: boolean;
|
|
898
882
|
lensType: "flat" | "fisheye";
|
|
899
883
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -920,7 +904,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
920
904
|
displayName: string;
|
|
921
905
|
externalPlayerUrl: string | null;
|
|
922
906
|
rtspUrl: string | null;
|
|
923
|
-
mountedStreamId: string | null;
|
|
924
907
|
recordingCapable: boolean;
|
|
925
908
|
lensType: "flat" | "fisheye";
|
|
926
909
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1121,7 +1104,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1121
1104
|
displayName: z.ZodString;
|
|
1122
1105
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
1123
1106
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
1124
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
1125
1107
|
recordingCapable: z.ZodBoolean;
|
|
1126
1108
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
1127
1109
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -1137,7 +1119,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1137
1119
|
displayName: string;
|
|
1138
1120
|
externalPlayerUrl: string | null;
|
|
1139
1121
|
rtspUrl: string | null;
|
|
1140
|
-
mountedStreamId: string | null;
|
|
1141
1122
|
recordingCapable: boolean;
|
|
1142
1123
|
lensType: "flat" | "fisheye";
|
|
1143
1124
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1149,7 +1130,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1149
1130
|
displayName: string;
|
|
1150
1131
|
externalPlayerUrl: string | null;
|
|
1151
1132
|
rtspUrl: string | null;
|
|
1152
|
-
mountedStreamId: string | null;
|
|
1153
1133
|
recordingCapable: boolean;
|
|
1154
1134
|
lensType: "flat" | "fisheye";
|
|
1155
1135
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1168,7 +1148,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1168
1148
|
displayName: string;
|
|
1169
1149
|
externalPlayerUrl: string | null;
|
|
1170
1150
|
rtspUrl: string | null;
|
|
1171
|
-
mountedStreamId: string | null;
|
|
1172
1151
|
recordingCapable: boolean;
|
|
1173
1152
|
lensType: "flat" | "fisheye";
|
|
1174
1153
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1195,7 +1174,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1195
1174
|
displayName: string;
|
|
1196
1175
|
externalPlayerUrl: string | null;
|
|
1197
1176
|
rtspUrl: string | null;
|
|
1198
|
-
mountedStreamId: string | null;
|
|
1199
1177
|
recordingCapable: boolean;
|
|
1200
1178
|
lensType: "flat" | "fisheye";
|
|
1201
1179
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1501,7 +1479,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1501
1479
|
displayName: string;
|
|
1502
1480
|
externalPlayerUrl: string | null;
|
|
1503
1481
|
rtspUrl: string | null;
|
|
1504
|
-
mountedStreamId: string | null;
|
|
1505
1482
|
recordingCapable: boolean;
|
|
1506
1483
|
lensType: "flat" | "fisheye";
|
|
1507
1484
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1621,7 +1598,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1621
1598
|
displayName: string;
|
|
1622
1599
|
externalPlayerUrl: string | null;
|
|
1623
1600
|
rtspUrl: string | null;
|
|
1624
|
-
mountedStreamId: string | null;
|
|
1625
1601
|
recordingCapable: boolean;
|
|
1626
1602
|
lensType: "flat" | "fisheye";
|
|
1627
1603
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1708,7 +1684,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1708
1684
|
displayName: string;
|
|
1709
1685
|
externalPlayerUrl: string | null;
|
|
1710
1686
|
rtspUrl: string | null;
|
|
1711
|
-
mountedStreamId: string | null;
|
|
1712
1687
|
recordingCapable: boolean;
|
|
1713
1688
|
lensType: "flat" | "fisheye";
|
|
1714
1689
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -1828,7 +1803,6 @@ export declare const sDeviceGetChangesDto: z.ZodObject<{
|
|
|
1828
1803
|
displayName: string;
|
|
1829
1804
|
externalPlayerUrl: string | null;
|
|
1830
1805
|
rtspUrl: string | null;
|
|
1831
|
-
mountedStreamId: string | null;
|
|
1832
1806
|
recordingCapable: boolean;
|
|
1833
1807
|
lensType: "flat" | "fisheye";
|
|
1834
1808
|
mountPoint: "wall" | "ceiling" | "floor";
|
package/dist/package.json
CHANGED
package/dist/primitives.d.ts
CHANGED
|
@@ -116,7 +116,6 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
116
116
|
displayName: z.ZodString;
|
|
117
117
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
118
118
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
119
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
120
119
|
recordingCapable: z.ZodBoolean;
|
|
121
120
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
122
121
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -132,7 +131,6 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
132
131
|
displayName: string;
|
|
133
132
|
externalPlayerUrl: string | null;
|
|
134
133
|
rtspUrl: string | null;
|
|
135
|
-
mountedStreamId: string | null;
|
|
136
134
|
recordingCapable: boolean;
|
|
137
135
|
lensType: "flat" | "fisheye";
|
|
138
136
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -144,7 +142,6 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
144
142
|
displayName: string;
|
|
145
143
|
externalPlayerUrl: string | null;
|
|
146
144
|
rtspUrl: string | null;
|
|
147
|
-
mountedStreamId: string | null;
|
|
148
145
|
recordingCapable: boolean;
|
|
149
146
|
lensType: "flat" | "fisheye";
|
|
150
147
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -163,7 +160,6 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
163
160
|
displayName: string;
|
|
164
161
|
externalPlayerUrl: string | null;
|
|
165
162
|
rtspUrl: string | null;
|
|
166
|
-
mountedStreamId: string | null;
|
|
167
163
|
recordingCapable: boolean;
|
|
168
164
|
lensType: "flat" | "fisheye";
|
|
169
165
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -190,7 +186,6 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
190
186
|
displayName: string;
|
|
191
187
|
externalPlayerUrl: string | null;
|
|
192
188
|
rtspUrl: string | null;
|
|
193
|
-
mountedStreamId: string | null;
|
|
194
189
|
recordingCapable: boolean;
|
|
195
190
|
lensType: "flat" | "fisheye";
|
|
196
191
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -443,7 +438,6 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
443
438
|
displayName: z.ZodString;
|
|
444
439
|
externalPlayerUrl: z.ZodNullable<z.ZodString>;
|
|
445
440
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
446
|
-
mountedStreamId: z.ZodNullable<z.ZodString>;
|
|
447
441
|
recordingCapable: z.ZodBoolean;
|
|
448
442
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
449
443
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
@@ -459,7 +453,6 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
459
453
|
displayName: string;
|
|
460
454
|
externalPlayerUrl: string | null;
|
|
461
455
|
rtspUrl: string | null;
|
|
462
|
-
mountedStreamId: string | null;
|
|
463
456
|
recordingCapable: boolean;
|
|
464
457
|
lensType: "flat" | "fisheye";
|
|
465
458
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -471,7 +464,6 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
471
464
|
displayName: string;
|
|
472
465
|
externalPlayerUrl: string | null;
|
|
473
466
|
rtspUrl: string | null;
|
|
474
|
-
mountedStreamId: string | null;
|
|
475
467
|
recordingCapable: boolean;
|
|
476
468
|
lensType: "flat" | "fisheye";
|
|
477
469
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -490,7 +482,6 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
490
482
|
displayName: string;
|
|
491
483
|
externalPlayerUrl: string | null;
|
|
492
484
|
rtspUrl: string | null;
|
|
493
|
-
mountedStreamId: string | null;
|
|
494
485
|
recordingCapable: boolean;
|
|
495
486
|
lensType: "flat" | "fisheye";
|
|
496
487
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
@@ -517,7 +508,6 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
517
508
|
displayName: string;
|
|
518
509
|
externalPlayerUrl: string | null;
|
|
519
510
|
rtspUrl: string | null;
|
|
520
|
-
mountedStreamId: string | null;
|
|
521
511
|
recordingCapable: boolean;
|
|
522
512
|
lensType: "flat" | "fisheye";
|
|
523
513
|
mountPoint: "wall" | "ceiling" | "floor";
|
package/dist/primitives.js
CHANGED
|
@@ -10,14 +10,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.sCallDirection = exports.sCallState = exports.sCameraPresetInfo = exports.sNotificationSeverity = exports.sDeviceParam = exports.sForeignDeviceId = exports.sAgentDeviceInfo = exports.sFileResponse = exports.sUrl = exports.sDuration = exports.sIoOutputSlotId = exports.sIoInputSlotId = exports.sWorldObjectId = exports.sUserId = exports.sMacroId = exports.sZoneId = exports.sPersonTypeId = exports.sPersonId = exports.sDeviceEvent = exports.sPresetId = exports.sDeviceId = void 0;
|
|
11
11
|
const zod_1 = require("zod");
|
|
12
12
|
const device_1 = require("./objects/device");
|
|
13
|
-
exports.sDeviceId = zod_1.z.string().
|
|
14
|
-
exports.sPresetId = zod_1.z.string().
|
|
13
|
+
exports.sDeviceId = zod_1.z.string().nonempty();
|
|
14
|
+
exports.sPresetId = zod_1.z.string().nonempty();
|
|
15
15
|
exports.sDeviceEvent = zod_1.z.record(zod_1.z.unknown());
|
|
16
|
-
exports.sPersonId = zod_1.z.string().
|
|
16
|
+
exports.sPersonId = zod_1.z.string().nonempty();
|
|
17
17
|
exports.sPersonTypeId = zod_1.z.string().nonempty();
|
|
18
|
-
exports.sZoneId = zod_1.z.string().
|
|
19
|
-
exports.sMacroId = zod_1.z.string().
|
|
20
|
-
exports.sUserId = zod_1.z.string().
|
|
18
|
+
exports.sZoneId = zod_1.z.string().nonempty();
|
|
19
|
+
exports.sMacroId = zod_1.z.string().nonempty();
|
|
20
|
+
exports.sUserId = zod_1.z.string().nonempty();
|
|
21
21
|
exports.sWorldObjectId = zod_1.z.string().nonempty();
|
|
22
22
|
exports.sIoInputSlotId = zod_1.z.string().nonempty();
|
|
23
23
|
exports.sIoOutputSlotId = zod_1.z.string().nonempty();
|