@awarevue/api-types 2.0.52 → 2.0.54

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 (69) hide show
  1. package/dist/api/agent-protocol/protocol.d.ts +853 -840
  2. package/dist/api/agent-protocol/protocol.js +14 -1
  3. package/dist/api/commands/all.d.ts +224 -224
  4. package/dist/api/commands/camera.d.ts +16 -16
  5. package/dist/api/commands/display.d.ts +48 -48
  6. package/dist/api/commands/nvr-exporter.d.ts +194 -194
  7. package/dist/api/commands/server.d.ts +202 -202
  8. package/dist/api/events/all.d.ts +30 -30
  9. package/dist/api/events/camera.d.ts +42 -42
  10. package/dist/api/events/door.d.ts +4 -4
  11. package/dist/api/events/intercom-terminal.d.ts +8 -8
  12. package/dist/api/events/io-board.d.ts +4 -4
  13. package/dist/api/queries/all.d.ts +225 -225
  14. package/dist/api/queries/camera.d.ts +8 -8
  15. package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
  16. package/dist/api/queries/nvr-exporter.d.ts +18 -18
  17. package/dist/api/queries/nvr-recorder.d.ts +398 -398
  18. package/dist/api/rest/agreement.d.ts +5 -5
  19. package/dist/api/rest/app.d.ts +3 -0
  20. package/dist/api/rest/app.js +1 -0
  21. package/dist/api/rest/automation.d.ts +46 -46
  22. package/dist/api/rest/bookmarks.d.ts +12 -12
  23. package/dist/api/rest/custom-field.d.ts +5 -5
  24. package/dist/api/rest/device.d.ts +6 -6
  25. package/dist/api/rest/io-device.d.ts +14 -14
  26. package/dist/api/rest/layout.d.ts +16 -16
  27. package/dist/api/rest/macros.d.ts +13 -13
  28. package/dist/api/rest/media.d.ts +16 -16
  29. package/dist/api/rest/person.d.ts +12 -12
  30. package/dist/api/rest/query.d.ts +2 -2
  31. package/dist/api/rest/schedule.d.ts +24 -24
  32. package/dist/api/rest/security-level.d.ts +10 -10
  33. package/dist/api/rest/template.d.ts +4 -4
  34. package/dist/api/rest/token-conversion.d.ts +5 -5
  35. package/dist/api/rest/user.d.ts +17 -17
  36. package/dist/api/rest/view.d.ts +44 -44
  37. package/dist/api/ws/device-communication.d.ts +6 -6
  38. package/dist/api/ws/notifications.d.ts +4 -4
  39. package/dist/api/ws/progress.d.ts +15 -15
  40. package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
  41. package/dist/objects/access-rule.d.ts +2 -2
  42. package/dist/objects/agent-metadata.d.ts +16 -16
  43. package/dist/objects/agreement.d.ts +2 -2
  44. package/dist/objects/api-key.d.ts +2 -2
  45. package/dist/objects/automation-rule.d.ts +34 -34
  46. package/dist/objects/bookmark.d.ts +8 -8
  47. package/dist/objects/credential.d.ts +2 -2
  48. package/dist/objects/custom-field.d.ts +2 -2
  49. package/dist/objects/device/any-device.d.ts +205 -205
  50. package/dist/objects/device/camera.d.ts +26 -26
  51. package/dist/objects/device/device-import.d.ts +277 -277
  52. package/dist/objects/device/door.d.ts +2 -2
  53. package/dist/objects/device/intercom-terminal.d.ts +2 -2
  54. package/dist/objects/layout.d.ts +16 -16
  55. package/dist/objects/macro.d.ts +14 -14
  56. package/dist/objects/notification.d.ts +4 -4
  57. package/dist/objects/person-presence.d.ts +12 -12
  58. package/dist/objects/person.d.ts +14 -14
  59. package/dist/objects/role.d.ts +2 -2
  60. package/dist/objects/schedule.d.ts +36 -36
  61. package/dist/objects/security-level.d.ts +6 -6
  62. package/dist/objects/template.d.ts +2 -2
  63. package/dist/objects/token-conversion.d.ts +2 -2
  64. package/dist/objects/user.d.ts +4 -4
  65. package/dist/objects/view.d.ts +58 -58
  66. package/dist/objects/zone.d.ts +2 -2
  67. package/dist/package.json +5 -1
  68. package/dist/primitives.d.ts +60 -60
  69. package/package.json +5 -1
