@awarevue/api-types 2.0.81 → 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
@@ -5,8 +5,7 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
5
5
  name: z.ZodString;
6
6
  foreignRef: z.ZodString;
7
7
  provider: z.ZodString;
8
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
9
- } & {
8
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
10
9
  presets: z.ZodArray<z.ZodObject<{
11
10
  id: z.ZodString;
12
11
  name: z.ZodString;
@@ -15,62 +14,10 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
15
14
  assignedRef: z.ZodNullable<z.ZodString>;
16
15
  createdOn: z.ZodString;
17
16
  lastModifiedOn: z.ZodString;
18
- }, "strip", z.ZodTypeAny, {
19
- id: string;
20
- name: string;
21
- createdOn: string;
22
- lastModifiedOn: string;
23
- isDefault: boolean;
24
- assignedRef: string | null;
25
- params?: unknown;
26
- }, {
27
- id: string;
28
- name: string;
29
- createdOn: string;
30
- lastModifiedOn: string;
31
- isDefault: boolean;
32
- assignedRef: string | null;
33
- params?: unknown;
34
- }>, "many">;
35
- }, "strip", z.ZodTypeAny, {
36
- name: string;
37
- foreignRef: string;
38
- presets: {
39
- id: string;
40
- name: string;
41
- createdOn: string;
42
- lastModifiedOn: string;
43
- isDefault: boolean;
44
- assignedRef: string | null;
45
- params?: unknown;
46
- }[];
47
- provider: string;
48
- providerMetadata: {} & {
49
- [k: string]: unknown;
50
- };
51
- }, {
52
- name: string;
53
- foreignRef: string;
54
- presets: {
55
- id: string;
56
- name: string;
57
- createdOn: string;
58
- lastModifiedOn: string;
59
- isDefault: boolean;
60
- assignedRef: string | null;
61
- params?: unknown;
62
- }[];
63
- provider: string;
64
- providerMetadata: {} & {
65
- [k: string]: unknown;
66
- };
67
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
68
19
  type: z.ZodLiteral<"alarm">;
69
- }, "strip", z.ZodTypeAny, {
70
- type: "alarm";
71
- }, {
72
- type: "alarm";
73
- }>, z.ZodObject<{
20
+ }, z.core.$strip>, z.ZodObject<{
74
21
  ptzCapable: z.ZodBoolean;
75
22
  ptzPanSpeed: z.ZodNumber;
76
23
  ptzTiltSpeed: z.ZodNumber;
@@ -88,463 +35,92 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
88
35
  rtspUrl: z.ZodNullable<z.ZodString>;
89
36
  width: z.ZodNullable<z.ZodNumber>;
90
37
  height: z.ZodNullable<z.ZodNumber>;
91
- lensType: z.ZodEnum<["flat", "fisheye"]>;
92
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
38
+ lensType: z.ZodEnum<{
39
+ flat: "flat";
40
+ fisheye: "fisheye";
41
+ }>;
42
+ mountPoint: z.ZodEnum<{
43
+ wall: "wall";
44
+ ceiling: "ceiling";
45
+ floor: "floor";
46
+ }>;
93
47
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
94
48
  kind: z.ZodString;
95
- }, "strip", z.ZodTypeAny, {
96
- kind: string;
97
- }, {
98
- kind: string;
99
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
100
- }, "strip", z.ZodTypeAny, {
101
- id: string;
102
- displayName: string;
103
- externalPlayerUrl: string | null;
104
- rtspUrl: string | null;
105
- width: number | null;
106
- height: number | null;
107
- lensType: "flat" | "fisheye";
108
- mountPoint: "wall" | "ceiling" | "floor";
109
- webrtcPlaybackSource: ({
110
- kind: string;
111
- } & Record<string, unknown>) | null;
112
- }, {
113
- id: string;
114
- displayName: string;
115
- externalPlayerUrl: string | null;
116
- rtspUrl: string | null;
117
- width: number | null;
118
- height: number | null;
119
- lensType: "flat" | "fisheye";
120
- mountPoint: "wall" | "ceiling" | "floor";
121
- webrtcPlaybackSource: ({
122
- kind: string;
123
- } & Record<string, unknown>) | null;
124
- }>, "many">;
49
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
+ }, z.core.$strip>>;
125
51
  defaultStreamId: z.ZodString;
126
52
  autoSwitchStreams: z.ZodBoolean;
127
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
128
- } & {
53
+ streamNaming: z.ZodEnum<{
54
+ cameraStreamNo: "cameraStreamNo";
55
+ cameraStream: "cameraStream";
56
+ stream: "stream";
57
+ }>;
129
58
  type: z.ZodLiteral<"camera">;
130
- }, "strip", z.ZodTypeAny, {
131
- type: "camera";
132
- ptzCapable: boolean;
133
- ptzPanSpeed: number;
134
- ptzTiltSpeed: number;
135
- ptzZoomSpeed: number;
136
- panMin: number;
137
- panMax: number;
138
- tiltMin: number;
139
- tiltMax: number;
140
- zoomMin: number;
141
- zoomMax: number;
142
- streams: {
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
- }[];
155
- defaultStreamId: string;
156
- autoSwitchStreams: boolean;
157
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
158
- }, {
159
- type: "camera";
160
- ptzCapable: boolean;
161
- ptzPanSpeed: number;
162
- ptzTiltSpeed: number;
163
- ptzZoomSpeed: number;
164
- panMin: number;
165
- panMax: number;
166
- tiltMin: number;
167
- tiltMax: number;
168
- zoomMin: number;
169
- zoomMax: number;
170
- streams: {
171
- id: string;
172
- displayName: string;
173
- externalPlayerUrl: string | null;
174
- rtspUrl: string | null;
175
- width: number | null;
176
- height: number | null;
177
- lensType: "flat" | "fisheye";
178
- mountPoint: "wall" | "ceiling" | "floor";
179
- webrtcPlaybackSource: ({
180
- kind: string;
181
- } & Record<string, unknown>) | null;
182
- }[];
183
- defaultStreamId: string;
184
- autoSwitchStreams: boolean;
185
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
186
- }>, z.ZodObject<{
59
+ }, z.core.$strip>, z.ZodObject<{
187
60
  canReportOpenState: z.ZodBoolean;
188
61
  canReportLockState: z.ZodBoolean;
189
62
  canControlLock: z.ZodBoolean;
190
63
  canRelease: z.ZodBoolean;
191
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
192
- } & {
64
+ style: z.ZodOptional<z.ZodEnum<{
65
+ single: "single";
66
+ double: "double";
67
+ sliding: "sliding";
68
+ hatch: "hatch";
69
+ roller: "roller";
70
+ window: "window";
71
+ }>>;
193
72
  type: z.ZodLiteral<"door">;
194
- }, "strip", z.ZodTypeAny, {
195
- type: "door";
196
- canReportOpenState: boolean;
197
- canReportLockState: boolean;
198
- canControlLock: boolean;
199
- canRelease: boolean;
200
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
201
- }, {
202
- type: "door";
203
- canReportOpenState: boolean;
204
- canReportLockState: boolean;
205
- canControlLock: boolean;
206
- canRelease: boolean;
207
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
208
- }>, z.ZodObject<{
209
- inputs: z.ZodArray<z.ZodString, "many">;
210
- outputs: z.ZodArray<z.ZodString, "many">;
211
- } & {
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ inputs: z.ZodArray<z.ZodString>;
75
+ outputs: z.ZodArray<z.ZodString>;
212
76
  type: z.ZodLiteral<"io-board">;
213
- }, "strip", z.ZodTypeAny, {
214
- type: "io-board";
215
- inputs: string[];
216
- outputs: string[];
217
- }, {
218
- type: "io-board";
219
- inputs: string[];
220
- outputs: string[];
221
- }>, z.ZodObject<{
77
+ }, z.core.$strip>, z.ZodObject<{
222
78
  type: z.ZodLiteral<"camera-lift">;
223
- }, "strip", z.ZodTypeAny, {
224
- type: "camera-lift";
225
- }, {
226
- type: "camera-lift";
227
- }>, z.ZodObject<{
79
+ }, z.core.$strip>, z.ZodObject<{
228
80
  type: z.ZodLiteral<"motion-sensor">;
229
- }, "strip", z.ZodTypeAny, {
230
- type: "motion-sensor";
231
- }, {
232
- type: "motion-sensor";
233
- }>, z.ZodObject<{
81
+ }, z.core.$strip>, z.ZodObject<{
234
82
  type: z.ZodLiteral<"panic-button">;
235
- }, "strip", z.ZodTypeAny, {
236
- type: "panic-button";
237
- }, {
238
- type: "panic-button";
239
- }>, z.ZodObject<{
83
+ }, z.core.$strip>, z.ZodObject<{
240
84
  sipUri: z.ZodString;
241
85
  sipUser: z.ZodString;
242
86
  sipPassword: z.ZodString;
243
87
  sipRealm: z.ZodString;
244
88
  remoteExtension: z.ZodString;
245
- } & {
246
89
  type: z.ZodLiteral<"intercom-terminal">;
247
- }, "strip", z.ZodTypeAny, {
248
- type: "intercom-terminal";
249
- sipUri: string;
250
- sipUser: string;
251
- sipPassword: string;
252
- sipRealm: string;
253
- remoteExtension: string;
254
- }, {
255
- type: "intercom-terminal";
256
- sipUri: string;
257
- sipUser: string;
258
- sipPassword: string;
259
- sipRealm: string;
260
- remoteExtension: string;
261
- }>, z.ZodObject<{
90
+ }, z.core.$strip>, z.ZodObject<{
262
91
  sipWsUrl: z.ZodString;
263
- } & {
264
92
  type: z.ZodLiteral<"pbx">;
265
- }, "strip", z.ZodTypeAny, {
266
- type: "pbx";
267
- sipWsUrl: string;
268
- }, {
269
- type: "pbx";
270
- sipWsUrl: string;
271
- }>, z.ZodObject<{
93
+ }, z.core.$strip>, z.ZodObject<{
272
94
  type: z.ZodLiteral<"server">;
273
- }, "strip", z.ZodTypeAny, {
274
- type: "server";
275
- }, {
276
- type: "server";
277
- }>, z.ZodObject<{
95
+ }, z.core.$strip>, z.ZodObject<{
278
96
  type: z.ZodLiteral<"intercom-operator">;
279
- }, "strip", z.ZodTypeAny, {
280
- type: "intercom-operator";
281
- }, {
282
- type: "intercom-operator";
283
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
284
98
  type: z.ZodLiteral<"device-gateway">;
285
- }, "strip", z.ZodTypeAny, {
286
- type: "device-gateway";
287
- }, {
288
- type: "device-gateway";
289
- }>, z.ZodObject<{
99
+ }, z.core.$strip>, z.ZodObject<{
290
100
  type: z.ZodLiteral<"presence-tracker">;
291
- }, "strip", z.ZodTypeAny, {
292
- type: "presence-tracker";
293
- }, {
294
- type: "presence-tracker";
295
- }>, z.ZodObject<{
101
+ }, z.core.$strip>, z.ZodObject<{
296
102
  type: z.ZodLiteral<"reader">;
297
- }, "strip", z.ZodTypeAny, {
298
- type: "reader";
299
- }, {
300
- type: "reader";
301
- }>, z.ZodObject<{
103
+ }, z.core.$strip>, z.ZodObject<{
302
104
  type: z.ZodLiteral<"display">;
303
- }, "strip", z.ZodTypeAny, {
304
- type: "display";
305
- }, {
306
- type: "display";
307
- }>, z.ZodObject<{
105
+ }, z.core.$strip>, z.ZodObject<{
308
106
  type: z.ZodLiteral<"nvr-recorder">;
309
- }, "strip", z.ZodTypeAny, {
310
- type: "nvr-recorder";
311
- }, {
312
- type: "nvr-recorder";
313
- }>, z.ZodObject<{
107
+ }, z.core.$strip>, z.ZodObject<{
314
108
  type: z.ZodLiteral<"nvr-exporter">;
315
- }, "strip", z.ZodTypeAny, {
316
- type: "nvr-exporter";
317
- }, {
318
- type: "nvr-exporter";
319
- }>, z.ZodObject<{
109
+ }, z.core.$strip>, z.ZodObject<{
320
110
  type: z.ZodLiteral<"nvr-analytics-server">;
321
- }, "strip", z.ZodTypeAny, {
322
- type: "nvr-analytics-server";
323
- }, {
324
- type: "nvr-analytics-server";
325
- }>, z.ZodObject<{
111
+ }, z.core.$strip>, z.ZodObject<{
326
112
  type: z.ZodLiteral<"system">;
327
- }, "strip", z.ZodTypeAny, {
328
- type: "system";
329
- }, {
330
- type: "system";
331
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
113
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
332
114
  streamId: z.ZodString;
333
115
  timeFrom: z.ZodNumber;
334
116
  timeTo: z.ZodNumber;
335
- }, "strip", z.ZodTypeAny, {
336
- device: string | ({
337
- name: string;
338
- foreignRef: string;
339
- presets: {
340
- id: string;
341
- name: string;
342
- createdOn: string;
343
- lastModifiedOn: string;
344
- isDefault: boolean;
345
- assignedRef: string | null;
346
- params?: unknown;
347
- }[];
348
- provider: string;
349
- providerMetadata: {} & {
350
- [k: string]: unknown;
351
- };
352
- } & ({
353
- type: "alarm";
354
- } | {
355
- type: "camera";
356
- ptzCapable: boolean;
357
- ptzPanSpeed: number;
358
- ptzTiltSpeed: number;
359
- ptzZoomSpeed: number;
360
- panMin: number;
361
- panMax: number;
362
- tiltMin: number;
363
- tiltMax: number;
364
- zoomMin: number;
365
- zoomMax: number;
366
- streams: {
367
- id: string;
368
- displayName: string;
369
- externalPlayerUrl: string | null;
370
- rtspUrl: string | null;
371
- width: number | null;
372
- height: number | null;
373
- lensType: "flat" | "fisheye";
374
- mountPoint: "wall" | "ceiling" | "floor";
375
- webrtcPlaybackSource: ({
376
- kind: string;
377
- } & Record<string, unknown>) | null;
378
- }[];
379
- defaultStreamId: string;
380
- autoSwitchStreams: boolean;
381
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
382
- } | {
383
- type: "door";
384
- canReportOpenState: boolean;
385
- canReportLockState: boolean;
386
- canControlLock: boolean;
387
- canRelease: boolean;
388
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
389
- } | {
390
- type: "io-board";
391
- inputs: string[];
392
- outputs: string[];
393
- } | {
394
- type: "camera-lift";
395
- } | {
396
- type: "motion-sensor";
397
- } | {
398
- type: "panic-button";
399
- } | {
400
- type: "intercom-terminal";
401
- sipUri: string;
402
- sipUser: string;
403
- sipPassword: string;
404
- sipRealm: string;
405
- remoteExtension: string;
406
- } | {
407
- type: "pbx";
408
- sipWsUrl: string;
409
- } | {
410
- type: "server";
411
- } | {
412
- type: "intercom-operator";
413
- } | {
414
- type: "device-gateway";
415
- } | {
416
- type: "presence-tracker";
417
- } | {
418
- type: "reader";
419
- } | {
420
- type: "display";
421
- } | {
422
- type: "nvr-recorder";
423
- } | {
424
- type: "nvr-exporter";
425
- } | {
426
- type: "nvr-analytics-server";
427
- } | {
428
- type: "system";
429
- })) | [string, string];
430
- streamId: string;
431
- timeFrom: number;
432
- timeTo: number;
433
- }, {
434
- device: string | ({
435
- name: string;
436
- foreignRef: string;
437
- presets: {
438
- id: string;
439
- name: string;
440
- createdOn: string;
441
- lastModifiedOn: string;
442
- isDefault: boolean;
443
- assignedRef: string | null;
444
- params?: unknown;
445
- }[];
446
- provider: string;
447
- providerMetadata: {} & {
448
- [k: string]: unknown;
449
- };
450
- } & ({
451
- type: "alarm";
452
- } | {
453
- type: "camera";
454
- ptzCapable: boolean;
455
- ptzPanSpeed: number;
456
- ptzTiltSpeed: number;
457
- ptzZoomSpeed: number;
458
- panMin: number;
459
- panMax: number;
460
- tiltMin: number;
461
- tiltMax: number;
462
- zoomMin: number;
463
- zoomMax: number;
464
- streams: {
465
- id: string;
466
- displayName: string;
467
- externalPlayerUrl: string | null;
468
- rtspUrl: string | null;
469
- width: number | null;
470
- height: number | null;
471
- lensType: "flat" | "fisheye";
472
- mountPoint: "wall" | "ceiling" | "floor";
473
- webrtcPlaybackSource: ({
474
- kind: string;
475
- } & Record<string, unknown>) | null;
476
- }[];
477
- defaultStreamId: string;
478
- autoSwitchStreams: boolean;
479
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
480
- } | {
481
- type: "door";
482
- canReportOpenState: boolean;
483
- canReportLockState: boolean;
484
- canControlLock: boolean;
485
- canRelease: boolean;
486
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
487
- } | {
488
- type: "io-board";
489
- inputs: string[];
490
- outputs: string[];
491
- } | {
492
- type: "camera-lift";
493
- } | {
494
- type: "motion-sensor";
495
- } | {
496
- type: "panic-button";
497
- } | {
498
- type: "intercom-terminal";
499
- sipUri: string;
500
- sipUser: string;
501
- sipPassword: string;
502
- sipRealm: string;
503
- remoteExtension: string;
504
- } | {
505
- type: "pbx";
506
- sipWsUrl: string;
507
- } | {
508
- type: "server";
509
- } | {
510
- type: "intercom-operator";
511
- } | {
512
- type: "device-gateway";
513
- } | {
514
- type: "presence-tracker";
515
- } | {
516
- type: "reader";
517
- } | {
518
- type: "display";
519
- } | {
520
- type: "nvr-recorder";
521
- } | {
522
- type: "nvr-exporter";
523
- } | {
524
- type: "nvr-analytics-server";
525
- } | {
526
- type: "system";
527
- })) | [string, string];
528
- streamId: string;
529
- timeFrom: number;
530
- timeTo: number;
531
- }>;
117
+ }, z.core.$strip>;
532
118
  export declare const sRecordingsResponse: z.ZodArray<z.ZodObject<{
533
119
  start: z.ZodNumber;
534
120
  end: z.ZodNumber;
535
121
  motion: z.ZodOptional<z.ZodNumber>;
536
122
  objects: z.ZodOptional<z.ZodNumber>;
537
- }, "strip", z.ZodTypeAny, {
538
- start: number;
539
- end: number;
540
- motion?: number | undefined;
541
- objects?: number | undefined;
542
- }, {
543
- start: number;
544
- end: number;
545
- motion?: number | undefined;
546
- objects?: number | undefined;
547
- }>, "many">;
123
+ }, z.core.$strip>>;
548
124
  export type RecordingsByTimeRangeArgs = z.infer<typeof sRecordingsByTimeRangeArgs>;
