@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
@@ -24,19 +24,12 @@ export declare const sUrl: z.ZodString;
24
24
  export declare const sFileResponse: z.ZodNullable<z.ZodObject<{
25
25
  mimeType: z.ZodString;
26
26
  data: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- mimeType: string;
29
- data: string;
30
- }, {
31
- mimeType: string;
32
- data: string;
33
- }>>;
27
+ }, z.core.$strip>>;
34
28
  export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
35
29
  name: z.ZodString;
36
30
  foreignRef: z.ZodString;
37
31
  provider: z.ZodString;
38
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
39
- } & {
32
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
40
33
  presets: z.ZodArray<z.ZodObject<{
41
34
  id: z.ZodString;
42
35
  name: z.ZodString;
@@ -45,62 +38,10 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
45
38
  assignedRef: z.ZodNullable<z.ZodString>;
46
39
  createdOn: z.ZodString;
47
40
  lastModifiedOn: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- id: string;
50
- name: string;
51
- createdOn: string;
52
- lastModifiedOn: string;
53
- isDefault: boolean;
54
- assignedRef: string | null;
55
- params?: unknown;
56
- }, {
57
- id: string;
58
- name: string;
59
- createdOn: string;
60
- lastModifiedOn: string;
61
- isDefault: boolean;
62
- assignedRef: string | null;
63
- params?: unknown;
64
- }>, "many">;
65
- }, "strip", z.ZodTypeAny, {
66
- name: string;
67
- foreignRef: string;
68
- presets: {
69
- id: string;
70
- name: string;
71
- createdOn: string;
72
- lastModifiedOn: string;
73
- isDefault: boolean;
74
- assignedRef: string | null;
75
- params?: unknown;
76
- }[];
77
- provider: string;
78
- providerMetadata: {} & {
79
- [k: string]: unknown;
80
- };
81
- }, {
82
- name: string;
83
- foreignRef: string;
84
- presets: {
85
- id: string;
86
- name: string;
87
- createdOn: string;
88
- lastModifiedOn: string;
89
- isDefault: boolean;
90
- assignedRef: string | null;
91
- params?: unknown;
92
- }[];
93
- provider: string;
94
- providerMetadata: {} & {
95
- [k: string]: unknown;
96
- };
97
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
41
+ }, z.core.$strip>>;
42
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
98
43
  type: z.ZodLiteral<"alarm">;
99
- }, "strip", z.ZodTypeAny, {
100
- type: "alarm";
101
- }, {
102
- type: "alarm";
103
- }>, z.ZodObject<{
44
+ }, z.core.$strip>, z.ZodObject<{
104
45
  ptzCapable: z.ZodBoolean;
105
46
  ptzPanSpeed: z.ZodNumber;
106
47
  ptzTiltSpeed: z.ZodNumber;
@@ -118,255 +59,89 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
118
59
  rtspUrl: z.ZodNullable<z.ZodString>;
119
60
  width: z.ZodNullable<z.ZodNumber>;
120
61
  height: z.ZodNullable<z.ZodNumber>;
121
- lensType: z.ZodEnum<["flat", "fisheye"]>;
122
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
62
+ lensType: z.ZodEnum<{
63
+ flat: "flat";
64
+ fisheye: "fisheye";
65
+ }>;
66
+ mountPoint: z.ZodEnum<{
67
+ wall: "wall";
68
+ ceiling: "ceiling";
69
+ floor: "floor";
70
+ }>;
123
71
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
124
72
  kind: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- kind: string;
127
- }, {
128
- kind: string;
129
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
130
- }, "strip", z.ZodTypeAny, {
131
- id: string;
132
- displayName: string;
133
- externalPlayerUrl: string | null;
134
- rtspUrl: string | null;
135
- width: number | null;
136
- height: number | null;
137
- lensType: "flat" | "fisheye";
138
- mountPoint: "wall" | "ceiling" | "floor";
139
- webrtcPlaybackSource: ({
140
- kind: string;
141
- } & Record<string, unknown>) | null;
142
- }, {
143
- id: string;
144
- displayName: string;
145
- externalPlayerUrl: string | null;
146
- rtspUrl: string | null;
147
- width: number | null;
148
- height: number | null;
149
- lensType: "flat" | "fisheye";
150
- mountPoint: "wall" | "ceiling" | "floor";
151
- webrtcPlaybackSource: ({
152
- kind: string;
153
- } & Record<string, unknown>) | null;
154
- }>, "many">;
73
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
74
+ }, z.core.$strip>>;
155
75
  defaultStreamId: z.ZodString;