@@ -37,16 +37,16 @@ export declare const sNotify: z.ZodObject<{
37
37
  createdOn: z.ZodString;
38
38
  lastModifiedOn: z.ZodString;
39
39
  }, "strip", z.ZodTypeAny, {
40
- name: string;
41
40
  id: string;
41
+ name: string;
42
42
  createdOn: string;
43
43
  lastModifiedOn: string;
44
44
  isDefault: boolean;
45
45
  assignedRef: string | null;
46
46
  params?: unknown;
47
47
  }, {
48
- name: string;
49
48
  id: string;
49
+ name: string;
50
50
  createdOn: string;
51
51
  lastModifiedOn: string;
52
52
  isDefault: boolean;
@@ -57,8 +57,8 @@ export declare const sNotify: z.ZodObject<{
57
57
  name: string;
58
58
  foreignRef: string;
59
59
  presets: {
60
- name: string;
61
60
  id: string;
61
+ name: string;
62
62
  createdOn: string;
63
63
  lastModifiedOn: string;
64
64
  isDefault: boolean;
@@ -73,8 +73,8 @@ export declare const sNotify: z.ZodObject<{
73
73
  name: string;
74
74
  foreignRef: string;
75
75
  presets: {
76
- name: string;
77
76
  id: string;
77
+ name: string;
78
78
  createdOn: string;
79
79
  lastModifiedOn: string;
80
80
  isDefault: boolean;
@@ -121,12 +121,12 @@ export declare const sNotify: z.ZodObject<{
121
121
  }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
122
122
  }, "strip", z.ZodTypeAny, {
123
123
  id: string;
124
- height: number | null;
125
- width: number | null;
126
124
  displayName: string;
127
125
  externalPlayerUrl: string | null;
128
126
  rtspUrl: string | null;
129
127
  recordingCapable: boolean;
128
+ width: number | null;
129
+ height: number | null;
130
130
  lensType: "flat" | "fisheye";
131
131
  mountPoint: "wall" | "ceiling" | "floor";
132
132
  webrtcPlaybackSource: ({
@@ -134,12 +134,12 @@ export declare const sNotify: z.ZodObject<{
134
134
  } & Record<string, unknown>) | null;
135
135
  }, {
136
136
  id: string;
137
- height: number | null;
138
- width: number | null;
139
137
  displayName: string;
140
138
  externalPlayerUrl: string | null;
141
139
  rtspUrl: string | null;
142
140
  recordingCapable: boolean;
141
+ width: number | null;
142
+ height: number | null;
143
143
  lensType: "flat" | "fisheye";
144
144
  mountPoint: "wall" | "ceiling" | "floor";
145
145
  webrtcPlaybackSource: ({
@@ -152,20 +152,34 @@ export declare const sNotify: z.ZodObject<{
152
152
  type: z.ZodLiteral<"camera">;
153
153
  }, "strip", z.ZodTypeAny, {
154
154
  type: "camera";
155
+ ptzCapable: boolean;
156
+ ptzPanSpeed: number;
157
+ ptzTiltSpeed: number;
158
+ ptzZoomSpeed: number;
159
+ panMin: number;
160
+ panMax: number;
161
+ tiltMin: number;
162
+ tiltMax: number;
163
+ zoomMin: number;
164
+ zoomMax: number;
155
165
  streams: {
156
166
  id: string;
157
- height: number | null;
158
- width: number | null;
159
167
  displayName: string;
160
168
  externalPlayerUrl: string | null;
161
169
  rtspUrl: string | null;
162
170
  recordingCapable: boolean;
171
+ width: number | null;
172
+ height: number | null;
163
173
  lensType: "flat" | "fisheye";
164
174
  mountPoint: "wall" | "ceiling" | "floor";
165
175
  webrtcPlaybackSource: ({
166
176
  kind: string;
167
177
  } & Record<string, unknown>) | null;
168
178
  }[];
179
+ defaultStreamId: string;
180
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
181
+ }, {
182
+ type: "camera";
169
183
  ptzCapable: boolean;
170
184
  ptzPanSpeed: number;
171
185
  ptzTiltSpeed: number;
@@ -176,36 +190,22 @@ export declare const sNotify: z.ZodObject<{
176
190
  tiltMax: number;
177
191
  zoomMin: number;
178
192
  zoomMax: number;
179
- defaultStreamId: string;
180
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
181
- }, {
182
- type: "camera";
183
193
  streams: {
184
194
  id: string;
185
- height: number | null;
186
- width: number | null;
187
195
  displayName: string;
188
196
  externalPlayerUrl: string | null;
189
197
  rtspUrl: string | null;
190
198
  recordingCapable: boolean;
199
+ width: number | null;
200
+ height: number | null;
191
201
  lensType: "flat" | "fisheye";
192
202
  mountPoint: "wall" | "ceiling" | "floor";
193
203
  webrtcPlaybackSource: ({
194
204
  kind: string;
195
205
  } & Record<string, unknown>) | null;
196
206
  }[];
197
- ptzCapable: boolean;
198
- ptzPanSpeed: number;
199
- ptzTiltSpeed: number;
200
- ptzZoomSpeed: number;
201
- panMin: number;
202
- panMax: number;
203
- tiltMin: number;
204
- tiltMax: number;
205
- zoomMin: number;
206
- zoomMax: number;
207
207
  defaultStreamId: string;
208
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
208
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
209
209
  }>, z.ZodObject<{
210
210
  canReportOpenState: z.ZodBoolean;
211
211
  canReportLockState: z.ZodBoolean;
@@ -220,14 +220,14 @@ export declare const sNotify: z.ZodObject<{
220
220
  canReportLockState: boolean;
221
221
  canControlLock: boolean;
222
222
  canRelease: boolean;
223
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
223
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
224
224
  }, {
225
225
  type: "door";
226
226
  canReportOpenState: boolean;
227
227
  canReportLockState: boolean;
228
228
  canControlLock: boolean;
229
229
  canRelease: boolean;
230
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
230
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
231
231
  }>, z.ZodObject<{
232
232
  inputs: z.ZodArray<z.ZodString, "many">;
233
233
  outputs: z.ZodArray<z.ZodString, "many">;
@@ -359,12 +359,13 @@ export declare const sNotify: z.ZodObject<{
359
359
  recipientId: z.ZodNullable<z.ZodString>;
360
360
  }, "strip", z.ZodTypeAny, {
361
361
  message: string;
362
- source: string | [string, string] | ({
362
+ metadata: Record<string, unknown>;
363
+ source: string | ({
363
364
  name: string;
364
365
  foreignRef: string;
365
366
  presets: {
366
- name: string;
367
367
  id: string;
368
+ name: string;
368
369
  createdOn: string;
369
370
  lastModifiedOn: string;
370
371
  isDefault: boolean;
@@ -379,39 +380,39 @@ export declare const sNotify: z.ZodObject<{
379
380
  type: "alarm";
380
381
  } | {
381
382
  type: "camera";
383
+ ptzCapable: boolean;
384
+ ptzPanSpeed: number;
385
+ ptzTiltSpeed: number;
386
+ ptzZoomSpeed: number;
387
+ panMin: number;
388
+ panMax: number;
389
+ tiltMin: number;
390
+ tiltMax: number;
391
+ zoomMin: number;
392
+ zoomMax: number;
382
393
  streams: {
383
394
  id: string;
384
- height: number | null;
385
- width: number | null;
386
395
  displayName: string;
387
396
  externalPlayerUrl: string | null;
388
397
  rtspUrl: string | null;
389
398
  recordingCapable: boolean;
399
+ width: number | null;
400
+ height: number | null;
390
401
  lensType: "flat" | "fisheye";
391
402
  mountPoint: "wall" | "ceiling" | "floor";
392
403
  webrtcPlaybackSource: ({
393
404
  kind: string;
394
405
  } & Record<string, unknown>) | null;
395
406
  }[];
396
- ptzCapable: boolean;
397
- ptzPanSpeed: number;
398
- ptzTiltSpeed: number;
399
- ptzZoomSpeed: number;
400
- panMin: number;
401
- panMax: number;
402
- tiltMin: number;
403
- tiltMax: number;
404
- zoomMin: number;
405
- zoomMax: number;
406
407
  defaultStreamId: string;
407
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
408
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
408
409
  } | {
409
410
  type: "door";
410
411
  canReportOpenState: boolean;
411
412
  canReportLockState: boolean;
412
413
  canControlLock: boolean;
413
414
  canRelease: boolean;
414
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
415
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
415
416
  } | {
416
417
  type: "io-board";
417
418
  inputs: string[];
@@ -452,19 +453,19 @@ export declare const sNotify: z.ZodObject<{
452
453
  type: "nvr-analytics-server";
453
454
  } | {
454
455
  type: "system";
455
- }));
456
- metadata: Record<string, unknown>;
456
+ })) | [string, string];
457
457
  severity: "info" | "warning" | "critical";
458
458
  notificationRef: string | null;
459
459
  recipientId: string | null;
460
460
  }, {
461
461
  message: string;
462
- source: string | [string, string] | ({
462
+ metadata: Record<string, unknown>;
463
+ source: string | ({
463
464
  name: string;
464
465
  foreignRef: string;
465
466
  presets: {
466
- name: string;
467
467
  id: string;
468
+ name: string;
468
469
  createdOn: string;
469
470
  lastModifiedOn: string;
470
471
  isDefault: boolean;
@@ -479,39 +480,39 @@ export declare const sNotify: z.ZodObject<{
479
480
  type: "alarm";
480
481
  } | {
481
482
  type: "camera";
483
+ ptzCapable: boolean;
484
+ ptzPanSpeed: number;
485
+ ptzTiltSpeed: number;
486
+ ptzZoomSpeed: number;
487
+ panMin: number;
488
+ panMax: number;
489
+ tiltMin: number;
490
+ tiltMax: number;
491
+ zoomMin: number;
492
+ zoomMax: number;
482
493
  streams: {
483
494
  id: string;
484
- height: number | null;
485
- width: number | null;
486
495
  displayName: string;
487
496
  externalPlayerUrl: string | null;
488
497
  rtspUrl: string | null;
489
498
  recordingCapable: boolean;
499
+ width: number | null;
500
+ height: number | null;
490
501
  lensType: "flat" | "fisheye";
491
502
  mountPoint: "wall" | "ceiling" | "floor";
492
503
  webrtcPlaybackSource: ({
493
504
  kind: string;
494
505
  } & Record<string, unknown>) | null;
495
506
  }[];
496
- ptzCapable: boolean;
497
- ptzPanSpeed: number;
498
- ptzTiltSpeed: number;
499
- ptzZoomSpeed: number;
500
- panMin: number;
501
- panMax: number;
502
- tiltMin: number;
503
- tiltMax: number;
504
- zoomMin: number;
505
- zoomMax: number;
506
507
  defaultStreamId: string;
507
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
508
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
508
509
  } | {
509
510
  type: "door";
510
511
  canReportOpenState: boolean;
511
512
  canReportLockState: boolean;
512
513
  canControlLock: boolean;
513
514
  canRelease: boolean;
514
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
515
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
515
516
  } | {
516
517
  type: "io-board";
517
518
  inputs: string[];
@@ -552,8 +553,7 @@ export declare const sNotify: z.ZodObject<{
552
553
  type: "nvr-analytics-server";
553
554
  } | {
554
555
  type: "system";
555
- }));
556
- metadata: Record<string, unknown>;
556
+ })) | [string, string];
557
557
  severity: "info" | "warning" | "critical";
558
558
  notificationRef: string | null;
559
559
  recipientId: string | null;
@@ -561,12 +561,13 @@ export declare const sNotify: z.ZodObject<{
561
561
  }, "strip", z.ZodTypeAny, {
562
562
  params: {
563
563
  message: string;
564
- source: string | [string, string] | ({
564
+ metadata: Record<string, unknown>;
565
+ source: string | ({
565
566
  name: string;
566
567
  foreignRef: string;
567
568
  presets: {
568
- name: string;
569
569
  id: string;
570
+ name: string;
570
571
  createdOn: string;
571
572
  lastModifiedOn: string;
572
573
  isDefault: boolean;
@@ -581,39 +582,39 @@ export declare const sNotify: z.ZodObject<{
581
582
  type: "alarm";
582
583
  } | {
583
584
  type: "camera";
585
+ ptzCapable: boolean;
586
+ ptzPanSpeed: number;
587
+ ptzTiltSpeed: number;
588
+ ptzZoomSpeed: number;
589
+ panMin: number;
590
+ panMax: number;
591
+ tiltMin: number;
592
+ tiltMax: number;
593
+ zoomMin: number;
594
+ zoomMax: number;
584
595
  streams: {
585
596
  id: string;
586
- height: number | null;
587
- width: number | null;
588
597
  displayName: string;
589
598
  externalPlayerUrl: string | null;
590
599
  rtspUrl: string | null;
591
600
  recordingCapable: boolean;
601
+ width: number | null;
602
+ height: number | null;
592
603
  lensType: "flat" | "fisheye";
593
604
  mountPoint: "wall" | "ceiling" | "floor";
594
605
  webrtcPlaybackSource: ({
595
606
  kind: string;
596
607
  } & Record<string, unknown>) | null;
597
608
  }[];
598
- ptzCapable: boolean;
599
- ptzPanSpeed: number;
600
- ptzTiltSpeed: number;
601
- ptzZoomSpeed: number;
602
- panMin: number;
603
- panMax: number;
604
- tiltMin: number;
605
- tiltMax: number;
606
- zoomMin: number;
607
- zoomMax: number;
608
609
  defaultStreamId: string;
609
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
610
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
610
611
  } | {
611
612
  type: "door";
612
613
  canReportOpenState: boolean;
613
614
  canReportLockState: boolean;
614
615
  canControlLock: boolean;
615
616
  canRelease: boolean;
616
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
617
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
617
618
  } | {
618
619
  type: "io-board";
619
620
  inputs: string[];
@@ -654,8 +655,7 @@ export declare const sNotify: z.ZodObject<{
654
655
  type: "nvr-analytics-server";
655
656
  } | {
656
657
  type: "system";
657
- }));
658
- metadata: Record<string, unknown>;
658
+ })) | [string, string];
659
659
  severity: "info" | "warning" | "critical";
660
660
  notificationRef: string | null;
661
661
  recipientId: string | null;
@@ -664,12 +664,13 @@ export declare const sNotify: z.ZodObject<{
664
664
  }, {
665
665
  params: {
666
666
  message: string;
667
- source: string | [string, string] | ({
667
+ metadata: Record<string, unknown>;
668
+ source: string | ({
668
669
  name: string;
669
670
  foreignRef: string;
670
671
  presets: {
671
- name: string;
672
672
  id: string;
673
+ name: string;
673
674
  createdOn: string;
674
675
  lastModifiedOn: string;
675
676
  isDefault: boolean;
@@ -684,39 +685,39 @@ export declare const sNotify: z.ZodObject<{
684
685
  type: "alarm";
685
686
  } | {
686
687
  type: "camera";
688
+ ptzCapable: boolean;
689
+ ptzPanSpeed: number;
690
+ ptzTiltSpeed: number;
691
+ ptzZoomSpeed: number;
692
+ panMin: number;
693
+ panMax: number;
694
+ tiltMin: number;
695
+ tiltMax: number;
696
+ zoomMin: number;
697
+ zoomMax: number;
687
698
  streams: {
688
699
  id: string;
689
- height: number | null;
690
- width: number | null;
691
700
  displayName: string;
692
701
  externalPlayerUrl: string | null;
693
702
  rtspUrl: string | null;
694
703
  recordingCapable: boolean;
704
+ width: number | null;
705
+ height: number | null;
695
706
  lensType: "flat" | "fisheye";
696
707
  mountPoint: "wall" | "ceiling" | "floor";
697
708
  webrtcPlaybackSource: ({
698
709
  kind: string;
699
710
  } & Record<string, unknown>) | null;
700
711
  }[];
701
- ptzCapable: boolean;
702
- ptzPanSpeed: number;
703
- ptzTiltSpeed: number;
704
- ptzZoomSpeed: number;
705
- panMin: number;
706
- panMax: number;
707
- tiltMin: number;
708
- tiltMax: number;
709
- zoomMin: number;
710
- zoomMax: number;
711
712
  defaultStreamId: string;
712
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
713
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
713
714
  } | {
714
715
  type: "door";
715
716
  canReportOpenState: boolean;
716
717
  canReportLockState: boolean;
717
718
  canControlLock: boolean;
718
719
  canRelease: boolean;
719
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
720
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
720
721
  } | {
721
722
  type: "io-board";
722
723
  inputs: string[];
@@ -757,8 +758,7 @@ export declare const sNotify: z.ZodObject<{
757
758
  type: "nvr-analytics-server";
758
759
  } | {
759
760
  type: "system";
760
- }));
761
- metadata: Record<string, unknown>;
761
+ })) | [string, string];
762
762
  severity: "info" | "warning" | "critical";
763
763
  notificationRef: string | null;
764
764
  recipientId: string | null;
@@ -806,16 +806,16 @@ export declare const serverCommands: {
806
806
  createdOn: z.ZodString;
807
807
  lastModifiedOn: z.ZodString;
808
808
  }, "strip", z.ZodTypeAny, {
809
- name: string;
810
809
  id: string;
810
+ name: string;
811
811
  createdOn: string;
812
812
  lastModifiedOn: string;
813
813
  isDefault: boolean;
814
814
  assignedRef: string | null;
815
815
  params?: unknown;
816
816
  }, {
817
- name: string;
818
817
  id: string;
818
+ name: string;
819
819
  createdOn: string;
820
820
  lastModifiedOn: string;
821
821
  isDefault: boolean;
@@ -826,8 +826,8 @@ export declare const serverCommands: {
826
826
  name: string;
827
827
  foreignRef: string;
828
828
  presets: {
829
- name: string;
830
829
  id: string;
830
+ name: string;
831
831
  createdOn: string;
832
832
  lastModifiedOn: string;
833
833
  isDefault: boolean;
@@ -842,8 +842,8 @@ export declare const serverCommands: {
842
842
  name: string;
843
843
  foreignRef: string;
844
844
  presets: {
845
- name: string;
846
845
  id: string;
846
+ name: string;
847
847
  createdOn: string;
848
848
  lastModifiedOn: string;
849
849
  isDefault: boolean;
@@ -890,12 +890,12 @@ export declare const serverCommands: {
890
890
  }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
891
891
  }, "strip", z.ZodTypeAny, {
892
892
  id: string;
893
- height: number | null;
894
- width: number | null;
895
893
  displayName: string;
896
894
  externalPlayerUrl: string | null;
897
895
  rtspUrl: string | null;
898
896
  recordingCapable: boolean;
897
+ width: number | null;
898
+ height: number | null;
899
899
  lensType: "flat" | "fisheye";
900
900
  mountPoint: "wall" | "ceiling" | "floor";
901
901
  webrtcPlaybackSource: ({
@@ -903,12 +903,12 @@ export declare const serverCommands: {
903
903
  } & Record<string, unknown>) | null;
904
904
  }, {
905
905
  id: string;
906
- height: number | null;
907
- width: number | null;
908
906
  displayName: string;
909
907
  externalPlayerUrl: string | null;
910
908
  rtspUrl: string | null;
911
909
  recordingCapable: boolean;
910
+ width: number | null;
911
+ height: number | null;
912
912
  lensType: "flat" | "fisheye";
913
913
  mountPoint: "wall" | "ceiling" | "floor";
914
914
  webrtcPlaybackSource: ({
@@ -921,20 +921,34 @@ export declare const serverCommands: {
921
921
  type: z.ZodLiteral<"camera">;
922
922
  }, "strip", z.ZodTypeAny, {
923
923
  type: "camera";
924
+ ptzCapable: boolean;
925
+ ptzPanSpeed: number;
926
+ ptzTiltSpeed: number;
927
+ ptzZoomSpeed: number;
928
+ panMin: number;
929
+ panMax: number;
930
+ tiltMin: number;
931
+ tiltMax: number;
932
+ zoomMin: number;
933
+ zoomMax: number;
924
934
  streams: {
925
935
  id: string;
926
- height: number | null;
927
- width: number | null;
928
936
  displayName: string;
929
937
  externalPlayerUrl: string | null;
930
938
  rtspUrl: string | null;
931
939
  recordingCapable: boolean;
940
+ width: number | null;
941
+ height: number | null;
932
942
  lensType: "flat" | "fisheye";
933
943
  mountPoint: "wall" | "ceiling" | "floor";
934
944
  webrtcPlaybackSource: ({
935
945
  kind: string;
936
946
  } & Record<string, unknown>) | null;
937
947
  }[];
948
+ defaultStreamId: string;
949
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
950
+ }, {
951
+ type: "camera";
938
952
  ptzCapable: boolean;
939
953
  ptzPanSpeed: number;
940
954
  ptzTiltSpeed: number;
@@ -945,36 +959,22 @@ export declare const serverCommands: {
945
959
  tiltMax: number;
946
960
  zoomMin: number;
947
961
  zoomMax: number;
948
- defaultStreamId: string;
949
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
950
- }, {
951
- type: "camera";
952
962
  streams: {
953
963
  id: string;
954
- height: number | null;
955
- width: number | null;
956
964
  displayName: string;
957
965
  externalPlayerUrl: string | null;
958
966
  rtspUrl: string | null;
959
967
  recordingCapable: boolean;
968
+ width: number | null;
969
+ height: number | null;
960
970
  lensType: "flat" | "fisheye";
961
971
  mountPoint: "wall" | "ceiling" | "floor";
962
972
  webrtcPlaybackSource: ({
963
973
  kind: string;
964
974
  } & Record<string, unknown>) | null;
965
975
  }[];
966
- ptzCapable: boolean;
967
- ptzPanSpeed: number;
968
- ptzTiltSpeed: number;
969
- ptzZoomSpeed: number;
970
- panMin: number;
971
- panMax: number;
972
- tiltMin: number;
973
- tiltMax: number;
974
- zoomMin: number;
975
- zoomMax: number;
976
976
  defaultStreamId: string;
977
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
977
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
978
978
  }>, z.ZodObject<{
979
979
  canReportOpenState: z.ZodBoolean;
980
980
  canReportLockState: z.ZodBoolean;
@@ -989,14 +989,14 @@ export declare const serverCommands: {
989
989
  canReportLockState: boolean;
990
990
  canControlLock: boolean;
991
991
  canRelease: boolean;
992
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
992
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
993
993
  }, {
994
994
  type: "door";
995
995
  canReportOpenState: boolean;
996
996
  canReportLockState: boolean;
997
997
  canControlLock: boolean;
998
998
  canRelease: boolean;
999
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
999
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1000
1000
  }>, z.ZodObject<{
1001
1001
  inputs: z.ZodArray<z.ZodString, "many">;
1002
1002
  outputs: z.ZodArray<z.ZodString, "many">;
@@ -1128,12 +1128,13 @@ export declare const serverCommands: {
1128
1128
  recipientId: z.ZodNullable<z.ZodString>;
1129
1129
  }, "strip", z.ZodTypeAny, {
1130
1130
  message: string;
1131
- source: string | [string, string] | ({
1131
+ metadata: Record<string, unknown>;
1132
+ source: string | ({
1132
1133
  name: string;
1133
1134
  foreignRef: string;
1134
1135
  presets: {
1135
- name: string;
1136
1136
  id: string;
1137
+ name: string;
1137
1138
  createdOn: string;
1138
1139
  lastModifiedOn: string;
1139
1140
  isDefault: boolean;
@@ -1148,39 +1149,39 @@ export declare const serverCommands: {
1148
1149
  type: "alarm";
1149
1150
  } | {
1150
1151
  type: "camera";
1152
+ ptzCapable: boolean;
1153
+ ptzPanSpeed: number;
1154
+ ptzTiltSpeed: number;
1155
+ ptzZoomSpeed: number;
1156
+ panMin: number;
1157
+ panMax: number;
1158
+ tiltMin: number;
1159
+ tiltMax: number;
1160
+ zoomMin: number;
1161
+ zoomMax: number;
1151
1162
  streams: {
1152
1163
  id: string;
1153
- height: number | null;
1154
- width: number | null;
1155
1164
  displayName: string;
1156
1165
  externalPlayerUrl: string | null;
1157
1166
  rtspUrl: string | null;
1158
1167
  recordingCapable: boolean;
1168
+ width: number | null;
1169
+ height: number | null;
1159
1170
  lensType: "flat" | "fisheye";
1160
1171
  mountPoint: "wall" | "ceiling" | "floor";
1161
1172
  webrtcPlaybackSource: ({
1162
1173
  kind: string;
1163
1174
  } & Record<string, unknown>) | null;
1164
1175
  }[];
1165
- ptzCapable: boolean;
1166
- ptzPanSpeed: number;
1167
- ptzTiltSpeed: number;
1168
- ptzZoomSpeed: number;
1169
- panMin: number;
1170
- panMax: number;
1171
- tiltMin: number;
1172
- tiltMax: number;
1173
- zoomMin: number;
1174
- zoomMax: number;
1175
1176
  defaultStreamId: string;
1176
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
1177
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1177
1178
  } | {
1178
1179
  type: "door";
1179
1180
  canReportOpenState: boolean;
1180
1181
  canReportLockState: boolean;
1181
1182
  canControlLock: boolean;
1182
1183
  canRelease: boolean;
1183
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
1184
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1184
1185
  } | {
1185
1186
  type: "io-board";
1186
1187
  inputs: string[];
@@ -1221,19 +1222,19 @@ export declare const serverCommands: {
1221
1222
  type: "nvr-analytics-server";
1222
1223
  } | {
1223
1224
  type: "system";
1224
- }));
1225
- metadata: Record<string, unknown>;
1225
+ })) | [string, string];
1226
1226
  severity: "info" | "warning" | "critical";
1227
1227
  notificationRef: string | null;
1228
1228
  recipientId: string | null;
1229
1229
  }, {
1230
1230
  message: string;
1231
- source: string | [string, string] | ({
1231
+ metadata: Record<string, unknown>;
1232
+ source: string | ({
1232
1233
  name: string;
1233
1234
  foreignRef: string;
1234
1235
  presets: {
1235
- name: string;
1236
1236
  id: string;
1237
+ name: string;
1237
1238
  createdOn: string;
1238
1239
  lastModifiedOn: string;
1239
1240
  isDefault: boolean;
@@ -1248,39 +1249,39 @@ export declare const serverCommands: {
1248
1249
  type: "alarm";
1249
1250
  } | {
1250
1251
  type: "camera";
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;
1251
1262
  streams: {
1252
1263
  id: string;
1253
- height: number | null;
1254
- width: number | null;
1255
1264
  displayName: string;
1256
1265
  externalPlayerUrl: string | null;
1257
1266
  rtspUrl: string | null;
1258
1267
  recordingCapable: boolean;
1268
+ width: number | null;
1269
+ height: number | null;
1259
1270
  lensType: "flat" | "fisheye";
1260
1271
  mountPoint: "wall" | "ceiling" | "floor";
1261
1272
  webrtcPlaybackSource: ({
1262
1273
  kind: string;
1263
1274
  } & Record<string, unknown>) | null;
1264
1275
  }[];
1265
- ptzCapable: boolean;
1266
- ptzPanSpeed: number;
1267
- ptzTiltSpeed: number;
1268
- ptzZoomSpeed: number;
1269
- panMin: number;
1270
- panMax: number;
1271
- tiltMin: number;
1272
- tiltMax: number;
1273
- zoomMin: number;
1274
- zoomMax: number;
1275
1276
  defaultStreamId: string;
1276
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
1277
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1277
1278
  } | {
1278
1279
  type: "door";
1279
1280
  canReportOpenState: boolean;
1280
1281
  canReportLockState: boolean;
1281
1282
  canControlLock: boolean;
1282
1283
  canRelease: boolean;
1283
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
1284
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1284
1285
  } | {
1285
1286
  type: "io-board";
1286
1287
  inputs: string[];
@@ -1321,8 +1322,7 @@ export declare const serverCommands: {
1321
1322
  type: "nvr-analytics-server";
1322
1323
  } | {
1323
1324
  type: "system";
1324
- }));
1325
- metadata: Record<string, unknown>;
1325
+ })) | [string, string];
1326
1326
  severity: "info" | "warning" | "critical";
1327
1327
  notificationRef: string | null;
1328
1328
  recipientId: string | null;
@@ -1330,12 +1330,13 @@ export declare const serverCommands: {
1330
1330
  }, "strip", z.ZodTypeAny, {
1331
1331
  params: {
1332
1332
  message: string;
1333
- source: string | [string, string] | ({
1333
+ metadata: Record<string, unknown>;
1334
+ source: string | ({
1334
1335
  name: string;
1335
1336
  foreignRef: string;
1336
1337
  presets: {
1337
- name: string;
1338
1338
  id: string;
1339
+ name: string;
1339
1340
  createdOn: string;
1340
1341
  lastModifiedOn: string;
1341
1342
  isDefault: boolean;
@@ -1350,39 +1351,39 @@ export declare const serverCommands: {
1350
1351
  type: "alarm";
1351
1352
  } | {
1352
1353
  type: "camera";
1354
+ ptzCapable: boolean;
1355
+ ptzPanSpeed: number;
1356
+ ptzTiltSpeed: number;
1357
+ ptzZoomSpeed: number;
1358
+ panMin: number;
1359
+ panMax: number;
1360
+ tiltMin: number;
1361
+ tiltMax: number;
1362
+ zoomMin: number;
1363
+ zoomMax: number;
1353
1364
  streams: {
1354
1365
  id: string;
1355
- height: number | null;
1356
- width: number | null;
1357
1366
  displayName: string;
1358
1367
  externalPlayerUrl: string | null;
1359
1368
  rtspUrl: string | null;
1360
1369
  recordingCapable: boolean;
1370
+ width: number | null;
1371
+ height: number | null;
1361
1372
  lensType: "flat" | "fisheye";
1362
1373
  mountPoint: "wall" | "ceiling" | "floor";
1363
1374
  webrtcPlaybackSource: ({
1364
1375
  kind: string;
1365
1376
  } & Record<string, unknown>) | null;
1366
1377
  }[];
1367
- ptzCapable: boolean;
1368
- ptzPanSpeed: number;
1369
- ptzTiltSpeed: number;
1370
- ptzZoomSpeed: number;
1371
- panMin: number;
1372
- panMax: number;
1373
- tiltMin: number;
1374
- tiltMax: number;
1375
- zoomMin: number;
1376
- zoomMax: number;
1377
1378
  defaultStreamId: string;
1378
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
1379
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1379
1380
  } | {
1380
1381
  type: "door";
1381
1382
  canReportOpenState: boolean;
1382
1383
  canReportLockState: boolean;
1383
1384
  canControlLock: boolean;
1384
1385
  canRelease: boolean;
1385
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
1386
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1386
1387
  } | {
1387
1388
  type: "io-board";
1388
1389
  inputs: string[];
@@ -1423,8 +1424,7 @@ export declare const serverCommands: {
1423
1424
  type: "nvr-analytics-server";
1424
1425
  } | {
1425
1426
  type: "system";
1426
- }));
1427
- metadata: Record<string, unknown>;
1427
+ })) | [string, string];
1428
1428
  severity: "info" | "warning" | "critical";
1429
1429
  notificationRef: string | null;
1430
1430
  recipientId: string | null;
@@ -1433,12 +1433,13 @@ export declare const serverCommands: {
1433
1433
  }, {
1434
1434
  params: {
1435
1435
  message: string;
1436
- source: string | [string, string] | ({
1436
+ metadata: Record<string, unknown>;
1437
+ source: string | ({
1437
1438
  name: string;
1438
1439
  foreignRef: string;
1439
1440
  presets: {
1440
- name: string;
1441
1441
  id: string;
1442
+ name: string;
1442
1443
  createdOn: string;
1443
1444
  lastModifiedOn: string;
1444
1445
  isDefault: boolean;
@@ -1453,39 +1454,39 @@ export declare const serverCommands: {
1453
1454
  type: "alarm";
1454
1455
  } | {
1455
1456
  type: "camera";
1457
+ ptzCapable: boolean;
1458
+ ptzPanSpeed: number;
1459
+ ptzTiltSpeed: number;
1460
+ ptzZoomSpeed: number;
1461
+ panMin: number;
1462
+ panMax: number;
1463
+ tiltMin: number;
1464
+ tiltMax: number;
1465
+ zoomMin: number;
1466
+ zoomMax: number;
1456
1467
  streams: {
1457
1468
  id: string;
1458
- height: number | null;
1459
- width: number | null;
1460
1469
  displayName: string;
1461
1470
  externalPlayerUrl: string | null;
1462
1471
  rtspUrl: string | null;
1463
1472
  recordingCapable: boolean;
1473
+ width: number | null;
1474
+ height: number | null;
1464
1475
  lensType: "flat" | "fisheye";
1465
1476
  mountPoint: "wall" | "ceiling" | "floor";
1466
1477
  webrtcPlaybackSource: ({
1467
1478
  kind: string;
1468
1479
  } & Record<string, unknown>) | null;
1469
1480
  }[];
1470
- ptzCapable: boolean;
1471
- ptzPanSpeed: number;
1472
- ptzTiltSpeed: number;
1473
- ptzZoomSpeed: number;
1474
- panMin: number;
1475
- panMax: number;
1476
- tiltMin: number;
1477
- tiltMax: number;
1478
- zoomMin: number;
1479
- zoomMax: number;
1480
1481
  defaultStreamId: string;
1481
- streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
1482
+ streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1482
1483
  } | {
1483
1484
  type: "door";
1484
1485
  canReportOpenState: boolean;
1485
1486
  canReportLockState: boolean;
1486
1487
  canControlLock: boolean;
1487
1488
  canRelease: boolean;
1488
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
1489
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1489
1490
  } | {
1490
1491
  type: "io-board";
1491
1492
  inputs: string[];
@@ -1526,8 +1527,7 @@ export declare const serverCommands: {
1526
1527
  type: "nvr-analytics-server";
1527
1528
  } | {
1528
1529
  type: "system";
1529
- }));
1530
- metadata: Record<string, unknown>;
1530
+ })) | [string, string];
1531
1531
  severity: "info" | "warning" | "critical";
1532
1532
  notificationRef: string | null;
1533
1533
  recipientId: string | null;