549
125
  export type RecordingsResponse = z.infer<typeof sRecordingsResponse>;
550
126
  export declare const QUERY_PREVIEW_IMAGE = "cctv:preview-image";
@@ -553,8 +129,7 @@ export declare const sPreviewImageArgs: z.ZodObject<{
553
129
  name: z.ZodString;
554
130
  foreignRef: z.ZodString;
555
131
  provider: z.ZodString;
556
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
557
- } & {
132
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
558
133
  presets: z.ZodArray<z.ZodObject<{
559
134
  id: z.ZodString;
560
135
  name: z.ZodString;
@@ -563,62 +138,10 @@ export declare const sPreviewImageArgs: z.ZodObject<{
563
138
  assignedRef: z.ZodNullable<z.ZodString>;
564
139
  createdOn: z.ZodString;
565
140
  lastModifiedOn: z.ZodString;
566
- }, "strip", z.ZodTypeAny, {
567
- id: string;
568
- name: string;
569
- createdOn: string;
570
- lastModifiedOn: string;
571
- isDefault: boolean;
572
- assignedRef: string | null;
573
- params?: unknown;
574
- }, {
575
- id: string;
576
- name: string;
577
- createdOn: string;
578
- lastModifiedOn: string;
579
- isDefault: boolean;
580
- assignedRef: string | null;
581
- params?: unknown;
582
- }>, "many">;
583
- }, "strip", z.ZodTypeAny, {
584
- name: string;
585
- foreignRef: string;
586
- presets: {
587
- id: string;
588
- name: string;
589
- createdOn: string;
590
- lastModifiedOn: string;
591
- isDefault: boolean;
592
- assignedRef: string | null;
593
- params?: unknown;
594
- }[];
595
- provider: string;
596
- providerMetadata: {} & {
597
- [k: string]: unknown;
598
- };
599
- }, {
600
- name: string;
601
- foreignRef: string;
602
- presets: {
603
- id: string;
604
- name: string;
605
- createdOn: string;
606
- lastModifiedOn: string;
607
- isDefault: boolean;
608
- assignedRef: string | null;
609
- params?: unknown;
610
- }[];
611
- provider: string;
612
- providerMetadata: {} & {
613
- [k: string]: unknown;
614
- };
615
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
141
+ }, z.core.$strip>>;
142
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
616
143
  type: z.ZodLiteral<"alarm">;
617
- }, "strip", z.ZodTypeAny, {
618
- type: "alarm";
619
- }, {
620
- type: "alarm";
621
- }>, z.ZodObject<{
144
+ }, z.core.$strip>, z.ZodObject<{
622
145
  ptzCapable: z.ZodBoolean;
623
146
  ptzPanSpeed: z.ZodNumber;
624
147
  ptzTiltSpeed: z.ZodNumber;
@@ -636,457 +159,90 @@ export declare const sPreviewImageArgs: z.ZodObject<{
636
159
  rtspUrl: z.ZodNullable<z.ZodString>;
637
160
  width: z.ZodNullable<z.ZodNumber>;
638
161
  height: z.ZodNullable<z.ZodNumber>;
639
- lensType: z.ZodEnum<["flat", "fisheye"]>;
640
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
162
+ lensType: z.ZodEnum<{
163
+ flat: "flat";
164
+ fisheye: "fisheye";
165
+ }>;
166
+ mountPoint: z.ZodEnum<{
167
+ wall: "wall";
168
+ ceiling: "ceiling";
169
+ floor: "floor";
170
+ }>;
641
171
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
642
172
  kind: z.ZodString;
643
- }, "strip", z.ZodTypeAny, {
644
- kind: string;
645
- }, {
646
- kind: string;
647
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
648
- }, "strip", z.ZodTypeAny, {
649
- id: string;
650
- displayName: string;
651
- externalPlayerUrl: string | null;
652
- rtspUrl: string | null;
653
- width: number | null;
654
- height: number | null;
655
- lensType: "flat" | "fisheye";
656
- mountPoint: "wall" | "ceiling" | "floor";
657
- webrtcPlaybackSource: ({
658
- kind: string;
659
- } & Record<string, unknown>) | null;
660
- }, {
661
- id: string;
662
- displayName: string;
663
- externalPlayerUrl: string | null;
664
- rtspUrl: string | null;
665
- width: number | null;
666
- height: number | null;
667
- lensType: "flat" | "fisheye";
668
- mountPoint: "wall" | "ceiling" | "floor";
669
- webrtcPlaybackSource: ({
670
- kind: string;
671
- } & Record<string, unknown>) | null;
672
- }>, "many">;
173
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
174
+ }, z.core.$strip>>;
673
175
  defaultStreamId: z.ZodString;
674
176
  autoSwitchStreams: z.ZodBoolean;
