@awarevue/api-types 2.0.13 → 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.
Files changed (135) hide show
  1. package/dist/access-control/access-rule.d.ts +6 -6
  2. package/dist/access-control/person.d.ts +6 -6
  3. package/dist/access-control/schedule.d.ts +2 -2
  4. package/dist/access-control/zone.d.ts +4 -4
  5. package/dist/agent-communication/index.d.ts +0 -1
  6. package/dist/agent-communication/index.js +0 -1
  7. package/dist/agent-communication/protocol.d.ts +170 -170
  8. package/dist/alarm-automation.d.ts +1 -1
  9. package/dist/api/alarm.d.ts +1 -1
  10. package/dist/api/media.d.ts +8 -8
  11. package/dist/bookmarks.d.ts +2 -2
  12. package/dist/cast.d.ts +2 -2
  13. package/dist/commands/alarm.d.ts +312 -0
  14. package/dist/commands/alarm.js +62 -0
  15. package/dist/{device-command.d.ts → commands/all.d.ts} +17 -19
  16. package/dist/{device-command.js → commands/all.js} +9 -9
  17. package/dist/commands/camera-lift.d.ts +46 -0
  18. package/dist/commands/camera-lift.js +17 -0
  19. package/dist/commands/camera.d.ts +478 -0
  20. package/dist/commands/camera.js +97 -0
  21. package/dist/commands/display.d.ts +431 -0
  22. package/dist/commands/display.js +37 -0
  23. package/dist/commands/door.d.ts +88 -0
  24. package/dist/commands/door.js +27 -0
  25. package/dist/commands/index.d.ts +12 -0
  26. package/dist/commands/index.js +28 -0
  27. package/dist/commands/intercom-terminal.d.ts +40 -0
  28. package/dist/{device/reader/commands.js → commands/intercom-terminal.js} +1 -0
  29. package/dist/commands/io-board.d.ts +55 -0
  30. package/dist/commands/io-board.js +15 -0
  31. package/dist/commands/nvr-exporter.d.ts +1262 -0
  32. package/dist/commands/nvr-exporter.js +26 -0
  33. package/dist/commands/pbx.d.ts +75 -0
  34. package/dist/commands/pbx.js +17 -0
  35. package/dist/commands/presence-tracker.d.ts +167 -0
  36. package/dist/commands/presence-tracker.js +33 -0
  37. package/dist/commands/server.d.ts +1272 -0
  38. package/dist/commands/server.js +27 -0
  39. package/dist/device/alarm.d.ts +0 -530
  40. package/dist/device/alarm.js +1 -110
  41. package/dist/device/any-device.d.ts +88 -88
  42. package/dist/device/camera-lift.d.ts +0 -45
  43. package/dist/device/camera-lift.js +1 -14
  44. package/dist/device/camera.d.ts +0 -1248
  45. package/dist/device/camera.js +1 -204
  46. package/dist/device/device-gateway.d.ts +0 -2
  47. package/dist/device/device-gateway.js +1 -0
  48. package/dist/device/display.d.ts +0 -438
  49. package/dist/device/display.js +1 -39
  50. package/dist/device/door.d.ts +0 -306
  51. package/dist/device/door.js +1 -82
  52. package/dist/device/index.d.ts +1 -1
  53. package/dist/device/index.js +1 -1
  54. package/dist/device/intercom-operator.js +0 -1
  55. package/dist/device/intercom-terminal.d.ts +0 -101
  56. package/dist/device/intercom-terminal.js +3 -55
  57. package/dist/device/io-board.d.ts +0 -84
  58. package/dist/device/io-board.js +1 -21
  59. package/dist/device/motion-sensor.js +0 -1
  60. package/dist/device/nvr-analytics-server.d.ts +0 -295
  61. package/dist/device/nvr-analytics-server.js +1 -65
  62. package/dist/device/nvr-exporter.d.ts +0 -1436
  63. package/dist/device/nvr-exporter.js +1 -72
  64. package/dist/device/nvr-recorder.d.ts +0 -2633
  65. package/dist/device/nvr-recorder.js +1 -39
  66. package/dist/device/panic-button.d.ts +0 -18
  67. package/dist/device/panic-button.js +1 -8
  68. package/dist/device/pbx.d.ts +0 -74
  69. package/dist/device/pbx.js +1 -16
  70. package/dist/device/presence-tracker.d.ts +0 -302
  71. package/dist/device/presence-tracker.js +1 -59
  72. package/dist/device/server.d.ts +0 -1336
  73. package/dist/device/server.js +1 -37
  74. package/dist/device/system.d.ts +0 -42
  75. package/dist/device/system.js +1 -13
  76. package/dist/device-event.d.ts +1 -721
  77. package/dist/device-event.js +0 -110
  78. package/dist/device-group.d.ts +2 -2
  79. package/dist/device-import.d.ts +8 -8
  80. package/dist/events/alarm.d.ts +220 -0
  81. package/dist/events/alarm.js +55 -0
  82. package/dist/events/all.d.ts +700 -0
  83. package/dist/events/all.js +109 -0
  84. package/dist/events/camera.d.ts +661 -0
  85. package/dist/events/camera.js +87 -0
  86. package/dist/events/display.d.ts +9 -0
  87. package/dist/events/display.js +9 -0
  88. package/dist/events/door.d.ts +220 -0
  89. package/dist/events/door.js +62 -0
  90. package/dist/events/index.d.ts +12 -0
  91. package/dist/events/index.js +28 -0
  92. package/dist/events/intercom-terminal.d.ts +61 -0
  93. package/dist/events/intercom-terminal.js +19 -0
  94. package/dist/events/io-board.d.ts +31 -0
  95. package/dist/events/io-board.js +13 -0
  96. package/dist/events/nvr-exporter.d.ts +52 -0
  97. package/dist/events/nvr-exporter.js +21 -0
  98. package/dist/events/panic-button.d.ts +19 -0
  99. package/dist/events/panic-button.js +11 -0
  100. package/dist/events/presence-tracker.d.ts +136 -0
  101. package/dist/events/presence-tracker.js +33 -0
  102. package/dist/events/server.d.ts +65 -0
  103. package/dist/events/server.js +15 -0
  104. package/dist/index.d.ts +4 -1
  105. package/dist/index.js +4 -1
  106. package/dist/layout.d.ts +8 -8
  107. package/dist/macros.d.ts +14 -14
  108. package/dist/messages/device-communication.d.ts +2 -2
  109. package/dist/messages/notifications.d.ts +2 -2
  110. package/dist/messages/web-rtc-signaling.d.ts +10 -10
  111. package/dist/notifications.d.ts +4 -4
  112. package/dist/package.json +1 -1
  113. package/dist/primitives.d.ts +16 -0
  114. package/dist/primitives.js +13 -1
  115. package/dist/{agent-communication/queries.d.ts → queries/all.d.ts} +12 -10
  116. package/dist/queries/all.js +21 -0
  117. package/dist/queries/camera.d.ts +98 -0
  118. package/dist/queries/camera.js +27 -0
  119. package/dist/queries/index.d.ts +5 -0
  120. package/dist/{device/reader → queries}/index.js +5 -3
  121. package/dist/queries/nvr-analytics-server.d.ts +296 -0
  122. package/dist/queries/nvr-analytics-server.js +68 -0
  123. package/dist/queries/nvr-exporter.d.ts +125 -0
  124. package/dist/queries/nvr-exporter.js +36 -0
  125. package/dist/queries/nvr-recorder.d.ts +2634 -0
  126. package/dist/queries/nvr-recorder.js +42 -0
  127. package/dist/user.d.ts +4 -4
  128. package/package.json +1 -1
  129. package/dist/agent-communication/queries.js +0 -19
  130. package/dist/device/reader/commands.d.ts +0 -1
  131. package/dist/device/reader/index.d.ts +0 -3
  132. /package/dist/device/{reader/specs.d.ts → reader.d.ts} +0 -0
  133. /package/dist/device/{reader/specs.js → reader.js} +0 -0
  134. /package/dist/{device/reader/events.d.ts → events/reader.d.ts} +0 -0
  135. /package/dist/{device/reader/events.js → events/reader.js} +0 -0
@@ -10,2636 +10,3 @@ export declare const sRecorderStateDto: z.ZodObject<{
10
10
  connected: boolean;
11
11
  }>;
12
12
  export type RecorderStateDto = z.infer<typeof sRecorderStateDto>;