156
76
  autoSwitchStreams: z.ZodBoolean;
157
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
158
- } & {
77
+ streamNaming: z.ZodEnum<{
78
+ cameraStreamNo: "cameraStreamNo";
79
+ cameraStream: "cameraStream";
80
+ stream: "stream";
81
+ }>;
159
82
  type: z.ZodLiteral<"camera">;
160
- }, "strip", z.ZodTypeAny, {
161
- type: "camera";
162
- ptzCapable: boolean;
163
- ptzPanSpeed: number;
164
- ptzTiltSpeed: number;
165
- ptzZoomSpeed: number;
166
- panMin: number;
167
- panMax: number;
168
- tiltMin: number;
169
- tiltMax: number;
170
- zoomMin: number;
171
- zoomMax: number;
172
- streams: {
173
- id: string;
174
- displayName: string;
175
- externalPlayerUrl: string | null;
176
- rtspUrl: string | null;
177
- width: number | null;
178
- height: number | null;
179
- lensType: "flat" | "fisheye";
180
- mountPoint: "wall" | "ceiling" | "floor";
181
- webrtcPlaybackSource: ({
182
- kind: string;
183
- } & Record<string, unknown>) | null;
184
- }[];
185
- defaultStreamId: string;
186
- autoSwitchStreams: boolean;
187
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
188
- }, {
189
- type: "camera";
190
- ptzCapable: boolean;
191
- ptzPanSpeed: number;
192
- ptzTiltSpeed: number;
193
- ptzZoomSpeed: number;
194
- panMin: number;
195
- panMax: number;
196
- tiltMin: number;
197
- tiltMax: number;
198
- zoomMin: number;
199
- zoomMax: number;
200
- streams: {
201
- id: string;
202
- displayName: string;
203
- externalPlayerUrl: string | null;
204
- rtspUrl: string | null;
205
- width: number | null;
206
- height: number | null;
207
- lensType: "flat" | "fisheye";
208
- mountPoint: "wall" | "ceiling" | "floor";
209
- webrtcPlaybackSource: ({
210
- kind: string;
211
- } & Record<string, unknown>) | null;
212
- }[];
213
- defaultStreamId: string;
214
- autoSwitchStreams: boolean;
215
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
216
- }>, z.ZodObject<{
83
+ }, z.core.$strip>, z.ZodObject<{
217
84
  canReportOpenState: z.ZodBoolean;
218
85
  canReportLockState: z.ZodBoolean;
219
86
  canControlLock: z.ZodBoolean;
220
87
  canRelease: z.ZodBoolean;
221
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
222
- } & {
88
+ style: z.ZodOptional<z.ZodEnum<{
89
+ single: "single";
90
+ double: "double";
91
+ sliding: "sliding";
92
+ hatch: "hatch";
93
+ roller: "roller";
94
+ window: "window";
95
+ }>>;
223
96
  type: z.ZodLiteral<"door">;
224
- }, "strip", z.ZodTypeAny, {
225
- type: "door";
226
- canReportOpenState: boolean;
227
- canReportLockState: boolean;
228
- canControlLock: boolean;
229
- canRelease: boolean;
230
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
231
- }, {
232
- type: "door";
233
- canReportOpenState: boolean;
234
- canReportLockState: boolean;
235
- canControlLock: boolean;
236
- canRelease: boolean;
237
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
238
- }>, z.ZodObject<{
239
- inputs: z.ZodArray<z.ZodString, "many">;
240
- outputs: z.ZodArray<z.ZodString, "many">;
241
- } & {
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ inputs: z.ZodArray<z.ZodString>;
99
+ outputs: z.ZodArray<z.ZodString>;
242
100
  type: z.ZodLiteral<"io-board">;
243
- }, "strip", z.ZodTypeAny, {
244
- type: "io-board";
245
- inputs: string[];
246
- outputs: string[];
247
- }, {
248
- type: "io-board";
249
- inputs: string[];
250
- outputs: string[];
251
- }>, z.ZodObject<{
101
+ }, z.core.$strip>, z.ZodObject<{
252
102
  type: z.ZodLiteral<"camera-lift">;
253
- }, "strip", z.ZodTypeAny, {
254
- type: "camera-lift";
255
- }, {
256
- type: "camera-lift";
257
- }>, z.ZodObject<{
103
+ }, z.core.$strip>, z.ZodObject<{
258
104
  type: z.ZodLiteral<"motion-sensor">;
259
- }, "strip", z.ZodTypeAny, {
260
- type: "motion-sensor";
261
- }, {
262
- type: "motion-sensor";
263
- }>, z.ZodObject<{
105
+ }, z.core.$strip>, z.ZodObject<{
264
106
  type: z.ZodLiteral<"panic-button">;
265
- }, "strip", z.ZodTypeAny, {
266
- type: "panic-button";
267
- }, {
268
- type: "panic-button";
269
- }>, z.ZodObject<{
107
+ }, z.core.$strip>, z.ZodObject<{
270
108
  sipUri: z.ZodString;
271
109
  sipUser: z.ZodString;
272
110
  sipPassword: z.ZodString;
273
111
  sipRealm: z.ZodString;
274
112
  remoteExtension: z.ZodString;
275
- } & {
276
113
  type: z.ZodLiteral<"intercom-terminal">;
277
- }, "strip", z.ZodTypeAny, {
278
- type: "intercom-terminal";
279
- sipUri: string;
280
- sipUser: string;
281
- sipPassword: string;
282
- sipRealm: string;
283
- remoteExtension: string;
284
- }, {
285
- type: "intercom-terminal";
286
- sipUri: string;
287
- sipUser: string;
288
- sipPassword: string;
289
- sipRealm: string;
290
- remoteExtension: string;
291
- }>, z.ZodObject<{
114
+ }, z.core.$strip>, z.ZodObject<{
292
115
  sipWsUrl: z.ZodString;
293
- } & {
294
116
  type: z.ZodLiteral<"pbx">;
295
- }, "strip", z.ZodTypeAny, {
296
- type: "pbx";
297
- sipWsUrl: string;
298
- }, {
299
- type: "pbx";
300
- sipWsUrl: string;
301
- }>, z.ZodObject<{
117
+ }, z.core.$strip>, z.ZodObject<{
302
118
  type: z.ZodLiteral<"server">;
303
- }, "strip", z.ZodTypeAny, {
304
- type: "server";
305
- }, {
306
- type: "server";
307
- }>, z.ZodObject<{
119
+ }, z.core.$strip>, z.ZodObject<{
308
120
  type: z.ZodLiteral<"intercom-operator">;
309
- }, "strip", z.ZodTypeAny, {
310
- type: "intercom-operator";
311
- }, {
312
- type: "intercom-operator";
313
- }>, z.ZodObject<{
121
+ }, z.core.$strip>, z.ZodObject<{
314
122
  type: z.ZodLiteral<"device-gateway">;
315
- }, "strip", z.ZodTypeAny, {
316
- type: "device-gateway";
317
- }, {
318
- type: "device-gateway";
319
- }>, z.ZodObject<{
123
+ }, z.core.$strip>, z.ZodObject<{
320
124
  type: z.ZodLiteral<"presence-tracker">;
321
- }, "strip", z.ZodTypeAny, {
322
- type: "presence-tracker";
323
- }, {
324
- type: "presence-tracker";
325
- }>, z.ZodObject<{
125
+ }, z.core.$strip>, z.ZodObject<{
326
126
  type: z.ZodLiteral<"reader">;
327
- }, "strip", z.ZodTypeAny, {
328
- type: "reader";
329
- }, {
330
- type: "reader";
331
- }>, z.ZodObject<{
127
+ }, z.core.$strip>, z.ZodObject<{
332
128
  type: z.ZodLiteral<"display">;
333
- }, "strip", z.ZodTypeAny, {
334
- type: "display";
335
- }, {
336
- type: "display";
337
- }>, z.ZodObject<{
129
+ }, z.core.$strip>, z.ZodObject<{
338
130
  type: z.ZodLiteral<"nvr-recorder">;
339
- }, "strip", z.ZodTypeAny, {
340
- type: "nvr-recorder";
341
- }, {
342
- type: "nvr-recorder";
343
- }>, z.ZodObject<{
131
+ }, z.core.$strip>, z.ZodObject<{
344
132
  type: z.ZodLiteral<"nvr-exporter">;
345
- }, "strip", z.ZodTypeAny, {
346
- type: "nvr-exporter";
347
- }, {
348
- type: "nvr-exporter";
349
- }>, z.ZodObject<{
133
+ }, z.core.$strip>, z.ZodObject<{
350
134
  type: z.ZodLiteral<"nvr-analytics-server">;
351
- }, "strip", z.ZodTypeAny, {
352
- type: "nvr-analytics-server";
353
- }, {
354
- type: "nvr-analytics-server";
355
- }>, z.ZodObject<{
135
+ }, z.core.$strip>, z.ZodObject<{
356
136
  type: z.ZodLiteral<"system">;
357
- }, "strip", z.ZodTypeAny, {
358
- type: "system";
359
- }, {
360
- type: "system";
361
- }>]>>;
137
+ }, z.core.$strip>], "type">>;
362
138
  export type AgentDeviceInfo = z.infer<typeof sAgentDeviceInfo>;