675
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
676
- } & {
177
+ streamNaming: z.ZodEnum<{
178
+ cameraStreamNo: "cameraStreamNo";
179
+ cameraStream: "cameraStream";
180
+ stream: "stream";
181
+ }>;
677
182
  type: z.ZodLiteral<"camera">;
678
- }, "strip", z.ZodTypeAny, {
679
- type: "camera";
680
- ptzCapable: boolean;
681
- ptzPanSpeed: number;
682
- ptzTiltSpeed: number;
683
- ptzZoomSpeed: number;
684
- panMin: number;
685
- panMax: number;
686
- tiltMin: number;
687
- tiltMax: number;
688
- zoomMin: number;
689
- zoomMax: number;
690
- streams: {
691
- id: string;
692
- displayName: string;
693
- externalPlayerUrl: string | null;
694
- rtspUrl: string | null;
695
- width: number | null;
696
- height: number | null;
697
- lensType: "flat" | "fisheye";
698
- mountPoint: "wall" | "ceiling" | "floor";
699
- webrtcPlaybackSource: ({
700
- kind: string;
701
- } & Record<string, unknown>) | null;
702
- }[];
703
- defaultStreamId: string;
704
- autoSwitchStreams: boolean;
705
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
706
- }, {
707
- type: "camera";
708
- ptzCapable: boolean;
709
- ptzPanSpeed: number;
710
- ptzTiltSpeed: number;
711
- ptzZoomSpeed: number;
712
- panMin: number;
713
- panMax: number;
714
- tiltMin: number;
715
- tiltMax: number;
716
- zoomMin: number;
717
- zoomMax: number;
718
- streams: {
719
- id: string;
720
- displayName: string;
721
- externalPlayerUrl: string | null;
722
- rtspUrl: string | null;
723
- width: number | null;
724
- height: number | null;
725
- lensType: "flat" | "fisheye";
726
- mountPoint: "wall" | "ceiling" | "floor";
727
- webrtcPlaybackSource: ({
728
- kind: string;
729
- } & Record<string, unknown>) | null;
730
- }[];
731
- defaultStreamId: string;
732
- autoSwitchStreams: boolean;
733
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
734
- }>, z.ZodObject<{
183
+ }, z.core.$strip>, z.ZodObject<{
735
184
  canReportOpenState: z.ZodBoolean;
736
185
  canReportLockState: z.ZodBoolean;
737
186
  canControlLock: z.ZodBoolean;
738
187
  canRelease: z.ZodBoolean;
739
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
740
- } & {
188
+ style: z.ZodOptional<z.ZodEnum<{
189
+ single: "single";
190
+ double: "double";
191
+ sliding: "sliding";
192
+ hatch: "hatch";
193
+ roller: "roller";
194
+ window: "window";
195
+ }>>;
741
196
  type: z.ZodLiteral<"door">;
742
- }, "strip", z.ZodTypeAny, {
743
- type: "door";
744
- canReportOpenState: boolean;
745
- canReportLockState: boolean;
746
- canControlLock: boolean;
747
- canRelease: boolean;
748
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
749
- }, {
750
- type: "door";
751
- canReportOpenState: boolean;
752
- canReportLockState: boolean;
753
- canControlLock: boolean;
754
- canRelease: boolean;
755
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
756
- }>, z.ZodObject<{
757
- inputs: z.ZodArray<z.ZodString, "many">;
758
- outputs: z.ZodArray<z.ZodString, "many">;
759
- } & {
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ inputs: z.ZodArray<z.ZodString>;
199
+ outputs: z.ZodArray<z.ZodString>;
760
200
  type: z.ZodLiteral<"io-board">;
761
- }, "strip", z.ZodTypeAny, {
762
- type: "io-board";
763
- inputs: string[];
764
- outputs: string[];
765
- }, {
766
- type: "io-board";
767
- inputs: string[];
768
- outputs: string[];
769
- }>, z.ZodObject<{
201
+ }, z.core.$strip>, z.ZodObject<{
770
202
  type: z.ZodLiteral<"camera-lift">;
771
- }, "strip", z.ZodTypeAny, {
772
- type: "camera-lift";
773
- }, {
774
- type: "camera-lift";
775
- }>, z.ZodObject<{
203
+ }, z.core.$strip>, z.ZodObject<{
776
204
  type: z.ZodLiteral<"motion-sensor">;
777
- }, "strip", z.ZodTypeAny, {
778
- type: "motion-sensor";
779
- }, {
780
- type: "motion-sensor";
781
- }>, z.ZodObject<{
205
+ }, z.core.$strip>, z.ZodObject<{
782
206
  type: z.ZodLiteral<"panic-button">;
783
- }, "strip", z.ZodTypeAny, {
784
- type: "panic-button";
785
- }, {
786
- type: "panic-button";
787
- }>, z.ZodObject<{
207
+ }, z.core.$strip>, z.ZodObject<{
788
208
  sipUri: z.ZodString;
789
209
  sipUser: z.ZodString;
790
210
  sipPassword: z.ZodString;
791
211
  sipRealm: z.ZodString;
792
212
  remoteExtension: z.ZodString;
793
- } & {
794
213
  type: z.ZodLiteral<"intercom-terminal">;
795
- }, "strip", z.ZodTypeAny, {
796
- type: "intercom-terminal";
797
- sipUri: string;
798
- sipUser: string;
799
- sipPassword: string;
800
- sipRealm: string;
801
- remoteExtension: string;
802
- }, {
803
- type: "intercom-terminal";
804
- sipUri: string;
805
- sipUser: string;
806
- sipPassword: string;
807
- sipRealm: string;
808
- remoteExtension: string;
809
- }>, z.ZodObject<{
214
+ }, z.core.$strip>, z.ZodObject<{
810
215
  sipWsUrl: z.ZodString;
811
- } & {
812
216
  type: z.ZodLiteral<"pbx">;
813
- }, "strip", z.ZodTypeAny, {
814
- type: "pbx";
815
- sipWsUrl: string;
816
- }, {
817
- type: "pbx";
818
- sipWsUrl: string;
819
- }>, z.ZodObject<{
217
+ }, z.core.$strip>, z.ZodObject<{
820
218
  type: z.ZodLiteral<"server">;
821
- }, "strip", z.ZodTypeAny, {
822
- type: "server";
823
- }, {
824
- type: "server";
825
- }>, z.ZodObject<{
219
+ }, z.core.$strip>, z.ZodObject<{
826
220
  type: z.ZodLiteral<"intercom-operator">;
827
- }, "strip", z.ZodTypeAny, {
828
- type: "intercom-operator";
829
- }, {
830
- type: "intercom-operator";
831
- }>, z.ZodObject<{
221
+ }, z.core.$strip>, z.ZodObject<{
832
222
  type: z.ZodLiteral<"device-gateway">;
833
- }, "strip", z.ZodTypeAny, {
834
- type: "device-gateway";
835
- }, {
836
- type: "device-gateway";
837
- }>, z.ZodObject<{
223
+ }, z.core.$strip>, z.ZodObject<{
838
224
  type: z.ZodLiteral<"presence-tracker">;
839
- }, "strip", z.ZodTypeAny, {
840
- type: "presence-tracker";
841
- }, {
842
- type: "presence-tracker";
843
- }>, z.ZodObject<{
225
+ }, z.core.$strip>, z.ZodObject<{
844
226
  type: z.ZodLiteral<"reader">;
845
- }, "strip", z.ZodTypeAny, {
846
- type: "reader";
847
- }, {
848
- type: "reader";
849
- }>, z.ZodObject<{
227
+ }, z.core.$strip>, z.ZodObject<{
850
228
  type: z.ZodLiteral<"display">;
851
- }, "strip", z.ZodTypeAny, {
852
- type: "display";
853
- }, {
854
- type: "display";
855
- }>, z.ZodObject<{
229
+ }, z.core.$strip>, z.ZodObject<{
856
230
  type: z.ZodLiteral<"nvr-recorder">;
857
- }, "strip", z.ZodTypeAny, {
858
- type: "nvr-recorder";
859
- }, {
860
- type: "nvr-recorder";
861
- }>, z.ZodObject<{
231
+ }, z.core.$strip>, z.ZodObject<{
862
232
  type: z.ZodLiteral<"nvr-exporter">;
863
- }, "strip", z.ZodTypeAny, {
864
- type: "nvr-exporter";
865
- }, {
866
- type: "nvr-exporter";
867
- }>, z.ZodObject<{
233
+ }, z.core.$strip>, z.ZodObject<{
868
234
  type: z.ZodLiteral<"nvr-analytics-server">;
869
- }, "strip", z.ZodTypeAny, {
870
- type: "nvr-analytics-server";
871
- }, {
872
- type: "nvr-analytics-server";
873
- }>, z.ZodObject<{
235
+ }, z.core.$strip>, z.ZodObject<{
874
236
  type: z.ZodLiteral<"system">;
875
- }, "strip", z.ZodTypeAny, {
876
- type: "system";
877
- }, {
878
- type: "system";
879
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
237
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
880
238
  streamId: z.ZodString;
881
239
  time: z.ZodNumber;
882
240
  height: z.ZodNumber;
883
- }, "strip", z.ZodTypeAny, {
884
- height: number;
885
- device: string | ({
886
- name: string;
887
- foreignRef: string;
888
- presets: {
889
- id: string;
890
- name: string;
891
- createdOn: string;
892
- lastModifiedOn: string;
893
- isDefault: boolean;
894
- assignedRef: string | null;
895
- params?: unknown;
896
- }[];
897
- provider: string;
898
- providerMetadata: {} & {
899
- [k: string]: unknown;
900
- };
901
- } & ({
902
- type: "alarm";
903
- } | {
904
- type: "camera";
905
- ptzCapable: boolean;
906
- ptzPanSpeed: number;
907
- ptzTiltSpeed: number;
908
- ptzZoomSpeed: number;
909
- panMin: number;
910
- panMax: number;
911
- tiltMin: number;
912
- tiltMax: number;
913
- zoomMin: number;
914
- zoomMax: number;
915
- streams: {
916
- id: string;
917
- displayName: string;
918
- externalPlayerUrl: string | null;
919
- rtspUrl: string | null;
920
- width: number | null;
921
- height: number | null;
922
- lensType: "flat" | "fisheye";
923
- mountPoint: "wall" | "ceiling" | "floor";
924
- webrtcPlaybackSource: ({
925
- kind: string;
926
- } & Record<string, unknown>) | null;
927
- }[];
928
- defaultStreamId: string;
929
- autoSwitchStreams: boolean;
930
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
931
- } | {
932
- type: "door";
933
- canReportOpenState: boolean;
934
- canReportLockState: boolean;
935
- canControlLock: boolean;
936
- canRelease: boolean;
937
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
938
- } | {
939
- type: "io-board";
940
- inputs: string[];
941
- outputs: string[];
942
- } | {
943
- type: "camera-lift";
944
- } | {
945
- type: "motion-sensor";
946
- } | {
947
- type: "panic-button";
948
- } | {
949
- type: "intercom-terminal";
950
- sipUri: string;
951
- sipUser: string;
952
- sipPassword: string;
953
- sipRealm: string;
954
- remoteExtension: string;
955
- } | {
956
- type: "pbx";
957
- sipWsUrl: string;
958
- } | {
959
- type: "server";
960
- } | {
961
- type: "intercom-operator";
962
- } | {
963
- type: "device-gateway";
964
- } | {
965
- type: "presence-tracker";
966
- } | {
967
- type: "reader";
968
- } | {
969
- type: "display";
970
- } | {
971
- type: "nvr-recorder";
972
- } | {
973
- type: "nvr-exporter";
974
- } | {
975
- type: "nvr-analytics-server";
976
- } | {
977
- type: "system";
978
- })) | [string, string];
979
- streamId: string;
980
- time: number;
981
- }, {
982
- height: number;
983
- device: string | ({
984
- name: string;
985
- foreignRef: string;
986
- presets: {
987
- id: string;
988
- name: string;
989
- createdOn: string;
990
- lastModifiedOn: string;
991
- isDefault: boolean;
992
- assignedRef: string | null;
993
- params?: unknown;
994
- }[];
995
- provider: string;
996
- providerMetadata: {} & {
997
- [k: string]: unknown;
998
- };
999
- } & ({
1000
- type: "alarm";
1001
- } | {
1002
- type: "camera";
1003
- ptzCapable: boolean;
1004
- ptzPanSpeed: number;
1005
- ptzTiltSpeed: number;
1006
- ptzZoomSpeed: number;
1007
- panMin: number;
1008
- panMax: number;
1009
- tiltMin: number;
1010
- tiltMax: number;
1011
- zoomMin: number;
1012
- zoomMax: number;
1013
- streams: {
1014
- id: string;
1015
- displayName: string;
1016
- externalPlayerUrl: string | null;
1017
- rtspUrl: string | null;
1018
- width: number | null;
1019
- height: number | null;
1020
- lensType: "flat" | "fisheye";
1021
- mountPoint: "wall" | "ceiling" | "floor";
1022
- webrtcPlaybackSource: ({
1023
- kind: string;
1024
- } & Record<string, unknown>) | null;
1025
- }[];
1026
- defaultStreamId: string;
1027
- autoSwitchStreams: boolean;
1028
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1029
- } | {
1030
- type: "door";
1031
- canReportOpenState: boolean;
1032
- canReportLockState: boolean;
1033
- canControlLock: boolean;
1034
- canRelease: boolean;
1035
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1036
- } | {
1037
- type: "io-board";
1038
- inputs: string[];
1039
- outputs: string[];
1040
- } | {
1041
- type: "camera-lift";
1042
- } | {
1043
- type: "motion-sensor";
1044
- } | {
1045
- type: "panic-button";
1046
- } | {
1047
- type: "intercom-terminal";
1048
- sipUri: string;
1049
- sipUser: string;
1050
- sipPassword: string;
1051
- sipRealm: string;
1052
- remoteExtension: string;
1053
- } | {
1054
- type: "pbx";
1055
- sipWsUrl: string;
1056
- } | {
1057
- type: "server";
1058
- } | {
1059
- type: "intercom-operator";
1060
- } | {
1061
- type: "device-gateway";
1062
- } | {
1063
- type: "presence-tracker";
1064
- } | {
1065
- type: "reader";
1066
- } | {
1067
- type: "display";
1068
- } | {
1069
- type: "nvr-recorder";
1070
- } | {
1071
- type: "nvr-exporter";
1072
- } | {
1073
- type: "nvr-analytics-server";
1074
- } | {
1075
- type: "system";
1076
- })) | [string, string];
1077
- streamId: string;
1078
- time: number;
1079
- }>;
241
+ }, z.core.$strip>;
1080
242
  export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
1081
243
  mimeType: z.ZodString;
1082
244
  data: z.ZodString;
1083
- }, "strip", z.ZodTypeAny, {
1084
- mimeType: string;
1085
- data: string;
1086
- }, {
1087
- mimeType: string;
1088
- data: string;
1089
- }>>;
245
+ }, z.core.$strip>>;
1090
246
  export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
1091
247
  export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
1092
248
  export declare const QUERY_CAMERA_LATEST_FRAME = "cctv:latest-frame";
@@ -1095,8 +251,7 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
1095
251
  name: z.ZodString;
1096
252
  foreignRef: z.ZodString;
1097
253
  provider: z.ZodString;
1098
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1099
- } & {
254
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
1100
255
  presets: z.ZodArray<z.ZodObject<{
1101
256
  id: z.ZodString;
1102
257
  name: z.ZodString;
@@ -1105,62 +260,10 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
1105
260
  assignedRef: z.ZodNullable<z.ZodString>;
1106
261
  createdOn: z.ZodString;
1107
262
  lastModifiedOn: z.ZodString;
1108
- }, "strip", z.ZodTypeAny, {
1109
- id: string;
1110
- name: string;
1111
- createdOn: string;
1112
- lastModifiedOn: string;
1113
- isDefault: boolean;
1114
- assignedRef: string | null;
1115
- params?: unknown;
1116
- }, {
1117
- id: string;
1118
- name: string;
1119
- createdOn: string;
1120
- lastModifiedOn: string;
1121
- isDefault: boolean;
1122
- assignedRef: string | null;
1123
- params?: unknown;
1124
- }>, "many">;
1125
- }, "strip", z.ZodTypeAny, {
1126
- name: string;
1127
- foreignRef: string;
1128
- presets: {
1129
- id: string;
1130
- name: string;
1131
- createdOn: string;
1132
- lastModifiedOn: string;
1133
- isDefault: boolean;
1134
- assignedRef: string | null;
1135
- params?: unknown;
1136
- }[];
1137
- provider: string;
1138
- providerMetadata: {} & {
1139
- [k: string]: unknown;
1140
- };
1141
- }, {
1142
- name: string;
1143
- foreignRef: string;
1144
- presets: {
1145
- id: string;
1146
- name: string;
1147
- createdOn: string;
1148
- lastModifiedOn: string;
1149
- isDefault: boolean;
1150
- assignedRef: string | null;
1151
- params?: unknown;
1152
- }[];
1153
- provider: string;
1154
- providerMetadata: {} & {
1155
- [k: string]: unknown;
1156
- };
1157
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
263
+ }, z.core.$strip>>;
264
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1158
265
  type: z.ZodLiteral<"alarm">;
1159
- }, "strip", z.ZodTypeAny, {
1160
- type: "alarm";
1161
- }, {
1162
- type: "alarm";
1163
- }>, z.ZodObject<{
266
+ }, z.core.$strip>, z.ZodObject<{
1164
267
  ptzCapable: z.ZodBoolean;
1165
268
  ptzPanSpeed: z.ZodNumber;
1166
269
  ptzTiltSpeed: z.ZodNumber;
@@ -1178,457 +281,90 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
1178
281
  rtspUrl: z.ZodNullable<z.ZodString>;
1179
282
  width: z.ZodNullable<z.ZodNumber>;
1180
283
  height: z.ZodNullable<z.ZodNumber>;
1181
- lensType: z.ZodEnum<["flat", "fisheye"]>;
1182
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
284
+ lensType: z.ZodEnum<{
285
+ flat: "flat";
286
+ fisheye: "fisheye";
287
+ }>;
288
+ mountPoint: z.ZodEnum<{
289
+ wall: "wall";
290
+ ceiling: "ceiling";
291
+ floor: "floor";
292
+ }>;
1183
293
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
1184
294
  kind: z.ZodString;
1185
- }, "strip", z.ZodTypeAny, {
1186
- kind: string;
1187
- }, {
1188
- kind: string;
1189
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1190
- }, "strip", z.ZodTypeAny, {
1191
- id: string;
1192
- displayName: string;
1193
- externalPlayerUrl: string | null;
1194
- rtspUrl: string | null;
1195
- width: number | null;
1196
- height: number | null;
1197
- lensType: "flat" | "fisheye";
1198
- mountPoint: "wall" | "ceiling" | "floor";
1199
- webrtcPlaybackSource: ({
1200
- kind: string;
1201
- } & Record<string, unknown>) | null;
1202
- }, {
1203
- id: string;
1204
- displayName: string;
1205
- externalPlayerUrl: string | null;
1206
- rtspUrl: string | null;
1207
- width: number | null;
1208
- height: number | null;
1209
- lensType: "flat" | "fisheye";
1210
- mountPoint: "wall" | "ceiling" | "floor";
1211
- webrtcPlaybackSource: ({
1212
- kind: string;
1213
- } & Record<string, unknown>) | null;
1214
- }>, "many">;
295
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
296
+ }, z.core.$strip>>;
1215
297
  defaultStreamId: z.ZodString;
1216
298
  autoSwitchStreams: z.ZodBoolean;
