@awarevue/api-types 2.0.12 → 2.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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} +23 -25
  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 -200
  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 +20 -2
  114. package/dist/primitives.js +19 -3
  115. package/dist/{agent-communication/queries.d.ts → queries/all.d.ts} +24 -22
  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
@@ -104,497 +104,6 @@ export declare const sCameraSpecs: z.ZodObject<{
104
104
  }>;
105
105
  export type WebRtcPlaybackSource = z.infer<typeof sWebRtcPlaybackSource>;
106
106
  export type CameraSpecs = z.infer<typeof sCameraSpecs>;
107
- export declare const isPtzParams: (params: any) => params is {
108
- pan: number;
109
- tilt: number;
110
- zoom: number;
111
- };
112
- export declare const sCameraPresetInfo: z.ZodObject<{
113
- name: z.ZodString;
114
- isDefault: z.ZodBoolean;
115
- values: z.ZodUnknown;
116
- }, "strip", z.ZodTypeAny, {
117
- name: string;
118
- isDefault: boolean;
119
- values?: unknown;
120
- }, {
121
- name: string;
122
- isDefault: boolean;
123
- values?: unknown;
124
- }>;
125
- export type CameraPresetInfo = z.infer<typeof sCameraPresetInfo>;
126
- export declare const sCameraPresetSaveCommand: z.ZodObject<{
127
- command: z.ZodLiteral<"camera.preset-save">;
128
- params: z.ZodObject<{
129
- presetId: z.ZodString;
130
- presetInfo: z.ZodObject<{
131
- name: z.ZodString;
132
- isDefault: z.ZodBoolean;
133
- values: z.ZodUnknown;
134
- }, "strip", z.ZodTypeAny, {
135
- name: string;
136
- isDefault: boolean;
137
- values?: unknown;
138
- }, {
139
- name: string;
140
- isDefault: boolean;
141
- values?: unknown;
142
- }>;
143
- }, "strip", z.ZodTypeAny, {
144
- presetId: string;
145
- presetInfo: {
146
- name: string;
147
- isDefault: boolean;
148
- values?: unknown;
149
- };
150
- }, {
151
- presetId: string;
152
- presetInfo: {
153
- name: string;
154
- isDefault: boolean;
155
- values?: unknown;
156
- };
157
- }>;
158
- }, "strip", z.ZodTypeAny, {
159
- params: {
160
- presetId: string;
161
- presetInfo: {
162
- name: string;
163
- isDefault: boolean;
164
- values?: unknown;
165
- };
166
- };
167
- command: "camera.preset-save";
168
- }, {
169
- params: {
170
- presetId: string;
171
- presetInfo: {
172
- name: string;
173
- isDefault: boolean;
174
- values?: unknown;
175
- };
176
- };
177
- command: "camera.preset-save";
178
- }>;
179
- export type CameraPresetSaveCommand = z.infer<typeof sCameraPresetSaveCommand>;
180
- export declare const sCameraPresetActivateCommand: z.ZodObject<{
181
- command: z.ZodLiteral<"camera.preset-activate">;
182
- params: z.ZodObject<{
183
- presetId: z.ZodString;
184
- }, "strip", z.ZodTypeAny, {
185
- presetId: string;
186
- }, {
187
- presetId: string;
188
- }>;
189
- }, "strip", z.ZodTypeAny, {
190
- params: {
191
- presetId: string;
192
- };
193
- command: "camera.preset-activate";
194
- }, {
195
- params: {
196
- presetId: string;
197
- };
198
- command: "camera.preset-activate";
199
- }>;
200
- export type CameraPresetActivateCommand = z.infer<typeof sCameraPresetActivateCommand>;
201
- export declare const sCameraPresetDeleteCommand: z.ZodObject<{
202
- command: z.ZodLiteral<"camera.preset-delete">;
203
- params: z.ZodObject<{
204
- presetId: z.ZodString;
205
- assignedRef: z.ZodNullable<z.ZodString>;
206
- }, "strip", z.ZodTypeAny, {
207
- presetId: string;
208
- assignedRef: string | null;
209
- }, {
210
- presetId: string;
211
- assignedRef: string | null;
212
- }>;
213
- }, "strip", z.ZodTypeAny, {
214
- params: {
215
- presetId: string;
216
- assignedRef: string | null;
217
- };
218
- command: "camera.preset-delete";
219
- }, {
220
- params: {
221
- presetId: string;
222
- assignedRef: string | null;
223
- };
224
- command: "camera.preset-delete";
225
- }>;
226
- export type CameraPresetDeleteCommand = z.infer<typeof sCameraPresetDeleteCommand>;
227
- export declare const sCameraPtzSetCommand: z.ZodObject<{
228
- command: z.ZodLiteral<"camera.ptz-set">;
229
- params: z.ZodObject<{
230
- pan: z.ZodNumber;
231
- tilt: z.ZodNumber;
232
- zoom: z.ZodNumber;
233
- }, "strip", z.ZodTypeAny, {
234
- pan: number;
235
- zoom: number;
236
- tilt: number;
237
- }, {
238
- pan: number;
239
- zoom: number;
240
- tilt: number;
241
- }>;
242
- }, "strip", z.ZodTypeAny, {
243
- params: {
244
- pan: number;
245
- zoom: number;
246
- tilt: number;
247
- };
248
- command: "camera.ptz-set";
249
- }, {
250
- params: {
251
- pan: number;
252
- zoom: number;
253
- tilt: number;
254
- };
255
- command: "camera.ptz-set";
256
- }>;
257
- export type CameraPtzSetCommand = z.infer<typeof sCameraPtzSetCommand>;
258
- export declare const sPtzDirection: z.ZodEnum<["Up", "Down", "Left", "Right", "ZoomIn", "ZoomOut", "UpLeft", "UpRight", "DownLeft", "DownRight"]>;
259
- export type PtzDirection = z.infer<typeof sPtzDirection>;
260
- export declare const sCameraPtzMoveCommand: z.ZodObject<{
261
- command: z.ZodLiteral<"camera.ptz-move">;
262
- params: z.ZodObject<{
263
- direction: z.ZodEnum<["Up", "Down", "Left", "Right", "ZoomIn", "ZoomOut", "UpLeft", "UpRight", "DownLeft", "DownRight"]>;
264
- }, "strip", z.ZodTypeAny, {
265
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
266
- }, {
267
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
268
- }>;
269
- }, "strip", z.ZodTypeAny, {
270
- params: {
271
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
272
- };
273
- command: "camera.ptz-move";
274
- }, {
275
- params: {
276
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
277
- };
278
- command: "camera.ptz-move";
279
- }>;
280
- export type CameraPtzMoveCommand = z.infer<typeof sCameraPtzMoveCommand>;
281
- export declare const sCameraPtzBeginMoveCommand: z.ZodObject<{
282
- command: z.ZodLiteral<"camera.ptz-begin-move">;
283
- params: z.ZodObject<{
284
- pan: z.ZodNumber;
285
- tilt: z.ZodNumber;
286
- zoom: z.ZodNumber;
287
- }, "strip", z.ZodTypeAny, {
288
- pan: number;
289
- zoom: number;
290
- tilt: number;
291
- }, {
292
- pan: number;
293
- zoom: number;
294
- tilt: number;
295
- }>;
296
- }, "strip", z.ZodTypeAny, {
297
- params: {
298
- pan: number;
299
- zoom: number;
300
- tilt: number;
301
- };
302
- command: "camera.ptz-begin-move";
303
- }, {
304
- params: {
305
- pan: number;
306
- zoom: number;
307
- tilt: number;
308
- };
309
- command: "camera.ptz-begin-move";
310
- }>;
311
- export type CameraPtzBeginMoveCommand = z.infer<typeof sCameraPtzBeginMoveCommand>;
312
- export declare const sCameraPtzEndMoveCommand: z.ZodObject<{
313
- command: z.ZodLiteral<"camera.ptz-end-move">;
314
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
315
- }, "strip", z.ZodTypeAny, {
316
- params: {};
317
- command: "camera.ptz-end-move";
318
- }, {
319
- params: {};
320
- command: "camera.ptz-end-move";
321
- }>;
322
- export type CameraPtzEndMoveCommand = z.infer<typeof sCameraPtzEndMoveCommand>;
323
- export declare const sCameraEnableCommand: z.ZodObject<{
324
- command: z.ZodLiteral<"camera.enable">;
325
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
326
- }, "strip", z.ZodTypeAny, {
327
- params: {};
328
- command: "camera.enable";
329
- }, {
330
- params: {};
331
- command: "camera.enable";
332
- }>;
333
- export type CameraEnableCommand = z.infer<typeof sCameraEnableCommand>;
334
- export declare const sCameraDisableCommand: z.ZodObject<{
335
- command: z.ZodLiteral<"camera.disable">;
336
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
337
- }, "strip", z.ZodTypeAny, {
338
- params: {};
339
- command: "camera.disable";
340
- }, {
341
- params: {};
342
- command: "camera.disable";
343
- }>;
344
- export type CameraDisableCommand = z.infer<typeof sCameraDisableCommand>;
345
- export declare const sCameraEnableDetectionCommand: z.ZodObject<{
346
- command: z.ZodLiteral<"camera.enable-detection">;
347
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
348
- }, "strip", z.ZodTypeAny, {
349
- params: {};
350
- command: "camera.enable-detection";
351
- }, {
352
- params: {};
353
- command: "camera.enable-detection";
354
- }>;
355
- export type CameraEnableDetectionCommand = z.infer<typeof sCameraEnableDetectionCommand>;
356
- export declare const sCameraDisableDetectionCommand: z.ZodObject<{
357
- command: z.ZodLiteral<"camera.disable-detection">;
358
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
359
- }, "strip", z.ZodTypeAny, {
360
- params: {};
361
- command: "camera.disable-detection";
362
- }, {
363
- params: {};
364
- command: "camera.disable-detection";
365
- }>;
366
- export type CameraDisableDetectionCommand = z.infer<typeof sCameraDisableDetectionCommand>;
367
- export declare const cameraCommands: {
368
- readonly 'camera.ptz-set': z.ZodObject<{
369
- command: z.ZodLiteral<"camera.ptz-set">;
370
- params: z.ZodObject<{
371
- pan: z.ZodNumber;
372
- tilt: z.ZodNumber;
373
- zoom: z.ZodNumber;
374
- }, "strip", z.ZodTypeAny, {
375
- pan: number;
376
- zoom: number;
377
- tilt: number;
378
- }, {
379
- pan: number;
380
- zoom: number;
381
- tilt: number;
382
- }>;
383
- }, "strip", z.ZodTypeAny, {
384
- params: {
385
- pan: number;
386
- zoom: number;
387
- tilt: number;
388
- };
389
- command: "camera.ptz-set";
390
- }, {
391
- params: {
392
- pan: number;
393
- zoom: number;
394
- tilt: number;
395
- };
396
- command: "camera.ptz-set";
397
- }>;
398
- readonly 'camera.ptz-move': z.ZodObject<{
399
- command: z.ZodLiteral<"camera.ptz-move">;
400
- params: z.ZodObject<{
401
- direction: z.ZodEnum<["Up", "Down", "Left", "Right", "ZoomIn", "ZoomOut", "UpLeft", "UpRight", "DownLeft", "DownRight"]>;
402
- }, "strip", z.ZodTypeAny, {
403
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
404
- }, {
405
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
406
- }>;
407
- }, "strip", z.ZodTypeAny, {
408
- params: {
409
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
410
- };
411
- command: "camera.ptz-move";
412
- }, {
413
- params: {
414
- direction: "Up" | "Down" | "Left" | "Right" | "ZoomIn" | "ZoomOut" | "UpLeft" | "UpRight" | "DownLeft" | "DownRight";
415
- };
416
- command: "camera.ptz-move";
417
- }>;
418
- readonly 'camera.enable': z.ZodObject<{
419
- command: z.ZodLiteral<"camera.enable">;
420
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
421
- }, "strip", z.ZodTypeAny, {
422
- params: {};
423
- command: "camera.enable";
424
- }, {
425
- params: {};
426
- command: "camera.enable";
427
- }>;
428
- readonly 'camera.disable': z.ZodObject<{
429
- command: z.ZodLiteral<"camera.disable">;
430
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
431
- }, "strip", z.ZodTypeAny, {
432
- params: {};
433
- command: "camera.disable";
434
- }, {
435
- params: {};
436
- command: "camera.disable";
437
- }>;
438
- readonly 'camera.preset-save': z.ZodObject<{
439
- command: z.ZodLiteral<"camera.preset-save">;
440
- params: z.ZodObject<{
441
- presetId: z.ZodString;
442
- presetInfo: z.ZodObject<{
443
- name: z.ZodString;
444
- isDefault: z.ZodBoolean;
445
- values: z.ZodUnknown;
446
- }, "strip", z.ZodTypeAny, {
447
- name: string;
448
- isDefault: boolean;
449
- values?: unknown;
450
- }, {
451
- name: string;
452
- isDefault: boolean;
453
- values?: unknown;
454
- }>;
455
- }, "strip", z.ZodTypeAny, {
456
- presetId: string;
457
- presetInfo: {
458
- name: string;
459
- isDefault: boolean;
460
- values?: unknown;
461
- };
462
- }, {
463
- presetId: string;
464
- presetInfo: {
465
- name: string;
466
- isDefault: boolean;
467
- values?: unknown;
468
- };
469
- }>;
470
- }, "strip", z.ZodTypeAny, {
471
- params: {
472
- presetId: string;
473
- presetInfo: {
474
- name: string;
475
- isDefault: boolean;
476
- values?: unknown;
477
- };
478
- };
479
- command: "camera.preset-save";
480
- }, {
481
- params: {
482
- presetId: string;
483
- presetInfo: {
484
- name: string;
485
- isDefault: boolean;
486
- values?: unknown;
487
- };
488
- };
489
- command: "camera.preset-save";
490
- }>;
491
- readonly 'camera.preset-activate': z.ZodObject<{
492
- command: z.ZodLiteral<"camera.preset-activate">;
493
- params: z.ZodObject<{
494
- presetId: z.ZodString;
495
- }, "strip", z.ZodTypeAny, {
496
- presetId: string;
497
- }, {
498
- presetId: string;
499
- }>;
500
- }, "strip", z.ZodTypeAny, {
501
- params: {
502
- presetId: string;
503
- };
504
- command: "camera.preset-activate";
505
- }, {
506
- params: {
507
- presetId: string;
508
- };
509
- command: "camera.preset-activate";
510
- }>;
511
- readonly 'camera.preset-delete': z.ZodObject<{
512
- command: z.ZodLiteral<"camera.preset-delete">;
513
- params: z.ZodObject<{
514
- presetId: z.ZodString;
515
- assignedRef: z.ZodNullable<z.ZodString>;
516
- }, "strip", z.ZodTypeAny, {
517
- presetId: string;
518
- assignedRef: string | null;
519
- }, {
520
- presetId: string;
521
- assignedRef: string | null;
522
- }>;
523
- }, "strip", z.ZodTypeAny, {
524
- params: {
525
- presetId: string;
526
- assignedRef: string | null;
527
- };
528
- command: "camera.preset-delete";
529
- }, {
530
- params: {
531
- presetId: string;
532
- assignedRef: string | null;
533
- };
534
- command: "camera.preset-delete";
535
- }>;
536
- readonly 'camera.ptz-begin-move': z.ZodObject<{
537
- command: z.ZodLiteral<"camera.ptz-begin-move">;
538
- params: z.ZodObject<{
539
- pan: z.ZodNumber;
540
- tilt: z.ZodNumber;
541
- zoom: z.ZodNumber;
542
- }, "strip", z.ZodTypeAny, {
543
- pan: number;
544
- zoom: number;
545
- tilt: number;
546
- }, {
547
- pan: number;
548
- zoom: number;
549
- tilt: number;
550
- }>;
551
- }, "strip", z.ZodTypeAny, {
552
- params: {
553
- pan: number;
554
- zoom: number;
555
- tilt: number;
556
- };
557
- command: "camera.ptz-begin-move";
558
- }, {
559
- params: {
560
- pan: number;
561
- zoom: number;
562
- tilt: number;
563
- };
564
- command: "camera.ptz-begin-move";
565
- }>;
566
- readonly 'camera.ptz-end-move': z.ZodObject<{
567
- command: z.ZodLiteral<"camera.ptz-end-move">;
568
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
569
- }, "strip", z.ZodTypeAny, {
570
- params: {};
571
- command: "camera.ptz-end-move";
572
- }, {
573
- params: {};
574
- command: "camera.ptz-end-move";
575
- }>;
576
- readonly 'camera.enable-detection': z.ZodObject<{
577
- command: z.ZodLiteral<"camera.enable-detection">;
578
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
579
- }, "strip", z.ZodTypeAny, {
580
- params: {};
581
- command: "camera.enable-detection";
582
- }, {
583
- params: {};
584
- command: "camera.enable-detection";
585
- }>;
586
- readonly 'camera.disable-detection': z.ZodObject<{
587
- command: z.ZodLiteral<"camera.disable-detection">;
588
- params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
589
- }, "strip", z.ZodTypeAny, {
590
- params: {};
591
- command: "camera.disable-detection";
592
- }, {
593
- params: {};
594
- command: "camera.disable-detection";
595
- }>;
596
- };
597
- export type CameraCommand = CameraPtzSetCommand | CameraPtzMoveCommand | CameraEnableCommand | CameraDisableCommand | CameraPresetSaveCommand | CameraPresetActivateCommand | CameraPresetDeleteCommand | CameraPtzBeginMoveCommand | CameraPtzEndMoveCommand | CameraEnableDetectionCommand | CameraDisableDetectionCommand;
598
107
  export interface CameraStateDto {
599
108
  pan: number;
600
109
  tilt: number;
@@ -603,760 +112,3 @@ export interface CameraStateDto {
603
112
  objectDetectionEnabled: boolean;
604
113
  connected: boolean;
605
114
  }
606
- export declare const sCameraPtzPresetSaved: z.ZodObject<{
607
- kind: z.ZodLiteral<"ptz-preset-saved">;
608
- presetId: z.ZodString;
609
- presetInfo: z.ZodObject<{
610
- name: z.ZodString;
611
- isDefault: z.ZodBoolean;
612
- values: z.ZodUnknown;
613
- }, "strip", z.ZodTypeAny, {
614
- name: string;
615
- isDefault: boolean;
616
- values?: unknown;
617
- }, {
618
- name: string;
619
- isDefault: boolean;
620
- values?: unknown;
621
- }>;
622
- assignedRef: z.ZodNullable<z.ZodString>;
623
- }, "strip", z.ZodTypeAny, {
624
- kind: "ptz-preset-saved";
625
- presetId: string;
626
- presetInfo: {
627
- name: string;
628
- isDefault: boolean;
629
- values?: unknown;
630
- };
631
- assignedRef: string | null;
632
- }, {
633
- kind: "ptz-preset-saved";
634
- presetId: string;
635
- presetInfo: {
636
- name: string;
637
- isDefault: boolean;
638
- values?: unknown;
639
- };
640
- assignedRef: string | null;
641
- }>;
642
- export declare const sBoxLocator: z.ZodObject<{
643
- locatorKind: z.ZodLiteral<"box">;
644
- x1: z.ZodNumber;
645
- y1: z.ZodNumber;
646
- x2: z.ZodNumber;
647
- y2: z.ZodNumber;
648
- }, "strip", z.ZodTypeAny, {
649
- locatorKind: "box";
650
- x1: number;
651
- y1: number;
652
- x2: number;
653
- y2: number;
654
- }, {
655
- locatorKind: "box";
656
- x1: number;
657
- y1: number;
658
- x2: number;
659
- y2: number;
660
- }>;
661
- export declare const sObjectLocator: z.ZodObject<{
662
- locatorKind: z.ZodLiteral<"box">;
663
- x1: z.ZodNumber;
664
- y1: z.ZodNumber;
665
- x2: z.ZodNumber;
666
- y2: z.ZodNumber;
667
- }, "strip", z.ZodTypeAny, {
668
- locatorKind: "box";
669
- x1: number;
670
- y1: number;
671
- x2: number;
672
- y2: number;
673
- }, {
674
- locatorKind: "box";
675
- x1: number;
676
- y1: number;
677
- x2: number;
678
- y2: number;
679
- }>;
680
- export declare const sObjectDetectionData: z.ZodIntersection<z.ZodObject<{
681
- objectKind: z.ZodNullable<z.ZodString>;
682
- probability: z.ZodNumber;
683
- identifiedObjectId: z.ZodNullable<z.ZodString>;
684
- frameTime: z.ZodNumber;
685
- startTime: z.ZodNumber;
686
- endTime: z.ZodNullable<z.ZodNumber>;
687
- }, "strip", z.ZodTypeAny, {
688
- endTime: number | null;
689
- startTime: number;
690
- objectKind: string | null;
691
- probability: number;
692
- identifiedObjectId: string | null;
693
- frameTime: number;
694
- }, {
695
- endTime: number | null;
696
- startTime: number;
697
- objectKind: string | null;
698
- probability: number;
699
- identifiedObjectId: string | null;
700
- frameTime: number;
701
- }>, z.ZodObject<{
702
- locatorKind: z.ZodLiteral<"box">;
703
- x1: z.ZodNumber;
704
- y1: z.ZodNumber;
705
- x2: z.ZodNumber;
706
- y2: z.ZodNumber;
707
- }, "strip", z.ZodTypeAny, {
708
- locatorKind: "box";
709
- x1: number;
710
- y1: number;
711
- x2: number;
712
- y2: number;
713
- }, {
714
- locatorKind: "box";
715
- x1: number;
716
- y1: number;
717
- x2: number;
718
- y2: number;
719
- }>>;
720
- export declare const sObjectDetectionStarted: z.ZodIntersection<z.ZodObject<{
721
- kind: z.ZodLiteral<"object-detection-started">;
722
- providerAssignedRef: z.ZodString;
723
- detectionProvider: z.ZodString;
724
- }, "strip", z.ZodTypeAny, {
725
- kind: "object-detection-started";
726
- providerAssignedRef: string;
727
- detectionProvider: string;
728
- }, {
729
- kind: "object-detection-started";
730
- providerAssignedRef: string;
731
- detectionProvider: string;
732
- }>, z.ZodIntersection<z.ZodObject<{
733
- objectKind: z.ZodNullable<z.ZodString>;
734
- probability: z.ZodNumber;
735
- identifiedObjectId: z.ZodNullable<z.ZodString>;
736
- frameTime: z.ZodNumber;
737
- startTime: z.ZodNumber;
738
- endTime: z.ZodNullable<z.ZodNumber>;
739
- }, "strip", z.ZodTypeAny, {
740
- endTime: number | null;
741
- startTime: number;
742
- objectKind: string | null;
743
- probability: number;
744
- identifiedObjectId: string | null;
745
- frameTime: number;
746
- }, {
747
- endTime: number | null;
748
- startTime: number;
749
- objectKind: string | null;
750
- probability: number;
751
- identifiedObjectId: string | null;
752
- frameTime: number;
753
- }>, z.ZodObject<{
754
- locatorKind: z.ZodLiteral<"box">;
755
- x1: z.ZodNumber;
756
- y1: z.ZodNumber;
757
- x2: z.ZodNumber;
758
- y2: z.ZodNumber;
759
- }, "strip", z.ZodTypeAny, {
760
- locatorKind: "box";
761
- x1: number;
762
- y1: number;
763
- x2: number;
764
- y2: number;
765
- }, {
766
- locatorKind: "box";
767
- x1: number;
768
- y1: number;
769
- x2: number;
770
- y2: number;
771
- }>>>;
772
- export declare const sObjectDetectionUpdated: z.ZodIntersection<z.ZodObject<{
773
- kind: z.ZodLiteral<"object-detection-updated">;
774
- providerAssignedRef: z.ZodString;
775
- detectionProvider: z.ZodString;
776
- }, "strip", z.ZodTypeAny, {
777
- kind: "object-detection-updated";
778
- providerAssignedRef: string;
779
- detectionProvider: string;
780
- }, {
781
- kind: "object-detection-updated";
782
- providerAssignedRef: string;
783
- detectionProvider: string;
784
- }>, z.ZodIntersection<z.ZodObject<{
785
- objectKind: z.ZodNullable<z.ZodString>;
786
- probability: z.ZodNumber;
787
- identifiedObjectId: z.ZodNullable<z.ZodString>;
788
- frameTime: z.ZodNumber;
789
- startTime: z.ZodNumber;
790
- endTime: z.ZodNullable<z.ZodNumber>;
791
- }, "strip", z.ZodTypeAny, {
792
- endTime: number | null;
793
- startTime: number;
794
- objectKind: string | null;
795
- probability: number;
796
- identifiedObjectId: string | null;
797
- frameTime: number;
798
- }, {
799
- endTime: number | null;
800
- startTime: number;
801
- objectKind: string | null;
802
- probability: number;
803
- identifiedObjectId: string | null;
804
- frameTime: number;
805
- }>, z.ZodObject<{
806
- locatorKind: z.ZodLiteral<"box">;
807
- x1: z.ZodNumber;
808
- y1: z.ZodNumber;
809
- x2: z.ZodNumber;
810
- y2: z.ZodNumber;
811
- }, "strip", z.ZodTypeAny, {
812
- locatorKind: "box";
813
- x1: number;
814
- y1: number;
815
- x2: number;
816
- y2: number;
817
- }, {
818
- locatorKind: "box";
819
- x1: number;
820
- y1: number;
821
- x2: number;
822
- y2: number;
823
- }>>>;
824
- export declare const sObjectDetectionEnded: z.ZodIntersection<z.ZodObject<{
825
- kind: z.ZodLiteral<"object-detection-ended">;
826
- providerAssignedRef: z.ZodString;
827
- detectionProvider: z.ZodString;
828
- }, "strip", z.ZodTypeAny, {
829
- kind: "object-detection-ended";
830
- providerAssignedRef: string;
831
- detectionProvider: string;
832
- }, {
833
- kind: "object-detection-ended";
834
- providerAssignedRef: string;
835
- detectionProvider: string;
836
- }>, z.ZodIntersection<z.ZodObject<{
837
- objectKind: z.ZodNullable<z.ZodString>;
838
- probability: z.ZodNumber;
839
- identifiedObjectId: z.ZodNullable<z.ZodString>;
840
- frameTime: z.ZodNumber;
841
- startTime: z.ZodNumber;
842
- endTime: z.ZodNullable<z.ZodNumber>;
843
- }, "strip", z.ZodTypeAny, {
844
- endTime: number | null;
845
- startTime: number;
846
- objectKind: string | null;
847
- probability: number;
848
- identifiedObjectId: string | null;
849
- frameTime: number;
850
- }, {
851
- endTime: number | null;
852
- startTime: number;
853
- objectKind: string | null;
854
- probability: number;
855
- identifiedObjectId: string | null;
856
- frameTime: number;
857
- }>, z.ZodObject<{
858
- locatorKind: z.ZodLiteral<"box">;
859
- x1: z.ZodNumber;
860
- y1: z.ZodNumber;
861
- x2: z.ZodNumber;
862
- y2: z.ZodNumber;
863
- }, "strip", z.ZodTypeAny, {
864
- locatorKind: "box";
865
- x1: number;
866
- y1: number;
867
- x2: number;
868
- y2: number;
869
- }, {
870
- locatorKind: "box";
871
- x1: number;
872
- y1: number;
873
- x2: number;
874
- y2: number;
875
- }>>>;
876
- export declare const sSceneData: z.ZodObject<{
877
- detections: z.ZodArray<z.ZodString, "many">;
878
- clipUrl: z.ZodOptional<z.ZodString>;
879
- startTime: z.ZodNumber;
880
- endTime: z.ZodNullable<z.ZodNumber>;
881
- }, "strip", z.ZodTypeAny, {
882
- endTime: number | null;
883
- startTime: number;
884
- detections: string[];
885
- clipUrl?: string | undefined;
886
- }, {
887
- endTime: number | null;
888
- startTime: number;
889
- detections: string[];
890
- clipUrl?: string | undefined;
891
- }>;
892
- export declare const sSceneCreated: z.ZodIntersection<z.ZodObject<{
893
- kind: z.ZodLiteral<"scene-created">;
894
- providerAssignedRef: z.ZodString;
895
- detectionProvider: z.ZodString;
896
- }, "strip", z.ZodTypeAny, {
897
- kind: "scene-created";
898
- providerAssignedRef: string;
899
- detectionProvider: string;
900
- }, {
901
- kind: "scene-created";
902
- providerAssignedRef: string;
903
- detectionProvider: string;
904
- }>, z.ZodObject<{
905
- detections: z.ZodArray<z.ZodString, "many">;
906
- clipUrl: z.ZodOptional<z.ZodString>;
907
- startTime: z.ZodNumber;
908
- endTime: z.ZodNullable<z.ZodNumber>;
909
- }, "strip", z.ZodTypeAny, {
910
- endTime: number | null;
911
- startTime: number;
912
- detections: string[];
913
- clipUrl?: string | undefined;
914
- }, {
915
- endTime: number | null;
916
- startTime: number;
917
- detections: string[];
918
- clipUrl?: string | undefined;
919
- }>>;
920
- export declare const sSceneUpdated: z.ZodIntersection<z.ZodObject<{
921
- kind: z.ZodLiteral<"scene-updated">;
922
- providerAssignedRef: z.ZodString;
923
- detectionProvider: z.ZodString;
924
- }, "strip", z.ZodTypeAny, {
925
- kind: "scene-updated";
926
- providerAssignedRef: string;
927
- detectionProvider: string;
928
- }, {
929
- kind: "scene-updated";
930
- providerAssignedRef: string;
931
- detectionProvider: string;
932
- }>, z.ZodObject<{
933
- detections: z.ZodArray<z.ZodString, "many">;
934
- clipUrl: z.ZodOptional<z.ZodString>;
935
- startTime: z.ZodNumber;
936
- endTime: z.ZodNullable<z.ZodNumber>;
937
- }, "strip", z.ZodTypeAny, {
938
- endTime: number | null;
939
- startTime: number;
940
- detections: string[];
941
- clipUrl?: string | undefined;
942
- }, {
943
- endTime: number | null;
944
- startTime: number;
945
- detections: string[];
946
- clipUrl?: string | undefined;
947
- }>>;
948
- export declare const sSceneEnded: z.ZodIntersection<z.ZodObject<{
949
- kind: z.ZodLiteral<"scene-ended">;
950
- providerAssignedRef: z.ZodString;
951
- detectionProvider: z.ZodString;
952
- }, "strip", z.ZodTypeAny, {
953
- kind: "scene-ended";
954
- providerAssignedRef: string;
955
- detectionProvider: string;
956
- }, {
957
- kind: "scene-ended";
958
- providerAssignedRef: string;
959
- detectionProvider: string;
960
- }>, z.ZodObject<{
961
- detections: z.ZodArray<z.ZodString, "many">;
962
- clipUrl: z.ZodOptional<z.ZodString>;
963
- startTime: z.ZodNumber;
964
- endTime: z.ZodNullable<z.ZodNumber>;
965
- }, "strip", z.ZodTypeAny, {
966
- endTime: number | null;
967
- startTime: number;
968
- detections: string[];
969
- clipUrl?: string | undefined;
970
- }, {
971
- endTime: number | null;
972
- startTime: number;
973
- detections: string[];
974
- clipUrl?: string | undefined;
975
- }>>;
976
- export declare const cameraEventSchemasByKind: {
977
- readonly 'ptz-preset-saved': z.ZodObject<{
978
- kind: z.ZodLiteral<"ptz-preset-saved">;
979
- presetId: z.ZodString;
980
- presetInfo: z.ZodObject<{
981
- name: z.ZodString;
982
- isDefault: z.ZodBoolean;
983
- values: z.ZodUnknown;
984
- }, "strip", z.ZodTypeAny, {
985
- name: string;
986
- isDefault: boolean;
987
- values?: unknown;
988
- }, {
989
- name: string;
990
- isDefault: boolean;
991
- values?: unknown;
992
- }>;
993
- assignedRef: z.ZodNullable<z.ZodString>;
994
- }, "strip", z.ZodTypeAny, {
995
- kind: "ptz-preset-saved";
996
- presetId: string;
997
- presetInfo: {
998
- name: string;
999
- isDefault: boolean;
1000
- values?: unknown;
1001
- };
1002
- assignedRef: string | null;
1003
- }, {
1004
- kind: "ptz-preset-saved";
1005
- presetId: string;
1006
- presetInfo: {
1007
- name: string;
1008
- isDefault: boolean;
1009
- values?: unknown;
1010
- };
1011
- assignedRef: string | null;
1012
- }>;
1013
- readonly 'object-detection-started': z.ZodIntersection<z.ZodObject<{
1014
- kind: z.ZodLiteral<"object-detection-started">;
1015
- providerAssignedRef: z.ZodString;
1016
- detectionProvider: z.ZodString;
1017
- }, "strip", z.ZodTypeAny, {
1018
- kind: "object-detection-started";
1019
- providerAssignedRef: string;
1020
- detectionProvider: string;
1021
- }, {
1022
- kind: "object-detection-started";
1023
- providerAssignedRef: string;
1024
- detectionProvider: string;
1025
- }>, z.ZodIntersection<z.ZodObject<{
1026
- objectKind: z.ZodNullable<z.ZodString>;
1027
- probability: z.ZodNumber;
1028
- identifiedObjectId: z.ZodNullable<z.ZodString>;
1029
- frameTime: z.ZodNumber;
1030
- startTime: z.ZodNumber;
1031
- endTime: z.ZodNullable<z.ZodNumber>;
1032
- }, "strip", z.ZodTypeAny, {
1033
- endTime: number | null;
1034
- startTime: number;
1035
- objectKind: string | null;
1036
- probability: number;
1037
- identifiedObjectId: string | null;
1038
- frameTime: number;
1039
- }, {
1040
- endTime: number | null;
1041
- startTime: number;
1042
- objectKind: string | null;
1043
- probability: number;
1044
- identifiedObjectId: string | null;
1045
- frameTime: number;
1046
- }>, z.ZodObject<{
1047
- locatorKind: z.ZodLiteral<"box">;
1048
- x1: z.ZodNumber;
1049
- y1: z.ZodNumber;
1050
- x2: z.ZodNumber;
1051
- y2: z.ZodNumber;
1052
- }, "strip", z.ZodTypeAny, {
1053
- locatorKind: "box";
1054
- x1: number;
1055
- y1: number;
1056
- x2: number;
1057
- y2: number;
1058
- }, {
1059
- locatorKind: "box";
1060
- x1: number;
1061
- y1: number;
1062
- x2: number;
1063
- y2: number;
1064
- }>>>;
1065
- readonly 'object-detection-updated': z.ZodIntersection<z.ZodObject<{
1066
- kind: z.ZodLiteral<"object-detection-updated">;
1067
- providerAssignedRef: z.ZodString;
1068
- detectionProvider: z.ZodString;
1069
- }, "strip", z.ZodTypeAny, {
1070
- kind: "object-detection-updated";
1071
- providerAssignedRef: string;
1072
- detectionProvider: string;
1073
- }, {
1074
- kind: "object-detection-updated";
1075
- providerAssignedRef: string;
1076
- detectionProvider: string;
1077
- }>, z.ZodIntersection<z.ZodObject<{
1078
- objectKind: z.ZodNullable<z.ZodString>;
1079
- probability: z.ZodNumber;
1080
- identifiedObjectId: z.ZodNullable<z.ZodString>;
1081
- frameTime: z.ZodNumber;
1082
- startTime: z.ZodNumber;
1083
- endTime: z.ZodNullable<z.ZodNumber>;
1084
- }, "strip", z.ZodTypeAny, {
1085
- endTime: number | null;
1086
- startTime: number;
1087
- objectKind: string | null;
1088
- probability: number;
1089
- identifiedObjectId: string | null;
1090
- frameTime: number;
1091
- }, {
1092
- endTime: number | null;
1093
- startTime: number;
1094
- objectKind: string | null;
1095
- probability: number;
1096
- identifiedObjectId: string | null;
1097
- frameTime: number;
1098
- }>, z.ZodObject<{
1099
- locatorKind: z.ZodLiteral<"box">;
1100
- x1: z.ZodNumber;
1101
- y1: z.ZodNumber;
1102
- x2: z.ZodNumber;
1103
- y2: z.ZodNumber;
1104
- }, "strip", z.ZodTypeAny, {
1105
- locatorKind: "box";
1106
- x1: number;
1107
- y1: number;
1108
- x2: number;
1109
- y2: number;
1110
- }, {
1111
- locatorKind: "box";
1112
- x1: number;
1113
- y1: number;
1114
- x2: number;
1115
- y2: number;
1116
- }>>>;
1117
- readonly 'object-detection-ended': z.ZodIntersection<z.ZodObject<{
1118
- kind: z.ZodLiteral<"object-detection-ended">;
1119
- providerAssignedRef: z.ZodString;
1120
- detectionProvider: z.ZodString;
1121
- }, "strip", z.ZodTypeAny, {
1122
- kind: "object-detection-ended";
1123
- providerAssignedRef: string;
1124
- detectionProvider: string;
1125
- }, {
1126
- kind: "object-detection-ended";
1127
- providerAssignedRef: string;
1128
- detectionProvider: string;
1129
- }>, z.ZodIntersection<z.ZodObject<{
1130
- objectKind: z.ZodNullable<z.ZodString>;
1131
- probability: z.ZodNumber;
1132
- identifiedObjectId: z.ZodNullable<z.ZodString>;
1133
- frameTime: z.ZodNumber;
1134
- startTime: z.ZodNumber;
1135
- endTime: z.ZodNullable<z.ZodNumber>;
1136
- }, "strip", z.ZodTypeAny, {
1137
- endTime: number | null;
1138
- startTime: number;
1139
- objectKind: string | null;
1140
- probability: number;
1141
- identifiedObjectId: string | null;
1142
- frameTime: number;
1143
- }, {
1144
- endTime: number | null;
1145
- startTime: number;
1146
- objectKind: string | null;
1147
- probability: number;
1148
- identifiedObjectId: string | null;
1149
- frameTime: number;
1150
- }>, z.ZodObject<{
1151
- locatorKind: z.ZodLiteral<"box">;
1152
- x1: z.ZodNumber;
1153
- y1: z.ZodNumber;
1154
- x2: z.ZodNumber;
1155
- y2: z.ZodNumber;
1156
- }, "strip", z.ZodTypeAny, {
1157
- locatorKind: "box";
1158
- x1: number;
1159
- y1: number;
1160
- x2: number;
1161
- y2: number;
1162
- }, {
1163
- locatorKind: "box";
1164
- x1: number;
1165
- y1: number;
1166
- x2: number;
1167
- y2: number;
1168
- }>>>;
1169
- readonly 'scene-created': z.ZodIntersection<z.ZodObject<{
1170
- kind: z.ZodLiteral<"scene-created">;
1171
- providerAssignedRef: z.ZodString;
1172
- detectionProvider: z.ZodString;
1173
- }, "strip", z.ZodTypeAny, {
1174
- kind: "scene-created";
1175
- providerAssignedRef: string;
1176
- detectionProvider: string;
1177
- }, {
1178
- kind: "scene-created";
1179
- providerAssignedRef: string;
1180
- detectionProvider: string;
1181
- }>, z.ZodObject<{
1182
- detections: z.ZodArray<z.ZodString, "many">;
1183
- clipUrl: z.ZodOptional<z.ZodString>;
1184
- startTime: z.ZodNumber;
1185
- endTime: z.ZodNullable<z.ZodNumber>;
1186
- }, "strip", z.ZodTypeAny, {
1187
- endTime: number | null;
1188
- startTime: number;
1189
- detections: string[];
1190
- clipUrl?: string | undefined;
1191
- }, {
1192
- endTime: number | null;
1193
- startTime: number;
1194
- detections: string[];
1195
- clipUrl?: string | undefined;
1196
- }>>;
1197
- readonly 'scene-updated': z.ZodIntersection<z.ZodObject<{
1198
- kind: z.ZodLiteral<"scene-updated">;
1199
- providerAssignedRef: z.ZodString;
1200
- detectionProvider: z.ZodString;
1201
- }, "strip", z.ZodTypeAny, {
1202
- kind: "scene-updated";
1203
- providerAssignedRef: string;
1204
- detectionProvider: string;
1205
- }, {
1206
- kind: "scene-updated";
1207
- providerAssignedRef: string;
1208
- detectionProvider: string;
1209
- }>, z.ZodObject<{
1210
- detections: z.ZodArray<z.ZodString, "many">;
1211
- clipUrl: z.ZodOptional<z.ZodString>;
1212
- startTime: z.ZodNumber;
1213
- endTime: z.ZodNullable<z.ZodNumber>;
1214
- }, "strip", z.ZodTypeAny, {
1215
- endTime: number | null;
1216
- startTime: number;
1217
- detections: string[];
1218
- clipUrl?: string | undefined;
1219
- }, {
1220
- endTime: number | null;
1221
- startTime: number;
1222
- detections: string[];
1223
- clipUrl?: string | undefined;
1224
- }>>;
1225
- readonly 'scene-ended': z.ZodIntersection<z.ZodObject<{
1226
- kind: z.ZodLiteral<"scene-ended">;
1227
- providerAssignedRef: z.ZodString;
1228
- detectionProvider: z.ZodString;
1229
- }, "strip", z.ZodTypeAny, {
1230
- kind: "scene-ended";
1231
- providerAssignedRef: string;
1232
- detectionProvider: string;
1233
- }, {
1234
- kind: "scene-ended";
1235
- providerAssignedRef: string;
1236
- detectionProvider: string;
1237
- }>, z.ZodObject<{
1238
- detections: z.ZodArray<z.ZodString, "many">;
1239
- clipUrl: z.ZodOptional<z.ZodString>;
1240
- startTime: z.ZodNumber;
1241
- endTime: z.ZodNullable<z.ZodNumber>;
1242
- }, "strip", z.ZodTypeAny, {
1243
- endTime: number | null;
1244
- startTime: number;
1245
- detections: string[];
1246
- clipUrl?: string | undefined;
1247
- }, {
1248
- endTime: number | null;
1249
- startTime: number;
1250
- detections: string[];
1251
- clipUrl?: string | undefined;
1252
- }>>;
1253
- };
1254
- export type CameraPtzPresetSaved = z.infer<typeof sCameraPtzPresetSaved>;
1255
- export type BoxLocator = z.infer<typeof sBoxLocator>;
1256
- export type ObjectLocator = z.infer<typeof sObjectLocator>;
1257
- export type ObjectDetectionData = z.infer<typeof sObjectDetectionData>;
1258
- export type ObjectDetectionStarted = z.infer<typeof sObjectDetectionStarted>;
1259
- export type ObjectDetectionUpdated = z.infer<typeof sObjectDetectionUpdated>;
1260
- export type ObjectDetectionEnded = z.infer<typeof sObjectDetectionEnded>;
1261
- export type SceneData = z.infer<typeof sSceneData>;
1262
- export type SceneCreated = z.infer<typeof sSceneCreated>;
1263
- export type SceneUpdated = z.infer<typeof sSceneUpdated>;
1264
- export type SceneEnded = z.infer<typeof sSceneEnded>;
1265
- export type CameraEvent = CameraPtzPresetSaved | ObjectDetectionStarted | ObjectDetectionUpdated | ObjectDetectionEnded | SceneCreated | SceneUpdated | SceneEnded;
1266
- export declare const QUERY_RTSP_DATA = "cctv:rtsp-data";
1267
- export declare const sRtspDataArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1268
- export declare const sRtspDataResponse: z.ZodObject<{
1269
- cameraName: z.ZodString;
1270
- username: z.ZodString;
1271
- password: z.ZodString;
1272
- streams: z.ZodArray<z.ZodObject<{
1273
- streamId: z.ZodString;
1274
- displayName: z.ZodString;
1275
- resolution: z.ZodNullable<z.ZodString>;
1276
- rtspUrl: z.ZodString;
1277
- }, "strip", z.ZodTypeAny, {
1278
- resolution: string | null;
1279
- displayName: string;
1280
- streamId: string;
1281
- rtspUrl: string;
1282
- }, {
1283
- resolution: string | null;
1284
- displayName: string;
1285
- streamId: string;
1286
- rtspUrl: string;
1287
- }>, "many">;
1288
- }, "strip", z.ZodTypeAny, {
1289
- streams: {
1290
- resolution: string | null;
1291
- displayName: string;
1292
- streamId: string;
1293
- rtspUrl: string;
1294
- }[];
1295
- username: string;
1296
- cameraName: string;
1297
- password: string;
1298
- }, {
1299
- streams: {
1300
- resolution: string | null;
1301
- displayName: string;
1302
- streamId: string;
1303
- rtspUrl: string;
1304
- }[];
1305
- username: string;
1306
- cameraName: string;
1307
- password: string;
1308
- }>;
1309
- export type RtspDataArgs = z.infer<typeof sRtspDataArgs>;
1310
- export type RtspDataResponse = z.infer<typeof sRtspDataResponse>;
1311
- export declare const cameraRequestSchemas: {
1312
- readonly "cctv:rtsp-data": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1313
- };
1314
- export declare const cameraResponseSchemas: {
1315
- readonly "cctv:rtsp-data": z.ZodObject<{
1316
- cameraName: z.ZodString;
1317
- username: z.ZodString;
1318
- password: z.ZodString;
1319
- streams: z.ZodArray<z.ZodObject<{
1320
- streamId: z.ZodString;
1321
- displayName: z.ZodString;
1322
- resolution: z.ZodNullable<z.ZodString>;
1323
- rtspUrl: z.ZodString;
1324
- }, "strip", z.ZodTypeAny, {
1325
- resolution: string | null;
1326
- displayName: string;
1327
- streamId: string;
1328
- rtspUrl: string;
1329
- }, {
1330
- resolution: string | null;
1331
- displayName: string;
1332
- streamId: string;
1333
- rtspUrl: string;
1334
- }>, "many">;
1335
- }, "strip", z.ZodTypeAny, {
1336
- streams: {
1337
- resolution: string | null;
1338
- displayName: string;
1339
- streamId: string;
1340
- rtspUrl: string;
1341
- }[];
1342
- username: string;
1343
- cameraName: string;
1344
- password: string;
1345
- }, {
1346
- streams: {
1347
- resolution: string | null;
1348
- displayName: string;
1349
- streamId: string;
1350
- rtspUrl: string;
1351
- }[];
1352
- username: string;
1353
- cameraName: string;
1354
- password: string;
1355
- }>;
1356
- };
1357
- export type CameraQueryRequestMap = {
1358
- [QUERY_RTSP_DATA]: RtspDataArgs;
1359
- };
1360
- export type CameraQueryResponseMap = {
1361
- [QUERY_RTSP_DATA]: RtspDataResponse;
1362
- };