@awarevue/api-types 2.0.82 → 2.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
  3. package/dist/api/agent-protocol/protocol.js +16 -12
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +38 -146
  75. package/dist/objects/agent-metadata.js +1 -1
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const CAMERA_LIFT: "camera-lift";
3
- export declare const sCameraLiftSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sCameraLiftSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type CameraLiftSpecs = z.infer<typeof sCameraLiftSpecs>;
5
5
  export interface CameraLiftStateDto {
6
6
  raised: boolean;
@@ -2,11 +2,7 @@ import { z } from 'zod';
2
2
  export declare const CAMERA: "camera";
3
3
  export declare const sWebRtcPlaybackSource: z.ZodIntersection<z.ZodObject<{
4
4
  kind: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- kind: string;
7
- }, {
8
- kind: string;
9
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
6
  export declare const sStreamInfo: z.ZodObject<{
11
7
  id: z.ZodString;
12
8
  displayName: z.ZodString;
@@ -14,40 +10,19 @@ export declare const sStreamInfo: z.ZodObject<{
14
10
  rtspUrl: z.ZodNullable<z.ZodString>;
15
11
  width: z.ZodNullable<z.ZodNumber>;
16
12
  height: z.ZodNullable<z.ZodNumber>;
17
- lensType: z.ZodEnum<["flat", "fisheye"]>;
18
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
13
+ lensType: z.ZodEnum<{
14
+ flat: "flat";
15
+ fisheye: "fisheye";
16
+ }>;
17
+ mountPoint: z.ZodEnum<{
18
+ wall: "wall";
19
+ ceiling: "ceiling";
20
+ floor: "floor";
21
+ }>;
19
22
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
20
23
  kind: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- kind: string;
23
- }, {
24
- kind: string;
25
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
- }, "strip", z.ZodTypeAny, {
27
- id: string;
28
- displayName: string;
29
- externalPlayerUrl: string | null;
30
- rtspUrl: string | null;
31
- width: number | null;
32
- height: number | null;
33
- lensType: "flat" | "fisheye";
34
- mountPoint: "wall" | "ceiling" | "floor";
35
- webrtcPlaybackSource: ({
36
- kind: string;
37
- } & Record<string, unknown>) | null;
38
- }, {
39
- id: string;
40
- displayName: string;
41
- externalPlayerUrl: string | null;
42
- rtspUrl: string | null;
43
- width: number | null;
44
- height: number | null;
45
- lensType: "flat" | "fisheye";
46
- mountPoint: "wall" | "ceiling" | "floor";
47
- webrtcPlaybackSource: ({
48
- kind: string;
49
- } & Record<string, unknown>) | null;
50
- }>;
24
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ }, z.core.$strip>;
51
26
  export declare const sCameraSpecs: z.ZodObject<{
52
27
  ptzCapable: z.ZodBoolean;
53
28
  ptzPanSpeed: z.ZodNumber;
@@ -66,98 +41,27 @@ export declare const sCameraSpecs: z.ZodObject<{
66
41
  rtspUrl: z.ZodNullable<z.ZodString>;
67
42
  width: z.ZodNullable<z.ZodNumber>;
68
43
  height: z.ZodNullable<z.ZodNumber>;
69
- lensType: z.ZodEnum<["flat", "fisheye"]>;
70
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
44
+ lensType: z.ZodEnum<{
45
+ flat: "flat";
46
+ fisheye: "fisheye";
47
+ }>;
48
+ mountPoint: z.ZodEnum<{
49
+ wall: "wall";
50
+ ceiling: "ceiling";
51
+ floor: "floor";
52
+ }>;
71
53
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
72
54
  kind: z.ZodString;
73
- }, "strip", z.ZodTypeAny, {
74
- kind: string;
75
- }, {
76
- kind: string;
77
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
- }, "strip", z.ZodTypeAny, {
79
- id: string;
80
- displayName: string;
81
- externalPlayerUrl: string | null;
82
- rtspUrl: string | null;
83
- width: number | null;
84
- height: number | null;
85
- lensType: "flat" | "fisheye";
86
- mountPoint: "wall" | "ceiling" | "floor";
87
- webrtcPlaybackSource: ({
88
- kind: string;
89
- } & Record<string, unknown>) | null;
90
- }, {
91
- id: string;
92
- displayName: string;
93
- externalPlayerUrl: string | null;
94
- rtspUrl: string | null;
95
- width: number | null;
96
- height: number | null;
97
- lensType: "flat" | "fisheye";
98
- mountPoint: "wall" | "ceiling" | "floor";
99
- webrtcPlaybackSource: ({
100
- kind: string;
101
- } & Record<string, unknown>) | null;
102
- }>, "many">;
55
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
+ }, z.core.$strip>>;
103
57
  defaultStreamId: z.ZodString;
104
58
  autoSwitchStreams: z.ZodBoolean;
105
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
106
- }, "strip", z.ZodTypeAny, {
107
- ptzCapable: boolean;
108
- ptzPanSpeed: number;
109
- ptzTiltSpeed: number;
110
- ptzZoomSpeed: number;
111
- panMin: number;
112
- panMax: number;
113
- tiltMin: number;
114
- tiltMax: number;
115
- zoomMin: number;
116
- zoomMax: number;
117
- streams: {
118
- id: string;
119
- displayName: string;
120
- externalPlayerUrl: string | null;
121
- rtspUrl: string | null;
122
- width: number | null;
123
- height: number | null;
124
- lensType: "flat" | "fisheye";
125
- mountPoint: "wall" | "ceiling" | "floor";
126
- webrtcPlaybackSource: ({
127
- kind: string;
128
- } & Record<string, unknown>) | null;
129
- }[];
130
- defaultStreamId: string;
131
- autoSwitchStreams: boolean;
132
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
133
- }, {
134
- ptzCapable: boolean;
135
- ptzPanSpeed: number;
136
- ptzTiltSpeed: number;
137
- ptzZoomSpeed: number;
138
- panMin: number;
139
- panMax: number;
140
- tiltMin: number;
141
- tiltMax: number;
142
- zoomMin: number;
143
- zoomMax: number;
144
- streams: {
145
- id: string;
146
- displayName: string;
147
- externalPlayerUrl: string | null;
148
- rtspUrl: string | null;
149
- width: number | null;
150
- height: number | null;
151
- lensType: "flat" | "fisheye";
152
- mountPoint: "wall" | "ceiling" | "floor";
153
- webrtcPlaybackSource: ({
154
- kind: string;
155
- } & Record<string, unknown>) | null;
156
- }[];
157
- defaultStreamId: string;
158
- autoSwitchStreams: boolean;
159
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
160
- }>;
59
+ streamNaming: z.ZodEnum<{
60
+ cameraStreamNo: "cameraStreamNo";
61
+ cameraStream: "cameraStream";
62
+ stream: "stream";
63
+ }>;
64
+ }, z.core.$strip>;
161
65
  export type WebRtcPlaybackSource = z.infer<typeof sWebRtcPlaybackSource>;
162
66
  export type CameraSpecs = z.infer<typeof sCameraSpecs>;
163
67
  export interface CameraStateDto {
@@ -8,7 +8,7 @@ exports.sWebRtcPlaybackSource = zod_1.z
8
8
  .object({
9
9
  kind: zod_1.z.string(),
10
10
  })
11
- .and(zod_1.z.record(zod_1.z.unknown()));
11
+ .and(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()));
12
12
  exports.sStreamInfo = zod_1.z.object({
13
13
  id: zod_1.z.string().nonempty(),
14
14
  displayName: zod_1.z.string().nonempty(),