363
139
  export declare const sForeignDeviceId: z.ZodTuple<[z.ZodString, z.ZodString], null>;
364
140
  export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
365
141
  name: z.ZodString;
366
142
  foreignRef: z.ZodString;
367
143
  provider: z.ZodString;
368
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
369
- } & {
144
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
370
145
  presets: z.ZodArray<z.ZodObject<{
371
146
  id: z.ZodString;
372
147
  name: z.ZodString;
@@ -375,62 +150,10 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
375
150
  assignedRef: z.ZodNullable<z.ZodString>;
376
151
  createdOn: z.ZodString;
377
152
  lastModifiedOn: z.ZodString;
378
- }, "strip", z.ZodTypeAny, {
379
- id: string;
380
- name: string;
381
- createdOn: string;
382
- lastModifiedOn: string;
383
- isDefault: boolean;
384
- assignedRef: string | null;
385
- params?: unknown;
386
- }, {
387
- id: string;
388
- name: string;
389
- createdOn: string;
390
- lastModifiedOn: string;
391
- isDefault: boolean;
392
- assignedRef: string | null;
393
- params?: unknown;
394
- }>, "many">;
395
- }, "strip", z.ZodTypeAny, {
396
- name: string;
397
- foreignRef: string;
398
- presets: {
399
- id: string;
400
- name: string;
401
- createdOn: string;
402
- lastModifiedOn: string;
403
- isDefault: boolean;
404
- assignedRef: string | null;
405
- params?: unknown;
406
- }[];
407
- provider: string;
408
- providerMetadata: {} & {
409
- [k: string]: unknown;
410
- };
411
- }, {
412
- name: string;
413
- foreignRef: string;
414
- presets: {
415
- id: string;
416
- name: string;
417
- createdOn: string;
418
- lastModifiedOn: string;
419
- isDefault: boolean;
420
- assignedRef: string | null;
421
- params?: unknown;
422
- }[];
423
- provider: string;
424
- providerMetadata: {} & {
425
- [k: string]: unknown;
426
- };
427
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
153
+ }, z.core.$strip>>;
154
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
428
155
  type: z.ZodLiteral<"alarm">;