1217
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
1218
- } & {
299
+ streamNaming: z.ZodEnum<{
300
+ cameraStreamNo: "cameraStreamNo";
301
+ cameraStream: "cameraStream";
302
+ stream: "stream";
303
+ }>;
1219
304
  type: z.ZodLiteral<"camera">;
1220
- }, "strip", z.ZodTypeAny, {
1221
- type: "camera";
1222
- ptzCapable: boolean;
1223
- ptzPanSpeed: number;
1224
- ptzTiltSpeed: number;
1225
- ptzZoomSpeed: number;
1226
- panMin: number;
1227
- panMax: number;
1228
- tiltMin: number;
1229
- tiltMax: number;
1230
- zoomMin: number;
1231
- zoomMax: number;
1232
- streams: {
1233
- id: string;
1234
- displayName: string;
1235
- externalPlayerUrl: string | null;
1236
- rtspUrl: string | null;
1237
- width: number | null;
1238
- height: number | null;
1239
- lensType: "flat" | "fisheye";
1240
- mountPoint: "wall" | "ceiling" | "floor";
1241
- webrtcPlaybackSource: ({
1242
- kind: string;
1243
- } & Record<string, unknown>) | null;
1244
- }[];
1245
- defaultStreamId: string;
1246
- autoSwitchStreams: boolean;
1247
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1248
- }, {
1249
- type: "camera";
1250
- ptzCapable: boolean;
1251
- ptzPanSpeed: number;
1252
- ptzTiltSpeed: number;
1253
- ptzZoomSpeed: number;
1254
- panMin: number;
1255
- panMax: number;
1256
- tiltMin: number;
1257
- tiltMax: number;
1258
- zoomMin: number;
1259
- zoomMax: number;
1260
- streams: {
1261
- id: string;
1262
- displayName: string;
1263
- externalPlayerUrl: string | null;
1264
- rtspUrl: string | null;
1265
- width: number | null;
1266
- height: number | null;
1267
- lensType: "flat" | "fisheye";
1268
- mountPoint: "wall" | "ceiling" | "floor";
1269
- webrtcPlaybackSource: ({
1270
- kind: string;
1271
- } & Record<string, unknown>) | null;
1272
- }[];
1273
- defaultStreamId: string;
1274
- autoSwitchStreams: boolean;
1275
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1276
- }>, z.ZodObject<{
305
+ }, z.core.$strip>, z.ZodObject<{
1277
306
  canReportOpenState: z.ZodBoolean;
1278
307
  canReportLockState: z.ZodBoolean;
1279
308
  canControlLock: z.ZodBoolean;
1280
309
  canRelease: z.ZodBoolean;
1281
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
1282
- } & {
310
+ style: z.ZodOptional<z.ZodEnum<{
311
+ single: "single";
312
+ double: "double";
313
+ sliding: "sliding";
314
+ hatch: "hatch";
315
+ roller: "roller";
316
+ window: "window";
317
+ }>>;
1283
318
  type: z.ZodLiteral<"door">;
1284
- }, "strip", z.ZodTypeAny, {
1285
- type: "door";
1286
- canReportOpenState: boolean;
1287
- canReportLockState: boolean;
1288
- canControlLock: boolean;
1289
- canRelease: boolean;
1290
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1291
- }, {
1292
- type: "door";
1293
- canReportOpenState: boolean;
1294
- canReportLockState: boolean;
1295
- canControlLock: boolean;
1296
- canRelease: boolean;
1297
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1298
- }>, z.ZodObject<{
1299
- inputs: z.ZodArray<z.ZodString, "many">;
1300
- outputs: z.ZodArray<z.ZodString, "many">;
1301
- } & {
319
+ }, z.core.$strip>, z.ZodObject<{
320
+ inputs: z.ZodArray<z.ZodString>;
321
+ outputs: z.ZodArray<z.ZodString>;
1302
322
  type: z.ZodLiteral<"io-board">;
1303
- }, "strip", z.ZodTypeAny, {
1304
- type: "io-board";
1305
- inputs: string[];
1306
- outputs: string[];
1307
- }, {
1308
- type: "io-board";
1309
- inputs: string[];
1310
- outputs: string[];
1311
- }>, z.ZodObject<{
323
+ }, z.core.$strip>, z.ZodObject<{
1312
324
  type: z.ZodLiteral<"camera-lift">;
1313
- }, "strip", z.ZodTypeAny, {
1314
- type: "camera-lift";
1315
- }, {
1316
- type: "camera-lift";
1317
- }>, z.ZodObject<{
325
+ }, z.core.$strip>, z.ZodObject<{
1318
326
  type: z.ZodLiteral<"motion-sensor">;
1319
- }, "strip", z.ZodTypeAny, {
1320
- type: "motion-sensor";
1321
- }, {
1322
- type: "motion-sensor";
1323
- }>, z.ZodObject<{
327
+ }, z.core.$strip>, z.ZodObject<{
1324
328
  type: z.ZodLiteral<"panic-button">;
1325
- }, "strip", z.ZodTypeAny, {
1326
- type: "panic-button";
1327
- }, {
1328
- type: "panic-button";
1329
- }>, z.ZodObject<{
329
+ }, z.core.$strip>, z.ZodObject<{
1330
330
  sipUri: z.ZodString;
1331
331
  sipUser: z.ZodString;
1332
332
  sipPassword: z.ZodString;
1333
333
  sipRealm: z.ZodString;
1334
334
  remoteExtension: z.ZodString;
1335
- } & {
1336
335
  type: z.ZodLiteral<"intercom-terminal">;
1337
- }, "strip", z.ZodTypeAny, {
1338
- type: "intercom-terminal";
1339
- sipUri: string;
1340
- sipUser: string;
1341
- sipPassword: string;
1342
- sipRealm: string;
1343
- remoteExtension: string;
1344
- }, {
1345
- type: "intercom-terminal";
1346
- sipUri: string;
1347
- sipUser: string;
1348
- sipPassword: string;
1349
- sipRealm: string;
1350
- remoteExtension: string;
1351
- }>, z.ZodObject<{
336
+ }, z.core.$strip>, z.ZodObject<{
1352
337
  sipWsUrl: z.ZodString;
1353
- } & {
1354
338
  type: z.ZodLiteral<"pbx">;
1355
- }, "strip", z.ZodTypeAny, {
1356
- type: "pbx";
1357
- sipWsUrl: string;
1358
- }, {
1359
- type: "pbx";
1360
- sipWsUrl: string;
1361
- }>, z.ZodObject<{
339
+ }, z.core.$strip>, z.ZodObject<{
1362
340
  type: z.ZodLiteral<"server">;
1363
- }, "strip", z.ZodTypeAny, {
1364
- type: "server";
1365
- }, {
1366
- type: "server";
1367
- }>, z.ZodObject<{
341
+ }, z.core.$strip>, z.ZodObject<{
1368
342
  type: z.ZodLiteral<"intercom-operator">;
1369
- }, "strip", z.ZodTypeAny, {
1370
- type: "intercom-operator";
1371
- }, {
1372
- type: "intercom-operator";
1373
- }>, z.ZodObject<{
343
+ }, z.core.$strip>, z.ZodObject<{
1374
344
  type: z.ZodLiteral<"device-gateway">;
1375
- }, "strip", z.ZodTypeAny, {
1376
- type: "device-gateway";
1377
- }, {
1378
- type: "device-gateway";
1379
- }>, z.ZodObject<{
345
+ }, z.core.$strip>, z.ZodObject<{
1380
346
  type: z.ZodLiteral<"presence-tracker">;
1381
- }, "strip", z.ZodTypeAny, {
1382
- type: "presence-tracker";
1383
- }, {
1384
- type: "presence-tracker";
1385
- }>, z.ZodObject<{
347
+ }, z.core.$strip>, z.ZodObject<{
1386
348
  type: z.ZodLiteral<"reader">;
1387
- }, "strip", z.ZodTypeAny, {
1388
- type: "reader";
1389
- }, {
1390
- type: "reader";
1391
- }>, z.ZodObject<{
349
+ }, z.core.$strip>, z.ZodObject<{
1392
350
  type: z.ZodLiteral<"display">;
1393
- }, "strip", z.ZodTypeAny, {
1394
- type: "display";
1395
- }, {
1396
- type: "display";
1397
- }>, z.ZodObject<{
351
+ }, z.core.$strip>, z.ZodObject<{
1398
352
  type: z.ZodLiteral<"nvr-recorder">;
1399
- }, "strip", z.ZodTypeAny, {
1400
- type: "nvr-recorder";
1401
- }, {
1402
- type: "nvr-recorder";
1403
- }>, z.ZodObject<{
353
+ }, z.core.$strip>, z.ZodObject<{
1404
354
  type: z.ZodLiteral<"nvr-exporter">;
1405
- }, "strip", z.ZodTypeAny, {
1406
- type: "nvr-exporter";
1407
- }, {
1408
- type: "nvr-exporter";
1409
- }>, z.ZodObject<{
355
+ }, z.core.$strip>, z.ZodObject<{
1410
356
  type: z.ZodLiteral<"nvr-analytics-server">;
1411
- }, "strip", z.ZodTypeAny, {
1412
- type: "nvr-analytics-server";
1413
- }, {
1414
- type: "nvr-analytics-server";
1415
- }>, z.ZodObject<{
357
+ }, z.core.$strip>, z.ZodObject<{
1416
358
  type: z.ZodLiteral<"system">;
1417
- }, "strip", z.ZodTypeAny, {
1418
- type: "system";
1419
- }, {
1420
- type: "system";
1421
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
359
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1422
360
  streamId: z.ZodString;
1423
361
  width: z.ZodNumber;
1424
362
  height: z.ZodNumber;
1425
- }, "strip", z.ZodTypeAny, {
1426
- width: number;
1427
- height: number;
1428
- device: string | ({
1429
- name: string;
1430
- foreignRef: string;
1431
- presets: {
1432
- id: string;
1433
- name: string;
1434
- createdOn: string;
1435
- lastModifiedOn: string;
1436
- isDefault: boolean;
1437
- assignedRef: string | null;
1438
- params?: unknown;
1439
- }[];
1440
- provider: string;
1441
- providerMetadata: {} & {
1442
- [k: string]: unknown;
1443
- };
1444
- } & ({
1445
- type: "alarm";
1446
- } | {
1447
- type: "camera";
1448
- ptzCapable: boolean;
1449
- ptzPanSpeed: number;
1450
- ptzTiltSpeed: number;
1451
- ptzZoomSpeed: number;
1452
- panMin: number;
1453
- panMax: number;
1454
- tiltMin: number;
1455
- tiltMax: number;
1456
- zoomMin: number;
1457
- zoomMax: number;
1458
- streams: {
1459
- id: string;
1460
- displayName: string;
1461
- externalPlayerUrl: string | null;
1462
- rtspUrl: string | null;
1463
- width: number | null;
1464
- height: number | null;
1465
- lensType: "flat" | "fisheye";
1466
- mountPoint: "wall" | "ceiling" | "floor";
1467
- webrtcPlaybackSource: ({
1468
- kind: string;
1469
- } & Record<string, unknown>) | null;
1470
- }[];
1471
- defaultStreamId: string;
1472
- autoSwitchStreams: boolean;
1473
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1474
- } | {
1475
- type: "door";
1476
- canReportOpenState: boolean;
1477
- canReportLockState: boolean;
1478
- canControlLock: boolean;
1479
- canRelease: boolean;
1480
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1481
- } | {
1482
- type: "io-board";
1483
- inputs: string[];
1484
- outputs: string[];
1485
- } | {
1486
- type: "camera-lift";
1487
- } | {
1488
- type: "motion-sensor";
1489
- } | {
1490
- type: "panic-button";
1491
- } | {
1492
- type: "intercom-terminal";
1493
- sipUri: string;
1494
- sipUser: string;
1495
- sipPassword: string;
1496
- sipRealm: string;
1497
- remoteExtension: string;
1498
- } | {
1499
- type: "pbx";
1500
- sipWsUrl: string;
1501
- } | {
1502
- type: "server";
1503
- } | {
1504
- type: "intercom-operator";
1505
- } | {
1506
- type: "device-gateway";
1507
- } | {
1508
- type: "presence-tracker";
1509
- } | {
1510
- type: "reader";
1511
- } | {
1512
- type: "display";
1513
- } | {
1514
- type: "nvr-recorder";
1515
- } | {
1516
- type: "nvr-exporter";
1517
- } | {
1518
- type: "nvr-analytics-server";
1519
- } | {
1520
- type: "system";
1521
- })) | [string, string];
1522
- streamId: string;
1523
- }, {
1524
- width: number;
1525
- height: number;
1526
- device: string | ({
1527
- name: string;
1528
- foreignRef: string;
1529
- presets: {
1530
- id: string;
1531
- name: string;
1532
- createdOn: string;
1533
- lastModifiedOn: string;
1534
- isDefault: boolean;
1535
- assignedRef: string | null;
1536
- params?: unknown;
1537
- }[];
1538
- provider: string;
1539
- providerMetadata: {} & {
1540
- [k: string]: unknown;
1541
- };
1542
- } & ({
1543
- type: "alarm";
1544
- } | {
1545
- type: "camera";
1546
- ptzCapable: boolean;
1547
- ptzPanSpeed: number;
1548
- ptzTiltSpeed: number;
1549
- ptzZoomSpeed: number;
1550
- panMin: number;
1551
- panMax: number;
1552
- tiltMin: number;
1553
- tiltMax: number;
1554
- zoomMin: number;
1555
- zoomMax: number;
1556
- streams: {
1557
- id: string;
1558
- displayName: string;
1559
- externalPlayerUrl: string | null;
1560
- rtspUrl: string | null;
1561
- width: number | null;
1562
- height: number | null;
1563
- lensType: "flat" | "fisheye";
1564
- mountPoint: "wall" | "ceiling" | "floor";
1565
- webrtcPlaybackSource: ({
1566
- kind: string;
1567
- } & Record<string, unknown>) | null;
1568
- }[];
1569
- defaultStreamId: string;
1570
- autoSwitchStreams: boolean;
1571
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1572
- } | {
1573
- type: "door";
1574
- canReportOpenState: boolean;
1575
- canReportLockState: boolean;
1576
- canControlLock: boolean;
1577
- canRelease: boolean;
1578
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1579
- } | {
1580
- type: "io-board";
1581
- inputs: string[];
1582
- outputs: string[];
1583
- } | {
1584
- type: "camera-lift";
1585
- } | {
1586
- type: "motion-sensor";
1587
- } | {
1588
- type: "panic-button";
1589
- } | {
1590
- type: "intercom-terminal";
1591
- sipUri: string;
1592
- sipUser: string;
1593
- sipPassword: string;
1594
- sipRealm: string;
1595
- remoteExtension: string;
1596
- } | {
1597
- type: "pbx";
1598
- sipWsUrl: string;
1599
- } | {
1600
- type: "server";
1601
- } | {
1602
- type: "intercom-operator";
1603
- } | {
1604
- type: "device-gateway";
1605
- } | {
1606
- type: "presence-tracker";
1607
- } | {
1608
- type: "reader";
1609
- } | {
1610
- type: "display";
1611
- } | {
1612
- type: "nvr-recorder";
1613
- } | {
1614
- type: "nvr-exporter";
1615
- } | {
1616
- type: "nvr-analytics-server";
1617
- } | {
1618
- type: "system";
1619
- })) | [string, string];
1620
- streamId: string;
1621
- }>;
363
+ }, z.core.$strip>;
1622
364
  export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
1623
365
  mimeType: z.ZodString;
1624
366
  data: z.ZodString;
1625
- }, "strip", z.ZodTypeAny, {
1626
- mimeType: string;
1627
- data: string;
1628
- }, {
1629
- mimeType: string;
1630
- data: string;
1631
- }>>;
367
+ }, z.core.$strip>>;
1632
368
  export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
1633
369
  export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
