@awarevue/api-types 2.0.58 → 2.0.60
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 +48 -0
- package/dist/api/commands/all.d.ts +96 -0
- package/dist/api/commands/nvr-exporter.d.ts +32 -0
- package/dist/api/commands/nvr-recorder.d.ts +128 -0
- package/dist/api/commands/server.d.ts +32 -0
- package/dist/api/queries/all.d.ts +36 -0
- package/dist/api/queries/nvr-recorder.d.ts +72 -0
- package/dist/api/rest/view.d.ts +32 -0
- package/dist/objects/device/any-device.d.ts +32 -0
- package/dist/objects/device/camera.d.ts +11 -0
- package/dist/objects/device/camera.js +2 -0
- package/dist/objects/device/device-import.d.ts +44 -0
- package/dist/objects/view.d.ts +52 -0
- package/dist/objects/view.js +2 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +16 -0
- package/package.json +1 -1
package/dist/primitives.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
120
120
|
height: z.ZodNullable<z.ZodNumber>;
|
|
121
121
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
122
122
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
123
|
+
recordingCapable: z.ZodBoolean;
|
|
123
124
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
124
125
|
kind: z.ZodString;
|
|
125
126
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -136,6 +137,7 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
136
137
|
height: number | null;
|
|
137
138
|
lensType: "flat" | "fisheye";
|
|
138
139
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
140
|
+
recordingCapable: boolean;
|
|
139
141
|
webrtcPlaybackSource: ({
|
|
140
142
|
kind: string;
|
|
141
143
|
} & Record<string, unknown>) | null;
|
|
@@ -148,11 +150,13 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
148
150
|
height: number | null;
|
|
149
151
|
lensType: "flat" | "fisheye";
|
|
150
152
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
153
|
+
recordingCapable: boolean;
|
|
151
154
|
webrtcPlaybackSource: ({
|
|
152
155
|
kind: string;
|
|
153
156
|
} & Record<string, unknown>) | null;
|
|
154
157
|
}>, "many">;
|
|
155
158
|
defaultStreamId: z.ZodString;
|
|
159
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
156
160
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
157
161
|
} & {
|
|
158
162
|
type: z.ZodLiteral<"camera">;
|
|
@@ -177,11 +181,13 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
177
181
|
height: number | null;
|
|
178
182
|
lensType: "flat" | "fisheye";
|
|
179
183
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
184
|
+
recordingCapable: boolean;
|
|
180
185
|
webrtcPlaybackSource: ({
|
|
181
186
|
kind: string;
|
|
182
187
|
} & Record<string, unknown>) | null;
|
|
183
188
|
}[];
|
|
184
189
|
defaultStreamId: string;
|
|
190
|
+
autoSwitchStreams: boolean;
|
|
185
191
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
186
192
|
}, {
|
|
187
193
|
type: "camera";
|
|
@@ -204,11 +210,13 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
204
210
|
height: number | null;
|
|
205
211
|
lensType: "flat" | "fisheye";
|
|
206
212
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
213
|
+
recordingCapable: boolean;
|
|
207
214
|
webrtcPlaybackSource: ({
|
|
208
215
|
kind: string;
|
|
209
216
|
} & Record<string, unknown>) | null;
|
|
210
217
|
}[];
|
|
211
218
|
defaultStreamId: string;
|
|
219
|
+
autoSwitchStreams: boolean;
|
|
212
220
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
213
221
|
}>, z.ZodObject<{
|
|
214
222
|
canReportOpenState: z.ZodBoolean;
|
|
@@ -447,6 +455,7 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
447
455
|
height: z.ZodNullable<z.ZodNumber>;
|
|
448
456
|
lensType: z.ZodEnum<["flat", "fisheye"]>;
|
|
449
457
|
mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
|
|
458
|
+
recordingCapable: z.ZodBoolean;
|
|
450
459
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
451
460
|
kind: z.ZodString;
|
|
452
461
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -463,6 +472,7 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
463
472
|
height: number | null;
|
|
464
473
|
lensType: "flat" | "fisheye";
|
|
465
474
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
475
|
+
recordingCapable: boolean;
|
|
466
476
|
webrtcPlaybackSource: ({
|
|
467
477
|
kind: string;
|
|
468
478
|
} & Record<string, unknown>) | null;
|
|
@@ -475,11 +485,13 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
475
485
|
height: number | null;
|
|
476
486
|
lensType: "flat" | "fisheye";
|
|
477
487
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
488
|
+
recordingCapable: boolean;
|
|
478
489
|
webrtcPlaybackSource: ({
|
|
479
490
|
kind: string;
|
|
480
491
|
} & Record<string, unknown>) | null;
|
|
481
492
|
}>, "many">;
|
|
482
493
|
defaultStreamId: z.ZodString;
|
|
494
|
+
autoSwitchStreams: z.ZodBoolean;
|
|
483
495
|
streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
|
|
484
496
|
} & {
|
|
485
497
|
type: z.ZodLiteral<"camera">;
|
|
@@ -504,11 +516,13 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
504
516
|
height: number | null;
|
|
505
517
|
lensType: "flat" | "fisheye";
|
|
506
518
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
519
|
+
recordingCapable: boolean;
|
|
507
520
|
webrtcPlaybackSource: ({
|
|
508
521
|
kind: string;
|
|
509
522
|
} & Record<string, unknown>) | null;
|
|
510
523
|
}[];
|
|
511
524
|
defaultStreamId: string;
|
|
525
|
+
autoSwitchStreams: boolean;
|
|
512
526
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
513
527
|
}, {
|
|
514
528
|
type: "camera";
|
|
@@ -531,11 +545,13 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
531
545
|
height: number | null;
|
|
532
546
|
lensType: "flat" | "fisheye";
|
|
533
547
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
548
|
+
recordingCapable: boolean;
|
|
534
549
|
webrtcPlaybackSource: ({
|
|
535
550
|
kind: string;
|
|
536
551
|
} & Record<string, unknown>) | null;
|
|
537
552
|
}[];
|
|
538
553
|
defaultStreamId: string;
|
|
554
|
+
autoSwitchStreams: boolean;
|
|
539
555
|
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
540
556
|
}>, z.ZodObject<{
|
|
541
557
|
canReportOpenState: z.ZodBoolean;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.60",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|