13
- export declare const QUERY_RECORDINGS_BY_TIME_RANGE = "cctv:recordings-by-time-range";
14
- export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
15
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
16
- name: z.ZodString;
17
- foreignRef: z.ZodString;
18
- provider: z.ZodString;
19
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
20
- }, "strip", z.ZodTypeAny, {
21
- name: string;
22
- foreignRef: string;
23
- provider: string;
24
- providerMetadata: {} & {
25
- [k: string]: unknown;
26
- };
27
- }, {
28
- name: string;
29
- foreignRef: string;
30
- provider: string;
31
- providerMetadata: {} & {
32
- [k: string]: unknown;
33
- };
34
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
35
- type: z.ZodLiteral<"alarm">;
36
- }, "strip", z.ZodTypeAny, {
37
- type: "alarm";
38
- }, {
39
- type: "alarm";
40
- }>, z.ZodObject<{
41
- lensType: z.ZodEnum<["flat", "fisheye"]>;
42
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
43
- ptzCapable: z.ZodBoolean;
44
- ptzPanSpeed: z.ZodNumber;
45
- ptzTiltSpeed: z.ZodNumber;
46
- ptzZoomSpeed: z.ZodNumber;
47
- panMin: z.ZodNumber;
48
- panMax: z.ZodNumber;
49
- tiltMin: z.ZodNumber;
50
- tiltMax: z.ZodNumber;
51
- zoomMin: z.ZodNumber;
52
- zoomMax: z.ZodNumber;
53
- recordingCapable: z.ZodBoolean;
54
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
55
- kind: z.ZodString;
56
- }, "strip", z.ZodTypeAny, {
57
- kind: string;
58
- }, {
59
- kind: string;
60
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
61
- streams: z.ZodArray<z.ZodObject<{
62
- id: z.ZodString;
63
- displayName: z.ZodString;
64
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
65
- }, "strip", z.ZodTypeAny, {
66
- id: string;
67
- displayName: string;
68
- externalPlayerUrl: string | null;
69
- }, {
70
- id: string;
71
- displayName: string;
72
- externalPlayerUrl: string | null;
73
- }>, "many">;
74
- defaultStreamId: z.ZodString;
75
- } & {
76
- type: z.ZodLiteral<"camera">;
77
- }, "strip", z.ZodTypeAny, {
78
- type: "camera";
79
- streams: {
80
- id: string;
81
- displayName: string;
82
- externalPlayerUrl: string | null;
83
- }[];
84
- lensType: "flat" | "fisheye";
85
- mountPoint: "wall" | "ceiling" | "floor";
86
- ptzCapable: boolean;
87
- ptzPanSpeed: number;
88
- ptzTiltSpeed: number;
89
- ptzZoomSpeed: number;
90
- panMin: number;
91
- panMax: number;
92
- tiltMin: number;
93
- tiltMax: number;
94
- zoomMin: number;
95
- zoomMax: number;
96
- recordingCapable: boolean;
97
- webrtcPlaybackSource: ({
98
- kind: string;
99
- } & Record<string, unknown>) | null;
100
- defaultStreamId: string;
101
- }, {
102
- type: "camera";
103
- streams: {
104
- id: string;
105
- displayName: string;
106
- externalPlayerUrl: string | null;
107
- }[];
108
- lensType: "flat" | "fisheye";
109
- mountPoint: "wall" | "ceiling" | "floor";
110
- ptzCapable: boolean;
111
- ptzPanSpeed: number;
112
- ptzTiltSpeed: number;
113
- ptzZoomSpeed: number;
114
- panMin: number;
115
- panMax: number;
116
- tiltMin: number;
117
- tiltMax: number;
118
- zoomMin: number;
119
- zoomMax: number;
120
- recordingCapable: boolean;
121
- webrtcPlaybackSource: ({
122
- kind: string;
123
- } & Record<string, unknown>) | null;
124
- defaultStreamId: string;
125
- }>, z.ZodObject<{
126
- canReportOpenState: z.ZodBoolean;
127
- canReportLockState: z.ZodBoolean;
128
- canControlLock: z.ZodBoolean;
129
- canRelease: z.ZodBoolean;
130
- } & {
131
- type: z.ZodLiteral<"door">;
132
- }, "strip", z.ZodTypeAny, {
133
- type: "door";
134
- canReportOpenState: boolean;
135
- canReportLockState: boolean;
136
- canControlLock: boolean;
137
- canRelease: boolean;
138
- }, {
139
- type: "door";
140
- canReportOpenState: boolean;
141
- canReportLockState: boolean;
142
- canControlLock: boolean;
143
- canRelease: boolean;
144
- }>, z.ZodObject<{
145
- inputs: z.ZodArray<z.ZodString, "many">;
146
- outputs: z.ZodArray<z.ZodString, "many">;
147
- } & {
148
- type: z.ZodLiteral<"io-board">;
149
- }, "strip", z.ZodTypeAny, {
150
- type: "io-board";
151
- inputs: string[];
152
- outputs: string[];
153
- }, {
154
- type: "io-board";
155
- inputs: string[];
156
- outputs: string[];
157
- }>, z.ZodObject<{
158
- type: z.ZodLiteral<"camera-lift">;
159
- }, "strip", z.ZodTypeAny, {
160
- type: "camera-lift";
161
- }, {
162
- type: "camera-lift";
163
- }>, z.ZodObject<{
164
- type: z.ZodLiteral<"motion-sensor">;
165
- }, "strip", z.ZodTypeAny, {
166
- type: "motion-sensor";
167
- }, {
168
- type: "motion-sensor";
169
- }>, z.ZodObject<{
170
- type: z.ZodLiteral<"panic-button">;
171
- }, "strip", z.ZodTypeAny, {
172
- type: "panic-button";
173
- }, {
174
- type: "panic-button";
175
- }>, z.ZodObject<{
176
- sipUri: z.ZodString;
177
- sipUser: z.ZodString;
178
- sipPassword: z.ZodString;
179
- sipRealm: z.ZodString;
180
- remoteExtension: z.ZodString;
181
- } & {
182
- type: z.ZodLiteral<"intercom-terminal">;
183
- }, "strip", z.ZodTypeAny, {
184
- type: "intercom-terminal";
185
- sipUri: string;
186
- sipUser: string;
187
- sipPassword: string;
188
- sipRealm: string;
189
- remoteExtension: string;
190
- }, {
191
- type: "intercom-terminal";
192
- sipUri: string;
193
- sipUser: string;
194
- sipPassword: string;
195
- sipRealm: string;
196
- remoteExtension: string;
197
- }>, z.ZodObject<{
198
- sipWsUrl: z.ZodString;
199
- } & {
200
- type: z.ZodLiteral<"pbx">;
201
- }, "strip", z.ZodTypeAny, {
202
- type: "pbx";
203
- sipWsUrl: string;
204
- }, {
205
- type: "pbx";
206
- sipWsUrl: string;
207
- }>, z.ZodObject<{
208
- type: z.ZodLiteral<"server">;
209
- }, "strip", z.ZodTypeAny, {
210
- type: "server";
211
- }, {
212
- type: "server";
213
- }>, z.ZodObject<{
214
- type: z.ZodLiteral<"intercom-operator">;
215
- }, "strip", z.ZodTypeAny, {
216
- type: "intercom-operator";
217
- }, {
218
- type: "intercom-operator";
219
- }>, z.ZodObject<{
220
- type: z.ZodLiteral<"device-gateway">;
221
- }, "strip", z.ZodTypeAny, {
222
- type: "device-gateway";
223
- }, {
224
- type: "device-gateway";
225
- }>, z.ZodObject<{
226
- type: z.ZodLiteral<"presence-tracker">;
227
- }, "strip", z.ZodTypeAny, {
228
- type: "presence-tracker";
229
- }, {
230
- type: "presence-tracker";
231
- }>, z.ZodObject<{
232
- type: z.ZodLiteral<"reader">;
233
- }, "strip", z.ZodTypeAny, {
234
- type: "reader";
235
- }, {
236
- type: "reader";
237
- }>, z.ZodObject<{
238
- type: z.ZodLiteral<"display">;
239
- }, "strip", z.ZodTypeAny, {
240
- type: "display";
241
- }, {
242
- type: "display";
243
- }>, z.ZodObject<{
244
- type: z.ZodLiteral<"nvr-recorder">;
245
- }, "strip", z.ZodTypeAny, {
246
- type: "nvr-recorder";
247
- }, {
248
- type: "nvr-recorder";
249
- }>, z.ZodObject<{
250
- type: z.ZodLiteral<"nvr-exporter">;
251
- }, "strip", z.ZodTypeAny, {
252
- type: "nvr-exporter";
253
- }, {
254
- type: "nvr-exporter";
255
- }>, z.ZodObject<{
256
- type: z.ZodLiteral<"nvr-analytics-server">;
257
- }, "strip", z.ZodTypeAny, {
258
- type: "nvr-analytics-server";
259
- }, {
260
- type: "nvr-analytics-server";
261
- }>, z.ZodObject<{
262
- type: z.ZodLiteral<"system">;
263
- }, "strip", z.ZodTypeAny, {
264
- type: "system";
265
- }, {
266
- type: "system";
267
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
268
- timeFrom: z.ZodNumber;
269
- timeTo: z.ZodNumber;
270
- }, "strip", z.ZodTypeAny, {
271
- device: string | [string, string] | ({
272
- name: string;
273
- foreignRef: string;
274
- provider: string;
275
- providerMetadata: {} & {
276
- [k: string]: unknown;
277
- };
278
- } & ({
279
- type: "alarm";
280
- } | {
281
- type: "camera";
282
- streams: {
283
- id: string;
284
- displayName: string;
285
- externalPlayerUrl: string | null;
286
- }[];
287
- lensType: "flat" | "fisheye";
288
- mountPoint: "wall" | "ceiling" | "floor";
289
- ptzCapable: boolean;
290
- ptzPanSpeed: number;
291
- ptzTiltSpeed: number;
292
- ptzZoomSpeed: number;
293
- panMin: number;
294
- panMax: number;
295
- tiltMin: number;
296
- tiltMax: number;
297
- zoomMin: number;
298
- zoomMax: number;
299
- recordingCapable: boolean;
300
- webrtcPlaybackSource: ({
301
- kind: string;
302
- } & Record<string, unknown>) | null;
303
- defaultStreamId: string;
304
- } | {
305
- type: "door";
306
- canReportOpenState: boolean;
307
- canReportLockState: boolean;
308
- canControlLock: boolean;
309
- canRelease: boolean;
310
- } | {
311
- type: "io-board";
312
- inputs: string[];
313
- outputs: string[];
314
- } | {
315
- type: "camera-lift";
316
- } | {
317
- type: "motion-sensor";
318
- } | {
319
- type: "panic-button";
320
- } | {
321
- type: "intercom-terminal";
322
- sipUri: string;
323
- sipUser: string;
324
- sipPassword: string;
325
- sipRealm: string;
326
- remoteExtension: string;
327
- } | {
328
- type: "pbx";
329
- sipWsUrl: string;
330
- } | {
331
- type: "server";
332
- } | {
333
- type: "intercom-operator";
334
- } | {
335
- type: "device-gateway";
336
- } | {
337
- type: "presence-tracker";
338
- } | {
339
- type: "reader";
340
- } | {
341
- type: "display";
342
- } | {
343
- type: "nvr-recorder";
344
- } | {
345
- type: "nvr-exporter";
346
- } | {
347
- type: "nvr-analytics-server";
348
- } | {
349
- type: "system";
350
- }));
351
- timeFrom: number;
352
- timeTo: number;
353
- }, {
354
- device: string | [string, string] | ({
355
- name: string;
356
- foreignRef: string;
357
- provider: string;
358
- providerMetadata: {} & {
359
- [k: string]: unknown;
360
- };
361
- } & ({
362
- type: "alarm";
363
- } | {
364
- type: "camera";
365
- streams: {
366
- id: string;
367
- displayName: string;
368
- externalPlayerUrl: string | null;
369
- }[];
370
- lensType: "flat" | "fisheye";
371
- mountPoint: "wall" | "ceiling" | "floor";
372
- ptzCapable: boolean;
373
- ptzPanSpeed: number;
374
- ptzTiltSpeed: number;
375
- ptzZoomSpeed: number;
376
- panMin: number;
377
- panMax: number;
378
- tiltMin: number;
379
- tiltMax: number;
380
- zoomMin: number;
381
- zoomMax: number;
382
- recordingCapable: boolean;
383
- webrtcPlaybackSource: ({
384
- kind: string;
385
- } & Record<string, unknown>) | null;
386
- defaultStreamId: string;
387
- } | {
388
- type: "door";
389
- canReportOpenState: boolean;
390
- canReportLockState: boolean;
391
- canControlLock: boolean;
392
- canRelease: boolean;
393
- } | {
394
- type: "io-board";
395
- inputs: string[];
396
- outputs: string[];
397
- } | {
398
- type: "camera-lift";
399
- } | {
400
- type: "motion-sensor";
401
- } | {
402
- type: "panic-button";
403
- } | {
404
- type: "intercom-terminal";
405
- sipUri: string;
406
- sipUser: string;
407
- sipPassword: string;
408
- sipRealm: string;
409
- remoteExtension: string;
410
- } | {
411
- type: "pbx";
412
- sipWsUrl: string;
413
- } | {
414
- type: "server";
415
- } | {
416
- type: "intercom-operator";
417
- } | {
418
- type: "device-gateway";
419
- } | {
420
- type: "presence-tracker";
421
- } | {
422
- type: "reader";
423
- } | {
424
- type: "display";
425
- } | {
426
- type: "nvr-recorder";
427
- } | {
428
- type: "nvr-exporter";
429
- } | {
430
- type: "nvr-analytics-server";
431
- } | {
432
- type: "system";
433
- }));
434
- timeFrom: number;
435
- timeTo: number;
436
- }>;
437
- export declare const sRecordingsResponse: z.ZodArray<z.ZodObject<{
438
- start: z.ZodNumber;
439
- end: z.ZodNumber;
440
- motion: z.ZodOptional<z.ZodNumber>;
441
- objects: z.ZodOptional<z.ZodNumber>;
442
- }, "strip", z.ZodTypeAny, {
443
- end: number;
444
- start: number;
445
- motion?: number | undefined;
446
- objects?: number | undefined;
447
- }, {
448
- end: number;
449
- start: number;
450
- motion?: number | undefined;
451
- objects?: number | undefined;
452
- }>, "many">;
453
- export type RecordingsByTimeRangeArgs = z.infer<typeof sRecordingsByTimeRangeArgs>;
454
- export type RecordingsResponse = z.infer<typeof sRecordingsResponse>;
455
- export declare const QUERY_PREVIEW_IMAGE = "cctv:preview-image";
456
- export declare const sPreviewImageArgs: z.ZodObject<{
457
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
458
- name: z.ZodString;
459
- foreignRef: z.ZodString;
460
- provider: z.ZodString;
461
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
462
- }, "strip", z.ZodTypeAny, {
463
- name: string;
464
- foreignRef: string;
465
- provider: string;
466
- providerMetadata: {} & {
467
- [k: string]: unknown;
468
- };
469
- }, {
470
- name: string;
471
- foreignRef: string;
472
- provider: string;
473
- providerMetadata: {} & {
474
- [k: string]: unknown;
475
- };
476
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
477
- type: z.ZodLiteral<"alarm">;
478
- }, "strip", z.ZodTypeAny, {
479
- type: "alarm";
480
- }, {
481
- type: "alarm";
482
- }>, z.ZodObject<{
483
- lensType: z.ZodEnum<["flat", "fisheye"]>;
484
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
485
- ptzCapable: z.ZodBoolean;
486
- ptzPanSpeed: z.ZodNumber;
487
- ptzTiltSpeed: z.ZodNumber;
488
- ptzZoomSpeed: z.ZodNumber;
489
- panMin: z.ZodNumber;
490
- panMax: z.ZodNumber;
491
- tiltMin: z.ZodNumber;
492
- tiltMax: z.ZodNumber;
493
- zoomMin: z.ZodNumber;
494
- zoomMax: z.ZodNumber;
495
- recordingCapable: z.ZodBoolean;
496
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
497
- kind: z.ZodString;
498
- }, "strip", z.ZodTypeAny, {
499
- kind: string;
500
- }, {
501
- kind: string;
502
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
503
- streams: z.ZodArray<z.ZodObject<{
504
- id: z.ZodString;
505
- displayName: z.ZodString;
506
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
507
- }, "strip", z.ZodTypeAny, {
508
- id: string;
509
- displayName: string;
510
- externalPlayerUrl: string | null;
511
- }, {
512
- id: string;
513
- displayName: string;
514
- externalPlayerUrl: string | null;
515
- }>, "many">;
516
- defaultStreamId: z.ZodString;
517
- } & {
518
- type: z.ZodLiteral<"camera">;
519
- }, "strip", z.ZodTypeAny, {
520
- type: "camera";
521
- streams: {
522
- id: string;
523
- displayName: string;
524
- externalPlayerUrl: string | null;
525
- }[];
526
- lensType: "flat" | "fisheye";
527
- mountPoint: "wall" | "ceiling" | "floor";
528
- ptzCapable: boolean;
529
- ptzPanSpeed: number;
530
- ptzTiltSpeed: number;
531
- ptzZoomSpeed: number;
532
- panMin: number;
533
- panMax: number;
534
- tiltMin: number;
535
- tiltMax: number;
536
- zoomMin: number;
537
- zoomMax: number;
538
- recordingCapable: boolean;
539
- webrtcPlaybackSource: ({
540
- kind: string;
541
- } & Record<string, unknown>) | null;
542
- defaultStreamId: string;
543
- }, {
544
- type: "camera";
545
- streams: {
546
- id: string;
547
- displayName: string;
548
- externalPlayerUrl: string | null;
549
- }[];
550
- lensType: "flat" | "fisheye";
551
- mountPoint: "wall" | "ceiling" | "floor";
552
- ptzCapable: boolean;
553
- ptzPanSpeed: number;
554
- ptzTiltSpeed: number;
555
- ptzZoomSpeed: number;
556
- panMin: number;
557
- panMax: number;
558
- tiltMin: number;
559
- tiltMax: number;
560
- zoomMin: number;
561
- zoomMax: number;
562
- recordingCapable: boolean;
563
- webrtcPlaybackSource: ({
564
- kind: string;
565
- } & Record<string, unknown>) | null;
566
- defaultStreamId: string;
567
- }>, z.ZodObject<{
568
- canReportOpenState: z.ZodBoolean;
569
- canReportLockState: z.ZodBoolean;
570
- canControlLock: z.ZodBoolean;
571
- canRelease: z.ZodBoolean;
572
- } & {
573
- type: z.ZodLiteral<"door">;
574
- }, "strip", z.ZodTypeAny, {
575
- type: "door";
576
- canReportOpenState: boolean;
577
- canReportLockState: boolean;
578
- canControlLock: boolean;
579
- canRelease: boolean;
580
- }, {
581
- type: "door";
582
- canReportOpenState: boolean;
583
- canReportLockState: boolean;
584
- canControlLock: boolean;
585
- canRelease: boolean;
586
- }>, z.ZodObject<{
587
- inputs: z.ZodArray<z.ZodString, "many">;
588
- outputs: z.ZodArray<z.ZodString, "many">;
589
- } & {
590
- type: z.ZodLiteral<"io-board">;
591
- }, "strip", z.ZodTypeAny, {
592
- type: "io-board";
593
- inputs: string[];
594
- outputs: string[];
595
- }, {
596
- type: "io-board";
597
- inputs: string[];
598
- outputs: string[];
599
- }>, z.ZodObject<{
600
- type: z.ZodLiteral<"camera-lift">;
601
- }, "strip", z.ZodTypeAny, {
602
- type: "camera-lift";
603
- }, {
604
- type: "camera-lift";
605
- }>, z.ZodObject<{
606
- type: z.ZodLiteral<"motion-sensor">;
607
- }, "strip", z.ZodTypeAny, {
608
- type: "motion-sensor";
609
- }, {
610
- type: "motion-sensor";
611
- }>, z.ZodObject<{
612
- type: z.ZodLiteral<"panic-button">;
613
- }, "strip", z.ZodTypeAny, {
614
- type: "panic-button";
615
- }, {
616
- type: "panic-button";
617
- }>, z.ZodObject<{
618
- sipUri: z.ZodString;
619
- sipUser: z.ZodString;
620
- sipPassword: z.ZodString;
621
- sipRealm: z.ZodString;
622
- remoteExtension: z.ZodString;
623
- } & {
624
- type: z.ZodLiteral<"intercom-terminal">;
625
- }, "strip", z.ZodTypeAny, {
626
- type: "intercom-terminal";
627
- sipUri: string;
628
- sipUser: string;
629
- sipPassword: string;
630
- sipRealm: string;
631
- remoteExtension: string;
632
- }, {
633
- type: "intercom-terminal";
634
- sipUri: string;
635
- sipUser: string;
636
- sipPassword: string;
637
- sipRealm: string;
638
- remoteExtension: string;
639
- }>, z.ZodObject<{
640
- sipWsUrl: z.ZodString;
641
- } & {
642
- type: z.ZodLiteral<"pbx">;
643
- }, "strip", z.ZodTypeAny, {
644
- type: "pbx";
645
- sipWsUrl: string;
646
- }, {
647
- type: "pbx";
648
- sipWsUrl: string;
649
- }>, z.ZodObject<{
650
- type: z.ZodLiteral<"server">;
651
- }, "strip", z.ZodTypeAny, {
652
- type: "server";
653
- }, {
654
- type: "server";
655
- }>, z.ZodObject<{
656
- type: z.ZodLiteral<"intercom-operator">;
657
- }, "strip", z.ZodTypeAny, {
658
- type: "intercom-operator";
659
- }, {
660
- type: "intercom-operator";
661
- }>, z.ZodObject<{
662
- type: z.ZodLiteral<"device-gateway">;
663
- }, "strip", z.ZodTypeAny, {
664
- type: "device-gateway";
665
- }, {
666
- type: "device-gateway";
667
- }>, z.ZodObject<{
668
- type: z.ZodLiteral<"presence-tracker">;
669
- }, "strip", z.ZodTypeAny, {
670
- type: "presence-tracker";
671
- }, {
672
- type: "presence-tracker";
673
- }>, z.ZodObject<{
674
- type: z.ZodLiteral<"reader">;
675
- }, "strip", z.ZodTypeAny, {
676
- type: "reader";
677
- }, {
678
- type: "reader";
679
- }>, z.ZodObject<{
680
- type: z.ZodLiteral<"display">;
681
- }, "strip", z.ZodTypeAny, {
682
- type: "display";
683
- }, {
684
- type: "display";
685
- }>, z.ZodObject<{
686
- type: z.ZodLiteral<"nvr-recorder">;
687
- }, "strip", z.ZodTypeAny, {
688
- type: "nvr-recorder";
689
- }, {
690
- type: "nvr-recorder";
691
- }>, z.ZodObject<{
692
- type: z.ZodLiteral<"nvr-exporter">;
693
- }, "strip", z.ZodTypeAny, {
694
- type: "nvr-exporter";
695
- }, {
696
- type: "nvr-exporter";
697
- }>, z.ZodObject<{
698
- type: z.ZodLiteral<"nvr-analytics-server">;
699
- }, "strip", z.ZodTypeAny, {
700
- type: "nvr-analytics-server";
701
- }, {
702
- type: "nvr-analytics-server";
703
- }>, z.ZodObject<{
704
- type: z.ZodLiteral<"system">;
705
- }, "strip", z.ZodTypeAny, {
706
- type: "system";
707
- }, {
708
- type: "system";
709
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
710
- time: z.ZodNumber;
711
- height: z.ZodNumber;
712
- }, "strip", z.ZodTypeAny, {
713
- time: number;
714
- height: number;
715
- device: string | [string, string] | ({
716
- name: string;
717
- foreignRef: string;
718
- provider: string;
719
- providerMetadata: {} & {
720
- [k: string]: unknown;
721
- };
722
- } & ({
723
- type: "alarm";
724
- } | {
725
- type: "camera";
726
- streams: {
727
- id: string;
728
- displayName: string;
729
- externalPlayerUrl: string | null;
730
- }[];
731
- lensType: "flat" | "fisheye";
732
- mountPoint: "wall" | "ceiling" | "floor";
733
- ptzCapable: boolean;
734
- ptzPanSpeed: number;
735
- ptzTiltSpeed: number;
736
- ptzZoomSpeed: number;
737
- panMin: number;
738
- panMax: number;
739
- tiltMin: number;
740
- tiltMax: number;
741
- zoomMin: number;
742
- zoomMax: number;
743
- recordingCapable: boolean;
744
- webrtcPlaybackSource: ({
745
- kind: string;
746
- } & Record<string, unknown>) | null;
747
- defaultStreamId: string;
748
- } | {
749
- type: "door";
750
- canReportOpenState: boolean;
751
- canReportLockState: boolean;
752
- canControlLock: boolean;
753
- canRelease: boolean;
754
- } | {
755
- type: "io-board";
756
- inputs: string[];
757
- outputs: string[];
758
- } | {
759
- type: "camera-lift";
760
- } | {
761
- type: "motion-sensor";
762
- } | {
763
- type: "panic-button";
764
- } | {
765
- type: "intercom-terminal";
766
- sipUri: string;
767
- sipUser: string;
768
- sipPassword: string;
769
- sipRealm: string;
770
- remoteExtension: string;
771
- } | {
772
- type: "pbx";
773
- sipWsUrl: string;
774
- } | {
775
- type: "server";
776
- } | {
777
- type: "intercom-operator";
778
- } | {
779
- type: "device-gateway";
780
- } | {
781
- type: "presence-tracker";
782
- } | {
783
- type: "reader";
784
- } | {
785
- type: "display";
786
- } | {
787
- type: "nvr-recorder";
788
- } | {
789
- type: "nvr-exporter";
790
- } | {
791
- type: "nvr-analytics-server";
792
- } | {
793
- type: "system";
794
- }));
795
- }, {
796
- time: number;
797
- height: number;
798
- device: string | [string, string] | ({
799
- name: string;
800
- foreignRef: string;
801
- provider: string;
802
- providerMetadata: {} & {
803
- [k: string]: unknown;
804
- };
805
- } & ({
806
- type: "alarm";
807
- } | {
808
- type: "camera";
809
- streams: {
810
- id: string;
811
- displayName: string;
812
- externalPlayerUrl: string | null;
813
- }[];
814
- lensType: "flat" | "fisheye";
815
- mountPoint: "wall" | "ceiling" | "floor";
816
- ptzCapable: boolean;
817
- ptzPanSpeed: number;
818
- ptzTiltSpeed: number;
819
- ptzZoomSpeed: number;
820
- panMin: number;
821
- panMax: number;
822
- tiltMin: number;
823
- tiltMax: number;
824
- zoomMin: number;
825
- zoomMax: number;
826
- recordingCapable: boolean;
827
- webrtcPlaybackSource: ({
828
- kind: string;
829
- } & Record<string, unknown>) | null;
830
- defaultStreamId: string;
831
- } | {
832
- type: "door";
833
- canReportOpenState: boolean;
834
- canReportLockState: boolean;
835
- canControlLock: boolean;
836
- canRelease: boolean;
837
- } | {
838
- type: "io-board";
839
- inputs: string[];
840
- outputs: string[];
841
- } | {
842
- type: "camera-lift";
843
- } | {
844
- type: "motion-sensor";
845
- } | {
846
- type: "panic-button";
847
- } | {
848
- type: "intercom-terminal";
849
- sipUri: string;
850
- sipUser: string;
851
- sipPassword: string;
852
- sipRealm: string;
853
- remoteExtension: string;
854
- } | {
855
- type: "pbx";
856
- sipWsUrl: string;
857
- } | {
858
- type: "server";
859
- } | {
860
- type: "intercom-operator";
861
- } | {
862
- type: "device-gateway";
863
- } | {
864
- type: "presence-tracker";
865
- } | {
866
- type: "reader";
867
- } | {
868
- type: "display";
869
- } | {
870
- type: "nvr-recorder";
871
- } | {
872
- type: "nvr-exporter";
873
- } | {
874
- type: "nvr-analytics-server";
875
- } | {
876
- type: "system";
877
- }));
878
- }>;
879
- export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
880
- mimeType: z.ZodString;
881
- data: z.ZodString;
882
- }, "strip", z.ZodTypeAny, {
883
- data: string;
884
- mimeType: string;
885
- }, {
886
- data: string;
887
- mimeType: string;
888
- }>>;
889
- export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
890
- export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
891
- export declare const QUERY_CAMERA_LATEST_FRAME = "cctv:latest-frame";
892
- export declare const sCameraLatestFrameArgs: z.ZodObject<{
893
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
894
- name: z.ZodString;
895
- foreignRef: z.ZodString;
896
- provider: z.ZodString;
897
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
898
- }, "strip", z.ZodTypeAny, {
899
- name: string;
900
- foreignRef: string;
901
- provider: string;
902
- providerMetadata: {} & {
903
- [k: string]: unknown;
904
- };
905
- }, {
906
- name: string;
907
- foreignRef: string;
908
- provider: string;
909
- providerMetadata: {} & {
910
- [k: string]: unknown;
911
- };
912
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
913
- type: z.ZodLiteral<"alarm">;
914
- }, "strip", z.ZodTypeAny, {
915
- type: "alarm";
916
- }, {
917
- type: "alarm";
918
- }>, z.ZodObject<{
919
- lensType: z.ZodEnum<["flat", "fisheye"]>;
920
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
921
- ptzCapable: z.ZodBoolean;
922
- ptzPanSpeed: z.ZodNumber;
923
- ptzTiltSpeed: z.ZodNumber;
924
- ptzZoomSpeed: z.ZodNumber;
925
- panMin: z.ZodNumber;
926
- panMax: z.ZodNumber;
927
- tiltMin: z.ZodNumber;
928
- tiltMax: z.ZodNumber;
929
- zoomMin: z.ZodNumber;
930
- zoomMax: z.ZodNumber;
931
- recordingCapable: z.ZodBoolean;
932
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
933
- kind: z.ZodString;
934
- }, "strip", z.ZodTypeAny, {
935
- kind: string;
936
- }, {
937
- kind: string;
938
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
939
- streams: z.ZodArray<z.ZodObject<{
940
- id: z.ZodString;
941
- displayName: z.ZodString;
942
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
943
- }, "strip", z.ZodTypeAny, {
944
- id: string;
945
- displayName: string;
946
- externalPlayerUrl: string | null;
947
- }, {
948
- id: string;
949
- displayName: string;
950
- externalPlayerUrl: string | null;
951
- }>, "many">;
952
- defaultStreamId: z.ZodString;
953
- } & {
954
- type: z.ZodLiteral<"camera">;
955
- }, "strip", z.ZodTypeAny, {
956
- type: "camera";
957
- streams: {
958
- id: string;
959
- displayName: string;
960
- externalPlayerUrl: string | null;
961
- }[];
962
- lensType: "flat" | "fisheye";
963
- mountPoint: "wall" | "ceiling" | "floor";
964
- ptzCapable: boolean;
965
- ptzPanSpeed: number;
966
- ptzTiltSpeed: number;
967
- ptzZoomSpeed: number;
968
- panMin: number;
969
- panMax: number;
970
- tiltMin: number;
971
- tiltMax: number;
972
- zoomMin: number;
973
- zoomMax: number;
974
- recordingCapable: boolean;
975
- webrtcPlaybackSource: ({
976
- kind: string;
977
- } & Record<string, unknown>) | null;
978
- defaultStreamId: string;
979
- }, {
980
- type: "camera";
981
- streams: {
982
- id: string;
983
- displayName: string;
984
- externalPlayerUrl: string | null;
985
- }[];
986
- lensType: "flat" | "fisheye";
987
- mountPoint: "wall" | "ceiling" | "floor";
988
- ptzCapable: boolean;
989
- ptzPanSpeed: number;
990
- ptzTiltSpeed: number;
991
- ptzZoomSpeed: number;
992
- panMin: number;
993
- panMax: number;
994
- tiltMin: number;
995
- tiltMax: number;
996
- zoomMin: number;
997
- zoomMax: number;
998
- recordingCapable: boolean;
999
- webrtcPlaybackSource: ({
1000
- kind: string;
1001
- } & Record<string, unknown>) | null;
1002
- defaultStreamId: string;
1003
- }>, z.ZodObject<{
1004
- canReportOpenState: z.ZodBoolean;
1005
- canReportLockState: z.ZodBoolean;
1006
- canControlLock: z.ZodBoolean;
1007
- canRelease: z.ZodBoolean;
1008
- } & {
1009
- type: z.ZodLiteral<"door">;
1010
- }, "strip", z.ZodTypeAny, {
1011
- type: "door";
1012
- canReportOpenState: boolean;
1013
- canReportLockState: boolean;
1014
- canControlLock: boolean;
1015
- canRelease: boolean;
1016
- }, {
1017
- type: "door";
1018
- canReportOpenState: boolean;
1019
- canReportLockState: boolean;
1020
- canControlLock: boolean;
1021
- canRelease: boolean;
1022
- }>, z.ZodObject<{
1023
- inputs: z.ZodArray<z.ZodString, "many">;
1024
- outputs: z.ZodArray<z.ZodString, "many">;
1025
- } & {
1026
- type: z.ZodLiteral<"io-board">;
1027
- }, "strip", z.ZodTypeAny, {
1028
- type: "io-board";
1029
- inputs: string[];
1030
- outputs: string[];
1031
- }, {
1032
- type: "io-board";
1033
- inputs: string[];
1034
- outputs: string[];
1035
- }>, z.ZodObject<{
1036
- type: z.ZodLiteral<"camera-lift">;
1037
- }, "strip", z.ZodTypeAny, {
1038
- type: "camera-lift";
1039
- }, {
1040
- type: "camera-lift";
1041
- }>, z.ZodObject<{
1042
- type: z.ZodLiteral<"motion-sensor">;
1043
- }, "strip", z.ZodTypeAny, {
1044
- type: "motion-sensor";
1045
- }, {
1046
- type: "motion-sensor";
1047
- }>, z.ZodObject<{
1048
- type: z.ZodLiteral<"panic-button">;
1049
- }, "strip", z.ZodTypeAny, {
1050
- type: "panic-button";
1051
- }, {
1052
- type: "panic-button";
1053
- }>, z.ZodObject<{
1054
- sipUri: z.ZodString;
1055
- sipUser: z.ZodString;
1056
- sipPassword: z.ZodString;
1057
- sipRealm: z.ZodString;
1058
- remoteExtension: z.ZodString;
1059
- } & {
1060
- type: z.ZodLiteral<"intercom-terminal">;
1061
- }, "strip", z.ZodTypeAny, {
1062
- type: "intercom-terminal";
1063
- sipUri: string;
1064
- sipUser: string;
1065
- sipPassword: string;
1066
- sipRealm: string;
1067
- remoteExtension: string;
1068
- }, {
1069
- type: "intercom-terminal";
1070
- sipUri: string;
1071
- sipUser: string;
1072
- sipPassword: string;
1073
- sipRealm: string;
1074
- remoteExtension: string;
1075
- }>, z.ZodObject<{
1076
- sipWsUrl: z.ZodString;
1077
- } & {
1078
- type: z.ZodLiteral<"pbx">;
1079
- }, "strip", z.ZodTypeAny, {
1080
- type: "pbx";
1081
- sipWsUrl: string;
1082
- }, {
1083
- type: "pbx";
1084
- sipWsUrl: string;
1085
- }>, z.ZodObject<{
1086
- type: z.ZodLiteral<"server">;
1087
- }, "strip", z.ZodTypeAny, {
1088
- type: "server";
1089
- }, {
1090
- type: "server";
1091
- }>, z.ZodObject<{
1092
- type: z.ZodLiteral<"intercom-operator">;
1093
- }, "strip", z.ZodTypeAny, {
1094
- type: "intercom-operator";
1095
- }, {
1096
- type: "intercom-operator";
1097
- }>, z.ZodObject<{
1098
- type: z.ZodLiteral<"device-gateway">;
1099
- }, "strip", z.ZodTypeAny, {
1100
- type: "device-gateway";
1101
- }, {
1102
- type: "device-gateway";
1103
- }>, z.ZodObject<{
1104
- type: z.ZodLiteral<"presence-tracker">;
1105
- }, "strip", z.ZodTypeAny, {
1106
- type: "presence-tracker";
1107
- }, {
1108
- type: "presence-tracker";
1109
- }>, z.ZodObject<{
1110
- type: z.ZodLiteral<"reader">;
1111
- }, "strip", z.ZodTypeAny, {
1112
- type: "reader";
1113
- }, {
1114
- type: "reader";
1115
- }>, z.ZodObject<{
1116
- type: z.ZodLiteral<"display">;
1117
- }, "strip", z.ZodTypeAny, {
1118
- type: "display";
1119
- }, {
1120
- type: "display";
1121
- }>, z.ZodObject<{
1122
- type: z.ZodLiteral<"nvr-recorder">;
1123
- }, "strip", z.ZodTypeAny, {
1124
- type: "nvr-recorder";
1125
- }, {
1126
- type: "nvr-recorder";
1127
- }>, z.ZodObject<{
1128
- type: z.ZodLiteral<"nvr-exporter">;
1129
- }, "strip", z.ZodTypeAny, {
1130
- type: "nvr-exporter";
1131
- }, {
1132
- type: "nvr-exporter";
1133
- }>, z.ZodObject<{
1134
- type: z.ZodLiteral<"nvr-analytics-server">;
1135
- }, "strip", z.ZodTypeAny, {
1136
- type: "nvr-analytics-server";
1137
- }, {
1138
- type: "nvr-analytics-server";
1139
- }>, z.ZodObject<{
1140
- type: z.ZodLiteral<"system">;
1141
- }, "strip", z.ZodTypeAny, {
1142
- type: "system";
1143
- }, {
1144
- type: "system";
1145
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1146
- width: z.ZodNumber;
1147
- height: z.ZodNumber;
1148
- }, "strip", z.ZodTypeAny, {
1149
- height: number;
1150
- width: number;
1151
- device: string | [string, string] | ({
1152
- name: string;
1153
- foreignRef: string;
1154
- provider: string;
1155
- providerMetadata: {} & {
1156
- [k: string]: unknown;
1157
- };
1158
- } & ({
1159
- type: "alarm";
1160
- } | {
1161
- type: "camera";
1162
- streams: {
1163
- id: string;
1164
- displayName: string;
1165
- externalPlayerUrl: string | null;
1166
- }[];
1167
- lensType: "flat" | "fisheye";
1168
- mountPoint: "wall" | "ceiling" | "floor";
1169
- ptzCapable: boolean;
1170
- ptzPanSpeed: number;
1171
- ptzTiltSpeed: number;
1172
- ptzZoomSpeed: number;
1173
- panMin: number;
1174
- panMax: number;
1175
- tiltMin: number;
1176
- tiltMax: number;
1177
- zoomMin: number;
1178
- zoomMax: number;
1179
- recordingCapable: boolean;
1180
- webrtcPlaybackSource: ({
1181
- kind: string;
1182
- } & Record<string, unknown>) | null;
1183
- defaultStreamId: string;
1184
- } | {
1185
- type: "door";
1186
- canReportOpenState: boolean;
1187
- canReportLockState: boolean;
1188
- canControlLock: boolean;
1189
- canRelease: boolean;
1190
- } | {
1191
- type: "io-board";
1192
- inputs: string[];
1193
- outputs: string[];
1194
- } | {
1195
- type: "camera-lift";
1196
- } | {
1197
- type: "motion-sensor";
1198
- } | {
1199
- type: "panic-button";
1200
- } | {
1201
- type: "intercom-terminal";
1202
- sipUri: string;
1203
- sipUser: string;
1204
- sipPassword: string;
1205
- sipRealm: string;
1206
- remoteExtension: string;
1207
- } | {
1208
- type: "pbx";
1209
- sipWsUrl: string;
1210
- } | {
1211
- type: "server";
1212
- } | {
1213
- type: "intercom-operator";
1214
- } | {
1215
- type: "device-gateway";
1216
- } | {
1217
- type: "presence-tracker";
1218
- } | {
1219
- type: "reader";
1220
- } | {
1221
- type: "display";
1222
- } | {
1223
- type: "nvr-recorder";
1224
- } | {
1225
- type: "nvr-exporter";
1226
- } | {
1227
- type: "nvr-analytics-server";
1228
- } | {
1229
- type: "system";
1230
- }));
1231
- }, {
1232
- height: number;
1233
- width: number;
1234
- device: string | [string, string] | ({
1235
- name: string;
1236
- foreignRef: string;
1237
- provider: string;
1238
- providerMetadata: {} & {
1239
- [k: string]: unknown;
1240
- };
1241
- } & ({
1242
- type: "alarm";
1243
- } | {
1244
- type: "camera";
1245
- streams: {
1246
- id: string;
1247
- displayName: string;
1248
- externalPlayerUrl: string | null;
1249
- }[];
1250
- lensType: "flat" | "fisheye";
1251
- mountPoint: "wall" | "ceiling" | "floor";
1252
- ptzCapable: boolean;
1253
- ptzPanSpeed: number;
1254
- ptzTiltSpeed: number;
1255
- ptzZoomSpeed: number;
1256
- panMin: number;
1257
- panMax: number;
1258
- tiltMin: number;
1259
- tiltMax: number;
1260
- zoomMin: number;
1261
- zoomMax: number;
1262
- recordingCapable: boolean;
1263
- webrtcPlaybackSource: ({
1264
- kind: string;
1265
- } & Record<string, unknown>) | null;
1266
- defaultStreamId: string;
1267
- } | {
1268
- type: "door";
1269
- canReportOpenState: boolean;
1270
- canReportLockState: boolean;
1271
- canControlLock: boolean;
1272
- canRelease: boolean;
1273
- } | {
1274
- type: "io-board";
1275
- inputs: string[];
1276
- outputs: string[];
1277
- } | {
1278
- type: "camera-lift";
1279
- } | {
1280
- type: "motion-sensor";
1281
- } | {
1282
- type: "panic-button";
1283
- } | {
1284
- type: "intercom-terminal";
1285
- sipUri: string;
1286
- sipUser: string;
1287
- sipPassword: string;
1288
- sipRealm: string;
1289
- remoteExtension: string;
1290
- } | {
1291
- type: "pbx";
1292
- sipWsUrl: string;
1293
- } | {
1294
- type: "server";
1295
- } | {
1296
- type: "intercom-operator";
1297
- } | {
1298
- type: "device-gateway";
1299
- } | {
1300
- type: "presence-tracker";
1301
- } | {
1302
- type: "reader";
1303
- } | {
1304
- type: "display";
1305
- } | {
1306
- type: "nvr-recorder";
1307
- } | {
1308
- type: "nvr-exporter";
1309
- } | {
1310
- type: "nvr-analytics-server";
1311
- } | {
1312
- type: "system";
1313
- }));
1314
- }>;
1315
- export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
1316
- mimeType: z.ZodString;
1317
- data: z.ZodString;
1318
- }, "strip", z.ZodTypeAny, {
1319
- data: string;
1320
- mimeType: string;
1321
- }, {
1322
- data: string;
1323
- mimeType: string;
1324
- }>>;
1325
- export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
1326
- export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
1327
- export declare const nvrRecorderRequestSchemas: {
1328
- readonly "cctv:recordings-by-time-range": z.ZodObject<{
1329
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
1330
- name: z.ZodString;
1331
- foreignRef: z.ZodString;
1332
- provider: z.ZodString;
1333
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1334
- }, "strip", z.ZodTypeAny, {
1335
- name: string;
1336
- foreignRef: string;
1337
- provider: string;
1338
- providerMetadata: {} & {
1339
- [k: string]: unknown;
1340
- };
1341
- }, {
1342
- name: string;
1343
- foreignRef: string;
1344
- provider: string;
1345
- providerMetadata: {} & {
1346
- [k: string]: unknown;
1347
- };
1348
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1349
- type: z.ZodLiteral<"alarm">;
1350
- }, "strip", z.ZodTypeAny, {
1351
- type: "alarm";
1352
- }, {
1353
- type: "alarm";
1354
- }>, z.ZodObject<{
1355
- lensType: z.ZodEnum<["flat", "fisheye"]>;
1356
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
1357
- ptzCapable: z.ZodBoolean;
1358
- ptzPanSpeed: z.ZodNumber;
1359
- ptzTiltSpeed: z.ZodNumber;
1360
- ptzZoomSpeed: z.ZodNumber;
1361
- panMin: z.ZodNumber;
1362
- panMax: z.ZodNumber;
1363
- tiltMin: z.ZodNumber;
1364
- tiltMax: z.ZodNumber;
1365
- zoomMin: z.ZodNumber;
1366
- zoomMax: z.ZodNumber;
1367
- recordingCapable: z.ZodBoolean;
1368
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
1369
- kind: z.ZodString;
1370
- }, "strip", z.ZodTypeAny, {
1371
- kind: string;
1372
- }, {
1373
- kind: string;
1374
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1375
- streams: z.ZodArray<z.ZodObject<{
1376
- id: z.ZodString;
1377
- displayName: z.ZodString;
1378
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
1379
- }, "strip", z.ZodTypeAny, {
1380
- id: string;
1381
- displayName: string;
1382
- externalPlayerUrl: string | null;
1383
- }, {
1384
- id: string;
1385
- displayName: string;
1386
- externalPlayerUrl: string | null;
1387
- }>, "many">;
1388
- defaultStreamId: z.ZodString;
1389
- } & {
1390
- type: z.ZodLiteral<"camera">;
1391
- }, "strip", z.ZodTypeAny, {
1392
- type: "camera";
1393
- streams: {
1394
- id: string;
1395
- displayName: string;
1396
- externalPlayerUrl: string | null;
1397
- }[];
1398
- lensType: "flat" | "fisheye";
1399
- mountPoint: "wall" | "ceiling" | "floor";
1400
- ptzCapable: boolean;
1401
- ptzPanSpeed: number;
1402
- ptzTiltSpeed: number;
1403
- ptzZoomSpeed: number;
1404
- panMin: number;
1405
- panMax: number;
1406
- tiltMin: number;
1407
- tiltMax: number;
1408
- zoomMin: number;
1409
- zoomMax: number;
1410
- recordingCapable: boolean;
1411
- webrtcPlaybackSource: ({
1412
- kind: string;
1413
- } & Record<string, unknown>) | null;
1414
- defaultStreamId: string;
1415
- }, {
1416
- type: "camera";
1417
- streams: {
1418
- id: string;
1419
- displayName: string;
1420
- externalPlayerUrl: string | null;
1421
- }[];
1422
- lensType: "flat" | "fisheye";
1423
- mountPoint: "wall" | "ceiling" | "floor";
1424
- ptzCapable: boolean;
1425
- ptzPanSpeed: number;
1426
- ptzTiltSpeed: number;
1427
- ptzZoomSpeed: number;
1428
- panMin: number;
1429
- panMax: number;
1430
- tiltMin: number;
1431
- tiltMax: number;
1432
- zoomMin: number;
1433
- zoomMax: number;
1434
- recordingCapable: boolean;
1435
- webrtcPlaybackSource: ({
1436
- kind: string;
1437
- } & Record<string, unknown>) | null;
1438
- defaultStreamId: string;
1439
- }>, z.ZodObject<{
1440
- canReportOpenState: z.ZodBoolean;
1441
- canReportLockState: z.ZodBoolean;
1442
- canControlLock: z.ZodBoolean;
1443
- canRelease: z.ZodBoolean;
1444
- } & {
1445
- type: z.ZodLiteral<"door">;
1446
- }, "strip", z.ZodTypeAny, {
1447
- type: "door";
1448
- canReportOpenState: boolean;
1449
- canReportLockState: boolean;
1450
- canControlLock: boolean;
1451
- canRelease: boolean;
1452
- }, {
1453
- type: "door";
1454
- canReportOpenState: boolean;
1455
- canReportLockState: boolean;
1456
- canControlLock: boolean;
1457
- canRelease: boolean;
1458
- }>, z.ZodObject<{
1459
- inputs: z.ZodArray<z.ZodString, "many">;
1460
- outputs: z.ZodArray<z.ZodString, "many">;
1461
- } & {
1462
- type: z.ZodLiteral<"io-board">;
1463
- }, "strip", z.ZodTypeAny, {
1464
- type: "io-board";
1465
- inputs: string[];
1466
- outputs: string[];
1467
- }, {
1468
- type: "io-board";
1469
- inputs: string[];
1470
- outputs: string[];
1471
- }>, z.ZodObject<{
1472
- type: z.ZodLiteral<"camera-lift">;
1473
- }, "strip", z.ZodTypeAny, {
1474
- type: "camera-lift";
1475
- }, {
1476
- type: "camera-lift";
1477
- }>, z.ZodObject<{
1478
- type: z.ZodLiteral<"motion-sensor">;
1479
- }, "strip", z.ZodTypeAny, {
1480
- type: "motion-sensor";
1481
- }, {
1482
- type: "motion-sensor";
1483
- }>, z.ZodObject<{
1484
- type: z.ZodLiteral<"panic-button">;
1485
- }, "strip", z.ZodTypeAny, {
1486
- type: "panic-button";
1487
- }, {
1488
- type: "panic-button";
1489
- }>, z.ZodObject<{
1490
- sipUri: z.ZodString;
1491
- sipUser: z.ZodString;
1492
- sipPassword: z.ZodString;
1493
- sipRealm: z.ZodString;
1494
- remoteExtension: z.ZodString;
1495
- } & {
1496
- type: z.ZodLiteral<"intercom-terminal">;
1497
- }, "strip", z.ZodTypeAny, {
1498
- type: "intercom-terminal";
1499
- sipUri: string;
1500
- sipUser: string;
1501
- sipPassword: string;
1502
- sipRealm: string;
1503
- remoteExtension: string;
1504
- }, {
1505
- type: "intercom-terminal";
1506
- sipUri: string;
1507
- sipUser: string;
1508
- sipPassword: string;
1509
- sipRealm: string;
1510
- remoteExtension: string;
1511
- }>, z.ZodObject<{
1512
- sipWsUrl: z.ZodString;
1513
- } & {
1514
- type: z.ZodLiteral<"pbx">;
1515
- }, "strip", z.ZodTypeAny, {
1516
- type: "pbx";
1517
- sipWsUrl: string;
1518
- }, {
1519
- type: "pbx";
1520
- sipWsUrl: string;
1521
- }>, z.ZodObject<{
1522
- type: z.ZodLiteral<"server">;
1523
- }, "strip", z.ZodTypeAny, {
1524
- type: "server";
1525
- }, {
1526
- type: "server";
1527
- }>, z.ZodObject<{
1528
- type: z.ZodLiteral<"intercom-operator">;
1529
- }, "strip", z.ZodTypeAny, {
1530
- type: "intercom-operator";
1531
- }, {
1532
- type: "intercom-operator";
1533
- }>, z.ZodObject<{
1534
- type: z.ZodLiteral<"device-gateway">;
1535
- }, "strip", z.ZodTypeAny, {
1536
- type: "device-gateway";
1537
- }, {
1538
- type: "device-gateway";
1539
- }>, z.ZodObject<{
1540
- type: z.ZodLiteral<"presence-tracker">;
1541
- }, "strip", z.ZodTypeAny, {
1542
- type: "presence-tracker";
1543
- }, {
1544
- type: "presence-tracker";
1545
- }>, z.ZodObject<{
1546
- type: z.ZodLiteral<"reader">;
1547
- }, "strip", z.ZodTypeAny, {
1548
- type: "reader";
1549
- }, {
1550
- type: "reader";
1551
- }>, z.ZodObject<{
1552
- type: z.ZodLiteral<"display">;
1553
- }, "strip", z.ZodTypeAny, {
1554
- type: "display";
1555
- }, {
1556
- type: "display";
1557
- }>, z.ZodObject<{
1558
- type: z.ZodLiteral<"nvr-recorder">;
1559
- }, "strip", z.ZodTypeAny, {
1560
- type: "nvr-recorder";
1561
- }, {
1562
- type: "nvr-recorder";
1563
- }>, z.ZodObject<{
1564
- type: z.ZodLiteral<"nvr-exporter">;
1565
- }, "strip", z.ZodTypeAny, {
1566
- type: "nvr-exporter";
1567
- }, {
1568
- type: "nvr-exporter";
1569
- }>, z.ZodObject<{
1570
- type: z.ZodLiteral<"nvr-analytics-server">;
1571
- }, "strip", z.ZodTypeAny, {
1572
- type: "nvr-analytics-server";
1573
- }, {
1574
- type: "nvr-analytics-server";
1575
- }>, z.ZodObject<{
1576
- type: z.ZodLiteral<"system">;
1577
- }, "strip", z.ZodTypeAny, {
1578
- type: "system";
1579
- }, {
1580
- type: "system";
1581
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1582
- timeFrom: z.ZodNumber;
1583
- timeTo: z.ZodNumber;
1584
- }, "strip", z.ZodTypeAny, {
1585
- device: string | [string, string] | ({
1586
- name: string;
1587
- foreignRef: string;
1588
- provider: string;
1589
- providerMetadata: {} & {
1590
- [k: string]: unknown;
1591
- };
1592
- } & ({
1593
- type: "alarm";
1594
- } | {
1595
- type: "camera";
1596
- streams: {
1597
- id: string;
1598
- displayName: string;
1599
- externalPlayerUrl: string | null;
1600
- }[];
1601
- lensType: "flat" | "fisheye";
1602
- mountPoint: "wall" | "ceiling" | "floor";
1603
- ptzCapable: boolean;
1604
- ptzPanSpeed: number;
1605
- ptzTiltSpeed: number;
1606
- ptzZoomSpeed: number;
1607
- panMin: number;
1608
- panMax: number;
1609
- tiltMin: number;
1610
- tiltMax: number;
1611
- zoomMin: number;
1612
- zoomMax: number;
1613
- recordingCapable: boolean;
1614
- webrtcPlaybackSource: ({
1615
- kind: string;
1616
- } & Record<string, unknown>) | null;
1617
- defaultStreamId: string;
1618
- } | {
1619
- type: "door";
1620
- canReportOpenState: boolean;
1621
- canReportLockState: boolean;
1622
- canControlLock: boolean;
1623
- canRelease: boolean;
1624
- } | {
1625
- type: "io-board";
1626
- inputs: string[];
1627
- outputs: string[];
1628
- } | {
1629
- type: "camera-lift";
1630
- } | {
1631
- type: "motion-sensor";
1632
- } | {
1633
- type: "panic-button";
1634
- } | {
1635
- type: "intercom-terminal";
1636
- sipUri: string;
1637
- sipUser: string;
1638
- sipPassword: string;
1639
- sipRealm: string;
1640
- remoteExtension: string;
1641
- } | {
1642
- type: "pbx";
1643
- sipWsUrl: string;
1644
- } | {
1645
- type: "server";
1646
- } | {
1647
- type: "intercom-operator";
1648
- } | {
1649
- type: "device-gateway";
1650
- } | {
1651
- type: "presence-tracker";
1652
- } | {
1653
- type: "reader";
1654
- } | {
1655
- type: "display";
1656
- } | {
1657
- type: "nvr-recorder";
1658
- } | {
1659
- type: "nvr-exporter";
1660
- } | {
1661
- type: "nvr-analytics-server";
1662
- } | {
1663
- type: "system";
1664
- }));
1665
- timeFrom: number;
1666
- timeTo: number;
1667
- }, {
1668
- device: string | [string, string] | ({
1669
- name: string;
1670
- foreignRef: string;
1671
- provider: string;
1672
- providerMetadata: {} & {
1673
- [k: string]: unknown;
1674
- };
1675
- } & ({
1676
- type: "alarm";
1677
- } | {
1678
- type: "camera";
1679
- streams: {
1680
- id: string;
1681
- displayName: string;
1682
- externalPlayerUrl: string | null;
1683
- }[];
1684
- lensType: "flat" | "fisheye";
1685
- mountPoint: "wall" | "ceiling" | "floor";
1686
- ptzCapable: boolean;
1687
- ptzPanSpeed: number;
1688
- ptzTiltSpeed: number;
1689
- ptzZoomSpeed: number;
1690
- panMin: number;
1691
- panMax: number;
1692
- tiltMin: number;
1693
- tiltMax: number;
1694
- zoomMin: number;
1695
- zoomMax: number;
1696
- recordingCapable: boolean;
1697
- webrtcPlaybackSource: ({
1698
- kind: string;
1699
- } & Record<string, unknown>) | null;
1700
- defaultStreamId: string;
1701
- } | {
1702
- type: "door";
1703
- canReportOpenState: boolean;
1704
- canReportLockState: boolean;
1705
- canControlLock: boolean;
1706
- canRelease: boolean;
1707
- } | {
1708
- type: "io-board";
1709
- inputs: string[];
1710
- outputs: string[];
1711
- } | {
1712
- type: "camera-lift";
1713
- } | {
1714
- type: "motion-sensor";
1715
- } | {
1716
- type: "panic-button";
1717
- } | {
1718
- type: "intercom-terminal";
1719
- sipUri: string;
1720
- sipUser: string;
1721
- sipPassword: string;
1722
- sipRealm: string;
1723
- remoteExtension: string;
1724
- } | {
1725
- type: "pbx";
1726
- sipWsUrl: string;
1727
- } | {
1728
- type: "server";
1729
- } | {
1730
- type: "intercom-operator";
1731
- } | {
1732
- type: "device-gateway";
1733
- } | {
1734
- type: "presence-tracker";
1735
- } | {
1736
- type: "reader";
1737
- } | {
1738
- type: "display";
1739
- } | {
1740
- type: "nvr-recorder";
1741
- } | {
1742
- type: "nvr-exporter";
1743
- } | {
1744
- type: "nvr-analytics-server";
1745
- } | {
1746
- type: "system";
1747
- }));
1748
- timeFrom: number;
1749
- timeTo: number;
1750
- }>;
1751
- readonly "cctv:preview-image": z.ZodObject<{
1752
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
1753
- name: z.ZodString;
1754
- foreignRef: z.ZodString;
1755
- provider: z.ZodString;
1756
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1757
- }, "strip", z.ZodTypeAny, {
1758
- name: string;
1759
- foreignRef: string;
1760
- provider: string;
1761
- providerMetadata: {} & {
1762
- [k: string]: unknown;
1763
- };
1764
- }, {
1765
- name: string;
1766
- foreignRef: string;
1767
- provider: string;
1768
- providerMetadata: {} & {
1769
- [k: string]: unknown;
1770
- };
1771
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1772
- type: z.ZodLiteral<"alarm">;
1773
- }, "strip", z.ZodTypeAny, {
1774
- type: "alarm";
1775
- }, {
1776
- type: "alarm";
1777
- }>, z.ZodObject<{
1778
- lensType: z.ZodEnum<["flat", "fisheye"]>;
1779
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
1780
- ptzCapable: z.ZodBoolean;
1781
- ptzPanSpeed: z.ZodNumber;
1782
- ptzTiltSpeed: z.ZodNumber;
1783
- ptzZoomSpeed: z.ZodNumber;
1784
- panMin: z.ZodNumber;
1785
- panMax: z.ZodNumber;
1786
- tiltMin: z.ZodNumber;
1787
- tiltMax: z.ZodNumber;
1788
- zoomMin: z.ZodNumber;
1789
- zoomMax: z.ZodNumber;
1790
- recordingCapable: z.ZodBoolean;
1791
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
1792
- kind: z.ZodString;
1793
- }, "strip", z.ZodTypeAny, {
1794
- kind: string;
1795
- }, {
1796
- kind: string;
1797
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1798
- streams: z.ZodArray<z.ZodObject<{
1799
- id: z.ZodString;
1800
- displayName: z.ZodString;
1801
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
1802
- }, "strip", z.ZodTypeAny, {
1803
- id: string;
1804
- displayName: string;
1805
- externalPlayerUrl: string | null;
1806
- }, {
1807
- id: string;
1808
- displayName: string;
1809
- externalPlayerUrl: string | null;
1810
- }>, "many">;
1811
- defaultStreamId: z.ZodString;
1812
- } & {
1813
- type: z.ZodLiteral<"camera">;
1814
- }, "strip", z.ZodTypeAny, {
1815
- type: "camera";
1816
- streams: {
1817
- id: string;
1818
- displayName: string;
1819
- externalPlayerUrl: string | null;
1820
- }[];
1821
- lensType: "flat" | "fisheye";
1822
- mountPoint: "wall" | "ceiling" | "floor";
1823
- ptzCapable: boolean;
1824
- ptzPanSpeed: number;
1825
- ptzTiltSpeed: number;
1826
- ptzZoomSpeed: number;
1827
- panMin: number;
1828
- panMax: number;
1829
- tiltMin: number;
1830
- tiltMax: number;
1831
- zoomMin: number;
1832
- zoomMax: number;
1833
- recordingCapable: boolean;
1834
- webrtcPlaybackSource: ({
1835
- kind: string;
1836
- } & Record<string, unknown>) | null;
1837
- defaultStreamId: string;
1838
- }, {
1839
- type: "camera";
1840
- streams: {
1841
- id: string;
1842
- displayName: string;
1843
- externalPlayerUrl: string | null;
1844
- }[];
1845
- lensType: "flat" | "fisheye";
1846
- mountPoint: "wall" | "ceiling" | "floor";
1847
- ptzCapable: boolean;
1848
- ptzPanSpeed: number;
1849
- ptzTiltSpeed: number;
1850
- ptzZoomSpeed: number;
1851
- panMin: number;
1852
- panMax: number;
1853
- tiltMin: number;
1854
- tiltMax: number;
1855
- zoomMin: number;
1856
- zoomMax: number;
1857
- recordingCapable: boolean;
1858
- webrtcPlaybackSource: ({
1859
- kind: string;
1860
- } & Record<string, unknown>) | null;
1861
- defaultStreamId: string;
1862
- }>, z.ZodObject<{
1863
- canReportOpenState: z.ZodBoolean;
1864
- canReportLockState: z.ZodBoolean;
1865
- canControlLock: z.ZodBoolean;
1866
- canRelease: z.ZodBoolean;
1867
- } & {
1868
- type: z.ZodLiteral<"door">;
1869
- }, "strip", z.ZodTypeAny, {
1870
- type: "door";
1871
- canReportOpenState: boolean;
1872
- canReportLockState: boolean;
1873
- canControlLock: boolean;
1874
- canRelease: boolean;
1875
- }, {
1876
- type: "door";
1877
- canReportOpenState: boolean;
1878
- canReportLockState: boolean;
1879
- canControlLock: boolean;
1880
- canRelease: boolean;
1881
- }>, z.ZodObject<{
1882
- inputs: z.ZodArray<z.ZodString, "many">;
1883
- outputs: z.ZodArray<z.ZodString, "many">;
1884
- } & {
1885
- type: z.ZodLiteral<"io-board">;
1886
- }, "strip", z.ZodTypeAny, {
1887
- type: "io-board";
1888
- inputs: string[];
1889
- outputs: string[];
1890
- }, {
1891
- type: "io-board";
1892
- inputs: string[];
1893
- outputs: string[];
1894
- }>, z.ZodObject<{
1895
- type: z.ZodLiteral<"camera-lift">;
1896
- }, "strip", z.ZodTypeAny, {
1897
- type: "camera-lift";
1898
- }, {
1899
- type: "camera-lift";
1900
- }>, z.ZodObject<{
1901
- type: z.ZodLiteral<"motion-sensor">;
1902
- }, "strip", z.ZodTypeAny, {
1903
- type: "motion-sensor";
1904
- }, {
1905
- type: "motion-sensor";
1906
- }>, z.ZodObject<{
1907
- type: z.ZodLiteral<"panic-button">;
1908
- }, "strip", z.ZodTypeAny, {
1909
- type: "panic-button";
1910
- }, {
1911
- type: "panic-button";
1912
- }>, z.ZodObject<{
1913
- sipUri: z.ZodString;
1914
- sipUser: z.ZodString;
1915
- sipPassword: z.ZodString;
1916
- sipRealm: z.ZodString;
1917
- remoteExtension: z.ZodString;
1918
- } & {
1919
- type: z.ZodLiteral<"intercom-terminal">;
1920
- }, "strip", z.ZodTypeAny, {
1921
- type: "intercom-terminal";
1922
- sipUri: string;
1923
- sipUser: string;
1924
- sipPassword: string;
1925
- sipRealm: string;
1926
- remoteExtension: string;
1927
- }, {
1928
- type: "intercom-terminal";
1929
- sipUri: string;
1930
- sipUser: string;
1931
- sipPassword: string;
1932
- sipRealm: string;
1933
- remoteExtension: string;
1934
- }>, z.ZodObject<{
1935
- sipWsUrl: z.ZodString;
1936
- } & {
1937
- type: z.ZodLiteral<"pbx">;
1938
- }, "strip", z.ZodTypeAny, {
1939
- type: "pbx";
1940
- sipWsUrl: string;
1941
- }, {
1942
- type: "pbx";
1943
- sipWsUrl: string;
1944
- }>, z.ZodObject<{
1945
- type: z.ZodLiteral<"server">;
1946
- }, "strip", z.ZodTypeAny, {
1947
- type: "server";
1948
- }, {
1949
- type: "server";
1950
- }>, z.ZodObject<{
1951
- type: z.ZodLiteral<"intercom-operator">;
1952
- }, "strip", z.ZodTypeAny, {
1953
- type: "intercom-operator";
1954
- }, {
1955
- type: "intercom-operator";
1956
- }>, z.ZodObject<{
1957
- type: z.ZodLiteral<"device-gateway">;
1958
- }, "strip", z.ZodTypeAny, {
1959
- type: "device-gateway";
1960
- }, {
1961
- type: "device-gateway";
1962
- }>, z.ZodObject<{
1963
- type: z.ZodLiteral<"presence-tracker">;
1964
- }, "strip", z.ZodTypeAny, {
1965
- type: "presence-tracker";
1966
- }, {
1967
- type: "presence-tracker";
1968
- }>, z.ZodObject<{
1969
- type: z.ZodLiteral<"reader">;
1970
- }, "strip", z.ZodTypeAny, {
1971
- type: "reader";
1972
- }, {
1973
- type: "reader";
1974
- }>, z.ZodObject<{
1975
- type: z.ZodLiteral<"display">;
1976
- }, "strip", z.ZodTypeAny, {
1977
- type: "display";
1978
- }, {
1979
- type: "display";
1980
- }>, z.ZodObject<{
1981
- type: z.ZodLiteral<"nvr-recorder">;
1982
- }, "strip", z.ZodTypeAny, {
1983
- type: "nvr-recorder";
1984
- }, {
1985
- type: "nvr-recorder";
1986
- }>, z.ZodObject<{
1987
- type: z.ZodLiteral<"nvr-exporter">;
1988
- }, "strip", z.ZodTypeAny, {
1989
- type: "nvr-exporter";
1990
- }, {
1991
- type: "nvr-exporter";
1992
- }>, z.ZodObject<{
1993
- type: z.ZodLiteral<"nvr-analytics-server">;
1994
- }, "strip", z.ZodTypeAny, {
1995
- type: "nvr-analytics-server";
1996
- }, {
1997
- type: "nvr-analytics-server";
1998
- }>, z.ZodObject<{
1999
- type: z.ZodLiteral<"system">;
2000
- }, "strip", z.ZodTypeAny, {
2001
- type: "system";
2002
- }, {
2003
- type: "system";
2004
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
2005
- time: z.ZodNumber;
2006
- height: z.ZodNumber;
2007
- }, "strip", z.ZodTypeAny, {
2008
- time: number;
2009
- height: number;
2010
- device: string | [string, string] | ({
2011
- name: string;
2012
- foreignRef: string;
2013
- provider: string;
2014
- providerMetadata: {} & {
2015
- [k: string]: unknown;
2016
- };
2017
- } & ({
2018
- type: "alarm";
2019
- } | {
2020
- type: "camera";
2021
- streams: {
2022
- id: string;
2023
- displayName: string;
2024
- externalPlayerUrl: string | null;
2025
- }[];
2026
- lensType: "flat" | "fisheye";
2027
- mountPoint: "wall" | "ceiling" | "floor";
2028
- ptzCapable: boolean;
2029
- ptzPanSpeed: number;
2030
- ptzTiltSpeed: number;
2031
- ptzZoomSpeed: number;
2032
- panMin: number;
2033
- panMax: number;
2034
- tiltMin: number;
2035
- tiltMax: number;
2036
- zoomMin: number;
2037
- zoomMax: number;
2038
- recordingCapable: boolean;
2039
- webrtcPlaybackSource: ({
2040
- kind: string;
2041
- } & Record<string, unknown>) | null;
2042
- defaultStreamId: string;
2043
- } | {
2044
- type: "door";
2045
- canReportOpenState: boolean;
2046
- canReportLockState: boolean;
2047
- canControlLock: boolean;
2048
- canRelease: boolean;
2049
- } | {
2050
- type: "io-board";
2051
- inputs: string[];
2052
- outputs: string[];
2053
- } | {
2054
- type: "camera-lift";
2055
- } | {
2056
- type: "motion-sensor";
2057
- } | {
2058
- type: "panic-button";
2059
- } | {
2060
- type: "intercom-terminal";
2061
- sipUri: string;
2062
- sipUser: string;
2063
- sipPassword: string;
2064
- sipRealm: string;
2065
- remoteExtension: string;
2066
- } | {
2067
- type: "pbx";
2068
- sipWsUrl: string;
2069
- } | {
2070
- type: "server";
2071
- } | {
2072
- type: "intercom-operator";
2073
- } | {
2074
- type: "device-gateway";
2075
- } | {
2076
- type: "presence-tracker";
2077
- } | {
2078
- type: "reader";
2079
- } | {
2080
- type: "display";
2081
- } | {
2082
- type: "nvr-recorder";
2083
- } | {
2084
- type: "nvr-exporter";
2085
- } | {
2086
- type: "nvr-analytics-server";
2087
- } | {
2088
- type: "system";
2089
- }));
2090
- }, {
2091
- time: number;
2092
- height: number;
2093
- device: string | [string, string] | ({
2094
- name: string;
2095
- foreignRef: string;
2096
- provider: string;
2097
- providerMetadata: {} & {
2098
- [k: string]: unknown;
2099
- };
2100
- } & ({
2101
- type: "alarm";
2102
- } | {
2103
- type: "camera";
2104
- streams: {
2105
- id: string;
2106
- displayName: string;
2107
- externalPlayerUrl: string | null;
2108
- }[];
2109
- lensType: "flat" | "fisheye";
2110
- mountPoint: "wall" | "ceiling" | "floor";
2111
- ptzCapable: boolean;
2112
- ptzPanSpeed: number;
2113
- ptzTiltSpeed: number;
2114
- ptzZoomSpeed: number;
2115
- panMin: number;
2116
- panMax: number;
2117
- tiltMin: number;
2118
- tiltMax: number;
2119
- zoomMin: number;
2120
- zoomMax: number;
2121
- recordingCapable: boolean;
2122
- webrtcPlaybackSource: ({
2123
- kind: string;
2124
- } & Record<string, unknown>) | null;
2125
- defaultStreamId: string;
2126
- } | {
2127
- type: "door";
2128
- canReportOpenState: boolean;
2129
- canReportLockState: boolean;
2130
- canControlLock: boolean;
2131
- canRelease: boolean;
2132
- } | {
2133
- type: "io-board";
2134
- inputs: string[];
2135
- outputs: string[];
2136
- } | {
2137
- type: "camera-lift";
2138
- } | {
2139
- type: "motion-sensor";
2140
- } | {
2141
- type: "panic-button";
2142
- } | {
2143
- type: "intercom-terminal";
2144
- sipUri: string;
2145
- sipUser: string;
2146
- sipPassword: string;
2147
- sipRealm: string;
2148
- remoteExtension: string;
2149
- } | {
2150
- type: "pbx";
2151
- sipWsUrl: string;
2152
- } | {
2153
- type: "server";
2154
- } | {
2155
- type: "intercom-operator";
2156
- } | {
2157
- type: "device-gateway";
2158
- } | {
2159
- type: "presence-tracker";
2160
- } | {
2161
- type: "reader";
2162
- } | {
2163
- type: "display";
2164
- } | {
2165
- type: "nvr-recorder";
2166
- } | {
2167
- type: "nvr-exporter";
2168
- } | {
2169
- type: "nvr-analytics-server";
2170
- } | {
2171
- type: "system";
2172
- }));
2173
- }>;
2174
- readonly "cctv:latest-frame": z.ZodObject<{
2175
- device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
2176
- name: z.ZodString;
2177
- foreignRef: z.ZodString;
2178
- provider: z.ZodString;
2179
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
2180
- }, "strip", z.ZodTypeAny, {
2181
- name: string;
2182
- foreignRef: string;
2183
- provider: string;
2184
- providerMetadata: {} & {
2185
- [k: string]: unknown;
2186
- };
2187
- }, {
2188
- name: string;
2189
- foreignRef: string;
2190
- provider: string;
2191
- providerMetadata: {} & {
2192
- [k: string]: unknown;
2193
- };
2194
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2195
- type: z.ZodLiteral<"alarm">;
2196
- }, "strip", z.ZodTypeAny, {
2197
- type: "alarm";
2198
- }, {
2199
- type: "alarm";
2200
- }>, z.ZodObject<{
2201
- lensType: z.ZodEnum<["flat", "fisheye"]>;
2202
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
2203
- ptzCapable: z.ZodBoolean;
2204
- ptzPanSpeed: z.ZodNumber;
2205
- ptzTiltSpeed: z.ZodNumber;
2206
- ptzZoomSpeed: z.ZodNumber;
2207
- panMin: z.ZodNumber;
2208
- panMax: z.ZodNumber;
2209
- tiltMin: z.ZodNumber;
2210
- tiltMax: z.ZodNumber;
2211
- zoomMin: z.ZodNumber;
2212
- zoomMax: z.ZodNumber;
2213
- recordingCapable: z.ZodBoolean;
2214
- webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
2215
- kind: z.ZodString;
2216
- }, "strip", z.ZodTypeAny, {
2217
- kind: string;
2218
- }, {
2219
- kind: string;
2220
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2221
- streams: z.ZodArray<z.ZodObject<{
2222
- id: z.ZodString;
2223
- displayName: z.ZodString;
2224
- externalPlayerUrl: z.ZodNullable<z.ZodString>;
2225
- }, "strip", z.ZodTypeAny, {
2226
- id: string;
2227
- displayName: string;
2228
- externalPlayerUrl: string | null;
2229
- }, {
2230
- id: string;
2231
- displayName: string;
2232
- externalPlayerUrl: string | null;
2233
- }>, "many">;
2234
- defaultStreamId: z.ZodString;
2235
- } & {
2236
- type: z.ZodLiteral<"camera">;
2237
- }, "strip", z.ZodTypeAny, {
2238
- type: "camera";
2239
- streams: {
2240
- id: string;
2241
- displayName: string;
2242
- externalPlayerUrl: string | null;
2243
- }[];
2244
- lensType: "flat" | "fisheye";
2245
- mountPoint: "wall" | "ceiling" | "floor";
2246
- ptzCapable: boolean;
2247
- ptzPanSpeed: number;
2248
- ptzTiltSpeed: number;
2249
- ptzZoomSpeed: number;
2250
- panMin: number;
2251
- panMax: number;
2252
- tiltMin: number;
2253
- tiltMax: number;
2254
- zoomMin: number;
2255
- zoomMax: number;
2256
- recordingCapable: boolean;
2257
- webrtcPlaybackSource: ({
2258
- kind: string;
2259
- } & Record<string, unknown>) | null;
2260
- defaultStreamId: string;
2261
- }, {
2262
- type: "camera";
2263
- streams: {
2264
- id: string;
2265
- displayName: string;
2266
- externalPlayerUrl: string | null;
2267
- }[];
2268
- lensType: "flat" | "fisheye";
2269
- mountPoint: "wall" | "ceiling" | "floor";
2270
- ptzCapable: boolean;
2271
- ptzPanSpeed: number;
2272
- ptzTiltSpeed: number;
2273
- ptzZoomSpeed: number;
2274
- panMin: number;
2275
- panMax: number;
2276
- tiltMin: number;
2277
- tiltMax: number;
2278
- zoomMin: number;
2279
- zoomMax: number;
2280
- recordingCapable: boolean;
2281
- webrtcPlaybackSource: ({
2282
- kind: string;
2283
- } & Record<string, unknown>) | null;
2284
- defaultStreamId: string;
2285
- }>, z.ZodObject<{
2286
- canReportOpenState: z.ZodBoolean;
2287
- canReportLockState: z.ZodBoolean;
2288
- canControlLock: z.ZodBoolean;
2289
- canRelease: z.ZodBoolean;
2290
- } & {
2291
- type: z.ZodLiteral<"door">;
2292
- }, "strip", z.ZodTypeAny, {
2293
- type: "door";
2294
- canReportOpenState: boolean;
2295
- canReportLockState: boolean;
2296
- canControlLock: boolean;
2297
- canRelease: boolean;
2298
- }, {
2299
- type: "door";
2300
- canReportOpenState: boolean;
2301
- canReportLockState: boolean;
2302
- canControlLock: boolean;
2303
- canRelease: boolean;
2304
- }>, z.ZodObject<{
2305
- inputs: z.ZodArray<z.ZodString, "many">;
2306
- outputs: z.ZodArray<z.ZodString, "many">;
2307
- } & {
2308
- type: z.ZodLiteral<"io-board">;
2309
- }, "strip", z.ZodTypeAny, {
2310
- type: "io-board";
2311
- inputs: string[];
2312
- outputs: string[];
2313
- }, {
2314
- type: "io-board";
2315
- inputs: string[];
2316
- outputs: string[];
2317
- }>, z.ZodObject<{
2318
- type: z.ZodLiteral<"camera-lift">;
2319
- }, "strip", z.ZodTypeAny, {
2320
- type: "camera-lift";
2321
- }, {
2322
- type: "camera-lift";
2323
- }>, z.ZodObject<{
2324
- type: z.ZodLiteral<"motion-sensor">;
2325
- }, "strip", z.ZodTypeAny, {
2326
- type: "motion-sensor";
2327
- }, {
2328
- type: "motion-sensor";
2329
- }>, z.ZodObject<{
2330
- type: z.ZodLiteral<"panic-button">;
2331
- }, "strip", z.ZodTypeAny, {
2332
- type: "panic-button";
2333
- }, {
2334
- type: "panic-button";
2335
- }>, z.ZodObject<{
2336
- sipUri: z.ZodString;
2337
- sipUser: z.ZodString;
2338
- sipPassword: z.ZodString;
2339
- sipRealm: z.ZodString;
2340
- remoteExtension: z.ZodString;
2341
- } & {
2342
- type: z.ZodLiteral<"intercom-terminal">;
2343
- }, "strip", z.ZodTypeAny, {
2344
- type: "intercom-terminal";
2345
- sipUri: string;
2346
- sipUser: string;
2347
- sipPassword: string;
2348
- sipRealm: string;
2349
- remoteExtension: string;
2350
- }, {
2351
- type: "intercom-terminal";
2352
- sipUri: string;
2353
- sipUser: string;
2354
- sipPassword: string;
2355
- sipRealm: string;
2356
- remoteExtension: string;
2357
- }>, z.ZodObject<{
2358
- sipWsUrl: z.ZodString;
2359
- } & {
2360
- type: z.ZodLiteral<"pbx">;
2361
- }, "strip", z.ZodTypeAny, {
2362
- type: "pbx";
2363
- sipWsUrl: string;
2364
- }, {
2365
- type: "pbx";
2366
- sipWsUrl: string;
2367
- }>, z.ZodObject<{
2368
- type: z.ZodLiteral<"server">;
2369
- }, "strip", z.ZodTypeAny, {
2370
- type: "server";
2371
- }, {
2372
- type: "server";
2373
- }>, z.ZodObject<{
2374
- type: z.ZodLiteral<"intercom-operator">;
2375
- }, "strip", z.ZodTypeAny, {
2376
- type: "intercom-operator";
2377
- }, {
2378
- type: "intercom-operator";
2379
- }>, z.ZodObject<{
2380
- type: z.ZodLiteral<"device-gateway">;
2381
- }, "strip", z.ZodTypeAny, {
2382
- type: "device-gateway";
2383
- }, {
2384
- type: "device-gateway";
2385
- }>, z.ZodObject<{
2386
- type: z.ZodLiteral<"presence-tracker">;
2387
- }, "strip", z.ZodTypeAny, {
2388
- type: "presence-tracker";
2389
- }, {
2390
- type: "presence-tracker";
2391
- }>, z.ZodObject<{
2392
- type: z.ZodLiteral<"reader">;
2393
- }, "strip", z.ZodTypeAny, {
2394
- type: "reader";
2395
- }, {
2396
- type: "reader";
2397
- }>, z.ZodObject<{
2398
- type: z.ZodLiteral<"display">;
2399
- }, "strip", z.ZodTypeAny, {
2400
- type: "display";
2401
- }, {
2402
- type: "display";
2403
- }>, z.ZodObject<{
2404
- type: z.ZodLiteral<"nvr-recorder">;
2405
- }, "strip", z.ZodTypeAny, {
2406
- type: "nvr-recorder";
2407
- }, {
2408
- type: "nvr-recorder";
2409
- }>, z.ZodObject<{
2410
- type: z.ZodLiteral<"nvr-exporter">;
2411
- }, "strip", z.ZodTypeAny, {
2412
- type: "nvr-exporter";
2413
- }, {
2414
- type: "nvr-exporter";
2415
- }>, z.ZodObject<{
2416
- type: z.ZodLiteral<"nvr-analytics-server">;
2417
- }, "strip", z.ZodTypeAny, {
2418
- type: "nvr-analytics-server";
2419
- }, {
2420
- type: "nvr-analytics-server";
2421
- }>, z.ZodObject<{
2422
- type: z.ZodLiteral<"system">;
2423
- }, "strip", z.ZodTypeAny, {
2424
- type: "system";
2425
- }, {
2426
- type: "system";
2427
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
2428
- width: z.ZodNumber;
2429
- height: z.ZodNumber;
2430
- }, "strip", z.ZodTypeAny, {
2431
- height: number;
2432
- width: number;
2433
- device: string | [string, string] | ({
2434
- name: string;
2435
- foreignRef: string;
2436
- provider: string;
2437
- providerMetadata: {} & {
2438
- [k: string]: unknown;
2439
- };
2440
- } & ({
2441
- type: "alarm";
2442
- } | {
2443
- type: "camera";
2444
- streams: {
2445
- id: string;
2446
- displayName: string;
2447
- externalPlayerUrl: string | null;
2448
- }[];
2449
- lensType: "flat" | "fisheye";
2450
- mountPoint: "wall" | "ceiling" | "floor";
2451
- ptzCapable: boolean;
2452
- ptzPanSpeed: number;
2453
- ptzTiltSpeed: number;
2454
- ptzZoomSpeed: number;
2455
- panMin: number;
2456
- panMax: number;
2457
- tiltMin: number;
2458
- tiltMax: number;
2459
- zoomMin: number;
2460
- zoomMax: number;
2461
- recordingCapable: boolean;
2462
- webrtcPlaybackSource: ({
2463
- kind: string;
2464
- } & Record<string, unknown>) | null;
2465
- defaultStreamId: string;
2466
- } | {
2467
- type: "door";
2468
- canReportOpenState: boolean;
2469
- canReportLockState: boolean;
2470
- canControlLock: boolean;
2471
- canRelease: boolean;
2472
- } | {
2473
- type: "io-board";
2474
- inputs: string[];
2475
- outputs: string[];
2476
- } | {
2477
- type: "camera-lift";
2478
- } | {
2479
- type: "motion-sensor";
2480
- } | {
2481
- type: "panic-button";
2482
- } | {
2483
- type: "intercom-terminal";
2484
- sipUri: string;
2485
- sipUser: string;
2486
- sipPassword: string;
2487
- sipRealm: string;
2488
- remoteExtension: string;
2489
- } | {
2490
- type: "pbx";
2491
- sipWsUrl: string;
2492
- } | {
2493
- type: "server";
2494
- } | {
2495
- type: "intercom-operator";
2496
- } | {
2497
- type: "device-gateway";
2498
- } | {
2499
- type: "presence-tracker";
2500
- } | {
2501
- type: "reader";
2502
- } | {
2503
- type: "display";
2504
- } | {
2505
- type: "nvr-recorder";
2506
- } | {
2507
- type: "nvr-exporter";
2508
- } | {
2509
- type: "nvr-analytics-server";
2510
- } | {
2511
- type: "system";
2512
- }));
2513
- }, {
2514
- height: number;
2515
- width: number;
2516
- device: string | [string, string] | ({
2517
- name: string;
2518
- foreignRef: string;
2519
- provider: string;
2520
- providerMetadata: {} & {
2521
- [k: string]: unknown;
2522
- };
2523
- } & ({
2524
- type: "alarm";
2525
- } | {
2526
- type: "camera";
2527
- streams: {
2528
- id: string;
2529
- displayName: string;
2530
- externalPlayerUrl: string | null;
2531
- }[];
2532
- lensType: "flat" | "fisheye";
2533
- mountPoint: "wall" | "ceiling" | "floor";
2534
- ptzCapable: boolean;
2535
- ptzPanSpeed: number;
2536
- ptzTiltSpeed: number;
2537
- ptzZoomSpeed: number;
2538
- panMin: number;
2539
- panMax: number;
2540
- tiltMin: number;
2541
- tiltMax: number;
2542
- zoomMin: number;
2543
- zoomMax: number;
2544
- recordingCapable: boolean;
2545
- webrtcPlaybackSource: ({
2546
- kind: string;
2547
- } & Record<string, unknown>) | null;
2548
- defaultStreamId: string;
2549
- } | {
2550
- type: "door";
2551
- canReportOpenState: boolean;
2552
- canReportLockState: boolean;
2553
- canControlLock: boolean;
2554
- canRelease: boolean;
2555
- } | {
2556
- type: "io-board";
2557
- inputs: string[];
2558
- outputs: string[];
2559
- } | {
2560
- type: "camera-lift";
2561
- } | {
2562
- type: "motion-sensor";
2563
- } | {
2564
- type: "panic-button";
2565
- } | {
2566
- type: "intercom-terminal";
2567
- sipUri: string;
2568
- sipUser: string;
2569
- sipPassword: string;
2570
- sipRealm: string;
2571
- remoteExtension: string;
2572
- } | {
2573
- type: "pbx";
2574
- sipWsUrl: string;
2575
- } | {
2576
- type: "server";
2577
- } | {
2578
- type: "intercom-operator";
2579
- } | {
2580
- type: "device-gateway";
2581
- } | {
2582
- type: "presence-tracker";
2583
- } | {
2584
- type: "reader";
2585
- } | {
2586
- type: "display";
2587
- } | {
2588
- type: "nvr-recorder";
2589
- } | {
2590
- type: "nvr-exporter";
2591
- } | {
2592
- type: "nvr-analytics-server";
2593
- } | {
2594
- type: "system";
2595
- }));
2596
- }>;
2597
- };
2598
- export declare const nvrRecorderResponseSchemas: {
2599
- readonly "cctv:recordings-by-time-range": z.ZodArray<z.ZodObject<{
2600
- start: z.ZodNumber;
2601
- end: z.ZodNumber;
2602
- motion: z.ZodOptional<z.ZodNumber>;
2603
- objects: z.ZodOptional<z.ZodNumber>;
2604
- }, "strip", z.ZodTypeAny, {
2605
- end: number;
2606
- start: number;
2607
- motion?: number | undefined;
2608
- objects?: number | undefined;
2609
- }, {
2610
- end: number;
2611
- start: number;
2612
- motion?: number | undefined;
2613
- objects?: number | undefined;
2614
- }>, "many">;
2615
- readonly "cctv:preview-image": z.ZodNullable<z.ZodObject<{
2616
- mimeType: z.ZodString;
2617
- data: z.ZodString;
2618
- }, "strip", z.ZodTypeAny, {
2619
- data: string;
2620
- mimeType: string;
2621
- }, {
2622
- data: string;
2623
- mimeType: string;
2624
- }>>;
2625
- readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
2626
- mimeType: z.ZodString;
2627
- data: z.ZodString;
2628
- }, "strip", z.ZodTypeAny, {
2629
- data: string;
2630
- mimeType: string;
2631
- }, {
2632
- data: string;
2633
- mimeType: string;
2634
- }>>;
2635
- };
2636
- export type NvrRecorderQueryRequestMap = {
2637
- [QUERY_RECORDINGS_BY_TIME_RANGE]: RecordingsByTimeRangeArgs;
2638
- [QUERY_PREVIEW_IMAGE]: PreviewImageArgs;
2639
- [QUERY_CAMERA_LATEST_FRAME]: CameraLatestFrameArgs;
2640
- };
2641
- export type NvrRecorderQueryResponseMap = {
2642
- [QUERY_RECORDINGS_BY_TIME_RANGE]: RecordingsResponse;
2643
- [QUERY_PREVIEW_IMAGE]: PreviewImageResponse;
2644
- [QUERY_CAMERA_LATEST_FRAME]: CameraLatestFrameResponse;
2645
- };