1634
370
  export declare const nvrRecorderRequestSchemas: {
@@ -1637,8 +373,7 @@ export declare const nvrRecorderRequestSchemas: {
1637
373
  name: z.ZodString;
1638
374
  foreignRef: z.ZodString;
1639
375
  provider: z.ZodString;
1640
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1641
- } & {
376
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
1642
377
  presets: z.ZodArray<z.ZodObject<{
1643
378
  id: z.ZodString;
1644
379
  name: z.ZodString;
@@ -1647,62 +382,10 @@ export declare const nvrRecorderRequestSchemas: {
1647
382
  assignedRef: z.ZodNullable<z.ZodString>;
1648
383
  createdOn: z.ZodString;
1649
384
  lastModifiedOn: z.ZodString;
1650
- }, "strip", z.ZodTypeAny, {
1651
- id: string;
1652
- name: string;
1653
- createdOn: string;
1654
- lastModifiedOn: string;
1655
- isDefault: boolean;
1656
- assignedRef: string | null;
1657
- params?: unknown;
1658
- }, {
1659
- id: string;
1660
- name: string;
1661
- createdOn: string;
1662
- lastModifiedOn: string;
1663
- isDefault: boolean;
1664
- assignedRef: string | null;
1665
- params?: unknown;
1666
- }>, "many">;
1667
- }, "strip", z.ZodTypeAny, {
1668
- name: string;
1669
- foreignRef: string;
1670
- presets: {
1671
- id: string;
1672
- name: string;
1673
- createdOn: string;
1674
- lastModifiedOn: string;
1675
- isDefault: boolean;
1676
- assignedRef: string | null;
1677
- params?: unknown;
1678
- }[];
1679
- provider: string;
1680
- providerMetadata: {} & {
1681
- [k: string]: unknown;
1682
- };
1683
- }, {
1684
- name: string;
1685
- foreignRef: string;
1686
- presets: {
1687
- id: string;
1688
- name: string;
1689
- createdOn: string;
1690
- lastModifiedOn: string;
1691
- isDefault: boolean;
1692
- assignedRef: string | null;
1693
- params?: unknown;
1694
- }[];
1695
- provider: string;
1696
- providerMetadata: {} & {
1697
- [k: string]: unknown;
1698
- };
1699
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
385
+ }, z.core.$strip>>;
386
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1700
387
  type: z.ZodLiteral<"alarm">;
1701
- }, "strip", z.ZodTypeAny, {
1702
- type: "alarm";
1703
- }, {
1704
- type: "alarm";
1705
- }>, z.ZodObject<{
388
+ }, z.core.$strip>, z.ZodObject<{
1706
389
  ptzCapable: z.ZodBoolean;
1707
390
  ptzPanSpeed: z.ZodNumber;
1708
391
  ptzTiltSpeed: z.ZodNumber;
@@ -1720,454 +403,92 @@ export declare const nvrRecorderRequestSchemas: {
1720
403
  rtspUrl: z.ZodNullable<z.ZodString>;
1721
404
  width: z.ZodNullable<z.ZodNumber>;
1722
405
  height: z.ZodNullable<z.ZodNumber>;
1723
- lensType: z.ZodEnum<["flat", "fisheye"]>;
1724
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
406
+ lensType: z.ZodEnum<{
407
+ flat: "flat";
408
+ fisheye: "fisheye";
409
+ }>;
410
+ mountPoint: z.ZodEnum<{
411
+ wall: "wall";
412
+ ceiling: "ceiling";
413
+ floor: "floor";
414
+ }>;
1725
415
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
1726
416
  kind: z.ZodString;
1727
- }, "strip", z.ZodTypeAny, {
1728
- kind: string;
1729
- }, {
1730
- kind: string;
1731
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1732
- }, "strip", z.ZodTypeAny, {
1733
- id: string;
1734
- displayName: string;
1735
- externalPlayerUrl: string | null;
1736
- rtspUrl: string | null;
1737
- width: number | null;
1738
- height: number | null;
1739
- lensType: "flat" | "fisheye";
1740
- mountPoint: "wall" | "ceiling" | "floor";
1741
- webrtcPlaybackSource: ({
1742
- kind: string;
1743
- } & Record<string, unknown>) | null;
1744
- }, {
1745
- id: string;
1746
- displayName: string;
1747
- externalPlayerUrl: string | null;
1748
- rtspUrl: string | null;
1749
- width: number | null;
1750
- height: number | null;
1751
- lensType: "flat" | "fisheye";
1752
- mountPoint: "wall" | "ceiling" | "floor";
1753
- webrtcPlaybackSource: ({
1754
- kind: string;
1755
- } & Record<string, unknown>) | null;
1756
- }>, "many">;
417
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
418
+ }, z.core.$strip>>;
1757
419
  defaultStreamId: z.ZodString;
1758
420
  autoSwitchStreams: z.ZodBoolean;
1759
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
1760
- } & {
421
+ streamNaming: z.ZodEnum<{
422
+ cameraStreamNo: "cameraStreamNo";
423
+ cameraStream: "cameraStream";
424
+ stream: "stream";
425
+ }>;
1761
426
  type: z.ZodLiteral<"camera">;
1762
- }, "strip", z.ZodTypeAny, {
1763
- type: "camera";
1764
- ptzCapable: boolean;
1765
- ptzPanSpeed: number;
1766
- ptzTiltSpeed: number;
1767
- ptzZoomSpeed: number;
1768
- panMin: number;
1769
- panMax: number;
1770
- tiltMin: number;
1771
- tiltMax: number;
1772
- zoomMin: number;
1773
- zoomMax: number;
1774
- streams: {
1775
- id: string;
1776
- displayName: string;
1777
- externalPlayerUrl: string | null;
1778
- rtspUrl: string | null;
1779
- width: number | null;
1780
- height: number | null;
1781
- lensType: "flat" | "fisheye";
1782
- mountPoint: "wall" | "ceiling" | "floor";
1783
- webrtcPlaybackSource: ({
1784
- kind: string;
1785
- } & Record<string, unknown>) | null;
1786
- }[];
1787
- defaultStreamId: string;
1788
- autoSwitchStreams: boolean;
1789
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1790
- }, {
1791
- type: "camera";
1792
- ptzCapable: boolean;
1793
- ptzPanSpeed: number;
1794
- ptzTiltSpeed: number;
1795
- ptzZoomSpeed: number;
1796
- panMin: number;
1797
- panMax: number;
1798
- tiltMin: number;
1799
- tiltMax: number;
1800
- zoomMin: number;
1801
- zoomMax: number;
1802
- streams: {
1803
- id: string;
1804
- displayName: string;
1805
- externalPlayerUrl: string | null;
1806
- rtspUrl: string | null;
1807
- width: number | null;
1808
- height: number | null;
1809
- lensType: "flat" | "fisheye";
1810
- mountPoint: "wall" | "ceiling" | "floor";
1811
- webrtcPlaybackSource: ({
1812
- kind: string;
1813
- } & Record<string, unknown>) | null;
1814
- }[];
1815
- defaultStreamId: string;
1816
- autoSwitchStreams: boolean;
1817
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1818
- }>, z.ZodObject<{
427
+ }, z.core.$strip>, z.ZodObject<{
1819
428
  canReportOpenState: z.ZodBoolean;
1820
429
  canReportLockState: z.ZodBoolean;
1821
430
  canControlLock: z.ZodBoolean;
1822
431
  canRelease: z.ZodBoolean;
1823
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
1824
- } & {
432
+ style: z.ZodOptional<z.ZodEnum<{
433
+ single: "single";
434
+ double: "double";
435
+ sliding: "sliding";
436
+ hatch: "hatch";
437
+ roller: "roller";
438
+ window: "window";
439
+ }>>;
1825
440
  type: z.ZodLiteral<"door">;
1826
- }, "strip", z.ZodTypeAny, {
1827
- type: "door";
1828
- canReportOpenState: boolean;
1829
- canReportLockState: boolean;
1830
- canControlLock: boolean;
1831
- canRelease: boolean;
1832
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1833
- }, {
1834
- type: "door";
1835
- canReportOpenState: boolean;
1836
- canReportLockState: boolean;
1837
- canControlLock: boolean;
1838
- canRelease: boolean;
1839
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1840
- }>, z.ZodObject<{
1841
- inputs: z.ZodArray<z.ZodString, "many">;
1842
- outputs: z.ZodArray<z.ZodString, "many">;
1843
- } & {
441
+ }, z.core.$strip>, z.ZodObject<{
442
+ inputs: z.ZodArray<z.ZodString>;
443
+ outputs: z.ZodArray<z.ZodString>;
1844
444
  type: z.ZodLiteral<"io-board">;
1845
- }, "strip", z.ZodTypeAny, {
1846
- type: "io-board";
1847
- inputs: string[];
1848
- outputs: string[];
1849
- }, {
1850
- type: "io-board";
1851
- inputs: string[];
1852
- outputs: string[];
1853
- }>, z.ZodObject<{
445
+ }, z.core.$strip>, z.ZodObject<{
1854
446
  type: z.ZodLiteral<"camera-lift">;
1855
- }, "strip", z.ZodTypeAny, {
1856
- type: "camera-lift";
1857
- }, {
1858
- type: "camera-lift";
1859
- }>, z.ZodObject<{
447
+ }, z.core.$strip>, z.ZodObject<{
1860
448
  type: z.ZodLiteral<"motion-sensor">;
1861
- }, "strip", z.ZodTypeAny, {
1862
- type: "motion-sensor";
1863
- }, {
1864
- type: "motion-sensor";
1865
- }>, z.ZodObject<{
449
+ }, z.core.$strip>, z.ZodObject<{
1866
450
  type: z.ZodLiteral<"panic-button">;
1867
- }, "strip", z.ZodTypeAny, {
1868
- type: "panic-button";
1869
- }, {
1870
- type: "panic-button";
1871
- }>, z.ZodObject<{
451
+ }, z.core.$strip>, z.ZodObject<{
1872
452
  sipUri: z.ZodString;
1873
453
  sipUser: z.ZodString;
1874
454
  sipPassword: z.ZodString;
1875
455
  sipRealm: z.ZodString;
1876
456
  remoteExtension: z.ZodString;
1877
- } & {
1878
457
  type: z.ZodLiteral<"intercom-terminal">;
1879
- }, "strip", z.ZodTypeAny, {
1880
- type: "intercom-terminal";
1881
- sipUri: string;
1882
- sipUser: string;
1883
- sipPassword: string;
1884
- sipRealm: string;
1885
- remoteExtension: string;
1886
- }, {
1887
- type: "intercom-terminal";
1888
- sipUri: string;
1889
- sipUser: string;
1890
- sipPassword: string;
1891
- sipRealm: string;
1892
- remoteExtension: string;
1893
- }>, z.ZodObject<{
458
+ }, z.core.$strip>, z.ZodObject<{
1894
459
  sipWsUrl: z.ZodString;
1895
- } & {
1896
460
  type: z.ZodLiteral<"pbx">;
1897
- }, "strip", z.ZodTypeAny, {
1898
- type: "pbx";
1899
- sipWsUrl: string;
1900
- }, {
1901
- type: "pbx";
1902
- sipWsUrl: string;
1903
- }>, z.ZodObject<{
461
+ }, z.core.$strip>, z.ZodObject<{
1904
462
  type: z.ZodLiteral<"server">;
1905
- }, "strip", z.ZodTypeAny, {
1906
- type: "server";
1907
- }, {
1908
- type: "server";
1909
- }>, z.ZodObject<{
463
+ }, z.core.$strip>, z.ZodObject<{
1910
464
  type: z.ZodLiteral<"intercom-operator">;
1911
- }, "strip", z.ZodTypeAny, {
1912
- type: "intercom-operator";
1913
- }, {
1914
- type: "intercom-operator";
1915
- }>, z.ZodObject<{
465
+ }, z.core.$strip>, z.ZodObject<{
1916
466
  type: z.ZodLiteral<"device-gateway">;
1917
- }, "strip", z.ZodTypeAny, {
1918
- type: "device-gateway";
1919
- }, {
1920
- type: "device-gateway";
1921
- }>, z.ZodObject<{
467
+ }, z.core.$strip>, z.ZodObject<{
1922
468
  type: z.ZodLiteral<"presence-tracker">;
1923
- }, "strip", z.ZodTypeAny, {
1924
- type: "presence-tracker";
1925
- }, {
1926
- type: "presence-tracker";
1927
- }>, z.ZodObject<{
469
+ }, z.core.$strip>, z.ZodObject<{
1928
470
  type: z.ZodLiteral<"reader">;
1929
- }, "strip", z.ZodTypeAny, {
1930
- type: "reader";
1931
- }, {
1932
- type: "reader";
1933
- }>, z.ZodObject<{
471
+ }, z.core.$strip>, z.ZodObject<{
1934
472
  type: z.ZodLiteral<"display">;
1935
- }, "strip", z.ZodTypeAny, {
1936
- type: "display";
1937
- }, {
1938
- type: "display";
1939
- }>, z.ZodObject<{
473
+ }, z.core.$strip>, z.ZodObject<{
1940
474
  type: z.ZodLiteral<"nvr-recorder">;
1941
- }, "strip", z.ZodTypeAny, {
1942
- type: "nvr-recorder";
1943
- }, {
1944
- type: "nvr-recorder";
1945
- }>, z.ZodObject<{
475
+ }, z.core.$strip>, z.ZodObject<{
1946
476
  type: z.ZodLiteral<"nvr-exporter">;
1947
- }, "strip", z.ZodTypeAny, {
1948
- type: "nvr-exporter";
1949
- }, {
1950
- type: "nvr-exporter";
1951
- }>, z.ZodObject<{
477
+ }, z.core.$strip>, z.ZodObject<{
1952
478
  type: z.ZodLiteral<"nvr-analytics-server">;
1953
- }, "strip", z.ZodTypeAny, {
1954
- type: "nvr-analytics-server";
1955
- }, {
1956
- type: "nvr-analytics-server";
1957
- }>, z.ZodObject<{
479
+ }, z.core.$strip>, z.ZodObject<{
1958
480
  type: z.ZodLiteral<"system">;
1959
- }, "strip", z.ZodTypeAny, {
1960
- type: "system";
1961
- }, {
1962
- type: "system";
1963
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
481
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1964
482
  streamId: z.ZodString;
1965
483
  timeFrom: z.ZodNumber;
1966
484
  timeTo: z.ZodNumber;
1967
- }, "strip", z.ZodTypeAny, {
1968
- device: string | ({
1969
- name: string;
1970
- foreignRef: string;
1971
- presets: {
1972
- id: string;
1973
- name: string;
1974
- createdOn: string;
1975
- lastModifiedOn: string;
1976
- isDefault: boolean;
1977
- assignedRef: string | null;
1978
- params?: unknown;
1979
- }[];
1980
- provider: string;
1981
- providerMetadata: {} & {
1982
- [k: string]: unknown;
1983
- };
1984
- } & ({
1985
- type: "alarm";
1986
- } | {
1987
- type: "camera";
1988
- ptzCapable: boolean;
1989
- ptzPanSpeed: number;
1990
- ptzTiltSpeed: number;
1991
- ptzZoomSpeed: number;
1992
- panMin: number;
1993
- panMax: number;
1994
- tiltMin: number;
1995
- tiltMax: number;
1996
- zoomMin: number;
1997
- zoomMax: number;
1998
- streams: {
1999
- id: string;
2000
- displayName: string;
2001
- externalPlayerUrl: string | null;
2002
- rtspUrl: string | null;
2003
- width: number | null;
2004
- height: number | null;
2005
- lensType: "flat" | "fisheye";
2006
- mountPoint: "wall" | "ceiling" | "floor";
2007
- webrtcPlaybackSource: ({
2008
- kind: string;
2009
- } & Record<string, unknown>) | null;
2010
- }[];
2011
- defaultStreamId: string;
2012
- autoSwitchStreams: boolean;
2013
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2014
- } | {
2015
- type: "door";
2016
- canReportOpenState: boolean;
2017
- canReportLockState: boolean;
2018
- canControlLock: boolean;
2019
- canRelease: boolean;
2020
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2021
- } | {
2022
- type: "io-board";
2023
- inputs: string[];
2024
- outputs: string[];
2025
- } | {
2026
- type: "camera-lift";
2027
- } | {
2028
- type: "motion-sensor";
2029
- } | {
2030
- type: "panic-button";
2031
- } | {
2032
- type: "intercom-terminal";
2033
- sipUri: string;
2034
- sipUser: string;
2035
- sipPassword: string;
2036
- sipRealm: string;
2037
- remoteExtension: string;
2038
- } | {
2039
- type: "pbx";
2040
- sipWsUrl: string;
2041
- } | {
2042
- type: "server";
2043
- } | {
2044
- type: "intercom-operator";
2045
- } | {
2046
- type: "device-gateway";
2047
- } | {
2048
- type: "presence-tracker";
2049
- } | {
2050
- type: "reader";
2051
- } | {
2052
- type: "display";
2053
- } | {
2054
- type: "nvr-recorder";
2055
- } | {
2056
- type: "nvr-exporter";
2057
- } | {
2058
- type: "nvr-analytics-server";
2059
- } | {
2060
- type: "system";
2061
- })) | [string, string];
2062
- streamId: string;
2063
- timeFrom: number;
2064
- timeTo: number;
2065
- }, {
2066
- device: string | ({
2067
- name: string;
2068
- foreignRef: string;
2069
- presets: {
2070
- id: string;
2071
- name: string;
2072
- createdOn: string;
2073
- lastModifiedOn: string;
2074
- isDefault: boolean;
2075
- assignedRef: string | null;
2076
- params?: unknown;
2077
- }[];
2078
- provider: string;
2079
- providerMetadata: {} & {
2080
- [k: string]: unknown;
2081
- };
2082
- } & ({
2083
- type: "alarm";
2084
- } | {
2085
- type: "camera";
2086
- ptzCapable: boolean;
2087
- ptzPanSpeed: number;
2088
- ptzTiltSpeed: number;
2089
- ptzZoomSpeed: number;
2090
- panMin: number;
2091
- panMax: number;
2092
- tiltMin: number;
2093
- tiltMax: number;
2094
- zoomMin: number;
2095
- zoomMax: number;
2096
- streams: {
2097
- id: string;
2098
- displayName: string;
2099
- externalPlayerUrl: string | null;
2100
- rtspUrl: string | null;
2101
- width: number | null;
2102
- height: number | null;
2103
- lensType: "flat" | "fisheye";
2104
- mountPoint: "wall" | "ceiling" | "floor";
2105
- webrtcPlaybackSource: ({
2106
- kind: string;
2107
- } & Record<string, unknown>) | null;
2108
- }[];
2109
- defaultStreamId: string;
2110
- autoSwitchStreams: boolean;
2111
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2112
- } | {
2113
- type: "door";
2114
- canReportOpenState: boolean;
2115
- canReportLockState: boolean;
2116
- canControlLock: boolean;
2117
- canRelease: boolean;
2118
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2119
- } | {
2120
- type: "io-board";
2121
- inputs: string[];
2122
- outputs: string[];
2123
- } | {
2124
- type: "camera-lift";
2125
- } | {
2126
- type: "motion-sensor";
2127
- } | {
2128
- type: "panic-button";
2129
- } | {
2130
- type: "intercom-terminal";
2131
- sipUri: string;
2132
- sipUser: string;
2133
- sipPassword: string;
2134
- sipRealm: string;
2135
- remoteExtension: string;
2136
- } | {
2137
- type: "pbx";
2138
- sipWsUrl: string;
2139
- } | {
2140
- type: "server";
2141
- } | {
2142
- type: "intercom-operator";
2143
- } | {
2144
- type: "device-gateway";
2145
- } | {
2146
- type: "presence-tracker";
2147
- } | {
2148
- type: "reader";
2149
- } | {
2150
- type: "display";
2151
- } | {
2152
- type: "nvr-recorder";
2153
- } | {
2154
- type: "nvr-exporter";
2155
- } | {
2156
- type: "nvr-analytics-server";
2157
- } | {
2158
- type: "system";
2159
- })) | [string, string];
2160
- streamId: string;
2161
- timeFrom: number;
2162
- timeTo: number;
2163
- }>;
485
+ }, z.core.$strip>;
2164
486
  readonly "cctv:preview-image": z.ZodObject<{
2165
487
  device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
2166
488
  name: z.ZodString;
2167
489
  foreignRef: z.ZodString;
2168
490
  provider: z.ZodString;
2169
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
2170
- } & {
491
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
2171
492
  presets: z.ZodArray<z.ZodObject<{
2172
493
  id: z.ZodString;
2173
494
  name: z.ZodString;
@@ -2176,62 +497,10 @@ export declare const nvrRecorderRequestSchemas: {
2176
497
  assignedRef: z.ZodNullable<z.ZodString>;
2177
498
  createdOn: z.ZodString;
2178
499
  lastModifiedOn: z.ZodString;
2179
- }, "strip", z.ZodTypeAny, {
2180
- id: string;
2181
- name: string;
2182
- createdOn: string;
2183
- lastModifiedOn: string;
2184
- isDefault: boolean;
2185
- assignedRef: string | null;
2186
- params?: unknown;
2187
- }, {
2188
- id: string;
2189
- name: string;
2190
- createdOn: string;
2191
- lastModifiedOn: string;
2192
- isDefault: boolean;
2193
- assignedRef: string | null;
2194
- params?: unknown;
2195
- }>, "many">;
2196
- }, "strip", z.ZodTypeAny, {
2197
- name: string;
2198
- foreignRef: string;
2199
- presets: {
2200
- id: string;
2201
- name: string;
2202
- createdOn: string;
2203
- lastModifiedOn: string;
2204
- isDefault: boolean;
2205
- assignedRef: string | null;
2206
- params?: unknown;
2207
- }[];
2208
- provider: string;
2209
- providerMetadata: {} & {
2210
- [k: string]: unknown;
2211
- };
2212
- }, {
2213
- name: string;
2214
- foreignRef: string;
2215
- presets: {
2216
- id: string;
2217
- name: string;
2218
- createdOn: string;
2219
- lastModifiedOn: string;
2220
- isDefault: boolean;
2221
- assignedRef: string | null;
2222
- params?: unknown;
2223
- }[];
2224
- provider: string;
2225
- providerMetadata: {} & {
2226
- [k: string]: unknown;
2227
- };
2228
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
500
+ }, z.core.$strip>>;
501
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2229
502
  type: z.ZodLiteral<"alarm">;
2230
- }, "strip", z.ZodTypeAny, {
2231
- type: "alarm";
2232
- }, {
2233
- type: "alarm";
2234
- }>, z.ZodObject<{
503
+ }, z.core.$strip>, z.ZodObject<{
2235
504
  ptzCapable: z.ZodBoolean;
2236
505
  ptzPanSpeed: z.ZodNumber;
2237
506
  ptzTiltSpeed: z.ZodNumber;
@@ -2249,454 +518,92 @@ export declare const nvrRecorderRequestSchemas: {
2249
518
  rtspUrl: z.ZodNullable<z.ZodString>;
2250
519
  width: z.ZodNullable<z.ZodNumber>;
2251
520
  height: z.ZodNullable<z.ZodNumber>;
2252
- lensType: z.ZodEnum<["flat", "fisheye"]>;
2253
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
521
+ lensType: z.ZodEnum<{
522
+ flat: "flat";
523
+ fisheye: "fisheye";
524
+ }>;
525
+ mountPoint: z.ZodEnum<{
526
+ wall: "wall";
527
+ ceiling: "ceiling";
528
+ floor: "floor";
529
+ }>;
2254
530
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
2255
531
  kind: z.ZodString;
2256
- }, "strip", z.ZodTypeAny, {
2257
- kind: string;
2258
- }, {
2259
- kind: string;
2260
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2261
- }, "strip", z.ZodTypeAny, {
2262
- id: string;
2263
- displayName: string;
2264
- externalPlayerUrl: string | null;
2265
- rtspUrl: string | null;
2266
- width: number | null;
2267
- height: number | null;
2268
- lensType: "flat" | "fisheye";
2269
- mountPoint: "wall" | "ceiling" | "floor";
2270
- webrtcPlaybackSource: ({
2271
- kind: string;
2272
- } & Record<string, unknown>) | null;
2273
- }, {
2274
- id: string;
2275
- displayName: string;
2276
- externalPlayerUrl: string | null;
2277
- rtspUrl: string | null;
2278
- width: number | null;
2279
- height: number | null;
2280
- lensType: "flat" | "fisheye";
2281
- mountPoint: "wall" | "ceiling" | "floor";
2282
- webrtcPlaybackSource: ({
2283
- kind: string;
2284
- } & Record<string, unknown>) | null;
2285
- }>, "many">;
532
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
533
+ }, z.core.$strip>>;
2286
534
  defaultStreamId: z.ZodString;
