@awarevue/api-types 2.0.81 → 2.0.83
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/alarm-automation.d.ts +21 -37
- package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
- package/dist/api/agent-protocol/protocol.js +16 -12
- package/dist/api/commands/alarm.d.ts +40 -248
- package/dist/api/commands/all.d.ts +393 -4642
- package/dist/api/commands/camera-lift.d.ts +8 -32
- package/dist/api/commands/camera.d.ts +82 -373
- package/dist/api/commands/display.d.ts +21 -373
- package/dist/api/commands/door.d.ts +16 -64
- package/dist/api/commands/io-board.d.ts +4 -40
- package/dist/api/commands/nvr-exporter.d.ts +104 -1380
- package/dist/api/commands/nvr-recorder.d.ts +400 -5288
- package/dist/api/commands/pbx.d.ts +4 -56
- package/dist/api/commands/presence-tracker.d.ts +12 -128
- package/dist/api/commands/server.d.ts +114 -1382
- package/dist/api/commands/server.js +1 -1
- package/dist/api/error.d.ts +77 -443
- package/dist/api/error.js +1 -1
- package/dist/api/events/alarm.d.ts +20 -148
- package/dist/api/events/all.d.ts +74 -526
- package/dist/api/events/all.js +1 -1
- package/dist/api/events/camera.d.ts +46 -470
- package/dist/api/events/display.d.ts +1 -5
- package/dist/api/events/door.d.ts +34 -146
- package/dist/api/events/intercom-terminal.d.ts +22 -42
- package/dist/api/events/io-board.d.ts +2 -18
- package/dist/api/events/nvr-exporter.d.ts +4 -32
- package/dist/api/events/panic-button.d.ts +2 -10
- package/dist/api/events/presence-tracker.d.ts +4 -88
- package/dist/api/events/reader.d.ts +2 -22
- package/dist/api/events/server.d.ts +6 -34
- package/dist/api/mqtt/payloads.d.ts +4 -26
- package/dist/api/queries/all.d.ts +188 -1622
- package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
- package/dist/api/queries/nvr-exporter.d.ts +9 -73
- package/dist/api/queries/nvr-recorder.d.ts +300 -2828
- package/dist/api/rest/access-rule.d.ts +10 -86
- package/dist/api/rest/agreement.d.ts +3 -18
- package/dist/api/rest/api-keys.d.ts +3 -17
- package/dist/api/rest/app.d.ts +3 -51
- package/dist/api/rest/auth.d.ts +3 -19
- package/dist/api/rest/automation.d.ts +11 -236
- package/dist/api/rest/bookmarks.d.ts +8 -56
- package/dist/api/rest/camera.d.ts +12 -70
- package/dist/api/rest/cast.d.ts +1 -7
- package/dist/api/rest/custom-field.d.ts +21 -24
- package/dist/api/rest/device-group.d.ts +8 -32
- package/dist/api/rest/device.d.ts +104 -176
- package/dist/api/rest/io-device.d.ts +7 -75
- package/dist/api/rest/io-device.js +2 -2
- package/dist/api/rest/layout.d.ts +4 -102
- package/dist/api/rest/macros.d.ts +6 -82
- package/dist/api/rest/media.d.ts +17 -141
- package/dist/api/rest/notifications.d.ts +7 -15
- package/dist/api/rest/person-agreement.d.ts +1 -9
- package/dist/api/rest/person-presence.d.ts +8 -50
- package/dist/api/rest/person-type.d.ts +6 -39
- package/dist/api/rest/person.d.ts +18 -96
- package/dist/api/rest/query.d.ts +5 -15
- package/dist/api/rest/schedule.d.ts +78 -216
- package/dist/api/rest/security-level.d.ts +6 -43
- package/dist/api/rest/template.d.ts +10 -20
- package/dist/api/rest/token-conversion.d.ts +11 -28
- package/dist/api/rest/user.d.ts +15 -97
- package/dist/api/rest/view.d.ts +24 -496
- package/dist/api/rest/webrtc-playback.d.ts +3 -25
- package/dist/api/rest/zone.d.ts +5 -21
- package/dist/api/ws/device-communication.d.ts +10 -62
- package/dist/api/ws/notifications.d.ts +7 -33
- package/dist/api/ws/progress.d.ts +10 -72
- package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
- package/dist/objects/access-rule.d.ts +12 -132
- package/dist/objects/access-rule.js +1 -1
- package/dist/objects/agent-metadata.d.ts +38 -146
- package/dist/objects/agent-metadata.js +1 -1
- package/dist/objects/agreement.d.ts +1 -13
- package/dist/objects/all.d.ts +20 -1
- package/dist/objects/api-key.d.ts +1 -13
- package/dist/objects/automation-rule.d.ts +9 -168
- package/dist/objects/automation-rule.js +2 -2
- package/dist/objects/bookmark.d.ts +3 -33
- package/dist/objects/bookmark.js +1 -1
- package/dist/objects/credential.d.ts +13 -13
- package/dist/objects/credential.js +1 -1
- package/dist/objects/custom-field.d.ts +19 -15
- package/dist/objects/device/alarm.d.ts +1 -1
- package/dist/objects/device/any-device.d.ts +1333 -4451
- package/dist/objects/device/camera-lift.d.ts +1 -1
- package/dist/objects/device/camera.d.ts +29 -125
- package/dist/objects/device/camera.js +1 -1
- package/dist/objects/device/device-import.d.ts +307 -1735
- package/dist/objects/device/device-relation.d.ts +70 -58
- package/dist/objects/device/display.d.ts +1 -1
- package/dist/objects/device/door.d.ts +9 -14
- package/dist/objects/device/intercom-terminal.d.ts +10 -59
- package/dist/objects/device/io-board.d.ts +3 -9
- package/dist/objects/device/motion-sensor.d.ts +1 -1
- package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
- package/dist/objects/device/nvr-exporter.d.ts +3 -9
- package/dist/objects/device/nvr-recorder.d.ts +16 -68
- package/dist/objects/device/panic-button.d.ts +1 -1
- package/dist/objects/device/pbx.d.ts +1 -5
- package/dist/objects/device/system.d.ts +1 -1
- package/dist/objects/device/system.js +1 -1
- package/dist/objects/device-group.d.ts +2 -16
- package/dist/objects/layout.d.ts +3 -75
- package/dist/objects/macro.d.ts +3 -59
- package/dist/objects/macro.js +2 -2
- package/dist/objects/notification.d.ts +6 -24
- package/dist/objects/notification.js +1 -1
- package/dist/objects/person-agreement.d.ts +1 -13
- package/dist/objects/person-presence.d.ts +11 -165
- package/dist/objects/person-type.d.ts +2 -22
- package/dist/objects/person.d.ts +21 -153
- package/dist/objects/person.js +3 -3
- package/dist/objects/role.d.ts +3 -15
- package/dist/objects/schedule.d.ts +152 -314
- package/dist/objects/schedule.js +1 -1
- package/dist/objects/security-level.d.ts +1 -21
- package/dist/objects/template.d.ts +9 -13
- package/dist/objects/token-conversion.d.ts +8 -18
- package/dist/objects/user.d.ts +2 -20
- package/dist/objects/view.d.ts +52 -682
- package/dist/objects/world-object.d.ts +1 -7
- package/dist/objects/zone.d.ts +5 -29
- package/dist/objects/zone.js +1 -1
- package/dist/package.json +3 -3
- package/dist/permissions.d.ts +1 -1
- package/dist/primitives.d.ts +113 -551
- package/dist/primitives.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CAMERA_LIFT: "camera-lift";
|
|
3
|
-
export declare const sCameraLiftSpecs: z.ZodObject<{},
|
|
3
|
+
export declare const sCameraLiftSpecs: z.ZodObject<{}, z.core.$strip>;
|
|
4
4
|
export type CameraLiftSpecs = z.infer<typeof sCameraLiftSpecs>;
|
|
5
5
|
export interface CameraLiftStateDto {
|
|
6
6
|
raised: boolean;
|
|
@@ -2,11 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CAMERA: "camera";
|
|
3
3
|
export declare const sWebRtcPlaybackSource: z.ZodIntersection<z.ZodObject<{
|
|
4
4
|
kind: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
kind: string;
|
|
7
|
-
}, {
|
|
8
|
-
kind: string;
|
|
9
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
6
|
export declare const sStreamInfo: z.ZodObject<{
|
|
11
7
|
id: z.ZodString;
|
|
12
8
|
displayName: z.ZodString;
|
|
@@ -14,40 +10,19 @@ export declare const sStreamInfo: z.ZodObject<{
|
|
|
14
10
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
15
11
|
width: z.ZodNullable<z.ZodNumber>;
|
|
16
12
|
height: z.ZodNullable<z.ZodNumber>;
|
|
17
|
-
lensType: z.ZodEnum<
|
|
18
|
-
|
|
13
|
+
lensType: z.ZodEnum<{
|
|
14
|
+
flat: "flat";
|
|
15
|
+
fisheye: "fisheye";
|
|
16
|
+
}>;
|
|
17
|
+
mountPoint: z.ZodEnum<{
|
|
18
|
+
wall: "wall";
|
|
19
|
+
ceiling: "ceiling";
|
|
20
|
+
floor: "floor";
|
|
21
|
+
}>;
|
|
19
22
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
20
23
|
kind: z.ZodString;
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
}, {
|
|
24
|
-
kind: string;
|
|
25
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
id: string;
|
|
28
|
-
displayName: string;
|
|
29
|
-
externalPlayerUrl: string | null;
|
|
30
|
-
rtspUrl: string | null;
|
|
31
|
-
width: number | null;
|
|
32
|
-
height: number | null;
|
|
33
|
-
lensType: "flat" | "fisheye";
|
|
34
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
35
|
-
webrtcPlaybackSource: ({
|
|
36
|
-
kind: string;
|
|
37
|
-
} & Record<string, unknown>) | null;
|
|
38
|
-
}, {
|
|
39
|
-
id: string;
|
|
40
|
-
displayName: string;
|
|
41
|
-
externalPlayerUrl: string | null;
|
|
42
|
-
rtspUrl: string | null;
|
|
43
|
-
width: number | null;
|
|
44
|
-
height: number | null;
|
|
45
|
-
lensType: "flat" | "fisheye";
|
|
46
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
47
|
-
webrtcPlaybackSource: ({
|
|
48
|
-
kind: string;
|
|
49
|
-
} & Record<string, unknown>) | null;
|
|
50
|
-
}>;
|
|
24
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
51
26
|
export declare const sCameraSpecs: z.ZodObject<{
|
|
52
27
|
ptzCapable: z.ZodBoolean;
|
|
53
28
|
ptzPanSpeed: z.ZodNumber;
|
|
@@ -66,98 +41,27 @@ export declare const sCameraSpecs: z.ZodObject<{
|
|
|
66
41
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
67
42
|
width: z.ZodNullable<z.ZodNumber>;
|
|
68
43
|
height: z.ZodNullable<z.ZodNumber>;
|
|
69
|
-
lensType: z.ZodEnum<
|
|
70
|
-
|
|
44
|
+
lensType: z.ZodEnum<{
|
|
45
|
+
flat: "flat";
|
|
46
|
+
fisheye: "fisheye";
|
|
47
|
+
}>;
|
|
48
|
+
mountPoint: z.ZodEnum<{
|
|
49
|
+
wall: "wall";
|
|
50
|
+
ceiling: "ceiling";
|
|
51
|
+
floor: "floor";
|
|
52
|
+
}>;
|
|
71
53
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
72
54
|
kind: z.ZodString;
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
}, {
|
|
76
|
-
kind: string;
|
|
77
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
id: string;
|
|
80
|
-
displayName: string;
|
|
81
|
-
externalPlayerUrl: string | null;
|
|
82
|
-
rtspUrl: string | null;
|
|
83
|
-
width: number | null;
|
|
84
|
-
height: number | null;
|
|
85
|
-
lensType: "flat" | "fisheye";
|
|
86
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
87
|
-
webrtcPlaybackSource: ({
|
|
88
|
-
kind: string;
|
|
89
|
-
} & Record<string, unknown>) | null;
|
|
90
|
-
}, {
|
|
91
|
-
id: string;
|
|
92
|
-
displayName: string;
|
|
93
|
-
externalPlayerUrl: string | null;
|
|
94
|
-
rtspUrl: string | null;
|
|
95
|
-
width: number | null;
|
|
96
|
-
height: number | null;
|
|
97
|
-
lensType: "flat" | "fisheye";
|
|
98
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
99
|
-
webrtcPlaybackSource: ({
|
|
100
|
-
kind: string;
|
|
101
|
-
} & Record<string, unknown>) | null;
|
|
102
|
-
}>, "many">;
|
|
55
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
103
57
|
defaultStreamId: z.ZodString;
|
|
104
58
|
autoSwitchStreams: z.ZodBoolean;
|
|
105
|
-
streamNaming: z.ZodEnum<
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
panMin: number;
|
|
112
|
-
panMax: number;
|
|
113
|
-
tiltMin: number;
|
|
114
|
-
tiltMax: number;
|
|
115
|
-
zoomMin: number;
|
|
116
|
-
zoomMax: number;
|
|
117
|
-
streams: {
|
|
118
|
-
id: string;
|
|
119
|
-
displayName: string;
|
|
120
|
-
externalPlayerUrl: string | null;
|
|
121
|
-
rtspUrl: string | null;
|
|
122
|
-
width: number | null;
|
|
123
|
-
height: number | null;
|
|
124
|
-
lensType: "flat" | "fisheye";
|
|
125
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
126
|
-
webrtcPlaybackSource: ({
|
|
127
|
-
kind: string;
|
|
128
|
-
} & Record<string, unknown>) | null;
|
|
129
|
-
}[];
|
|
130
|
-
defaultStreamId: string;
|
|
131
|
-
autoSwitchStreams: boolean;
|
|
132
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
133
|
-
}, {
|
|
134
|
-
ptzCapable: boolean;
|
|
135
|
-
ptzPanSpeed: number;
|
|
136
|
-
ptzTiltSpeed: number;
|
|
137
|
-
ptzZoomSpeed: number;
|
|
138
|
-
panMin: number;
|
|
139
|
-
panMax: number;
|
|
140
|
-
tiltMin: number;
|
|
141
|
-
tiltMax: number;
|
|
142
|
-
zoomMin: number;
|
|
143
|
-
zoomMax: number;
|
|
144
|
-
streams: {
|
|
145
|
-
id: string;
|
|
146
|
-
displayName: string;
|
|
147
|
-
externalPlayerUrl: string | null;
|
|
148
|
-
rtspUrl: string | null;
|
|
149
|
-
width: number | null;
|
|
150
|
-
height: number | null;
|
|
151
|
-
lensType: "flat" | "fisheye";
|
|
152
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
153
|
-
webrtcPlaybackSource: ({
|
|
154
|
-
kind: string;
|
|
155
|
-
} & Record<string, unknown>) | null;
|
|
156
|
-
}[];
|
|
157
|
-
defaultStreamId: string;
|
|
158
|
-
autoSwitchStreams: boolean;
|
|
159
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
160
|
-
}>;
|
|
59
|
+
streamNaming: z.ZodEnum<{
|
|
60
|
+
cameraStreamNo: "cameraStreamNo";
|
|
61
|
+
cameraStream: "cameraStream";
|
|
62
|
+
stream: "stream";
|
|
63
|
+
}>;
|
|
64
|
+
}, z.core.$strip>;
|
|
161
65
|
export type WebRtcPlaybackSource = z.infer<typeof sWebRtcPlaybackSource>;
|
|
162
66
|
export type CameraSpecs = z.infer<typeof sCameraSpecs>;
|
|
163
67
|
export interface CameraStateDto {
|
|
@@ -8,7 +8,7 @@ exports.sWebRtcPlaybackSource = zod_1.z
|
|
|
8
8
|
.object({
|
|
9
9
|
kind: zod_1.z.string(),
|
|
10
10
|
})
|
|
11
|
-
.and(zod_1.z.record(zod_1.z.unknown()));
|
|
11
|
+
.and(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()));
|
|
12
12
|
exports.sStreamInfo = zod_1.z.object({
|
|
13
13
|
id: zod_1.z.string().nonempty(),
|
|
14
14
|
displayName: zod_1.z.string().nonempty(),
|