@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,46 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const sCameraLiftRaiseCommand: z.ZodObject<{
|
|
3
3
|
command: z.ZodLiteral<"camera-lift.raise">;
|
|
4
|
-
params: z.ZodObject<{},
|
|
5
|
-
},
|
|
6
|
-
params: {};
|
|
7
|
-
command: "camera-lift.raise";
|
|
8
|
-
}, {
|
|
9
|
-
params: {};
|
|
10
|
-
command: "camera-lift.raise";
|
|
11
|
-
}>;
|
|
4
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
}, z.core.$strip>;
|
|
12
6
|
export type CameraLiftRaiseCommand = z.infer<typeof sCameraLiftRaiseCommand>;
|
|
13
7
|
export declare const sCameraLiftLowerCommand: z.ZodObject<{
|
|
14
8
|
command: z.ZodLiteral<"camera-lift.lower">;
|
|
15
|
-
params: z.ZodObject<{},
|
|
16
|
-
},
|
|
17
|
-
params: {};
|
|
18
|
-
command: "camera-lift.lower";
|
|
19
|
-
}, {
|
|
20
|
-
params: {};
|
|
21
|
-
command: "camera-lift.lower";
|
|
22
|
-
}>;
|
|
9
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
10
|
+
}, z.core.$strip>;
|
|
23
11
|
export type CameraLiftLowerCommand = z.infer<typeof sCameraLiftLowerCommand>;
|
|
24
12
|
export type CameraLiftCommand = CameraLiftRaiseCommand | CameraLiftLowerCommand;
|
|
25
13
|
export declare const cameraLiftCommands: {
|
|
26
14
|
readonly 'camera-lift.raise': z.ZodObject<{
|
|
27
15
|
command: z.ZodLiteral<"camera-lift.raise">;
|
|
28
|
-
params: z.ZodObject<{},
|
|
29
|
-
},
|
|
30
|
-
params: {};
|
|
31
|
-
command: "camera-lift.raise";
|
|
32
|
-
}, {
|
|
33
|
-
params: {};
|
|
34
|
-
command: "camera-lift.raise";
|
|
35
|
-
}>;
|
|
16
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
+
}, z.core.$strip>;
|
|
36
18
|
readonly 'camera-lift.lower': z.ZodObject<{
|
|
37
19
|
command: z.ZodLiteral<"camera-lift.lower">;
|
|
38
|
-
params: z.ZodObject<{},
|
|
39
|
-
},
|
|
40
|
-
params: {};
|
|
41
|
-
command: "camera-lift.lower";
|
|
42
|
-
}, {
|
|
43
|
-
params: {};
|
|
44
|
-
command: "camera-lift.lower";
|
|
45
|
-
}>;
|
|
20
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
21
|
+
}, z.core.$strip>;
|
|
46
22
|
};
|
|
@@ -12,98 +12,24 @@ export declare const sCameraPresetSaveCommand: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
isDefault: z.ZodBoolean;
|
|
14
14
|
values: z.ZodUnknown;
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
values?: unknown;
|
|
19
|
-
}, {
|
|
20
|
-
name: string;
|
|
21
|
-
isDefault: boolean;
|
|
22
|
-
values?: unknown;
|
|
23
|
-
}>;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
presetId: string;
|
|
26
|
-
presetInfo: {
|
|
27
|
-
name: string;
|
|
28
|
-
isDefault: boolean;
|
|
29
|
-
values?: unknown;
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
presetId: string;
|
|
33
|
-
presetInfo: {
|
|
34
|
-
name: string;
|
|
35
|
-
isDefault: boolean;
|
|
36
|
-
values?: unknown;
|
|
37
|
-
};
|
|
38
|
-
}>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
params: {
|
|
41
|
-
presetId: string;
|
|
42
|
-
presetInfo: {
|
|
43
|
-
name: string;
|
|
44
|
-
isDefault: boolean;
|
|
45
|
-
values?: unknown;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
command: "camera.preset-save";
|
|
49
|
-
}, {
|
|
50
|
-
params: {
|
|
51
|
-
presetId: string;
|
|
52
|
-
presetInfo: {
|
|
53
|
-
name: string;
|
|
54
|
-
isDefault: boolean;
|
|
55
|
-
values?: unknown;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
command: "camera.preset-save";
|
|
59
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
}, z.core.$strip>;
|
|
60
18
|
export type CameraPresetSaveCommand = z.infer<typeof sCameraPresetSaveCommand>;
|
|
61
19
|
export declare const sCameraPresetActivateCommand: z.ZodObject<{
|
|
62
20
|
command: z.ZodLiteral<"camera.preset-activate">;
|
|
63
21
|
params: z.ZodObject<{
|
|
64
22
|
presetId: z.ZodString;
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
}, {
|
|
68
|
-
presetId: string;
|
|
69
|
-
}>;
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
params: {
|
|
72
|
-
presetId: string;
|
|
73
|
-
};
|
|
74
|
-
command: "camera.preset-activate";
|
|
75
|
-
}, {
|
|
76
|
-
params: {
|
|
77
|
-
presetId: string;
|
|
78
|
-
};
|
|
79
|
-
command: "camera.preset-activate";
|
|
80
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
}, z.core.$strip>;
|
|
81
25
|
export type CameraPresetActivateCommand = z.infer<typeof sCameraPresetActivateCommand>;
|
|
82
26
|
export declare const sCameraPresetDeleteCommand: z.ZodObject<{
|
|
83
27
|
command: z.ZodLiteral<"camera.preset-delete">;
|
|
84
28
|
params: z.ZodObject<{
|
|
85
29
|
presetId: z.ZodString;
|
|
86
30
|
assignedRef: z.ZodNullable<z.ZodString>;
|
|
87
|
-
},
|
|
88
|
-
|
|
89
|
-
presetId: string;
|
|
90
|
-
}, {
|
|
91
|
-
assignedRef: string | null;
|
|
92
|
-
presetId: string;
|
|
93
|
-
}>;
|
|
94
|
-
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
params: {
|
|
96
|
-
assignedRef: string | null;
|
|
97
|
-
presetId: string;
|
|
98
|
-
};
|
|
99
|
-
command: "camera.preset-delete";
|
|
100
|
-
}, {
|
|
101
|
-
params: {
|
|
102
|
-
assignedRef: string | null;
|
|
103
|
-
presetId: string;
|
|
104
|
-
};
|
|
105
|
-
command: "camera.preset-delete";
|
|
106
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
}, z.core.$strip>;
|
|
107
33
|
export type CameraPresetDeleteCommand = z.infer<typeof sCameraPresetDeleteCommand>;
|
|
108
34
|
export declare const sCameraPtzSetCommand: z.ZodObject<{
|
|
109
35
|
command: z.ZodLiteral<"camera.ptz-set">;
|
|
@@ -111,53 +37,39 @@ export declare const sCameraPtzSetCommand: z.ZodObject<{
|
|
|
111
37
|
pan: z.ZodNumber;
|
|
112
38
|
tilt: z.ZodNumber;
|
|
113
39
|
zoom: z.ZodNumber;
|
|
114
|
-
},
|
|
115
|
-
|
|
116
|
-
tilt: number;
|
|
117
|
-
zoom: number;
|
|
118
|
-
}, {
|
|
119
|
-
pan: number;
|
|
120
|
-
tilt: number;
|
|
121
|
-
zoom: number;
|
|
122
|
-
}>;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
params: {
|
|
125
|
-
pan: number;
|
|
126
|
-
tilt: number;
|
|
127
|
-
zoom: number;
|
|
128
|
-
};
|
|
129
|
-
command: "camera.ptz-set";
|
|
130
|
-
}, {
|
|
131
|
-
params: {
|
|
132
|
-
pan: number;
|
|
133
|
-
tilt: number;
|
|
134
|
-
zoom: number;
|
|
135
|
-
};
|
|
136
|
-
command: "camera.ptz-set";
|
|
137
|
-
}>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>;
|
|
138
42
|
export type CameraPtzSetCommand = z.infer<typeof sCameraPtzSetCommand>;
|
|
139
|
-
export declare const sPtzDirection: z.ZodEnum<
|
|
43
|
+
export declare const sPtzDirection: z.ZodEnum<{
|
|
44
|
+
Up: "Up";
|
|
45
|
+
Down: "Down";
|
|
46
|
+
Left: "Left";
|
|
47
|
+
Right: "Right";
|
|
48
|
+
ZoomIn: "ZoomIn";
|
|
49
|
+
ZoomOut: "ZoomOut";
|
|
50
|
+
UpLeft: "UpLeft";
|
|
51
|
+
UpRight: "UpRight";
|
|
52
|
+
DownLeft: "DownLeft";
|
|
53
|
+
DownRight: "DownRight";
|
|
54
|
+
}>;
|
|
140
55
|
export type PtzDirection = z.infer<typeof sPtzDirection>;
|
|
141
56
|
export declare const sCameraPtzMoveCommand: z.ZodObject<{
|
|
142
57
|
command: z.ZodLiteral<"camera.ptz-move">;
|
|
143
58
|
params: z.ZodObject<{
|
|
144
|
-
direction: z.ZodEnum<
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
};
|
|
159
|
-
command: "camera.ptz-move";
|
|
160
|
-
}>;
|
|
59
|
+
direction: z.ZodEnum<{
|
|
60
|
+
Up: "Up";
|
|
61
|
+
Down: "Down";
|
|
62
|
+
Left: "Left";
|
|
63
|
+
Right: "Right";
|
|
64
|
+
ZoomIn: "ZoomIn";
|
|
65
|
+
ZoomOut: "ZoomOut";
|
|
66
|
+
UpLeft: "UpLeft";
|
|
67
|
+
UpRight: "UpRight";
|
|
68
|
+
DownLeft: "DownLeft";
|
|
69
|
+
DownRight: "DownRight";
|
|
70
|
+
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
}, z.core.$strip>;
|
|
161
73
|
export type CameraPtzMoveCommand = z.infer<typeof sCameraPtzMoveCommand>;
|
|
162
74
|
export declare const sCameraPtzBeginMoveCommand: z.ZodObject<{
|
|
163
75
|
command: z.ZodLiteral<"camera.ptz-begin-move">;
|
|
@@ -165,85 +77,33 @@ export declare const sCameraPtzBeginMoveCommand: z.ZodObject<{
|
|
|
165
77
|
pan: z.ZodNumber;
|
|
166
78
|
tilt: z.ZodNumber;
|
|
167
79
|
zoom: z.ZodNumber;
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
tilt: number;
|
|
171
|
-
zoom: number;
|
|
172
|
-
}, {
|
|
173
|
-
pan: number;
|
|
174
|
-
tilt: number;
|
|
175
|
-
zoom: number;
|
|
176
|
-
}>;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
params: {
|
|
179
|
-
pan: number;
|
|
180
|
-
tilt: number;
|
|
181
|
-
zoom: number;
|
|
182
|
-
};
|
|
183
|
-
command: "camera.ptz-begin-move";
|
|
184
|
-
}, {
|
|
185
|
-
params: {
|
|
186
|
-
pan: number;
|
|
187
|
-
tilt: number;
|
|
188
|
-
zoom: number;
|
|
189
|
-
};
|
|
190
|
-
command: "camera.ptz-begin-move";
|
|
191
|
-
}>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
}, z.core.$strip>;
|
|
192
82
|
export type CameraPtzBeginMoveCommand = z.infer<typeof sCameraPtzBeginMoveCommand>;
|
|
193
83
|
export declare const sCameraPtzEndMoveCommand: z.ZodObject<{
|
|
194
84
|
command: z.ZodLiteral<"camera.ptz-end-move">;
|
|
195
|
-
params: z.ZodObject<{},
|
|
196
|
-
},
|
|
197
|
-
params: {};
|
|
198
|
-
command: "camera.ptz-end-move";
|
|
199
|
-
}, {
|
|
200
|
-
params: {};
|
|
201
|
-
command: "camera.ptz-end-move";
|
|
202
|
-
}>;
|
|
85
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
86
|
+
}, z.core.$strip>;
|
|
203
87
|
export type CameraPtzEndMoveCommand = z.infer<typeof sCameraPtzEndMoveCommand>;
|
|
204
88
|
export declare const sCameraEnableCommand: z.ZodObject<{
|
|
205
89
|
command: z.ZodLiteral<"camera.enable">;
|
|
206
|
-
params: z.ZodObject<{},
|
|
207
|
-
},
|
|
208
|
-
params: {};
|
|
209
|
-
command: "camera.enable";
|
|
210
|
-
}, {
|
|
211
|
-
params: {};
|
|
212
|
-
command: "camera.enable";
|
|
213
|
-
}>;
|
|
90
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
91
|
+
}, z.core.$strip>;
|
|
214
92
|
export type CameraEnableCommand = z.infer<typeof sCameraEnableCommand>;
|
|
215
93
|
export declare const sCameraDisableCommand: z.ZodObject<{
|
|
216
94
|
command: z.ZodLiteral<"camera.disable">;
|
|
217
|
-
params: z.ZodObject<{},
|
|
218
|
-
},
|
|
219
|
-
params: {};
|
|
220
|
-
command: "camera.disable";
|
|
221
|
-
}, {
|
|
222
|
-
params: {};
|
|
223
|
-
command: "camera.disable";
|
|
224
|
-
}>;
|
|
95
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
96
|
+
}, z.core.$strip>;
|
|
225
97
|
export type CameraDisableCommand = z.infer<typeof sCameraDisableCommand>;
|
|
226
98
|
export declare const sCameraEnableDetectionCommand: z.ZodObject<{
|
|
227
99
|
command: z.ZodLiteral<"camera.enable-detection">;
|
|
228
|
-
params: z.ZodObject<{},
|
|
229
|
-
},
|
|
230
|
-
params: {};
|
|
231
|
-
command: "camera.enable-detection";
|
|
232
|
-
}, {
|
|
233
|
-
params: {};
|
|
234
|
-
command: "camera.enable-detection";
|
|
235
|
-
}>;
|
|
100
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
101
|
+
}, z.core.$strip>;
|
|
236
102
|
export type CameraEnableDetectionCommand = z.infer<typeof sCameraEnableDetectionCommand>;
|
|
237
103
|
export declare const sCameraDisableDetectionCommand: z.ZodObject<{
|
|
238
104
|
command: z.ZodLiteral<"camera.disable-detection">;
|
|
239
|
-
params: z.ZodObject<{},
|
|
240
|
-
},
|
|
241
|
-
params: {};
|
|
242
|
-
command: "camera.disable-detection";
|
|
243
|
-
}, {
|
|
244
|
-
params: {};
|
|
245
|
-
command: "camera.disable-detection";
|
|
246
|
-
}>;
|
|
105
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
106
|
+
}, z.core.$strip>;
|
|
247
107
|
export type CameraDisableDetectionCommand = z.infer<typeof sCameraDisableDetectionCommand>;
|
|
248
108
|
export declare const cameraCommands: {
|
|
249
109
|
readonly 'camera.ptz-set': z.ZodObject<{
|
|
@@ -252,70 +112,33 @@ export declare const cameraCommands: {
|
|
|
252
112
|
pan: z.ZodNumber;
|
|
253
113
|
tilt: z.ZodNumber;
|
|
254
114
|
zoom: z.ZodNumber;
|
|
255
|
-
},
|
|
256
|
-
|
|
257
|
-
tilt: number;
|
|
258
|
-
zoom: number;
|
|
259
|
-
}, {
|
|
260
|
-
pan: number;
|
|
261
|
-
tilt: number;
|
|
262
|
-
zoom: number;
|
|
263
|
-
}>;
|
|
264
|
-
}, "strip", z.ZodTypeAny, {
|
|
265
|
-
params: {
|
|
266
|
-
pan: number;
|
|
267
|
-
tilt: number;
|
|
268
|
-
zoom: number;
|
|
269
|
-
};
|
|
270
|
-
command: "camera.ptz-set";
|
|
271
|
-
}, {
|
|
272
|
-
params: {
|
|
273
|
-
pan: number;
|
|
274
|
-
tilt: number;
|
|
275
|
-
zoom: number;
|
|
276
|
-
};
|
|
277
|
-
command: "camera.ptz-set";
|
|
278
|
-
}>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
}, z.core.$strip>;
|
|
279
117
|
readonly 'camera.ptz-move': z.ZodObject<{
|
|
280
118
|
command: z.ZodLiteral<"camera.ptz-move">;
|
|
281
119
|
params: z.ZodObject<{
|
|
282
|
-
direction: z.ZodEnum<
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
};
|
|
297
|
-
command: "camera.ptz-move";
|
|
298
|
-
}>;
|
|
120
|
+
direction: z.ZodEnum<{
|
|
121
|
+
Up: "Up";
|
|
122
|
+
Down: "Down";
|
|
123
|
+
Left: "Left";
|
|
124
|
+
Right: "Right";
|
|
125
|
+
ZoomIn: "ZoomIn";
|
|
126
|
+
ZoomOut: "ZoomOut";
|
|
127
|
+
UpLeft: "UpLeft";
|
|
128
|
+
UpRight: "UpRight";
|
|
129
|
+
DownLeft: "DownLeft";
|
|
130
|
+
DownRight: "DownRight";
|
|
131
|
+
}>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
}, z.core.$strip>;
|
|
299
134
|
readonly 'camera.enable': z.ZodObject<{
|
|
300
135
|
command: z.ZodLiteral<"camera.enable">;
|
|
301
|
-
params: z.ZodObject<{},
|
|
302
|
-
},
|
|
303
|
-
params: {};
|
|
304
|
-
command: "camera.enable";
|
|
305
|
-
}, {
|
|
306
|
-
params: {};
|
|
307
|
-
command: "camera.enable";
|
|
308
|
-
}>;
|
|
136
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
137
|
+
}, z.core.$strip>;
|
|
309
138
|
readonly 'camera.disable': z.ZodObject<{
|
|
310
139
|
command: z.ZodLiteral<"camera.disable">;
|
|
311
|
-
params: z.ZodObject<{},
|
|
312
|
-
},
|
|
313
|
-
params: {};
|
|
314
|
-
command: "camera.disable";
|
|
315
|
-
}, {
|
|
316
|
-
params: {};
|
|
317
|
-
command: "camera.disable";
|
|
318
|
-
}>;
|
|
140
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
141
|
+
}, z.core.$strip>;
|
|
319
142
|
readonly 'camera.preset-save': z.ZodObject<{
|
|
320
143
|
command: z.ZodLiteral<"camera.preset-save">;
|
|
321
144
|
params: z.ZodObject<{
|
|
@@ -324,155 +147,41 @@ export declare const cameraCommands: {
|
|
|
324
147
|
name: z.ZodString;
|
|
325
148
|
isDefault: z.ZodBoolean;
|
|
326
149
|
values: z.ZodUnknown;
|
|
327
|
-
},
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
values?: unknown;
|
|
331
|
-
}, {
|
|
332
|
-
name: string;
|
|
333
|
-
isDefault: boolean;
|
|
334
|
-
values?: unknown;
|
|
335
|
-
}>;
|
|
336
|
-
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
presetId: string;
|
|
338
|
-
presetInfo: {
|
|
339
|
-
name: string;
|
|
340
|
-
isDefault: boolean;
|
|
341
|
-
values?: unknown;
|
|
342
|
-
};
|
|
343
|
-
}, {
|
|
344
|
-
presetId: string;
|
|
345
|
-
presetInfo: {
|
|
346
|
-
name: string;
|
|
347
|
-
isDefault: boolean;
|
|
348
|
-
values?: unknown;
|
|
349
|
-
};
|
|
350
|
-
}>;
|
|
351
|
-
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
params: {
|
|
353
|
-
presetId: string;
|
|
354
|
-
presetInfo: {
|
|
355
|
-
name: string;
|
|
356
|
-
isDefault: boolean;
|
|
357
|
-
values?: unknown;
|
|
358
|
-
};
|
|
359
|
-
};
|
|
360
|
-
command: "camera.preset-save";
|
|
361
|
-
}, {
|
|
362
|
-
params: {
|
|
363
|
-
presetId: string;
|
|
364
|
-
presetInfo: {
|
|
365
|
-
name: string;
|
|
366
|
-
isDefault: boolean;
|
|
367
|
-
values?: unknown;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
command: "camera.preset-save";
|
|
371
|
-
}>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
}, z.core.$strip>;
|
|
372
153
|
readonly 'camera.preset-activate': z.ZodObject<{
|
|
373
154
|
command: z.ZodLiteral<"camera.preset-activate">;
|
|
374
155
|
params: z.ZodObject<{
|
|
375
156
|
presetId: z.ZodString;
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
}, {
|
|
379
|
-
presetId: string;
|
|
380
|
-
}>;
|
|
381
|
-
}, "strip", z.ZodTypeAny, {
|
|
382
|
-
params: {
|
|
383
|
-
presetId: string;
|
|
384
|
-
};
|
|
385
|
-
command: "camera.preset-activate";
|
|
386
|
-
}, {
|
|
387
|
-
params: {
|
|
388
|
-
presetId: string;
|
|
389
|
-
};
|
|
390
|
-
command: "camera.preset-activate";
|
|
391
|
-
}>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
}, z.core.$strip>;
|
|
392
159
|
readonly 'camera.preset-delete': z.ZodObject<{
|
|
393
160
|
command: z.ZodLiteral<"camera.preset-delete">;
|
|
394
161
|
params: z.ZodObject<{
|
|
395
162
|
presetId: z.ZodString;
|
|
396
163
|
assignedRef: z.ZodNullable<z.ZodString>;
|
|
397
|
-
},
|
|
398
|
-
|
|
399
|
-
presetId: string;
|
|
400
|
-
}, {
|
|
401
|
-
assignedRef: string | null;
|
|
402
|
-
presetId: string;
|
|
403
|
-
}>;
|
|
404
|
-
}, "strip", z.ZodTypeAny, {
|
|
405
|
-
params: {
|
|
406
|
-
assignedRef: string | null;
|
|
407
|
-
presetId: string;
|
|
408
|
-
};
|
|
409
|
-
command: "camera.preset-delete";
|
|
410
|
-
}, {
|
|
411
|
-
params: {
|
|
412
|
-
assignedRef: string | null;
|
|
413
|
-
presetId: string;
|
|
414
|
-
};
|
|
415
|
-
command: "camera.preset-delete";
|
|
416
|
-
}>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>;
|
|
417
166
|
readonly 'camera.ptz-begin-move': z.ZodObject<{
|
|
418
167
|
command: z.ZodLiteral<"camera.ptz-begin-move">;
|
|
419
168
|
params: z.ZodObject<{
|
|
420
169
|
pan: z.ZodNumber;
|
|
421
170
|
tilt: z.ZodNumber;
|
|
422
171
|
zoom: z.ZodNumber;
|
|
423
|
-
},
|
|
424
|
-
|
|
425
|
-
tilt: number;
|
|
426
|
-
zoom: number;
|
|
427
|
-
}, {
|
|
428
|
-
pan: number;
|
|
429
|
-
tilt: number;
|
|
430
|
-
zoom: number;
|
|
431
|
-
}>;
|
|
432
|
-
}, "strip", z.ZodTypeAny, {
|
|
433
|
-
params: {
|
|
434
|
-
pan: number;
|
|
435
|
-
tilt: number;
|
|
436
|
-
zoom: number;
|
|
437
|
-
};
|
|
438
|
-
command: "camera.ptz-begin-move";
|
|
439
|
-
}, {
|
|
440
|
-
params: {
|
|
441
|
-
pan: number;
|
|
442
|
-
tilt: number;
|
|
443
|
-
zoom: number;
|
|
444
|
-
};
|
|
445
|
-
command: "camera.ptz-begin-move";
|
|
446
|
-
}>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
}, z.core.$strip>;
|
|
447
174
|
readonly 'camera.ptz-end-move': z.ZodObject<{
|
|
448
175
|
command: z.ZodLiteral<"camera.ptz-end-move">;
|
|
449
|
-
params: z.ZodObject<{},
|
|
450
|
-
},
|
|
451
|
-
params: {};
|
|
452
|
-
command: "camera.ptz-end-move";
|
|
453
|
-
}, {
|
|
454
|
-
params: {};
|
|
455
|
-
command: "camera.ptz-end-move";
|
|
456
|
-
}>;
|
|
176
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
177
|
+
}, z.core.$strip>;
|
|
457
178
|
readonly 'camera.enable-detection': z.ZodObject<{
|
|
458
179
|
command: z.ZodLiteral<"camera.enable-detection">;
|
|
459
|
-
params: z.ZodObject<{},
|
|
460
|
-
},
|
|
461
|
-
params: {};
|
|
462
|
-
command: "camera.enable-detection";
|
|
463
|
-
}, {
|
|
464
|
-
params: {};
|
|
465
|
-
command: "camera.enable-detection";
|
|
466
|
-
}>;
|
|
180
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
181
|
+
}, z.core.$strip>;
|
|
467
182
|
readonly 'camera.disable-detection': z.ZodObject<{
|
|
468
183
|
command: z.ZodLiteral<"camera.disable-detection">;
|
|
469
|
-
params: z.ZodObject<{},
|
|
470
|
-
},
|
|
471
|
-
params: {};
|
|
472
|
-
command: "camera.disable-detection";
|
|
473
|
-
}, {
|
|
474
|
-
params: {};
|
|
475
|
-
command: "camera.disable-detection";
|
|
476
|
-
}>;
|
|
184
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
185
|
+
}, z.core.$strip>;
|
|
477
186
|
};
|
|
478
187
|
export type CameraCommand = CameraPtzSetCommand | CameraPtzMoveCommand | CameraEnableCommand | CameraDisableCommand | CameraPresetSaveCommand | CameraPresetActivateCommand | CameraPresetDeleteCommand | CameraPtzBeginMoveCommand | CameraPtzEndMoveCommand | CameraEnableDetectionCommand | CameraDisableDetectionCommand;
|