2287
535
  autoSwitchStreams: z.ZodBoolean;
2288
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
2289
- } & {
536
+ streamNaming: z.ZodEnum<{
537
+ cameraStreamNo: "cameraStreamNo";
538
+ cameraStream: "cameraStream";
539
+ stream: "stream";
540
+ }>;
2290
541
  type: z.ZodLiteral<"camera">;
2291
- }, "strip", z.ZodTypeAny, {
2292
- type: "camera";
2293
- ptzCapable: boolean;
2294
- ptzPanSpeed: number;
2295
- ptzTiltSpeed: number;
2296
- ptzZoomSpeed: number;
2297
- panMin: number;
2298
- panMax: number;
2299
- tiltMin: number;
2300
- tiltMax: number;
2301
- zoomMin: number;
2302
- zoomMax: number;
2303
- streams: {
2304
- id: string;
2305
- displayName: string;
2306
- externalPlayerUrl: string | null;
2307
- rtspUrl: string | null;
2308
- width: number | null;
2309
- height: number | null;
2310
- lensType: "flat" | "fisheye";
2311
- mountPoint: "wall" | "ceiling" | "floor";
2312
- webrtcPlaybackSource: ({
2313
- kind: string;
2314
- } & Record<string, unknown>) | null;
2315
- }[];
2316
- defaultStreamId: string;
2317
- autoSwitchStreams: boolean;
2318
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2319
- }, {
2320
- type: "camera";
2321
- ptzCapable: boolean;
2322
- ptzPanSpeed: number;
2323
- ptzTiltSpeed: number;
2324
- ptzZoomSpeed: number;
2325
- panMin: number;
2326
- panMax: number;
2327
- tiltMin: number;
2328
- tiltMax: number;
2329
- zoomMin: number;
2330
- zoomMax: number;
2331
- streams: {
2332
- id: string;
2333
- displayName: string;
2334
- externalPlayerUrl: string | null;
2335
- rtspUrl: string | null;
2336
- width: number | null;
2337
- height: number | null;
2338
- lensType: "flat" | "fisheye";
2339
- mountPoint: "wall" | "ceiling" | "floor";
2340
- webrtcPlaybackSource: ({
2341
- kind: string;
2342
- } & Record<string, unknown>) | null;
2343
- }[];
2344
- defaultStreamId: string;
2345
- autoSwitchStreams: boolean;
2346
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2347
- }>, z.ZodObject<{
542
+ }, z.core.$strip>, z.ZodObject<{
2348
543
  canReportOpenState: z.ZodBoolean;
2349
544
  canReportLockState: z.ZodBoolean;
2350
545
  canControlLock: z.ZodBoolean;
2351
546
  canRelease: z.ZodBoolean;
2352
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
2353
- } & {
547
+ style: z.ZodOptional<z.ZodEnum<{
548
+ single: "single";
549
+ double: "double";
550
+ sliding: "sliding";
551
+ hatch: "hatch";
552
+ roller: "roller";
553
+ window: "window";
554
+ }>>;
2354
555
  type: z.ZodLiteral<"door">;
2355
- }, "strip", z.ZodTypeAny, {
2356
- type: "door";
2357
- canReportOpenState: boolean;
2358
- canReportLockState: boolean;
2359
- canControlLock: boolean;
2360
- canRelease: boolean;
2361
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2362
- }, {
2363
- type: "door";
2364
- canReportOpenState: boolean;
2365
- canReportLockState: boolean;
2366
- canControlLock: boolean;
2367
- canRelease: boolean;
2368
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2369
- }>, z.ZodObject<{
2370
- inputs: z.ZodArray<z.ZodString, "many">;
2371
- outputs: z.ZodArray<z.ZodString, "many">;
2372
- } & {
556
+ }, z.core.$strip>, z.ZodObject<{
557
+ inputs: z.ZodArray<z.ZodString>;
558
+ outputs: z.ZodArray<z.ZodString>;
2373
559
  type: z.ZodLiteral<"io-board">;
2374
- }, "strip", z.ZodTypeAny, {
2375
- type: "io-board";
2376
- inputs: string[];
2377
- outputs: string[];
2378
- }, {
2379
- type: "io-board";
2380
- inputs: string[];
2381
- outputs: string[];
2382
- }>, z.ZodObject<{
560
+ }, z.core.$strip>, z.ZodObject<{
2383
561
  type: z.ZodLiteral<"camera-lift">;
2384
- }, "strip", z.ZodTypeAny, {
2385
- type: "camera-lift";
2386
- }, {
2387
- type: "camera-lift";
2388
- }>, z.ZodObject<{
562
+ }, z.core.$strip>, z.ZodObject<{
2389
563
  type: z.ZodLiteral<"motion-sensor">;
2390
- }, "strip", z.ZodTypeAny, {
2391
- type: "motion-sensor";
2392
- }, {
2393
- type: "motion-sensor";
2394
- }>, z.ZodObject<{
564
+ }, z.core.$strip>, z.ZodObject<{
2395
565
  type: z.ZodLiteral<"panic-button">;
2396
- }, "strip", z.ZodTypeAny, {
2397
- type: "panic-button";
2398
- }, {
2399
- type: "panic-button";
2400
- }>, z.ZodObject<{
566
+ }, z.core.$strip>, z.ZodObject<{
2401
567
  sipUri: z.ZodString;
2402
568
  sipUser: z.ZodString;
2403
569
  sipPassword: z.ZodString;
2404
570
  sipRealm: z.ZodString;
2405
571
  remoteExtension: z.ZodString;
2406
- } & {
2407
572
  type: z.ZodLiteral<"intercom-terminal">;
2408
- }, "strip", z.ZodTypeAny, {
2409
- type: "intercom-terminal";
2410
- sipUri: string;
2411
- sipUser: string;
2412
- sipPassword: string;
2413
- sipRealm: string;
2414
- remoteExtension: string;
2415
- }, {
2416
- type: "intercom-terminal";
2417
- sipUri: string;
2418
- sipUser: string;
2419
- sipPassword: string;
2420
- sipRealm: string;
2421
- remoteExtension: string;
2422
- }>, z.ZodObject<{
573
+ }, z.core.$strip>, z.ZodObject<{
2423
574
  sipWsUrl: z.ZodString;
2424
- } & {
2425
575
  type: z.ZodLiteral<"pbx">;
2426
- }, "strip", z.ZodTypeAny, {
2427
- type: "pbx";
2428
- sipWsUrl: string;
2429
- }, {
2430
- type: "pbx";
2431
- sipWsUrl: string;
2432
- }>, z.ZodObject<{
576
+ }, z.core.$strip>, z.ZodObject<{
2433
577
  type: z.ZodLiteral<"server">;
2434
- }, "strip", z.ZodTypeAny, {
2435
- type: "server";
2436
- }, {
2437
- type: "server";
2438
- }>, z.ZodObject<{
578
+ }, z.core.$strip>, z.ZodObject<{
2439
579
  type: z.ZodLiteral<"intercom-operator">;
2440
- }, "strip", z.ZodTypeAny, {
2441
- type: "intercom-operator";
2442
- }, {
2443
- type: "intercom-operator";
2444
- }>, z.ZodObject<{
580
+ }, z.core.$strip>, z.ZodObject<{
2445
581
  type: z.ZodLiteral<"device-gateway">;
2446
- }, "strip", z.ZodTypeAny, {
2447
- type: "device-gateway";
2448
- }, {
2449
- type: "device-gateway";
2450
- }>, z.ZodObject<{
582
+ }, z.core.$strip>, z.ZodObject<{
2451
583
  type: z.ZodLiteral<"presence-tracker">;
2452
- }, "strip", z.ZodTypeAny, {
2453
- type: "presence-tracker";
2454
- }, {
2455
- type: "presence-tracker";
2456
- }>, z.ZodObject<{
584
+ }, z.core.$strip>, z.ZodObject<{
2457
585
  type: z.ZodLiteral<"reader">;
2458
- }, "strip", z.ZodTypeAny, {
2459
- type: "reader";
2460
- }, {
2461
- type: "reader";
2462
- }>, z.ZodObject<{
586
+ }, z.core.$strip>, z.ZodObject<{
2463
587
  type: z.ZodLiteral<"display">;
2464
- }, "strip", z.ZodTypeAny, {
2465
- type: "display";
2466
- }, {
2467
- type: "display";
2468
- }>, z.ZodObject<{
588
+ }, z.core.$strip>, z.ZodObject<{
2469
589
  type: z.ZodLiteral<"nvr-recorder">;
2470
- }, "strip", z.ZodTypeAny, {
2471
- type: "nvr-recorder";
2472
- }, {
2473
- type: "nvr-recorder";
2474
- }>, z.ZodObject<{
590
+ }, z.core.$strip>, z.ZodObject<{
2475
591
  type: z.ZodLiteral<"nvr-exporter">;
2476
- }, "strip", z.ZodTypeAny, {
2477
- type: "nvr-exporter";
2478
- }, {
2479
- type: "nvr-exporter";
2480
- }>, z.ZodObject<{
592
+ }, z.core.$strip>, z.ZodObject<{
2481
593
  type: z.ZodLiteral<"nvr-analytics-server">;
2482
- }, "strip", z.ZodTypeAny, {
2483
- type: "nvr-analytics-server";
2484
- }, {
2485
- type: "nvr-analytics-server";
2486
- }>, z.ZodObject<{
594
+ }, z.core.$strip>, z.ZodObject<{
2487
595
  type: z.ZodLiteral<"system">;
2488
- }, "strip", z.ZodTypeAny, {
2489
- type: "system";
2490
- }, {
2491
- type: "system";
2492
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
596
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
2493
597
  streamId: z.ZodString;
2494
598
  time: z.ZodNumber;
2495
599
  height: z.ZodNumber;
2496
- }, "strip", z.ZodTypeAny, {
2497
- height: number;
2498
- device: string | ({
2499
- name: string;
2500
- foreignRef: string;
2501
- presets: {
2502
- id: string;
2503
- name: string;
2504
- createdOn: string;
2505
- lastModifiedOn: string;
2506
- isDefault: boolean;
2507
- assignedRef: string | null;
2508
- params?: unknown;
2509
- }[];
2510
- provider: string;
2511
- providerMetadata: {} & {
2512
- [k: string]: unknown;
2513
- };
2514
- } & ({
2515
- type: "alarm";
2516
- } | {
2517
- type: "camera";
2518
- ptzCapable: boolean;
2519
- ptzPanSpeed: number;
2520
- ptzTiltSpeed: number;
2521
- ptzZoomSpeed: number;
2522
- panMin: number;
2523
- panMax: number;
2524
- tiltMin: number;
2525
- tiltMax: number;
2526
- zoomMin: number;
2527
- zoomMax: number;
2528
- streams: {
2529
- id: string;
2530
- displayName: string;
2531
- externalPlayerUrl: string | null;
2532
- rtspUrl: string | null;
2533
- width: number | null;
2534
- height: number | null;
2535
- lensType: "flat" | "fisheye";
2536
- mountPoint: "wall" | "ceiling" | "floor";
2537
- webrtcPlaybackSource: ({
2538
- kind: string;
2539
- } & Record<string, unknown>) | null;
2540
- }[];
2541
- defaultStreamId: string;
2542
- autoSwitchStreams: boolean;
2543
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2544
- } | {
2545
- type: "door";
2546
- canReportOpenState: boolean;
2547
- canReportLockState: boolean;
2548
- canControlLock: boolean;
2549
- canRelease: boolean;
2550
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2551
- } | {
2552
- type: "io-board";
2553
- inputs: string[];
2554
- outputs: string[];
2555
- } | {
2556
- type: "camera-lift";
2557
- } | {
2558
- type: "motion-sensor";
2559
- } | {
2560
- type: "panic-button";
2561
- } | {
2562
- type: "intercom-terminal";
2563
- sipUri: string;
2564
- sipUser: string;
2565
- sipPassword: string;
2566
- sipRealm: string;
2567
- remoteExtension: string;
2568
- } | {
2569
- type: "pbx";
2570
- sipWsUrl: string;
2571
- } | {
2572
- type: "server";
2573
- } | {
2574
- type: "intercom-operator";
2575
- } | {
2576
- type: "device-gateway";
2577
- } | {
2578
- type: "presence-tracker";
2579
- } | {
2580
- type: "reader";
2581
- } | {
2582
- type: "display";
2583
- } | {
2584
- type: "nvr-recorder";
2585
- } | {
2586
- type: "nvr-exporter";
2587
- } | {
2588
- type: "nvr-analytics-server";
2589
- } | {
2590
- type: "system";
2591
- })) | [string, string];
2592
- streamId: string;
2593
- time: number;
2594
- }, {
2595
- height: number;
2596
- device: string | ({
2597
- name: string;
2598
- foreignRef: string;
2599
- presets: {
2600
- id: string;
2601
- name: string;
2602
- createdOn: string;
2603
- lastModifiedOn: string;
2604
- isDefault: boolean;
2605
- assignedRef: string | null;
2606
- params?: unknown;
2607
- }[];
2608
- provider: string;
2609
- providerMetadata: {} & {
2610
- [k: string]: unknown;
2611
- };
2612
- } & ({
2613
- type: "alarm";
2614
- } | {
2615
- type: "camera";
2616
- ptzCapable: boolean;
2617
- ptzPanSpeed: number;
2618
- ptzTiltSpeed: number;
2619
- ptzZoomSpeed: number;
2620
- panMin: number;
2621
- panMax: number;
2622
- tiltMin: number;
2623
- tiltMax: number;
2624
- zoomMin: number;
2625
- zoomMax: number;
2626
- streams: {
2627
- id: string;
2628
- displayName: string;
2629
- externalPlayerUrl: string | null;
2630
- rtspUrl: string | null;
2631
- width: number | null;
2632
- height: number | null;
2633
- lensType: "flat" | "fisheye";
2634
- mountPoint: "wall" | "ceiling" | "floor";
2635
- webrtcPlaybackSource: ({
2636
- kind: string;
2637
- } & Record<string, unknown>) | null;
2638
- }[];
2639
- defaultStreamId: string;
2640
- autoSwitchStreams: boolean;
2641
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2642
- } | {
2643
- type: "door";
2644
- canReportOpenState: boolean;
2645
- canReportLockState: boolean;
2646
- canControlLock: boolean;
2647
- canRelease: boolean;
2648
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2649
- } | {
2650
- type: "io-board";
2651
- inputs: string[];
2652
- outputs: string[];
2653
- } | {
2654
- type: "camera-lift";
2655
- } | {
2656
- type: "motion-sensor";
2657
- } | {
2658
- type: "panic-button";
2659
- } | {
2660
- type: "intercom-terminal";
2661
- sipUri: string;
2662
- sipUser: string;
2663
- sipPassword: string;
2664
- sipRealm: string;
2665
- remoteExtension: string;
2666
- } | {
2667
- type: "pbx";
2668
- sipWsUrl: string;
2669
- } | {
2670
- type: "server";
2671
- } | {
2672
- type: "intercom-operator";
2673
- } | {
2674
- type: "device-gateway";
2675
- } | {
2676
- type: "presence-tracker";
2677
- } | {
2678
- type: "reader";
2679
- } | {
2680
- type: "display";
2681
- } | {
2682
- type: "nvr-recorder";
2683
- } | {
2684
- type: "nvr-exporter";
2685
- } | {
2686
- type: "nvr-analytics-server";
2687
- } | {
2688
- type: "system";
2689
- })) | [string, string];
2690
- streamId: string;
2691
- time: number;
2692
- }>;
600
+ }, z.core.$strip>;
2693
601
  readonly "cctv:latest-frame": z.ZodObject<{
2694
602
  device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
2695
603
  name: z.ZodString;
2696
604
  foreignRef: z.ZodString;
2697
605
  provider: z.ZodString;
2698
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
2699
- } & {
606
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
2700
607
  presets: z.ZodArray<z.ZodObject<{
2701
608
  id: z.ZodString;
2702
609
  name: z.ZodString;
@@ -2705,62 +612,10 @@ export declare const nvrRecorderRequestSchemas: {
2705
612
  assignedRef: z.ZodNullable<z.ZodString>;
2706
613
  createdOn: z.ZodString;
2707
614
  lastModifiedOn: z.ZodString;
2708
- }, "strip", z.ZodTypeAny, {
2709
- id: string;
2710
- name: string;
2711
- createdOn: string;
2712
- lastModifiedOn: string;
2713
- isDefault: boolean;
2714
- assignedRef: string | null;
2715
- params?: unknown;
2716
- }, {
2717
- id: string;
2718
- name: string;
2719
- createdOn: string;
2720
- lastModifiedOn: string;
2721
- isDefault: boolean;
2722
- assignedRef: string | null;
2723
- params?: unknown;
2724
- }>, "many">;
2725
- }, "strip", z.ZodTypeAny, {
2726
- name: string;
2727
- foreignRef: string;
2728
- presets: {
2729
- id: string;
2730
- name: string;
2731
- createdOn: string;
2732
- lastModifiedOn: string;
2733
- isDefault: boolean;
2734
- assignedRef: string | null;
2735
- params?: unknown;
2736
- }[];
2737
- provider: string;
2738
- providerMetadata: {} & {
2739
- [k: string]: unknown;
2740
- };
2741
- }, {
2742
- name: string;
2743
- foreignRef: string;
2744
- presets: {
2745
- id: string;
2746
- name: string;
2747
- createdOn: string;
2748
- lastModifiedOn: string;
2749
- isDefault: boolean;
2750
- assignedRef: string | null;
2751
- params?: unknown;
2752
- }[];
2753
- provider: string;
2754
- providerMetadata: {} & {
2755
- [k: string]: unknown;
2756
- };
2757
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
615
+ }, z.core.$strip>>;
616
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2758
617
  type: z.ZodLiteral<"alarm">;
2759
- }, "strip", z.ZodTypeAny, {
2760
- type: "alarm";
2761
- }, {
2762
- type: "alarm";
2763
- }>, z.ZodObject<{
618
+ }, z.core.$strip>, z.ZodObject<{
2764
619
  ptzCapable: z.ZodBoolean;
2765
620
  ptzPanSpeed: z.ZodNumber;
2766
621
  ptzTiltSpeed: z.ZodNumber;
@@ -2778,447 +633,86 @@ export declare const nvrRecorderRequestSchemas: {
2778
633
  rtspUrl: z.ZodNullable<z.ZodString>;
2779
634
  width: z.ZodNullable<z.ZodNumber>;
2780
635
  height: z.ZodNullable<z.ZodNumber>;
2781
- lensType: z.ZodEnum<["flat", "fisheye"]>;
2782
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
636
+ lensType: z.ZodEnum<{
637
+ flat: "flat";
638
+ fisheye: "fisheye";
639
+ }>;
640
+ mountPoint: z.ZodEnum<{
641
+ wall: "wall";
642
+ ceiling: "ceiling";
643
+ floor: "floor";
644
+ }>;
2783
645
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
2784
646
  kind: z.ZodString;
2785
- }, "strip", z.ZodTypeAny, {
2786
- kind: string;
2787
- }, {
2788
- kind: string;
2789
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2790
- }, "strip", z.ZodTypeAny, {
2791
- id: string;
2792
- displayName: string;
2793
- externalPlayerUrl: string | null;
2794
- rtspUrl: string | null;
2795
- width: number | null;
2796
- height: number | null;
2797
- lensType: "flat" | "fisheye";
2798
- mountPoint: "wall" | "ceiling" | "floor";
2799
- webrtcPlaybackSource: ({
2800
- kind: string;
2801
- } & Record<string, unknown>) | null;
2802
- }, {
2803
- id: string;
2804
- displayName: string;
2805
- externalPlayerUrl: string | null;
2806
- rtspUrl: string | null;
2807
- width: number | null;
2808
- height: number | null;
2809
- lensType: "flat" | "fisheye";
2810
- mountPoint: "wall" | "ceiling" | "floor";
2811
- webrtcPlaybackSource: ({
2812
- kind: string;
2813
- } & Record<string, unknown>) | null;
2814
- }>, "many">;
647
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
648
+ }, z.core.$strip>>;
2815
649
  defaultStreamId: z.ZodString;