429
- }, "strip", z.ZodTypeAny, {
430
- type: "alarm";
431
- }, {
432
- type: "alarm";
433
- }>, z.ZodObject<{
156
+ }, z.core.$strip>, z.ZodObject<{
434
157
  ptzCapable: z.ZodBoolean;
435
158
  ptzPanSpeed: z.ZodNumber;
436
159
  ptzTiltSpeed: z.ZodNumber;
@@ -448,265 +171,104 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
448
171
  rtspUrl: z.ZodNullable<z.ZodString>;
449
172
  width: z.ZodNullable<z.ZodNumber>;
450
173
  height: z.ZodNullable<z.ZodNumber>;
451
- lensType: z.ZodEnum<["flat", "fisheye"]>;
452
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
174
+ lensType: z.ZodEnum<{
175
+ flat: "flat";
176
+ fisheye: "fisheye";
177
+ }>;
178
+ mountPoint: z.ZodEnum<{
179
+ wall: "wall";
180
+ ceiling: "ceiling";
181
+ floor: "floor";
182
+ }>;
453
183
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
454
184
  kind: z.ZodString;
455
- }, "strip", z.ZodTypeAny, {
456
- kind: string;
457
- }, {
458
- kind: string;
459
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
460
- }, "strip", z.ZodTypeAny, {
461
- id: string;
462
- displayName: string;
463
- externalPlayerUrl: string | null;
464
- rtspUrl: string | null;
465
- width: number | null;
466
- height: number | null;
467
- lensType: "flat" | "fisheye";
468
- mountPoint: "wall" | "ceiling" | "floor";
469
- webrtcPlaybackSource: ({
470
- kind: string;
471
- } & Record<string, unknown>) | null;
472
- }, {
473
- id: string;
474
- displayName: string;
475
- externalPlayerUrl: string | null;
476
- rtspUrl: string | null;
477
- width: number | null;
478
- height: number | null;
479
- lensType: "flat" | "fisheye";
480
- mountPoint: "wall" | "ceiling" | "floor";
481
- webrtcPlaybackSource: ({
482
- kind: string;
483
- } & Record<string, unknown>) | null;
484
- }>, "many">;
185
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
186
+ }, z.core.$strip>>;
485
187
  defaultStreamId: z.ZodString;
