@awarevue/api-types 2.0.12 → 2.0.14
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/access-control/access-rule.d.ts +6 -6
- package/dist/access-control/person.d.ts +6 -6
- package/dist/access-control/schedule.d.ts +2 -2
- package/dist/access-control/zone.d.ts +4 -4
- package/dist/agent-communication/index.d.ts +0 -1
- package/dist/agent-communication/index.js +0 -1
- package/dist/agent-communication/protocol.d.ts +170 -170
- package/dist/alarm-automation.d.ts +1 -1
- package/dist/api/alarm.d.ts +1 -1
- package/dist/api/media.d.ts +8 -8
- package/dist/bookmarks.d.ts +2 -2
- package/dist/cast.d.ts +2 -2
- package/dist/commands/alarm.d.ts +312 -0
- package/dist/commands/alarm.js +62 -0
- package/dist/{device-command.d.ts → commands/all.d.ts} +23 -25
- package/dist/{device-command.js → commands/all.js} +9 -9
- package/dist/commands/camera-lift.d.ts +46 -0
- package/dist/commands/camera-lift.js +17 -0
- package/dist/commands/camera.d.ts +478 -0
- package/dist/commands/camera.js +97 -0
- package/dist/commands/display.d.ts +431 -0
- package/dist/commands/display.js +37 -0
- package/dist/commands/door.d.ts +88 -0
- package/dist/commands/door.js +27 -0
- package/dist/commands/index.d.ts +12 -0
- package/dist/commands/index.js +28 -0
- package/dist/commands/intercom-terminal.d.ts +40 -0
- package/dist/{device/reader/commands.js → commands/intercom-terminal.js} +1 -0
- package/dist/commands/io-board.d.ts +55 -0
- package/dist/commands/io-board.js +15 -0
- package/dist/commands/nvr-exporter.d.ts +1262 -0
- package/dist/commands/nvr-exporter.js +26 -0
- package/dist/commands/pbx.d.ts +75 -0
- package/dist/commands/pbx.js +17 -0
- package/dist/commands/presence-tracker.d.ts +167 -0
- package/dist/commands/presence-tracker.js +33 -0
- package/dist/commands/server.d.ts +1272 -0
- package/dist/commands/server.js +27 -0
- package/dist/device/alarm.d.ts +0 -530
- package/dist/device/alarm.js +1 -110
- package/dist/device/any-device.d.ts +88 -88
- package/dist/device/camera-lift.d.ts +0 -45
- package/dist/device/camera-lift.js +1 -14
- package/dist/device/camera.d.ts +0 -1248
- package/dist/device/camera.js +1 -204
- package/dist/device/device-gateway.d.ts +0 -2
- package/dist/device/device-gateway.js +1 -0
- package/dist/device/display.d.ts +0 -438
- package/dist/device/display.js +1 -39
- package/dist/device/door.d.ts +0 -306
- package/dist/device/door.js +1 -82
- package/dist/device/index.d.ts +1 -1
- package/dist/device/index.js +1 -1
- package/dist/device/intercom-operator.js +0 -1
- package/dist/device/intercom-terminal.d.ts +0 -101
- package/dist/device/intercom-terminal.js +3 -55
- package/dist/device/io-board.d.ts +0 -84
- package/dist/device/io-board.js +1 -21
- package/dist/device/motion-sensor.js +0 -1
- package/dist/device/nvr-analytics-server.d.ts +0 -295
- package/dist/device/nvr-analytics-server.js +1 -65
- package/dist/device/nvr-exporter.d.ts +0 -1436
- package/dist/device/nvr-exporter.js +1 -72
- package/dist/device/nvr-recorder.d.ts +0 -2633
- package/dist/device/nvr-recorder.js +1 -39
- package/dist/device/panic-button.d.ts +0 -18
- package/dist/device/panic-button.js +1 -8
- package/dist/device/pbx.d.ts +0 -74
- package/dist/device/pbx.js +1 -16
- package/dist/device/presence-tracker.d.ts +0 -302
- package/dist/device/presence-tracker.js +1 -59
- package/dist/device/server.d.ts +0 -200
- package/dist/device/server.js +1 -37
- package/dist/device/system.d.ts +0 -42
- package/dist/device/system.js +1 -13
- package/dist/device-event.d.ts +1 -721
- package/dist/device-event.js +0 -110
- package/dist/device-group.d.ts +2 -2
- package/dist/device-import.d.ts +8 -8
- package/dist/events/alarm.d.ts +220 -0
- package/dist/events/alarm.js +55 -0
- package/dist/events/all.d.ts +700 -0
- package/dist/events/all.js +109 -0
- package/dist/events/camera.d.ts +661 -0
- package/dist/events/camera.js +87 -0
- package/dist/events/display.d.ts +9 -0
- package/dist/events/display.js +9 -0
- package/dist/events/door.d.ts +220 -0
- package/dist/events/door.js +62 -0
- package/dist/events/index.d.ts +12 -0
- package/dist/events/index.js +28 -0
- package/dist/events/intercom-terminal.d.ts +61 -0
- package/dist/events/intercom-terminal.js +19 -0
- package/dist/events/io-board.d.ts +31 -0
- package/dist/events/io-board.js +13 -0
- package/dist/events/nvr-exporter.d.ts +52 -0
- package/dist/events/nvr-exporter.js +21 -0
- package/dist/events/panic-button.d.ts +19 -0
- package/dist/events/panic-button.js +11 -0
- package/dist/events/presence-tracker.d.ts +136 -0
- package/dist/events/presence-tracker.js +33 -0
- package/dist/events/server.d.ts +65 -0
- package/dist/events/server.js +15 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/layout.d.ts +8 -8
- package/dist/macros.d.ts +14 -14
- package/dist/messages/device-communication.d.ts +2 -2
- package/dist/messages/notifications.d.ts +2 -2
- package/dist/messages/web-rtc-signaling.d.ts +10 -10
- package/dist/notifications.d.ts +4 -4
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +20 -2
- package/dist/primitives.js +19 -3
- package/dist/{agent-communication/queries.d.ts → queries/all.d.ts} +24 -22
- package/dist/queries/all.js +21 -0
- package/dist/queries/camera.d.ts +98 -0
- package/dist/queries/camera.js +27 -0
- package/dist/queries/index.d.ts +5 -0
- package/dist/{device/reader → queries}/index.js +5 -3
- package/dist/queries/nvr-analytics-server.d.ts +296 -0
- package/dist/queries/nvr-analytics-server.js +68 -0
- package/dist/queries/nvr-exporter.d.ts +125 -0
- package/dist/queries/nvr-exporter.js +36 -0
- package/dist/queries/nvr-recorder.d.ts +2634 -0
- package/dist/queries/nvr-recorder.js +42 -0
- package/dist/user.d.ts +4 -4
- package/package.json +1 -1
- package/dist/agent-communication/queries.js +0 -19
- package/dist/device/reader/commands.d.ts +0 -1
- package/dist/device/reader/index.d.ts +0 -3
- /package/dist/device/{reader/specs.d.ts → reader.d.ts} +0 -0
- /package/dist/device/{reader/specs.js → reader.js} +0 -0
- /package/dist/{device/reader/events.d.ts → events/reader.d.ts} +0 -0
- /package/dist/{device/reader/events.js → events/reader.js} +0 -0
|
@@ -2,51 +2,6 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CAMERA_LIFT: "camera-lift";
|
|
3
3
|
export declare const sCameraLiftSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
4
4
|
export type CameraLiftSpecs = z.infer<typeof sCameraLiftSpecs>;
|
|
5
|
-
export declare const sCameraLiftRaiseCommand: z.ZodObject<{
|
|
6
|
-
command: z.ZodLiteral<"camera-lift.raise">;
|
|
7
|
-
params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
params: {};
|
|
10
|
-
command: "camera-lift.raise";
|
|
11
|
-
}, {
|
|
12
|
-
params: {};
|
|
13
|
-
command: "camera-lift.raise";
|
|
14
|
-
}>;
|
|
15
|
-
export type CameraLiftRaiseCommand = z.infer<typeof sCameraLiftRaiseCommand>;
|
|
16
|
-
export declare const sCameraLiftLowerCommand: z.ZodObject<{
|
|
17
|
-
command: z.ZodLiteral<"camera-lift.lower">;
|
|
18
|
-
params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
params: {};
|
|
21
|
-
command: "camera-lift.lower";
|
|
22
|
-
}, {
|
|
23
|
-
params: {};
|
|
24
|
-
command: "camera-lift.lower";
|
|
25
|
-
}>;
|
|
26
|
-
export type CameraLiftLowerCommand = z.infer<typeof sCameraLiftLowerCommand>;
|
|
27
|
-
export type CameraLiftCommand = CameraLiftRaiseCommand | CameraLiftLowerCommand;
|
|
28
|
-
export declare const cameraLiftCommands: {
|
|
29
|
-
readonly 'camera-lift.raise': z.ZodObject<{
|
|
30
|
-
command: z.ZodLiteral<"camera-lift.raise">;
|
|
31
|
-
params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
params: {};
|
|
34
|
-
command: "camera-lift.raise";
|
|
35
|
-
}, {
|
|
36
|
-
params: {};
|
|
37
|
-
command: "camera-lift.raise";
|
|
38
|
-
}>;
|
|
39
|
-
readonly 'camera-lift.lower': z.ZodObject<{
|
|
40
|
-
command: z.ZodLiteral<"camera-lift.lower">;
|
|
41
|
-
params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
params: {};
|
|
44
|
-
command: "camera-lift.lower";
|
|
45
|
-
}, {
|
|
46
|
-
params: {};
|
|
47
|
-
command: "camera-lift.lower";
|
|
48
|
-
}>;
|
|
49
|
-
};
|
|
50
5
|
export interface CameraLiftStateDto {
|
|
51
6
|
raised: boolean;
|
|
52
7
|
connected: boolean;
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.sCameraLiftSpecs = exports.CAMERA_LIFT = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.CAMERA_LIFT = 'camera-lift';
|
|
6
6
|
// SPECS
|
|
7
7
|
exports.sCameraLiftSpecs = zod_1.z.object({});
|
|
8
|
-
// COMMANDS
|
|
9
|
-
exports.sCameraLiftRaiseCommand = zod_1.z.object({
|
|
10
|
-
command: zod_1.z.literal('camera-lift.raise'),
|
|
11
|
-
params: zod_1.z.object({}),
|
|
12
|
-
});
|
|
13
|
-
exports.sCameraLiftLowerCommand = zod_1.z.object({
|
|
14
|
-
command: zod_1.z.literal('camera-lift.lower'),
|
|
15
|
-
params: zod_1.z.object({}),
|
|
16
|
-
});
|
|
17
|
-
exports.cameraLiftCommands = {
|
|
18
|
-
'camera-lift.raise': exports.sCameraLiftRaiseCommand,
|
|
19
|
-
'camera-lift.lower': exports.sCameraLiftLowerCommand,
|
|
20
|
-
};
|