2816
650
  autoSwitchStreams: z.ZodBoolean;
2817
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
2818
- } & {
651
+ streamNaming: z.ZodEnum<{
652
+ cameraStreamNo: "cameraStreamNo";
653
+ cameraStream: "cameraStream";
654
+ stream: "stream";
655
+ }>;
2819
656
  type: z.ZodLiteral<"camera">;
2820
- }, "strip", z.ZodTypeAny, {
2821
- type: "camera";
2822
- ptzCapable: boolean;
2823
- ptzPanSpeed: number;
2824
- ptzTiltSpeed: number;
2825
- ptzZoomSpeed: number;
2826
- panMin: number;
2827
- panMax: number;
2828
- tiltMin: number;
2829
- tiltMax: number;
2830
- zoomMin: number;
2831
- zoomMax: number;
2832
- streams: {
2833
- id: string;
2834
- displayName: string;
2835
- externalPlayerUrl: string | null;
2836
- rtspUrl: string | null;
2837
- width: number | null;
2838
- height: number | null;
2839
- lensType: "flat" | "fisheye";
2840
- mountPoint: "wall" | "ceiling" | "floor";
2841
- webrtcPlaybackSource: ({
2842
- kind: string;
2843
- } & Record<string, unknown>) | null;
2844
- }[];
2845
- defaultStreamId: string;
2846
- autoSwitchStreams: boolean;
2847
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2848
- }, {
2849
- type: "camera";
2850
- ptzCapable: boolean;
2851
- ptzPanSpeed: number;
2852
- ptzTiltSpeed: number;
2853
- ptzZoomSpeed: number;
2854
- panMin: number;
2855
- panMax: number;
2856
- tiltMin: number;
2857
- tiltMax: number;
2858
- zoomMin: number;
2859
- zoomMax: number;
2860
- streams: {
2861
- id: string;
2862
- displayName: string;
2863
- externalPlayerUrl: string | null;
2864
- rtspUrl: string | null;
2865
- width: number | null;
2866
- height: number | null;
2867
- lensType: "flat" | "fisheye";
2868
- mountPoint: "wall" | "ceiling" | "floor";
2869
- webrtcPlaybackSource: ({
2870
- kind: string;
2871
- } & Record<string, unknown>) | null;
2872
- }[];
2873
- defaultStreamId: string;
2874
- autoSwitchStreams: boolean;
2875
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
2876
- }>, z.ZodObject<{
657
+ }, z.core.$strip>, z.ZodObject<{
2877
658
  canReportOpenState: z.ZodBoolean;
2878
659
  canReportLockState: z.ZodBoolean;
2879
660
  canControlLock: z.ZodBoolean;
2880
661
  canRelease: z.ZodBoolean;
2881
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
2882
- } & {
662
+ style: z.ZodOptional<z.ZodEnum<{
663
+ single: "single";
664
+ double: "double";
665
+ sliding: "sliding";
666
+ hatch: "hatch";
667
+ roller: "roller";
668
+ window: "window";
669
+ }>>;
2883
670
  type: z.ZodLiteral<"door">;
2884
- }, "strip", z.ZodTypeAny, {
2885
- type: "door";
2886
- canReportOpenState: boolean;
2887
- canReportLockState: boolean;
2888
- canControlLock: boolean;
2889
- canRelease: boolean;
2890
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2891
- }, {
2892
- type: "door";
2893
- canReportOpenState: boolean;
2894
- canReportLockState: boolean;
2895
- canControlLock: boolean;
2896
- canRelease: boolean;
2897
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
2898
- }>, z.ZodObject<{
2899
- inputs: z.ZodArray<z.ZodString, "many">;
2900
- outputs: z.ZodArray<z.ZodString, "many">;
2901
- } & {
671
+ }, z.core.$strip>, z.ZodObject<{
672
+ inputs: z.ZodArray<z.ZodString>;
673
+ outputs: z.ZodArray<z.ZodString>;
2902
674
  type: z.ZodLiteral<"io-board">;
2903
- }, "strip", z.ZodTypeAny, {
2904
- type: "io-board";
2905
- inputs: string[];
2906
- outputs: string[];
2907
- }, {
2908
- type: "io-board";
2909
- inputs: string[];
2910
- outputs: string[];
2911
- }>, z.ZodObject<{
675
+ }, z.core.$strip>, z.ZodObject<{
2912
676
  type: z.ZodLiteral<"camera-lift">;
2913
- }, "strip", z.ZodTypeAny, {
2914
- type: "camera-lift";
2915
- }, {
2916
- type: "camera-lift";
2917
- }>, z.ZodObject<{
677
+ }, z.core.$strip>, z.ZodObject<{
2918
678
  type: z.ZodLiteral<"motion-sensor">;
2919
- }, "strip", z.ZodTypeAny, {
2920
- type: "motion-sensor";
2921
- }, {
2922
- type: "motion-sensor";
2923
- }>, z.ZodObject<{
679
+ }, z.core.$strip>, z.ZodObject<{
2924
680
  type: z.ZodLiteral<"panic-button">;
2925
- }, "strip", z.ZodTypeAny, {
2926
- type: "panic-button";
2927
- }, {
2928
- type: "panic-button";
2929
- }>, z.ZodObject<{
681
+ }, z.core.$strip>, z.ZodObject<{
2930
682
  sipUri: z.ZodString;
2931
683
  sipUser: z.ZodString;
2932
684
  sipPassword: z.ZodString;
2933
685
  sipRealm: z.ZodString;
2934
686
  remoteExtension: z.ZodString;
2935
- } & {
2936
687
  type: z.ZodLiteral<"intercom-terminal">;
2937
- }, "strip", z.ZodTypeAny, {
2938
- type: "intercom-terminal";
2939
- sipUri: string;
2940
- sipUser: string;
2941
- sipPassword: string;
2942
- sipRealm: string;
2943
- remoteExtension: string;
2944
- }, {
2945
- type: "intercom-terminal";
2946
- sipUri: string;
2947
- sipUser: string;
2948
- sipPassword: string;
2949
- sipRealm: string;
2950
- remoteExtension: string;
2951
- }>, z.ZodObject<{
688
+ }, z.core.$strip>, z.ZodObject<{
2952
689
  sipWsUrl: z.ZodString;
2953
- } & {
2954
690
  type: z.ZodLiteral<"pbx">;
2955
- }, "strip", z.ZodTypeAny, {
2956
- type: "pbx";
2957
- sipWsUrl: string;
2958
- }, {
2959
- type: "pbx";
2960
- sipWsUrl: string;
2961
- }>, z.ZodObject<{
691
+ }, z.core.$strip>, z.ZodObject<{
2962
692
  type: z.ZodLiteral<"server">;
2963
- }, "strip", z.ZodTypeAny, {
2964
- type: "server";
2965
- }, {
2966
- type: "server";
2967
- }>, z.ZodObject<{
693
+ }, z.core.$strip>, z.ZodObject<{
2968
694
  type: z.ZodLiteral<"intercom-operator">;
2969
- }, "strip", z.ZodTypeAny, {
2970
- type: "intercom-operator";
2971
- }, {
2972
- type: "intercom-operator";
2973
- }>, z.ZodObject<{
695
+ }, z.core.$strip>, z.ZodObject<{
2974
696
  type: z.ZodLiteral<"device-gateway">;
2975
- }, "strip", z.ZodTypeAny, {
2976
- type: "device-gateway";
2977
- }, {
2978
- type: "device-gateway";
2979
- }>, z.ZodObject<{
697
+ }, z.core.$strip>, z.ZodObject<{
2980
698
  type: z.ZodLiteral<"presence-tracker">;
2981
- }, "strip", z.ZodTypeAny, {
2982
- type: "presence-tracker";
2983
- }, {
2984
- type: "presence-tracker";
2985
- }>, z.ZodObject<{
699
+ }, z.core.$strip>, z.ZodObject<{
2986
700
  type: z.ZodLiteral<"reader">;
2987
- }, "strip", z.ZodTypeAny, {
2988
- type: "reader";
2989
- }, {
2990
- type: "reader";
2991
- }>, z.ZodObject<{
701
+ }, z.core.$strip>, z.ZodObject<{
2992
702
  type: z.ZodLiteral<"display">;
2993
- }, "strip", z.ZodTypeAny, {
2994
- type: "display";
2995
- }, {
2996
- type: "display";
2997
- }>, z.ZodObject<{
703
+ }, z.core.$strip>, z.ZodObject<{
2998
704
  type: z.ZodLiteral<"nvr-recorder">;
2999
- }, "strip", z.ZodTypeAny, {
3000
- type: "nvr-recorder";
3001
- }, {
3002
- type: "nvr-recorder";
3003
- }>, z.ZodObject<{
705
+ }, z.core.$strip>, z.ZodObject<{
3004
706
  type: z.ZodLiteral<"nvr-exporter">;
3005
- }, "strip", z.ZodTypeAny, {
3006
- type: "nvr-exporter";
3007
- }, {
3008
- type: "nvr-exporter";
3009
- }>, z.ZodObject<{
707
+ }, z.core.$strip>, z.ZodObject<{
3010
708
  type: z.ZodLiteral<"nvr-analytics-server">;
3011
- }, "strip", z.ZodTypeAny, {
3012
- type: "nvr-analytics-server";
3013
- }, {
3014
- type: "nvr-analytics-server";
3015
- }>, z.ZodObject<{
709
+ }, z.core.$strip>, z.ZodObject<{
3016
710
  type: z.ZodLiteral<"system">;
3017
- }, "strip", z.ZodTypeAny, {
3018
- type: "system";
3019
- }, {
3020
- type: "system";
3021
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
711
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
3022
712
  streamId: z.ZodString;
3023
713
  width: z.ZodNumber;
3024
714
  height: z.ZodNumber;
3025
- }, "strip", z.ZodTypeAny, {
3026
- width: number;
3027
- height: number;
3028
- device: string | ({
3029
- name: string;
3030
- foreignRef: string;
3031
- presets: {
3032
- id: string;
3033
- name: string;
3034
- createdOn: string;
3035
- lastModifiedOn: string;
3036
- isDefault: boolean;
3037
- assignedRef: string | null;
3038
- params?: unknown;
3039
- }[];
3040
- provider: string;
3041
- providerMetadata: {} & {
3042
- [k: string]: unknown;
3043
- };
3044
- } & ({
3045
- type: "alarm";
3046
- } | {
3047
- type: "camera";
3048
- ptzCapable: boolean;
3049
- ptzPanSpeed: number;
3050
- ptzTiltSpeed: number;
3051
- ptzZoomSpeed: number;
3052
- panMin: number;
3053
- panMax: number;
3054
- tiltMin: number;
3055
- tiltMax: number;
3056
- zoomMin: number;
3057
- zoomMax: number;
3058
- streams: {
3059
- id: string;
3060
- displayName: string;
3061
- externalPlayerUrl: string | null;
3062
- rtspUrl: string | null;
3063
- width: number | null;
3064
- height: number | null;
3065
- lensType: "flat" | "fisheye";
3066
- mountPoint: "wall" | "ceiling" | "floor";
3067
- webrtcPlaybackSource: ({
3068
- kind: string;
3069
- } & Record<string, unknown>) | null;
3070
- }[];
3071
- defaultStreamId: string;
3072
- autoSwitchStreams: boolean;
3073
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3074
- } | {
3075
- type: "door";
3076
- canReportOpenState: boolean;
3077
- canReportLockState: boolean;
3078
- canControlLock: boolean;
3079
- canRelease: boolean;
3080
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3081
- } | {
3082
- type: "io-board";
3083
- inputs: string[];
3084
- outputs: string[];
3085
- } | {
3086
- type: "camera-lift";
3087
- } | {
3088
- type: "motion-sensor";
3089
- } | {
3090
- type: "panic-button";
3091
- } | {
3092
- type: "intercom-terminal";
3093
- sipUri: string;
3094
- sipUser: string;
3095
- sipPassword: string;
3096
- sipRealm: string;
3097
- remoteExtension: string;
3098
- } | {
3099
- type: "pbx";
3100
- sipWsUrl: string;
3101
- } | {
3102
- type: "server";
3103
- } | {
3104
- type: "intercom-operator";
3105
- } | {
3106
- type: "device-gateway";
3107
- } | {
3108
- type: "presence-tracker";
3109
- } | {
3110
- type: "reader";
3111
- } | {
3112
- type: "display";
3113
- } | {
3114
- type: "nvr-recorder";
3115
- } | {
3116
- type: "nvr-exporter";
3117
- } | {
3118
- type: "nvr-analytics-server";
3119
- } | {
3120
- type: "system";
3121
- })) | [string, string];
3122
- streamId: string;
3123
- }, {
3124
- width: number;
3125
- height: number;
3126
- device: string | ({
3127
- name: string;
3128
- foreignRef: string;
3129
- presets: {
3130
- id: string;
3131
- name: string;
3132
- createdOn: string;
3133
- lastModifiedOn: string;
3134
- isDefault: boolean;
3135
- assignedRef: string | null;
3136
- params?: unknown;
3137
- }[];
3138
- provider: string;
3139
- providerMetadata: {} & {
3140
- [k: string]: unknown;
3141
- };
3142
- } & ({
3143
- type: "alarm";
3144
- } | {
3145
- type: "camera";
3146
- ptzCapable: boolean;
3147
- ptzPanSpeed: number;
3148
- ptzTiltSpeed: number;
3149
- ptzZoomSpeed: number;
3150
- panMin: number;
3151
- panMax: number;
3152
- tiltMin: number;
3153
- tiltMax: number;
3154
- zoomMin: number;
3155
- zoomMax: number;
3156
- streams: {
3157
- id: string;
3158
- displayName: string;
3159
- externalPlayerUrl: string | null;
3160
- rtspUrl: string | null;
3161
- width: number | null;
3162
- height: number | null;
3163
- lensType: "flat" | "fisheye";
3164
- mountPoint: "wall" | "ceiling" | "floor";
3165
- webrtcPlaybackSource: ({
3166
- kind: string;
3167
- } & Record<string, unknown>) | null;
3168
- }[];
3169
- defaultStreamId: string;
3170
- autoSwitchStreams: boolean;
3171
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
3172
- } | {
3173
- type: "door";
3174
- canReportOpenState: boolean;
3175
- canReportLockState: boolean;
3176
- canControlLock: boolean;
3177
- canRelease: boolean;
3178
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
3179
- } | {
3180
- type: "io-board";
3181
- inputs: string[];
3182
- outputs: string[];
3183
- } | {
3184
- type: "camera-lift";
3185
- } | {
3186
- type: "motion-sensor";
3187
- } | {
3188
- type: "panic-button";
3189
- } | {
3190
- type: "intercom-terminal";
3191
- sipUri: string;
3192
- sipUser: string;
3193
- sipPassword: string;
3194
- sipRealm: string;
3195
- remoteExtension: string;
3196
- } | {
3197
- type: "pbx";
3198
- sipWsUrl: string;
3199
- } | {
3200
- type: "server";
3201
- } | {
3202
- type: "intercom-operator";
3203
- } | {
3204
- type: "device-gateway";
3205
- } | {
3206
- type: "presence-tracker";
3207
- } | {
3208
- type: "reader";
3209
- } | {
3210
- type: "display";
3211
- } | {
3212
- type: "nvr-recorder";
3213
- } | {
3214
- type: "nvr-exporter";
3215
- } | {
3216
- type: "nvr-analytics-server";
3217
- } | {
3218
- type: "system";
3219
- })) | [string, string];
3220
- streamId: string;
3221
- }>;
715
+ }, z.core.$strip>;
3222
716
  };
