@awarevue/api-types 2.0.82 → 2.0.84
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 +1000 -10986
- package/dist/api/agent-protocol/protocol.js +114 -57
- 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 +36 -146
- package/dist/objects/agent-metadata.js +1 -2
- 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
|
@@ -9,48 +9,12 @@ export declare const sDisplayTileItemCamera: z.ZodObject<{
|
|
|
9
9
|
displayName: z.ZodString;
|
|
10
10
|
resolution: z.ZodNullable<z.ZodString>;
|
|
11
11
|
rtspUrl: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
rtspUrl: string;
|
|
15
|
-
streamId: string;
|
|
16
|
-
resolution: string | null;
|
|
17
|
-
}, {
|
|
18
|
-
displayName: string;
|
|
19
|
-
rtspUrl: string;
|
|
20
|
-
streamId: string;
|
|
21
|
-
resolution: string | null;
|
|
22
|
-
}>, "many">;
|
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
type: "camera";
|
|
25
|
-
streams: {
|
|
26
|
-
displayName: string;
|
|
27
|
-
rtspUrl: string;
|
|
28
|
-
streamId: string;
|
|
29
|
-
resolution: string | null;
|
|
30
|
-
}[];
|
|
31
|
-
name: string;
|
|
32
|
-
username: string;
|
|
33
|
-
password: string;
|
|
34
|
-
}, {
|
|
35
|
-
type: "camera";
|
|
36
|
-
streams: {
|
|
37
|
-
displayName: string;
|
|
38
|
-
rtspUrl: string;
|
|
39
|
-
streamId: string;
|
|
40
|
-
resolution: string | null;
|
|
41
|
-
}[];
|
|
42
|
-
name: string;
|
|
43
|
-
username: string;
|
|
44
|
-
password: string;
|
|
45
|
-
}>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
46
14
|
export declare const sDisplayTileItemEmpty: z.ZodObject<{
|
|
47
15
|
type: z.ZodLiteral<"empty">;
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
}, {
|
|
51
|
-
type: "empty";
|
|
52
|
-
}>;
|
|
53
|
-
export declare const sDisplayTileItem: z.ZodUnion<[z.ZodObject<{
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export declare const sDisplayTileItem: z.ZodUnion<readonly [z.ZodObject<{
|
|
54
18
|
type: z.ZodLiteral<"camera">;
|
|
55
19
|
name: z.ZodString;
|
|
56
20
|
username: z.ZodString;
|
|
@@ -60,46 +24,10 @@ export declare const sDisplayTileItem: z.ZodUnion<[z.ZodObject<{
|
|
|
60
24
|
displayName: z.ZodString;
|
|
61
25
|
resolution: z.ZodNullable<z.ZodString>;
|
|
62
26
|
rtspUrl: z.ZodString;
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
rtspUrl: string;
|
|
66
|
-
streamId: string;
|
|
67
|
-
resolution: string | null;
|
|
68
|
-
}, {
|
|
69
|
-
displayName: string;
|
|
70
|
-
rtspUrl: string;
|
|
71
|
-
streamId: string;
|
|
72
|
-
resolution: string | null;
|
|
73
|
-
}>, "many">;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
type: "camera";
|
|
76
|
-
streams: {
|
|
77
|
-
displayName: string;
|
|
78
|
-
rtspUrl: string;
|
|
79
|
-
streamId: string;
|
|
80
|
-
resolution: string | null;
|
|
81
|
-
}[];
|
|
82
|
-
name: string;
|
|
83
|
-
username: string;
|
|
84
|
-
password: string;
|
|
85
|
-
}, {
|
|
86
|
-
type: "camera";
|
|
87
|
-
streams: {
|
|
88
|
-
displayName: string;
|
|
89
|
-
rtspUrl: string;
|
|
90
|
-
streamId: string;
|
|
91
|
-
resolution: string | null;
|
|
92
|
-
}[];
|
|
93
|
-
name: string;
|
|
94
|
-
username: string;
|
|
95
|
-
password: string;
|
|
96
|
-
}>, z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
29
|
type: z.ZodLiteral<"empty">;
|
|
98
|
-
},
|
|
99
|
-
type: "empty";
|
|
100
|
-
}, {
|
|
101
|
-
type: "empty";
|
|
102
|
-
}>]>;
|
|
30
|
+
}, z.core.$strip>]>;
|
|
103
31
|
export type DisplayTileItemCamera = z.infer<typeof sDisplayTileItemCamera>;
|
|
104
32
|
export type DisplayTileItemEmpty = z.infer<typeof sDisplayTileItemEmpty>;
|
|
105
33
|
export type DisplayTileItem = z.infer<typeof sDisplayTileItem>;
|
|
@@ -107,7 +35,7 @@ export declare const sDisplaySetViewCommand: z.ZodObject<{
|
|
|
107
35
|
command: z.ZodLiteral<"display.set-view">;
|
|
108
36
|
params: z.ZodObject<{
|
|
109
37
|
tiles: z.ZodArray<z.ZodObject<{
|
|
110
|
-
items: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
38
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
111
39
|
type: z.ZodLiteral<"camera">;
|
|
112
40
|
name: z.ZodString;
|
|
113
41
|
username: z.ZodString;
|
|
@@ -117,160 +45,20 @@ export declare const sDisplaySetViewCommand: z.ZodObject<{
|
|
|
117
45
|
displayName: z.ZodString;
|
|
118
46
|
resolution: z.ZodNullable<z.ZodString>;
|
|
119
47
|
rtspUrl: z.ZodString;
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
rtspUrl: string;
|
|
123
|
-
streamId: string;
|
|
124
|
-
resolution: string | null;
|
|
125
|
-
}, {
|
|
126
|
-
displayName: string;
|
|
127
|
-
rtspUrl: string;
|
|
128
|
-
streamId: string;
|
|
129
|
-
resolution: string | null;
|
|
130
|
-
}>, "many">;
|
|
131
|
-
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
type: "camera";
|
|
133
|
-
streams: {
|
|
134
|
-
displayName: string;
|
|
135
|
-
rtspUrl: string;
|
|
136
|
-
streamId: string;
|
|
137
|
-
resolution: string | null;
|
|
138
|
-
}[];
|
|
139
|
-
name: string;
|
|
140
|
-
username: string;
|
|
141
|
-
password: string;
|
|
142
|
-
}, {
|
|
143
|
-
type: "camera";
|
|
144
|
-
streams: {
|
|
145
|
-
displayName: string;
|
|
146
|
-
rtspUrl: string;
|
|
147
|
-
streamId: string;
|
|
148
|
-
resolution: string | null;
|
|
149
|
-
}[];
|
|
150
|
-
name: string;
|
|
151
|
-
username: string;
|
|
152
|
-
password: string;
|
|
153
|
-
}>, z.ZodObject<{
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
154
50
|
type: z.ZodLiteral<"empty">;
|
|
155
|
-
},
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}>]>, "many">;
|
|
160
|
-
}, "strip", z.ZodTypeAny, {
|
|
161
|
-
items: ({
|
|
162
|
-
type: "camera";
|
|
163
|
-
streams: {
|
|
164
|
-
displayName: string;
|
|
165
|
-
rtspUrl: string;
|
|
166
|
-
streamId: string;
|
|
167
|
-
resolution: string | null;
|
|
168
|
-
}[];
|
|
169
|
-
name: string;
|
|
170
|
-
username: string;
|
|
171
|
-
password: string;
|
|
172
|
-
} | {
|
|
173
|
-
type: "empty";
|
|
174
|
-
})[];
|
|
175
|
-
}, {
|
|
176
|
-
items: ({
|
|
177
|
-
type: "camera";
|
|
178
|
-
streams: {
|
|
179
|
-
displayName: string;
|
|
180
|
-
rtspUrl: string;
|
|
181
|
-
streamId: string;
|
|
182
|
-
resolution: string | null;
|
|
183
|
-
}[];
|
|
184
|
-
name: string;
|
|
185
|
-
username: string;
|
|
186
|
-
password: string;
|
|
187
|
-
} | {
|
|
188
|
-
type: "empty";
|
|
189
|
-
})[];
|
|
190
|
-
}>, "many">;
|
|
191
|
-
}, "strip", z.ZodTypeAny, {
|
|
192
|
-
tiles: {
|
|
193
|
-
items: ({
|
|
194
|
-
type: "camera";
|
|
195
|
-
streams: {
|
|
196
|
-
displayName: string;
|
|
197
|
-
rtspUrl: string;
|
|
198
|
-
streamId: string;
|
|
199
|
-
resolution: string | null;
|
|
200
|
-
}[];
|
|
201
|
-
name: string;
|
|
202
|
-
username: string;
|
|
203
|
-
password: string;
|
|
204
|
-
} | {
|
|
205
|
-
type: "empty";
|
|
206
|
-
})[];
|
|
207
|
-
}[];
|
|
208
|
-
}, {
|
|
209
|
-
tiles: {
|
|
210
|
-
items: ({
|
|
211
|
-
type: "camera";
|
|
212
|
-
streams: {
|
|
213
|
-
displayName: string;
|
|
214
|
-
rtspUrl: string;
|
|
215
|
-
streamId: string;
|
|
216
|
-
resolution: string | null;
|
|
217
|
-
}[];
|
|
218
|
-
name: string;
|
|
219
|
-
username: string;
|
|
220
|
-
password: string;
|
|
221
|
-
} | {
|
|
222
|
-
type: "empty";
|
|
223
|
-
})[];
|
|
224
|
-
}[];
|
|
225
|
-
}>;
|
|
226
|
-
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
params: {
|
|
228
|
-
tiles: {
|
|
229
|
-
items: ({
|
|
230
|
-
type: "camera";
|
|
231
|
-
streams: {
|
|
232
|
-
displayName: string;
|
|
233
|
-
rtspUrl: string;
|
|
234
|
-
streamId: string;
|
|
235
|
-
resolution: string | null;
|
|
236
|
-
}[];
|
|
237
|
-
name: string;
|
|
238
|
-
username: string;
|
|
239
|
-
password: string;
|
|
240
|
-
} | {
|
|
241
|
-
type: "empty";
|
|
242
|
-
})[];
|
|
243
|
-
}[];
|
|
244
|
-
};
|
|
245
|
-
command: "display.set-view";
|
|
246
|
-
}, {
|
|
247
|
-
params: {
|
|
248
|
-
tiles: {
|
|
249
|
-
items: ({
|
|
250
|
-
type: "camera";
|
|
251
|
-
streams: {
|
|
252
|
-
displayName: string;
|
|
253
|
-
rtspUrl: string;
|
|
254
|
-
streamId: string;
|
|
255
|
-
resolution: string | null;
|
|
256
|
-
}[];
|
|
257
|
-
name: string;
|
|
258
|
-
username: string;
|
|
259
|
-
password: string;
|
|
260
|
-
} | {
|
|
261
|
-
type: "empty";
|
|
262
|
-
})[];
|
|
263
|
-
}[];
|
|
264
|
-
};
|
|
265
|
-
command: "display.set-view";
|
|
266
|
-
}>;
|
|
51
|
+
}, z.core.$strip>]>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
}, z.core.$strip>;
|
|
267
55
|
export type DisplaySetViewCommand = z.infer<typeof sDisplaySetViewCommand>;
|
|
268
56
|
export declare const displayCommands: {
|
|
269
57
|
readonly 'display.set-view': z.ZodObject<{
|
|
270
58
|
command: z.ZodLiteral<"display.set-view">;
|
|
271
59
|
params: z.ZodObject<{
|
|
272
60
|
tiles: z.ZodArray<z.ZodObject<{
|
|
273
|
-
items: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
61
|
+
items: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
274
62
|
type: z.ZodLiteral<"camera">;
|
|
275
63
|
name: z.ZodString;
|
|
276
64
|
username: z.ZodString;
|
|
@@ -280,152 +68,12 @@ export declare const displayCommands: {
|
|
|
280
68
|
displayName: z.ZodString;
|
|
281
69
|
resolution: z.ZodNullable<z.ZodString>;
|
|
282
70
|
rtspUrl: z.ZodString;
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
rtspUrl: string;
|
|
286
|
-
streamId: string;
|
|
287
|
-
resolution: string | null;
|
|
288
|
-
}, {
|
|
289
|
-
displayName: string;
|
|
290
|
-
rtspUrl: string;
|
|
291
|
-
streamId: string;
|
|
292
|
-
resolution: string | null;
|
|
293
|
-
}>, "many">;
|
|
294
|
-
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
type: "camera";
|
|
296
|
-
streams: {
|
|
297
|
-
displayName: string;
|
|
298
|
-
rtspUrl: string;
|
|
299
|
-
streamId: string;
|
|
300
|
-
resolution: string | null;
|
|
301
|
-
}[];
|
|
302
|
-
name: string;
|
|
303
|
-
username: string;
|
|
304
|
-
password: string;
|
|
305
|
-
}, {
|
|
306
|
-
type: "camera";
|
|
307
|
-
streams: {
|
|
308
|
-
displayName: string;
|
|
309
|
-
rtspUrl: string;
|
|
310
|
-
streamId: string;
|
|
311
|
-
resolution: string | null;
|
|
312
|
-
}[];
|
|
313
|
-
name: string;
|
|
314
|
-
username: string;
|
|
315
|
-
password: string;
|
|
316
|
-
}>, z.ZodObject<{
|
|
71
|
+
}, z.core.$strip>>;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
317
73
|
type: z.ZodLiteral<"empty">;
|
|
318
|
-
},
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}>]>, "many">;
|
|
323
|
-
}, "strip", z.ZodTypeAny, {
|
|
324
|
-
items: ({
|
|
325
|
-
type: "camera";
|
|
326
|
-
streams: {
|
|
327
|
-
displayName: string;
|
|
328
|
-
rtspUrl: string;
|
|
329
|
-
streamId: string;
|
|
330
|
-
resolution: string | null;
|
|
331
|
-
}[];
|
|
332
|
-
name: string;
|
|
333
|
-
username: string;
|
|
334
|
-
password: string;
|
|
335
|
-
} | {
|
|
336
|
-
type: "empty";
|
|
337
|
-
})[];
|
|
338
|
-
}, {
|
|
339
|
-
items: ({
|
|
340
|
-
type: "camera";
|
|
341
|
-
streams: {
|
|
342
|
-
displayName: string;
|
|
343
|
-
rtspUrl: string;
|
|
344
|
-
streamId: string;
|
|
345
|
-
resolution: string | null;
|
|
346
|
-
}[];
|
|
347
|
-
name: string;
|
|
348
|
-
username: string;
|
|
349
|
-
password: string;
|
|
350
|
-
} | {
|
|
351
|
-
type: "empty";
|
|
352
|
-
})[];
|
|
353
|
-
}>, "many">;
|
|
354
|
-
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
tiles: {
|
|
356
|
-
items: ({
|
|
357
|
-
type: "camera";
|
|
358
|
-
streams: {
|
|
359
|
-
displayName: string;
|
|
360
|
-
rtspUrl: string;
|
|
361
|
-
streamId: string;
|
|
362
|
-
resolution: string | null;
|
|
363
|
-
}[];
|
|
364
|
-
name: string;
|
|
365
|
-
username: string;
|
|
366
|
-
password: string;
|
|
367
|
-
} | {
|
|
368
|
-
type: "empty";
|
|
369
|
-
})[];
|
|
370
|
-
}[];
|
|
371
|
-
}, {
|
|
372
|
-
tiles: {
|
|
373
|
-
items: ({
|
|
374
|
-
type: "camera";
|
|
375
|
-
streams: {
|
|
376
|
-
displayName: string;
|
|
377
|
-
rtspUrl: string;
|
|
378
|
-
streamId: string;
|
|
379
|
-
resolution: string | null;
|
|
380
|
-
}[];
|
|
381
|
-
name: string;
|
|
382
|
-
username: string;
|
|
383
|
-
password: string;
|
|
384
|
-
} | {
|
|
385
|
-
type: "empty";
|
|
386
|
-
})[];
|
|
387
|
-
}[];
|
|
388
|
-
}>;
|
|
389
|
-
}, "strip", z.ZodTypeAny, {
|
|
390
|
-
params: {
|
|
391
|
-
tiles: {
|
|
392
|
-
items: ({
|
|
393
|
-
type: "camera";
|
|
394
|
-
streams: {
|
|
395
|
-
displayName: string;
|
|
396
|
-
rtspUrl: string;
|
|
397
|
-
streamId: string;
|
|
398
|
-
resolution: string | null;
|
|
399
|
-
}[];
|
|
400
|
-
name: string;
|
|
401
|
-
username: string;
|
|
402
|
-
password: string;
|
|
403
|
-
} | {
|
|
404
|
-
type: "empty";
|
|
405
|
-
})[];
|
|
406
|
-
}[];
|
|
407
|
-
};
|
|
408
|
-
command: "display.set-view";
|
|
409
|
-
}, {
|
|
410
|
-
params: {
|
|
411
|
-
tiles: {
|
|
412
|
-
items: ({
|
|
413
|
-
type: "camera";
|
|
414
|
-
streams: {
|
|
415
|
-
displayName: string;
|
|
416
|
-
rtspUrl: string;
|
|
417
|
-
streamId: string;
|
|
418
|
-
resolution: string | null;
|
|
419
|
-
}[];
|
|
420
|
-
name: string;
|
|
421
|
-
username: string;
|
|
422
|
-
password: string;
|
|
423
|
-
} | {
|
|
424
|
-
type: "empty";
|
|
425
|
-
})[];
|
|
426
|
-
}[];
|
|
427
|
-
};
|
|
428
|
-
command: "display.set-view";
|
|
429
|
-
}>;
|
|
74
|
+
}, z.core.$strip>]>>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
}, z.core.$strip>;
|
|
430
78
|
};
|
|
431
79
|
export type DisplayCommand = DisplaySetViewCommand;
|
|
@@ -1,88 +1,40 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const sDoorUnlockCommand: z.ZodObject<{
|
|
3
3
|
command: z.ZodLiteral<"door.unlock">;
|
|
4
|
-
params: z.ZodObject<{},
|
|
5
|
-
},
|
|
6
|
-
params: {};
|
|
7
|
-
command: "door.unlock";
|
|
8
|
-
}, {
|
|
9
|
-
params: {};
|
|
10
|
-
command: "door.unlock";
|
|
11
|
-
}>;
|
|
4
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
}, z.core.$strip>;
|
|
12
6
|
export type DoorUnlockCommand = z.infer<typeof sDoorUnlockCommand>;
|
|
13
7
|
export declare const sDoorLockCommand: z.ZodObject<{
|
|
14
8
|
command: z.ZodLiteral<"door.lock">;
|
|
15
|
-
params: z.ZodObject<{},
|
|
16
|
-
},
|
|
17
|
-
params: {};
|
|
18
|
-
command: "door.lock";
|
|
19
|
-
}, {
|
|
20
|
-
params: {};
|
|
21
|
-
command: "door.lock";
|
|
22
|
-
}>;
|
|
9
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
10
|
+
}, z.core.$strip>;
|
|
23
11
|
export type DoorLockCommand = z.infer<typeof sDoorLockCommand>;
|
|
24
12
|
export declare const sDoorReleaseCommand: z.ZodObject<{
|
|
25
13
|
command: z.ZodLiteral<"door.release">;
|
|
26
|
-
params: z.ZodObject<{},
|
|
27
|
-
},
|
|
28
|
-
params: {};
|
|
29
|
-
command: "door.release";
|
|
30
|
-
}, {
|
|
31
|
-
params: {};
|
|
32
|
-
command: "door.release";
|
|
33
|
-
}>;
|
|
14
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
15
|
+
}, z.core.$strip>;
|
|
34
16
|
export type DoorReleaseCommand = z.infer<typeof sDoorReleaseCommand>;
|
|
35
17
|
export declare const sDoorAlarmAckCommand: z.ZodObject<{
|
|
36
18
|
command: z.ZodLiteral<"door.alarm-ack">;
|
|
37
|
-
params: z.ZodObject<{},
|
|
38
|
-
},
|
|
39
|
-
params: {};
|
|
40
|
-
command: "door.alarm-ack";
|
|
41
|
-
}, {
|
|
42
|
-
params: {};
|
|
43
|
-
command: "door.alarm-ack";
|
|
44
|
-
}>;
|
|
19
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
20
|
+
}, z.core.$strip>;
|
|
45
21
|
export type DoorAlarmAckCommand = z.infer<typeof sDoorAlarmAckCommand>;
|
|
46
22
|
export declare const doorCommands: {
|
|
47
23
|
readonly 'door.unlock': z.ZodObject<{
|
|
48
24
|
command: z.ZodLiteral<"door.unlock">;
|
|
49
|
-
params: z.ZodObject<{},
|
|
50
|
-
},
|
|
51
|
-
params: {};
|
|
52
|
-
command: "door.unlock";
|
|
53
|
-
}, {
|
|
54
|
-
params: {};
|
|
55
|
-
command: "door.unlock";
|
|
56
|
-
}>;
|
|
25
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
26
|
+
}, z.core.$strip>;
|
|
57
27
|
readonly 'door.lock': z.ZodObject<{
|
|
58
28
|
command: z.ZodLiteral<"door.lock">;
|
|
59
|
-
params: z.ZodObject<{},
|
|
60
|
-
},
|
|
61
|
-
params: {};
|
|
62
|
-
command: "door.lock";
|
|
63
|
-
}, {
|
|
64
|
-
params: {};
|
|
65
|
-
command: "door.lock";
|
|
66
|
-
}>;
|
|
29
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
30
|
+
}, z.core.$strip>;
|
|
67
31
|
readonly 'door.release': z.ZodObject<{
|
|
68
32
|
command: z.ZodLiteral<"door.release">;
|
|
69
|
-
params: z.ZodObject<{},
|
|
70
|
-
},
|
|
71
|
-
params: {};
|
|
72
|
-
command: "door.release";
|
|
73
|
-
}, {
|
|
74
|
-
params: {};
|
|
75
|
-
command: "door.release";
|
|
76
|
-
}>;
|
|
33
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
34
|
+
}, z.core.$strip>;
|
|
77
35
|
readonly 'door.alarm-ack': z.ZodObject<{
|
|
78
36
|
command: z.ZodLiteral<"door.alarm-ack">;
|
|
79
|
-
params: z.ZodObject<{},
|
|
80
|
-
},
|
|
81
|
-
params: {};
|
|
82
|
-
command: "door.alarm-ack";
|
|
83
|
-
}, {
|
|
84
|
-
params: {};
|
|
85
|
-
command: "door.alarm-ack";
|
|
86
|
-
}>;
|
|
37
|
+
params: z.ZodObject<{}, z.core.$strip>;
|
|
38
|
+
}, z.core.$strip>;
|
|
87
39
|
};
|
|
88
40
|
export type DoorCommand = DoorUnlockCommand | DoorLockCommand | DoorReleaseCommand | DoorAlarmAckCommand;
|
|
@@ -4,52 +4,16 @@ export declare const sIoBoardSetOutputCommand: z.ZodObject<{
|
|
|
4
4
|
params: z.ZodObject<{
|
|
5
5
|
output: z.ZodString;
|
|
6
6
|
value: z.ZodBoolean;
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
output: string;
|
|
10
|
-
}, {
|
|
11
|
-
value: boolean;
|
|
12
|
-
output: string;
|
|
13
|
-
}>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
params: {
|
|
16
|
-
value: boolean;
|
|
17
|
-
output: string;
|
|
18
|
-
};
|
|
19
|
-
command: "io-board.set-output";
|
|
20
|
-
}, {
|
|
21
|
-
params: {
|
|
22
|
-
value: boolean;
|
|
23
|
-
output: string;
|
|
24
|
-
};
|
|
25
|
-
command: "io-board.set-output";
|
|
26
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
}, z.core.$strip>;
|
|
27
9
|
export declare const ioBoardCommands: {
|
|
28
10
|
readonly 'io-board.set-output': z.ZodObject<{
|
|
29
11
|
command: z.ZodLiteral<"io-board.set-output">;
|
|
30
12
|
params: z.ZodObject<{
|
|
31
13
|
output: z.ZodString;
|
|
32
14
|
value: z.ZodBoolean;
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
output: string;
|
|
36
|
-
}, {
|
|
37
|
-
value: boolean;
|
|
38
|
-
output: string;
|
|
39
|
-
}>;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
params: {
|
|
42
|
-
value: boolean;
|
|
43
|
-
output: string;
|
|
44
|
-
};
|
|
45
|
-
command: "io-board.set-output";
|
|
46
|
-
}, {
|
|
47
|
-
params: {
|
|
48
|
-
value: boolean;
|
|
49
|
-
output: string;
|
|
50
|
-
};
|
|
51
|
-
command: "io-board.set-output";
|
|
52
|
-
}>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
}, z.core.$strip>;
|
|
53
17
|
};
|
|
54
18
|
export type IoBoardSetOutputCommand = z.infer<typeof sIoBoardSetOutputCommand>;
|
|
55
19
|
export type IoBoardCommand = IoBoardSetOutputCommand;
|