486
188
  autoSwitchStreams: z.ZodBoolean;
487
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
488
- } & {
189
+ streamNaming: z.ZodEnum<{
190
+ cameraStreamNo: "cameraStreamNo";
191
+ cameraStream: "cameraStream";
192
+ stream: "stream";
193
+ }>;
489
194
  type: z.ZodLiteral<"camera">;
490
- }, "strip", z.ZodTypeAny, {
491
- type: "camera";
492
- ptzCapable: boolean;
493
- ptzPanSpeed: number;
494
- ptzTiltSpeed: number;
495
- ptzZoomSpeed: number;
496
- panMin: number;
497
- panMax: number;
498
- tiltMin: number;
499
- tiltMax: number;
500
- zoomMin: number;
501
- zoomMax: number;
502
- streams: {
503
- id: string;
504
- displayName: string;
505
- externalPlayerUrl: string | null;
506
- rtspUrl: string | null;
507
- width: number | null;
508
- height: number | null;
509
- lensType: "flat" | "fisheye";
510
- mountPoint: "wall" | "ceiling" | "floor";
511
- webrtcPlaybackSource: ({
512
- kind: string;
513
- } & Record<string, unknown>) | null;
514
- }[];
515
- defaultStreamId: string;
516
- autoSwitchStreams: boolean;
517
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
518
- }, {
519
- type: "camera";
520
- ptzCapable: boolean;
521
- ptzPanSpeed: number;
522
- ptzTiltSpeed: number;
523
- ptzZoomSpeed: number;
524
- panMin: number;
525
- panMax: number;
526
- tiltMin: number;
527
- tiltMax: number;
528
- zoomMin: number;
529
- zoomMax: number;
530
- streams: {
531
- id: string;
532
- displayName: string;
533
- externalPlayerUrl: string | null;
534
- rtspUrl: string | null;
535
- width: number | null;
536
- height: number | null;
537
- lensType: "flat" | "fisheye";
538
- mountPoint: "wall" | "ceiling" | "floor";
539
- webrtcPlaybackSource: ({
540
- kind: string;
541
- } & Record<string, unknown>) | null;
542
- }[];
543
- defaultStreamId: string;
544
- autoSwitchStreams: boolean;
545
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
546
- }>, z.ZodObject<{
195
+ }, z.core.$strip>, z.ZodObject<{
547
196
  canReportOpenState: z.ZodBoolean;
548
197
  canReportLockState: z.ZodBoolean;
549
198
  canControlLock: z.ZodBoolean;
550
199
  canRelease: z.ZodBoolean;
551
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
552
- } & {
200
+ style: z.ZodOptional<z.ZodEnum<{
201
+ single: "single";
202
+ double: "double";
203
+ sliding: "sliding";
204
+ hatch: "hatch";
205
+ roller: "roller";
206
+ window: "window";
207
+ }>>;
553
208
  type: z.ZodLiteral<"door">;
554
- }, "strip", z.ZodTypeAny, {
555
- type: "door";
556
- canReportOpenState: boolean;
557
- canReportLockState: boolean;
558
- canControlLock: boolean;
559
- canRelease: boolean;
560
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
561
- }, {
562
- type: "door";
563
- canReportOpenState: boolean;
564
- canReportLockState: boolean;
565
- canControlLock: boolean;
566
- canRelease: boolean;
567
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
568
- }>, z.ZodObject<{
569
- inputs: z.ZodArray<z.ZodString, "many">;
570
- outputs: z.ZodArray<z.ZodString, "many">;
571
- } & {
209
+ }, z.core.$strip>, z.ZodObject<{
210
+ inputs: z.ZodArray<z.ZodString>;
211
+ outputs: z.ZodArray<z.ZodString>;
572
212
  type: z.ZodLiteral<"io-board">;
573
- }, "strip", z.ZodTypeAny, {
574
- type: "io-board";
575
- inputs: string[];
576
- outputs: string[];
577
- }, {
578
- type: "io-board";
579
- inputs: string[];
580
- outputs: string[];
581
- }>, z.ZodObject<{
213
+ }, z.core.$strip>, z.ZodObject<{
582
214
  type: z.ZodLiteral<"camera-lift">;
583
- }, "strip", z.ZodTypeAny, {
584
- type: "camera-lift";
585
- }, {
586
- type: "camera-lift";
587
- }>, z.ZodObject<{
215
+ }, z.core.$strip>, z.ZodObject<{
588
216
  type: z.ZodLiteral<"motion-sensor">;
589
- }, "strip", z.ZodTypeAny, {
590
- type: "motion-sensor";
591
- }, {
592
- type: "motion-sensor";
593
- }>, z.ZodObject<{
217
+ }, z.core.$strip>, z.ZodObject<{
594
218
  type: z.ZodLiteral<"panic-button">;
595
- }, "strip", z.ZodTypeAny, {
596
- type: "panic-button";
597
- }, {
598
- type: "panic-button";
599
- }>, z.ZodObject<{
219
+ }, z.core.$strip>, z.ZodObject<{
600
220
  sipUri: z.ZodString;
601
221
  sipUser: z.ZodString;
602
222
  sipPassword: z.ZodString;
603
223
  sipRealm: z.ZodString;
604
224
  remoteExtension: z.ZodString;
605
- } & {
606
225
  type: z.ZodLiteral<"intercom-terminal">;
607
- }, "strip", z.ZodTypeAny, {
608
- type: "intercom-terminal";
609
- sipUri: string;
610
- sipUser: string;
611
- sipPassword: string;
612
- sipRealm: string;
613
- remoteExtension: string;
614
- }, {
615
- type: "intercom-terminal";
616
- sipUri: string;
617
- sipUser: string;
618
- sipPassword: string;
619
- sipRealm: string;
620
- remoteExtension: string;
621
- }>, z.ZodObject<{
226
+ }, z.core.$strip>, z.ZodObject<{
622
227
  sipWsUrl: z.ZodString;
623
- } & {
624
228
  type: z.ZodLiteral<"pbx">;
625
- }, "strip", z.ZodTypeAny, {
626
- type: "pbx";
627
- sipWsUrl: string;
628
- }, {
629
- type: "pbx";
630
- sipWsUrl: string;
631
- }>, z.ZodObject<{
229
+ }, z.core.$strip>, z.ZodObject<{
632
230
  type: z.ZodLiteral<"server">;
633
- }, "strip", z.ZodTypeAny, {
634
- type: "server";
635
- }, {
636
- type: "server";
637
- }>, z.ZodObject<{
231
+ }, z.core.$strip>, z.ZodObject<{
638
232
  type: z.ZodLiteral<"intercom-operator">;
639
- }, "strip", z.ZodTypeAny, {
640
- type: "intercom-operator";
641
- }, {
642
- type: "intercom-operator";
643
- }>, z.ZodObject<{
233
+ }, z.core.$strip>, z.ZodObject<{
644
234
  type: z.ZodLiteral<"device-gateway">;
645
- }, "strip", z.ZodTypeAny, {
646
- type: "device-gateway";
647
- }, {
648
- type: "device-gateway";
649
- }>, z.ZodObject<{
235
+ }, z.core.$strip>, z.ZodObject<{
650
236
  type: z.ZodLiteral<"presence-tracker">;
651
- }, "strip", z.ZodTypeAny, {
652
- type: "presence-tracker";
653
- }, {
654
- type: "presence-tracker";
655
- }>, z.ZodObject<{
237
+ }, z.core.$strip>, z.ZodObject<{
656
238
  type: z.ZodLiteral<"reader">;
657
- }, "strip", z.ZodTypeAny, {
658
- type: "reader";
659
- }, {
660
- type: "reader";
661
- }>, z.ZodObject<{
239
+ }, z.core.$strip>, z.ZodObject<{
662
240
  type: z.ZodLiteral<"display">;
663
- }, "strip", z.ZodTypeAny, {
664
- type: "display";
665
- }, {
666
- type: "display";
667
- }>, z.ZodObject<{
241
+ }, z.core.$strip>, z.ZodObject<{
668
242
  type: z.ZodLiteral<"nvr-recorder">;
669
- }, "strip", z.ZodTypeAny, {
670
- type: "nvr-recorder";
671
- }, {
672
- type: "nvr-recorder";
673
- }>, z.ZodObject<{
243
+ }, z.core.$strip>, z.ZodObject<{
674
244
  type: z.ZodLiteral<"nvr-exporter">;
675
- }, "strip", z.ZodTypeAny, {
676
- type: "nvr-exporter";
677
- }, {
678
- type: "nvr-exporter";
679
- }>, z.ZodObject<{
245
+ }, z.core.$strip>, z.ZodObject<{
680
246
  type: z.ZodLiteral<"nvr-analytics-server">;
681
- }, "strip", z.ZodTypeAny, {
682
- type: "nvr-analytics-server";
683
- }, {
684
- type: "nvr-analytics-server";
685
- }>, z.ZodObject<{
247
+ }, z.core.$strip>, z.ZodObject<{
686
248
  type: z.ZodLiteral<"system">;
687
- }, "strip", z.ZodTypeAny, {
688
- type: "system";
689
- }, {
690
- type: "system";
691
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
249
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
692
250
  export type DeviceParam = z.infer<typeof sDeviceParam>;
693
251
  export declare const sStreamId: z.ZodString;
694
252
  export type StreamId = z.infer<typeof sStreamId>;
695
- export declare const sNotificationSeverity: z.ZodEnum<["info", "warning", "critical"]>;
253
+ export declare const sNotificationSeverity: z.ZodEnum<{
254
+ info: "info";
255
+ warning: "warning";
256
+ critical: "critical";
257
+ }>;
696
258
  export type NotificationSeverity = z.infer<typeof sNotificationSeverity>;
697
259
  export declare const sCameraPresetInfo: z.ZodObject<{
698
260
  name: z.ZodString;
699
261
  isDefault: z.ZodBoolean;
700
262
  values: z.ZodUnknown;
701
- }, "strip", z.ZodTypeAny, {
702
- name: string;
703
- isDefault: boolean;
704
- values?: unknown;
705
- }, {
706
- name: string;
707
- isDefault: boolean;
708
- values?: unknown;
709
- }>;
263
+ }, z.core.$strip>;
710
264
  export type CameraPresetInfo = z.infer<typeof sCameraPresetInfo>;
711
- export declare const sCallState: z.ZodEnum<["connecting", "connected", "ringing", "terminated"]>;
712
- export declare const sCallDirection: z.ZodEnum<["incoming", "outgoing"]>;
265
+ export declare const sCallState: z.ZodEnum<{
266
+ connecting: "connecting";
267
+ connected: "connected";
268
+ ringing: "ringing";
269
+ terminated: "terminated";
270
+ }>;
271
+ export declare const sCallDirection: z.ZodEnum<{
272
+ incoming: "incoming";
273
+ outgoing: "outgoing";
274
+ }>;