3223
717
  export declare const nvrRecorderResponseSchemas: {
3224
718
  readonly "cctv:recordings-by-time-range": z.ZodArray<z.ZodObject<{
@@ -3226,37 +720,15 @@ export declare const nvrRecorderResponseSchemas: {
3226
720
  end: z.ZodNumber;
3227
721
  motion: z.ZodOptional<z.ZodNumber>;
3228
722
  objects: z.ZodOptional<z.ZodNumber>;
3229
- }, "strip", z.ZodTypeAny, {
3230
- start: number;
3231
- end: number;
3232
- motion?: number | undefined;
3233
- objects?: number | undefined;
3234
- }, {
3235
- start: number;
3236
- end: number;
3237
- motion?: number | undefined;
3238
- objects?: number | undefined;
3239
- }>, "many">;
723
+ }, z.core.$strip>>;
3240
724
  readonly "cctv:preview-image": z.ZodNullable<z.ZodObject<{
3241
725
  mimeType: z.ZodString;
3242
726
  data: z.ZodString;
3243
- }, "strip", z.ZodTypeAny, {
3244
- mimeType: string;
3245
- data: string;
3246
- }, {
3247
- mimeType: string;
3248
- data: string;
3249
- }>>;
727
+ }, z.core.$strip>>;
3250
728
  readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
3251
729
  mimeType: z.ZodString;
3252
730
  data: z.ZodString;
3253
- }, "strip", z.ZodTypeAny, {
3254
- mimeType: string;
3255
- data: string;
3256
- }, {
3257
- mimeType: string;
3258
- data: string;
3259
- }>>;
731
+ }, z.core.$strip>>;
3260
732
  };
3261
733
  export type NvrRecorderQueryRequestMap = {
3262
734
  [QUERY_RECORDINGS_BY_TIME_RANGE]: RecordingsByTimeRangeArgs;