@awarevue/api-types 2.0.82 → 2.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
  3. package/dist/api/agent-protocol/protocol.js +16 -12
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +38 -146
  75. package/dist/objects/agent-metadata.js +1 -1
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -3,149 +3,72 @@ import { CameraQueryRequestMap, CameraQueryResponseMap } from './camera';
3
3
  import { NvrAnalyticsQueryRequestMap, NvrAnalyticsQueryResponseMap } from './nvr-analytics-server';
4
4
  import { NvrExporterQueryRequestMap, NvrExporterQueryResponseMap } from './nvr-exporter';
5
5
  import { NvrRecorderQueryRequestMap, NvrRecorderQueryResponseMap } from './nvr-recorder';
6
- export declare const sEventCapsQueryArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6
+ export declare const sEventCapsQueryArgs: z.ZodObject<{}, z.core.$strip>;
7
7
  export type EventCapsQueryArgs = z.infer<typeof sEventCapsQueryArgs>;
8
8
  export declare const QUERY_EVENT_CAPS = "device:event-caps";
9
- export declare const sEventCapsQueryResponse: z.ZodArray<z.ZodString, "many">;
9
+ export declare const sEventCapsQueryResponse: z.ZodArray<z.ZodString>;
10
10
  export type EventCapsQueryResponse = z.infer<typeof sEventCapsQueryResponse>;
11
11
  export declare const requestSchemasByType: {
12
- readonly "device:event-caps": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
12
+ readonly "device:event-caps": z.ZodObject<{}, z.core.$strip>;
13
13
  readonly "cctv:media-search": z.ZodObject<{
14
- devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
14
+ devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
15
15
  limit: z.ZodOptional<z.ZodNumber>;
16
16
  q: z.ZodOptional<z.ZodString>;
17
17
  similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
18
- label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
- subLabel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ label: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ subLabel: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
20
  timeFrom: z.ZodOptional<z.ZodNumber>;
21
21
  timeTo: z.ZodOptional<z.ZodNumber>;
22
- sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
23
- }, "strip", z.ZodTypeAny, {
24
- devices?: any[] | undefined;
25
- label?: string[] | undefined;
26
- limit?: number | undefined;
27
- q?: string | undefined;
28
- timeFrom?: number | undefined;
29
- timeTo?: number | undefined;
30
- similarTo?: string | undefined;
31
- subLabel?: string[] | undefined;
32
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
33
- }, {
34
- devices?: any[] | undefined;
35
- label?: string[] | undefined;
36
- limit?: number | undefined;
37
- q?: string | undefined;
38
- timeFrom?: number | undefined;
39
- timeTo?: number | undefined;
40
- similarTo?: string | undefined;
41
- subLabel?: string[] | undefined;
42
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
43
- }>;
22
+ sortBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
23
+ }, z.core.$strip>;
44
24
  readonly "cctv:scene-preview-clip": z.ZodObject<{
45
25
  providerAssignedRef: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- providerAssignedRef: string;
48
- }, {
49
- providerAssignedRef: string;
50
- }>;
26
+ }, z.core.$strip>;
51
27
  readonly "cctv:object-snapshot": z.ZodObject<{
52
28
  providerAssignedRef: z.ZodString;
53
29
  height: z.ZodOptional<z.ZodNumber>;
54
30
  quality: z.ZodOptional<z.ZodNumber>;
55
31
  crop: z.ZodBoolean;
56
32
  boxes: z.ZodBoolean;
57
- }, "strip", z.ZodTypeAny, {
58
- providerAssignedRef: string;
59
- crop: boolean;
60
- boxes: boolean;
61
- height?: number | undefined;
62
- quality?: number | undefined;
63
- }, {
64
- providerAssignedRef: string;
65
- crop: boolean;
66
- boxes: boolean;
67
- height?: number | undefined;
68
- quality?: number | undefined;
69
- }>;
33
+ }, z.core.$strip>;
70
34
  readonly "cctv:object-thumbnail": z.ZodObject<{
71
35
  providerAssignedRef: z.ZodString;
72
- }, "strip", z.ZodTypeAny, {
73
- providerAssignedRef: string;
74
- }, {
75
- providerAssignedRef: string;
76
- }>;
77
- readonly "cctv:object-labels": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
78
- readonly "cctv:media-faces": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
79
- readonly "cctv:media-face-people": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
36
+ }, z.core.$strip>;
37
+ readonly "cctv:object-labels": z.ZodObject<{}, z.core.$strip>;
38
+ readonly "cctv:media-faces": z.ZodObject<{}, z.core.$strip>;
39
+ readonly "cctv:media-face-people": z.ZodObject<{}, z.core.$strip>;
80
40
  readonly "cctv:media-face-person-create": z.ZodObject<{
81
41
  id: z.ZodString;
82
- }, "strip", z.ZodTypeAny, {
83
- id: string;
84
- }, {
85
- id: string;
86
- }>;
42
+ }, z.core.$strip>;
87
43
  readonly "cctv:media-face-person-delete": z.ZodObject<{
88
44
  id: z.ZodString;
89
- }, "strip", z.ZodTypeAny, {
90
- id: string;
91
- }, {
92
- id: string;
93
- }>;
45
+ }, z.core.$strip>;
94
46
  readonly "cctv:media-face-person-add": z.ZodObject<{
95
47
  id: z.ZodString;
96
48
  image: z.ZodString;
97
- }, "strip", z.ZodTypeAny, {
98
- id: string;
99
- image: string;
100
- }, {
101
- id: string;
102
- image: string;
103
- }>;
49
+ }, z.core.$strip>;
104
50
  readonly "cctv:media-face-person-remove": z.ZodObject<{
105
51
  id: z.ZodString;
106
52
  image: z.ZodString;
107
- }, "strip", z.ZodTypeAny, {
108
- id: string;
109
- image: string;
110
- }, {
111
- id: string;
112
- image: string;
113
- }>;
53
+ }, z.core.$strip>;
114
54
  readonly "cctv:media-face-image": z.ZodObject<{
115
55
  id: z.ZodString;
116
56
  imageId: z.ZodString;
117
- }, "strip", z.ZodTypeAny, {
118
- id: string;
119
- imageId: string;
120
- }, {
121
- id: string;
122
- imageId: string;
123
- }>;
57
+ }, z.core.$strip>;
124
58
  readonly "cctv:media-face-train": z.ZodObject<{
125
59
  id: z.ZodString;
126
60
  imageId: z.ZodString;
127
- }, "strip", z.ZodTypeAny, {
128
- id: string;
129
- imageId: string;
130
- }, {
131
- id: string;
132
- imageId: string;
133
- }>;
61
+ }, z.core.$strip>;
134
62
  readonly "cctv:get-export-link": z.ZodObject<{
135
63
  exportId: z.ZodString;
136
- }, "strip", z.ZodTypeAny, {
137
- exportId: string;
138
- }, {
139
- exportId: string;
140
- }>;
141
- readonly "cctv:get-exports": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
64
+ }, z.core.$strip>;
65
+ readonly "cctv:get-exports": z.ZodObject<{}, z.core.$strip>;
142
66
  readonly "cctv:recordings-by-time-range": z.ZodObject<{
143
67
  device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
144
68
  name: z.ZodString;
145
69
  foreignRef: z.ZodString;
146
70
  provider: z.ZodString;
147
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
148
- } & {
71
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
149
72
  presets: z.ZodArray<z.ZodObject<{
150
73
  id: z.ZodString;
151
74
  name: z.ZodString;
@@ -154,62 +77,10 @@ export declare const requestSchemasByType: {
154
77
  assignedRef: z.ZodNullable<z.ZodString>;
155
78
  createdOn: z.ZodString;
156
79
  lastModifiedOn: z.ZodString;
157
- }, "strip", z.ZodTypeAny, {
158
- id: string;
159
- name: string;
160
- createdOn: string;
161
- lastModifiedOn: string;
162
- isDefault: boolean;
163
- assignedRef: string | null;
164
- params?: unknown;
165
- }, {
166
- id: string;
167
- name: string;
168
- createdOn: string;
169
- lastModifiedOn: string;
170
- isDefault: boolean;
171
- assignedRef: string | null;
172
- params?: unknown;
173
- }>, "many">;
174
- }, "strip", z.ZodTypeAny, {
175
- name: string;
176
- foreignRef: string;
177
- presets: {
178
- id: string;
179
- name: string;
180
- createdOn: string;
181
- lastModifiedOn: string;
182
- isDefault: boolean;
183
- assignedRef: string | null;
184
- params?: unknown;
185
- }[];
186
- provider: string;
187
- providerMetadata: {} & {
188
- [k: string]: unknown;
189
- };
190
- }, {
191
- name: string;
192
- foreignRef: string;
193
- presets: {
194
- id: string;
195
- name: string;
196
- createdOn: string;
197
- lastModifiedOn: string;
198
- isDefault: boolean;
199
- assignedRef: string | null;
200
- params?: unknown;
201
- }[];
202
- provider: string;
203
- providerMetadata: {} & {
204
- [k: string]: unknown;
205
- };
206
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
80
+ }, z.core.$strip>>;
81
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
207
82
  type: z.ZodLiteral<"alarm">;
208
- }, "strip", z.ZodTypeAny, {
209
- type: "alarm";
210
- }, {
211
- type: "alarm";
212
- }>, z.ZodObject<{
83
+ }, z.core.$strip>, z.ZodObject<{
213
84
  ptzCapable: z.ZodBoolean;
214
85
  ptzPanSpeed: z.ZodNumber;
215
86
  ptzTiltSpeed: z.ZodNumber;
@@ -227,454 +98,92 @@ export declare const requestSchemasByType: {
227
98
  rtspUrl: z.ZodNullable<z.ZodString>;
228
99
  width: z.ZodNullable<z.ZodNumber>;
229
100
  height: z.ZodNullable<z.ZodNumber>;
230
- lensType: z.ZodEnum<["flat", "fisheye"]>;
231
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
101
+ lensType: z.ZodEnum<{
102
+ flat: "flat";
103
+ fisheye: "fisheye";
104
+ }>;
105
+ mountPoint: z.ZodEnum<{
106
+ wall: "wall";
107
+ ceiling: "ceiling";
108
+ floor: "floor";
109
+ }>;
232
110
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
233
111
  kind: z.ZodString;
234
- }, "strip", z.ZodTypeAny, {
235
- kind: string;
236
- }, {
237
- kind: string;
238
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
239
- }, "strip", z.ZodTypeAny, {
240
- id: string;
241
- displayName: string;
242
- externalPlayerUrl: string | null;
243
- rtspUrl: string | null;
244
- width: number | null;
245
- height: number | null;
246
- lensType: "flat" | "fisheye";
247
- mountPoint: "wall" | "ceiling" | "floor";
248
- webrtcPlaybackSource: ({
249
- kind: string;
250
- } & Record<string, unknown>) | null;
251
- }, {
252
- id: string;
253
- displayName: string;
254
- externalPlayerUrl: string | null;
255
- rtspUrl: string | null;
256
- width: number | null;
257
- height: number | null;
258
- lensType: "flat" | "fisheye";
259
- mountPoint: "wall" | "ceiling" | "floor";
260
- webrtcPlaybackSource: ({
261
- kind: string;
262
- } & Record<string, unknown>) | null;
263
- }>, "many">;
112
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
113
+ }, z.core.$strip>>;
264
114
  defaultStreamId: z.ZodString;
265
115
  autoSwitchStreams: z.ZodBoolean;
266
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
267
- } & {
116
+ streamNaming: z.ZodEnum<{
117
+ cameraStreamNo: "cameraStreamNo";
118
+ cameraStream: "cameraStream";
119
+ stream: "stream";
120
+ }>;
268
121
  type: z.ZodLiteral<"camera">;
269
- }, "strip", z.ZodTypeAny, {
270
- type: "camera";
271
- ptzCapable: boolean;
272
- ptzPanSpeed: number;
273
- ptzTiltSpeed: number;
274
- ptzZoomSpeed: number;
275
- panMin: number;
276
- panMax: number;
277
- tiltMin: number;
278
- tiltMax: number;
279
- zoomMin: number;
280
- zoomMax: number;
281
- streams: {
282
- id: string;
283
- displayName: string;
284
- externalPlayerUrl: string | null;
285
- rtspUrl: string | null;
286
- width: number | null;
287
- height: number | null;
288
- lensType: "flat" | "fisheye";
289
- mountPoint: "wall" | "ceiling" | "floor";
290
- webrtcPlaybackSource: ({
291
- kind: string;
292
- } & Record<string, unknown>) | null;
293
- }[];
294
- defaultStreamId: string;
295
- autoSwitchStreams: boolean;
296
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
297
- }, {
298
- type: "camera";
299
- ptzCapable: boolean;
300
- ptzPanSpeed: number;
301
- ptzTiltSpeed: number;
302
- ptzZoomSpeed: number;
303
- panMin: number;
304
- panMax: number;
305
- tiltMin: number;
306
- tiltMax: number;
307
- zoomMin: number;
308
- zoomMax: number;
309
- streams: {
310
- id: string;
311
- displayName: string;
312
- externalPlayerUrl: string | null;
313
- rtspUrl: string | null;
314
- width: number | null;
315
- height: number | null;
316
- lensType: "flat" | "fisheye";
317
- mountPoint: "wall" | "ceiling" | "floor";
318
- webrtcPlaybackSource: ({
319
- kind: string;
320
- } & Record<string, unknown>) | null;
321
- }[];
322
- defaultStreamId: string;
323
- autoSwitchStreams: boolean;
324
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
325
- }>, z.ZodObject<{
122
+ }, z.core.$strip>, z.ZodObject<{
326
123
  canReportOpenState: z.ZodBoolean;
327
124
  canReportLockState: z.ZodBoolean;
328
125
  canControlLock: z.ZodBoolean;
329
126
  canRelease: z.ZodBoolean;
330
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
331
- } & {
127
+ style: z.ZodOptional<z.ZodEnum<{
128
+ single: "single";
129
+ double: "double";
130
+ sliding: "sliding";
131
+ hatch: "hatch";
132
+ roller: "roller";
133
+ window: "window";
134
+ }>>;
332
135
  type: z.ZodLiteral<"door">;
333
- }, "strip", z.ZodTypeAny, {
334
- type: "door";
335
- canReportOpenState: boolean;
336
- canReportLockState: boolean;
337
- canControlLock: boolean;
338
- canRelease: boolean;
339
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
340
- }, {
341
- type: "door";
342
- canReportOpenState: boolean;
343
- canReportLockState: boolean;
344
- canControlLock: boolean;
345
- canRelease: boolean;
346
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
347
- }>, z.ZodObject<{
348
- inputs: z.ZodArray<z.ZodString, "many">;
349
- outputs: z.ZodArray<z.ZodString, "many">;
350
- } & {
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ inputs: z.ZodArray<z.ZodString>;
138
+ outputs: z.ZodArray<z.ZodString>;
351
139
  type: z.ZodLiteral<"io-board">;
352
- }, "strip", z.ZodTypeAny, {
353
- type: "io-board";
354
- inputs: string[];
355
- outputs: string[];
356
- }, {
357
- type: "io-board";
358
- inputs: string[];
359
- outputs: string[];
360
- }>, z.ZodObject<{
140
+ }, z.core.$strip>, z.ZodObject<{
361
141
  type: z.ZodLiteral<"camera-lift">;
362
- }, "strip", z.ZodTypeAny, {
363
- type: "camera-lift";
364
- }, {
365
- type: "camera-lift";
366
- }>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
367
143
  type: z.ZodLiteral<"motion-sensor">;
368
- }, "strip", z.ZodTypeAny, {
369
- type: "motion-sensor";
370
- }, {
371
- type: "motion-sensor";
372
- }>, z.ZodObject<{
144
+ }, z.core.$strip>, z.ZodObject<{
373
145
  type: z.ZodLiteral<"panic-button">;
374
- }, "strip", z.ZodTypeAny, {
375
- type: "panic-button";
376
- }, {
377
- type: "panic-button";
378
- }>, z.ZodObject<{
146
+ }, z.core.$strip>, z.ZodObject<{
379
147
  sipUri: z.ZodString;
380
148
  sipUser: z.ZodString;
381
149
  sipPassword: z.ZodString;
382
150
  sipRealm: z.ZodString;
383
151
  remoteExtension: z.ZodString;
384
- } & {
385
152
  type: z.ZodLiteral<"intercom-terminal">;
386
- }, "strip", z.ZodTypeAny, {
387
- type: "intercom-terminal";
388
- sipUri: string;
389
- sipUser: string;
390
- sipPassword: string;
391
- sipRealm: string;
392
- remoteExtension: string;
393
- }, {
394
- type: "intercom-terminal";
395
- sipUri: string;
396
- sipUser: string;
397
- sipPassword: string;
398
- sipRealm: string;
399
- remoteExtension: string;
400
- }>, z.ZodObject<{
153
+ }, z.core.$strip>, z.ZodObject<{
401
154
  sipWsUrl: z.ZodString;
402
- } & {
403
155
  type: z.ZodLiteral<"pbx">;
404
- }, "strip", z.ZodTypeAny, {
405
- type: "pbx";
406
- sipWsUrl: string;
407
- }, {
408
- type: "pbx";
409
- sipWsUrl: string;
410
- }>, z.ZodObject<{
156
+ }, z.core.$strip>, z.ZodObject<{
411
157
  type: z.ZodLiteral<"server">;
412
- }, "strip", z.ZodTypeAny, {
413
- type: "server";
414
- }, {
415
- type: "server";
416
- }>, z.ZodObject<{
158
+ }, z.core.$strip>, z.ZodObject<{
417
159
  type: z.ZodLiteral<"intercom-operator">;
418
- }, "strip", z.ZodTypeAny, {
419
- type: "intercom-operator";
420
- }, {
421
- type: "intercom-operator";
422
- }>, z.ZodObject<{
160
+ }, z.core.$strip>, z.ZodObject<{
423
161
  type: z.ZodLiteral<"device-gateway">;
424
- }, "strip", z.ZodTypeAny, {
425
- type: "device-gateway";
426
- }, {
427
- type: "device-gateway";
428
- }>, z.ZodObject<{
162
+ }, z.core.$strip>, z.ZodObject<{
429
163
  type: z.ZodLiteral<"presence-tracker">;
430
- }, "strip", z.ZodTypeAny, {
431
- type: "presence-tracker";
432
- }, {
433
- type: "presence-tracker";
434
- }>, z.ZodObject<{
164
+ }, z.core.$strip>, z.ZodObject<{
435
165
  type: z.ZodLiteral<"reader">;
436
- }, "strip", z.ZodTypeAny, {
437
- type: "reader";
438
- }, {
439
- type: "reader";
440
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
441
167
  type: z.ZodLiteral<"display">;
442
- }, "strip", z.ZodTypeAny, {
443
- type: "display";
444
- }, {
445
- type: "display";
446
- }>, z.ZodObject<{
168
+ }, z.core.$strip>, z.ZodObject<{
447
169
  type: z.ZodLiteral<"nvr-recorder">;
448
- }, "strip", z.ZodTypeAny, {
449
- type: "nvr-recorder";
450
- }, {
451
- type: "nvr-recorder";
452
- }>, z.ZodObject<{
170
+ }, z.core.$strip>, z.ZodObject<{
453
171
  type: z.ZodLiteral<"nvr-exporter">;
454
- }, "strip", z.ZodTypeAny, {
455
- type: "nvr-exporter";
456
- }, {
457
- type: "nvr-exporter";
458
- }>, z.ZodObject<{
172
+ }, z.core.$strip>, z.ZodObject<{
459
173
  type: z.ZodLiteral<"nvr-analytics-server">;
460
- }, "strip", z.ZodTypeAny, {
461
- type: "nvr-analytics-server";
462
- }, {
463
- type: "nvr-analytics-server";
464
- }>, z.ZodObject<{
174
+ }, z.core.$strip>, z.ZodObject<{
465
175
  type: z.ZodLiteral<"system">;
466
- }, "strip", z.ZodTypeAny, {
467
- type: "system";
468
- }, {
469
- type: "system";
470
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
176
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
471
177
  streamId: z.ZodString;
472
178
  timeFrom: z.ZodNumber;
473
179
  timeTo: z.ZodNumber;
474
- }, "strip", z.ZodTypeAny, {
475
- device: string | ({
476
- name: string;
477
- foreignRef: string;
478
- presets: {
479
- id: string;
480
- name: string;
481
- createdOn: string;
482
- lastModifiedOn: string;
483
- isDefault: boolean;
484
- assignedRef: string | null;
485
- params?: unknown;
486
- }[];
487
- provider: string;
488
- providerMetadata: {} & {
489
- [k: string]: unknown;
490
- };
491
- } & ({
492
- type: "alarm";
493
- } | {
494
- type: "camera";
495
- ptzCapable: boolean;
496
- ptzPanSpeed: number;
497
- ptzTiltSpeed: number;
498
- ptzZoomSpeed: number;
499
- panMin: number;
500
- panMax: number;
501
- tiltMin: number;
502
- tiltMax: number;
503
- zoomMin: number;
504
- zoomMax: number;
505
- streams: {
506
- id: string;
507
- displayName: string;
508
- externalPlayerUrl: string | null;
509
- rtspUrl: string | null;
510
- width: number | null;
511
- height: number | null;
512
- lensType: "flat" | "fisheye";
513
- mountPoint: "wall" | "ceiling" | "floor";
514
- webrtcPlaybackSource: ({
515
- kind: string;
516
- } & Record<string, unknown>) | null;
517
- }[];
518
- defaultStreamId: string;
519
- autoSwitchStreams: boolean;
520
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
521
- } | {
522
- type: "door";
523
- canReportOpenState: boolean;
524
- canReportLockState: boolean;
525
- canControlLock: boolean;
526
- canRelease: boolean;
527
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
528
- } | {
529
- type: "io-board";
530
- inputs: string[];
531
- outputs: string[];
532
- } | {
533
- type: "camera-lift";
534
- } | {
535
- type: "motion-sensor";
536
- } | {
537
- type: "panic-button";
538
- } | {
539
- type: "intercom-terminal";
540
- sipUri: string;
541
- sipUser: string;
542
- sipPassword: string;
543
- sipRealm: string;
544
- remoteExtension: string;
545
- } | {
546
- type: "pbx";
547
- sipWsUrl: string;
548
- } | {
549
- type: "server";
550
- } | {
551
- type: "intercom-operator";
552
- } | {
553
- type: "device-gateway";
554
- } | {
555
- type: "presence-tracker";
556
- } | {
557
- type: "reader";
558
- } | {
559
- type: "display";
560
- } | {
561
- type: "nvr-recorder";
562
- } | {
563
- type: "nvr-exporter";
564
- } | {
565
- type: "nvr-analytics-server";
566
- } | {
567
- type: "system";
568
- })) | [string, string];
569
- streamId: string;
570
- timeFrom: number;
571
- timeTo: number;
572
- }, {
573
- device: string | ({
574
- name: string;
575
- foreignRef: string;
576
- presets: {
577
- id: string;
578
- name: string;
579
- createdOn: string;
580
- lastModifiedOn: string;
581
- isDefault: boolean;
582
- assignedRef: string | null;
583
- params?: unknown;
584
- }[];
585
- provider: string;
586
- providerMetadata: {} & {
587
- [k: string]: unknown;
588
- };
589
- } & ({
590
- type: "alarm";
591
- } | {
592
- type: "camera";
593
- ptzCapable: boolean;
594
- ptzPanSpeed: number;
595
- ptzTiltSpeed: number;
596
- ptzZoomSpeed: number;
597
- panMin: number;
598
- panMax: number;
599
- tiltMin: number;
600
- tiltMax: number;
601
- zoomMin: number;
602
- zoomMax: number;
603
- streams: {
604
- id: string;
605
- displayName: string;
606
- externalPlayerUrl: string | null;
607
- rtspUrl: string | null;
608
- width: number | null;
609
- height: number | null;
610
- lensType: "flat" | "fisheye";
611
- mountPoint: "wall" | "ceiling" | "floor";
612
- webrtcPlaybackSource: ({
613
- kind: string;
614
- } & Record<string, unknown>) | null;
615
- }[];
616
- defaultStreamId: string;
617
- autoSwitchStreams: boolean;
618
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
619
- } | {
620
- type: "door";
621
- canReportOpenState: boolean;
622
- canReportLockState: boolean;
623
- canControlLock: boolean;
624
- canRelease: boolean;
625
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
626
- } | {
627
- type: "io-board";
628
- inputs: string[];
629
- outputs: string[];
630
- } | {
631
- type: "camera-lift";
632
- } | {
633
- type: "motion-sensor";
634
- } | {
635
- type: "panic-button";
636
- } | {
637
- type: "intercom-terminal";
638
- sipUri: string;
639
- sipUser: string;
640
- sipPassword: string;
641
- sipRealm: string;
642
- remoteExtension: string;
643
- } | {
644
- type: "pbx";
645
- sipWsUrl: string;
646
- } | {
647
- type: "server";
648
- } | {
649
- type: "intercom-operator";
650
- } | {
651
- type: "device-gateway";
652
- } | {
653
- type: "presence-tracker";
654
- } | {
655
- type: "reader";
656
- } | {
657
- type: "display";
658
- } | {
659
- type: "nvr-recorder";
660
- } | {
661
- type: "nvr-exporter";
662
- } | {
663
- type: "nvr-analytics-server";
664
- } | {
665
- type: "system";
666
- })) | [string, string];
667
- streamId: string;
668
- timeFrom: number;
669
- timeTo: number;
670
- }>;
180
+ }, z.core.$strip>;
671
181
  readonly "cctv:preview-image": z.ZodObject<{
672
182
  device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
673
183
  name: z.ZodString;
674
184
  foreignRef: z.ZodString;
675
185
  provider: z.ZodString;
676
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
677
- } & {
186
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
678
187
  presets: z.ZodArray<z.ZodObject<{
679
188
  id: z.ZodString;
680
189
  name: z.ZodString;
@@ -683,62 +192,10 @@ export declare const requestSchemasByType: {
683
192
  assignedRef: z.ZodNullable<z.ZodString>;
684
193
  createdOn: z.ZodString;
685
194
  lastModifiedOn: z.ZodString;
686
- }, "strip", z.ZodTypeAny, {
687
- id: string;
688
- name: string;
689
- createdOn: string;
690
- lastModifiedOn: string;
691
- isDefault: boolean;
692
- assignedRef: string | null;
693
- params?: unknown;
694
- }, {
695
- id: string;
696
- name: string;
697
- createdOn: string;
698
- lastModifiedOn: string;
699
- isDefault: boolean;
700
- assignedRef: string | null;
701
- params?: unknown;
702
- }>, "many">;
703
- }, "strip", z.ZodTypeAny, {
704
- name: string;
705
- foreignRef: string;
706
- presets: {
707
- id: string;
708
- name: string;
709
- createdOn: string;
710
- lastModifiedOn: string;
711
- isDefault: boolean;
712
- assignedRef: string | null;
713
- params?: unknown;
714
- }[];
715
- provider: string;
716
- providerMetadata: {} & {
717
- [k: string]: unknown;
718
- };
719
- }, {
720
- name: string;
721
- foreignRef: string;
722
- presets: {
723
- id: string;
724
- name: string;
725
- createdOn: string;
726
- lastModifiedOn: string;
727
- isDefault: boolean;
728
- assignedRef: string | null;
729
- params?: unknown;
730
- }[];
731
- provider: string;
732
- providerMetadata: {} & {
733
- [k: string]: unknown;
734
- };
735
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
195
+ }, z.core.$strip>>;
196
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
736
197
  type: z.ZodLiteral<"alarm">;
737
- }, "strip", z.ZodTypeAny, {
738
- type: "alarm";
739
- }, {
740
- type: "alarm";
741
- }>, z.ZodObject<{
198
+ }, z.core.$strip>, z.ZodObject<{
742
199
  ptzCapable: z.ZodBoolean;
743
200
  ptzPanSpeed: z.ZodNumber;
744
201
  ptzTiltSpeed: z.ZodNumber;
@@ -756,454 +213,92 @@ export declare const requestSchemasByType: {
756
213
  rtspUrl: z.ZodNullable<z.ZodString>;
757
214
  width: z.ZodNullable<z.ZodNumber>;
758
215
  height: z.ZodNullable<z.ZodNumber>;
759
- lensType: z.ZodEnum<["flat", "fisheye"]>;
760
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
216
+ lensType: z.ZodEnum<{
217
+ flat: "flat";
218
+ fisheye: "fisheye";
219
+ }>;
220
+ mountPoint: z.ZodEnum<{
221
+ wall: "wall";
222
+ ceiling: "ceiling";
223
+ floor: "floor";
224
+ }>;
761
225
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
762
226
  kind: z.ZodString;
763
- }, "strip", z.ZodTypeAny, {
764
- kind: string;
765
- }, {
766
- kind: string;
767
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
768
- }, "strip", z.ZodTypeAny, {
769
- id: string;
770
- displayName: string;
771
- externalPlayerUrl: string | null;
772
- rtspUrl: string | null;
773
- width: number | null;
774
- height: number | null;
775
- lensType: "flat" | "fisheye";
776
- mountPoint: "wall" | "ceiling" | "floor";
777
- webrtcPlaybackSource: ({
778
- kind: string;
779
- } & Record<string, unknown>) | null;
780
- }, {
781
- id: string;
782
- displayName: string;
783
- externalPlayerUrl: string | null;
784
- rtspUrl: string | null;
785
- width: number | null;
786
- height: number | null;
787
- lensType: "flat" | "fisheye";
788
- mountPoint: "wall" | "ceiling" | "floor";
789
- webrtcPlaybackSource: ({
790
- kind: string;
791
- } & Record<string, unknown>) | null;
792
- }>, "many">;
227
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
228
+ }, z.core.$strip>>;
793
229
  defaultStreamId: z.ZodString;
794
230
  autoSwitchStreams: z.ZodBoolean;
795
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
796
- } & {
231
+ streamNaming: z.ZodEnum<{
232
+ cameraStreamNo: "cameraStreamNo";
233
+ cameraStream: "cameraStream";
234
+ stream: "stream";
235
+ }>;
797
236
  type: z.ZodLiteral<"camera">;
798
- }, "strip", z.ZodTypeAny, {
799
- type: "camera";
800
- ptzCapable: boolean;
801
- ptzPanSpeed: number;
802
- ptzTiltSpeed: number;
803
- ptzZoomSpeed: number;
804
- panMin: number;
805
- panMax: number;
806
- tiltMin: number;
807
- tiltMax: number;
808
- zoomMin: number;
809
- zoomMax: number;
810
- streams: {
811
- id: string;
812
- displayName: string;
813
- externalPlayerUrl: string | null;
814
- rtspUrl: string | null;
815
- width: number | null;
816
- height: number | null;
817
- lensType: "flat" | "fisheye";
818
- mountPoint: "wall" | "ceiling" | "floor";
819
- webrtcPlaybackSource: ({
820
- kind: string;
821
- } & Record<string, unknown>) | null;
822
- }[];
823
- defaultStreamId: string;
824
- autoSwitchStreams: boolean;
825
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
826
- }, {
827
- type: "camera";
828
- ptzCapable: boolean;
829
- ptzPanSpeed: number;
830
- ptzTiltSpeed: number;
831
- ptzZoomSpeed: number;
832
- panMin: number;
833
- panMax: number;
834
- tiltMin: number;
835
- tiltMax: number;
836
- zoomMin: number;
837
- zoomMax: number;
838
- streams: {
839
- id: string;
840
- displayName: string;
841
- externalPlayerUrl: string | null;
842
- rtspUrl: string | null;
843
- width: number | null;
844
- height: number | null;
845
- lensType: "flat" | "fisheye";
846
- mountPoint: "wall" | "ceiling" | "floor";
847
- webrtcPlaybackSource: ({
848
- kind: string;
849
- } & Record<string, unknown>) | null;
850
- }[];
851
- defaultStreamId: string;
852
- autoSwitchStreams: boolean;
853
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
854
- }>, z.ZodObject<{
237
+ }, z.core.$strip>, z.ZodObject<{
855
238
  canReportOpenState: z.ZodBoolean;
856
239
  canReportLockState: z.ZodBoolean;
857
240
  canControlLock: z.ZodBoolean;
858
241
  canRelease: z.ZodBoolean;
859
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
860
- } & {
242
+ style: z.ZodOptional<z.ZodEnum<{
243
+ single: "single";
244
+ double: "double";
245
+ sliding: "sliding";
246
+ hatch: "hatch";
247
+ roller: "roller";
248
+ window: "window";
249
+ }>>;
861
250
  type: z.ZodLiteral<"door">;
862
- }, "strip", z.ZodTypeAny, {
863
- type: "door";
864
- canReportOpenState: boolean;
865
- canReportLockState: boolean;
866
- canControlLock: boolean;
867
- canRelease: boolean;
868
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
869
- }, {
870
- type: "door";
871
- canReportOpenState: boolean;
872
- canReportLockState: boolean;
873
- canControlLock: boolean;
874
- canRelease: boolean;
875
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
876
- }>, z.ZodObject<{
877
- inputs: z.ZodArray<z.ZodString, "many">;
878
- outputs: z.ZodArray<z.ZodString, "many">;
879
- } & {
251
+ }, z.core.$strip>, z.ZodObject<{
252
+ inputs: z.ZodArray<z.ZodString>;
253
+ outputs: z.ZodArray<z.ZodString>;
880
254
  type: z.ZodLiteral<"io-board">;
881
- }, "strip", z.ZodTypeAny, {
882
- type: "io-board";
883
- inputs: string[];
884
- outputs: string[];
885
- }, {
886
- type: "io-board";
887
- inputs: string[];
888
- outputs: string[];
889
- }>, z.ZodObject<{
255
+ }, z.core.$strip>, z.ZodObject<{
890
256
  type: z.ZodLiteral<"camera-lift">;
891
- }, "strip", z.ZodTypeAny, {
892
- type: "camera-lift";
893
- }, {
894
- type: "camera-lift";
895
- }>, z.ZodObject<{
257
+ }, z.core.$strip>, z.ZodObject<{
896
258
  type: z.ZodLiteral<"motion-sensor">;
897
- }, "strip", z.ZodTypeAny, {
898
- type: "motion-sensor";
899
- }, {
900
- type: "motion-sensor";
901
- }>, z.ZodObject<{
259
+ }, z.core.$strip>, z.ZodObject<{
902
260
  type: z.ZodLiteral<"panic-button">;
903
- }, "strip", z.ZodTypeAny, {
904
- type: "panic-button";
905
- }, {
906
- type: "panic-button";
907
- }>, z.ZodObject<{
261
+ }, z.core.$strip>, z.ZodObject<{
908
262
  sipUri: z.ZodString;
909
263
  sipUser: z.ZodString;
910
264
  sipPassword: z.ZodString;
911
265
  sipRealm: z.ZodString;
912
266
  remoteExtension: z.ZodString;
913
- } & {
914
267
  type: z.ZodLiteral<"intercom-terminal">;
915
- }, "strip", z.ZodTypeAny, {
916
- type: "intercom-terminal";
917
- sipUri: string;
918
- sipUser: string;
919
- sipPassword: string;
920
- sipRealm: string;
921
- remoteExtension: string;
922
- }, {
923
- type: "intercom-terminal";
924
- sipUri: string;
925
- sipUser: string;
926
- sipPassword: string;
927
- sipRealm: string;
928
- remoteExtension: string;
929
- }>, z.ZodObject<{
268
+ }, z.core.$strip>, z.ZodObject<{
930
269
  sipWsUrl: z.ZodString;
931
- } & {
932
270
  type: z.ZodLiteral<"pbx">;
933
- }, "strip", z.ZodTypeAny, {
934
- type: "pbx";
935
- sipWsUrl: string;
936
- }, {
937
- type: "pbx";
938
- sipWsUrl: string;
939
- }>, z.ZodObject<{
271
+ }, z.core.$strip>, z.ZodObject<{
940
272
  type: z.ZodLiteral<"server">;
941
- }, "strip", z.ZodTypeAny, {
942
- type: "server";
943
- }, {
944
- type: "server";
945
- }>, z.ZodObject<{
273
+ }, z.core.$strip>, z.ZodObject<{
946
274
  type: z.ZodLiteral<"intercom-operator">;
947
- }, "strip", z.ZodTypeAny, {
948
- type: "intercom-operator";
949
- }, {
950
- type: "intercom-operator";
951
- }>, z.ZodObject<{
275
+ }, z.core.$strip>, z.ZodObject<{
952
276
  type: z.ZodLiteral<"device-gateway">;
953
- }, "strip", z.ZodTypeAny, {
954
- type: "device-gateway";
955
- }, {
956
- type: "device-gateway";
957
- }>, z.ZodObject<{
277
+ }, z.core.$strip>, z.ZodObject<{
958
278
  type: z.ZodLiteral<"presence-tracker">;
959
- }, "strip", z.ZodTypeAny, {
960
- type: "presence-tracker";
961
- }, {
962
- type: "presence-tracker";
963
- }>, z.ZodObject<{
279
+ }, z.core.$strip>, z.ZodObject<{
964
280
  type: z.ZodLiteral<"reader">;
965
- }, "strip", z.ZodTypeAny, {
966
- type: "reader";
967
- }, {
968
- type: "reader";
969
- }>, z.ZodObject<{
281
+ }, z.core.$strip>, z.ZodObject<{
970
282
  type: z.ZodLiteral<"display">;
971
- }, "strip", z.ZodTypeAny, {
972
- type: "display";
973
- }, {
974
- type: "display";
975
- }>, z.ZodObject<{
283
+ }, z.core.$strip>, z.ZodObject<{
976
284
  type: z.ZodLiteral<"nvr-recorder">;
977
- }, "strip", z.ZodTypeAny, {
978
- type: "nvr-recorder";
979
- }, {
980
- type: "nvr-recorder";
981
- }>, z.ZodObject<{
285
+ }, z.core.$strip>, z.ZodObject<{
982
286
  type: z.ZodLiteral<"nvr-exporter">;
983
- }, "strip", z.ZodTypeAny, {
984
- type: "nvr-exporter";
985
- }, {
986
- type: "nvr-exporter";
987
- }>, z.ZodObject<{
287
+ }, z.core.$strip>, z.ZodObject<{
988
288
  type: z.ZodLiteral<"nvr-analytics-server">;
989
- }, "strip", z.ZodTypeAny, {
990
- type: "nvr-analytics-server";
991
- }, {
992
- type: "nvr-analytics-server";
993
- }>, z.ZodObject<{
289
+ }, z.core.$strip>, z.ZodObject<{
994
290
  type: z.ZodLiteral<"system">;
995
- }, "strip", z.ZodTypeAny, {
996
- type: "system";
997
- }, {
998
- type: "system";
999
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
291
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1000
292
  streamId: z.ZodString;
1001
293
  time: z.ZodNumber;
1002
294
  height: z.ZodNumber;
1003
- }, "strip", z.ZodTypeAny, {
1004
- height: number;
1005
- device: string | ({
1006
- name: string;
1007
- foreignRef: string;
1008
- presets: {
1009
- id: string;
1010
- name: string;
1011
- createdOn: string;
1012
- lastModifiedOn: string;
1013
- isDefault: boolean;
1014
- assignedRef: string | null;
1015
- params?: unknown;
1016
- }[];
1017
- provider: string;
1018
- providerMetadata: {} & {
1019
- [k: string]: unknown;
1020
- };
1021
- } & ({
1022
- type: "alarm";
1023
- } | {
1024
- type: "camera";
1025
- ptzCapable: boolean;
1026
- ptzPanSpeed: number;
1027
- ptzTiltSpeed: number;
1028
- ptzZoomSpeed: number;
1029
- panMin: number;
1030
- panMax: number;
1031
- tiltMin: number;
1032
- tiltMax: number;
1033
- zoomMin: number;
1034
- zoomMax: number;
1035
- streams: {
1036
- id: string;
1037
- displayName: string;
1038
- externalPlayerUrl: string | null;
1039
- rtspUrl: string | null;
1040
- width: number | null;
1041
- height: number | null;
1042
- lensType: "flat" | "fisheye";
1043
- mountPoint: "wall" | "ceiling" | "floor";
1044
- webrtcPlaybackSource: ({
1045
- kind: string;
1046
- } & Record<string, unknown>) | null;
1047
- }[];
1048
- defaultStreamId: string;
1049
- autoSwitchStreams: boolean;
1050
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1051
- } | {
1052
- type: "door";
1053
- canReportOpenState: boolean;
1054
- canReportLockState: boolean;
1055
- canControlLock: boolean;
1056
- canRelease: boolean;
1057
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1058
- } | {
1059
- type: "io-board";
1060
- inputs: string[];
1061
- outputs: string[];
1062
- } | {
1063
- type: "camera-lift";
1064
- } | {
1065
- type: "motion-sensor";
1066
- } | {
1067
- type: "panic-button";
1068
- } | {
1069
- type: "intercom-terminal";
1070
- sipUri: string;
1071
- sipUser: string;
1072
- sipPassword: string;
1073
- sipRealm: string;
1074
- remoteExtension: string;
1075
- } | {
1076
- type: "pbx";
1077
- sipWsUrl: string;
1078
- } | {
1079
- type: "server";
1080
- } | {
1081
- type: "intercom-operator";
1082
- } | {
1083
- type: "device-gateway";
1084
- } | {
1085
- type: "presence-tracker";
1086
- } | {
1087
- type: "reader";
1088
- } | {
1089
- type: "display";
1090
- } | {
1091
- type: "nvr-recorder";
1092
- } | {
1093
- type: "nvr-exporter";
1094
- } | {
1095
- type: "nvr-analytics-server";
1096
- } | {
1097
- type: "system";
1098
- })) | [string, string];
1099
- streamId: string;
1100
- time: number;
1101
- }, {
1102
- height: number;
1103
- device: string | ({
1104
- name: string;
1105
- foreignRef: string;
1106
- presets: {
1107
- id: string;
1108
- name: string;
1109
- createdOn: string;
1110
- lastModifiedOn: string;
1111
- isDefault: boolean;
1112
- assignedRef: string | null;
1113
- params?: unknown;
1114
- }[];
1115
- provider: string;
1116
- providerMetadata: {} & {
1117
- [k: string]: unknown;
1118
- };
1119
- } & ({
1120
- type: "alarm";
1121
- } | {
1122
- type: "camera";
1123
- ptzCapable: boolean;
1124
- ptzPanSpeed: number;
1125
- ptzTiltSpeed: number;
1126
- ptzZoomSpeed: number;
1127
- panMin: number;
1128
- panMax: number;
1129
- tiltMin: number;
1130
- tiltMax: number;
1131
- zoomMin: number;
1132
- zoomMax: number;
1133
- streams: {
1134
- id: string;
1135
- displayName: string;
1136
- externalPlayerUrl: string | null;
1137
- rtspUrl: string | null;
1138
- width: number | null;
1139
- height: number | null;
1140
- lensType: "flat" | "fisheye";
1141
- mountPoint: "wall" | "ceiling" | "floor";
1142
- webrtcPlaybackSource: ({
1143
- kind: string;
1144
- } & Record<string, unknown>) | null;
1145
- }[];
1146
- defaultStreamId: string;
1147
- autoSwitchStreams: boolean;
1148
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1149
- } | {
1150
- type: "door";
1151
- canReportOpenState: boolean;
1152
- canReportLockState: boolean;
1153
- canControlLock: boolean;
1154
- canRelease: boolean;
1155
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1156
- } | {
1157
- type: "io-board";
1158
- inputs: string[];
1159
- outputs: string[];
1160
- } | {
1161
- type: "camera-lift";
1162
- } | {
1163
- type: "motion-sensor";
1164
- } | {
1165
- type: "panic-button";
1166
- } | {
1167
- type: "intercom-terminal";
1168
- sipUri: string;
1169
- sipUser: string;
1170
- sipPassword: string;
1171
- sipRealm: string;
1172
- remoteExtension: string;
1173
- } | {
1174
- type: "pbx";
1175
- sipWsUrl: string;
1176
- } | {
1177
- type: "server";
1178
- } | {
1179
- type: "intercom-operator";
1180
- } | {
1181
- type: "device-gateway";
1182
- } | {
1183
- type: "presence-tracker";
1184
- } | {
1185
- type: "reader";
1186
- } | {
1187
- type: "display";
1188
- } | {
1189
- type: "nvr-recorder";
1190
- } | {
1191
- type: "nvr-exporter";
1192
- } | {
1193
- type: "nvr-analytics-server";
1194
- } | {
1195
- type: "system";
1196
- })) | [string, string];
1197
- streamId: string;
1198
- time: number;
1199
- }>;
295
+ }, z.core.$strip>;
1200
296
  readonly "cctv:latest-frame": z.ZodObject<{
1201
297
  device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
1202
298
  name: z.ZodString;
1203
299
  foreignRef: z.ZodString;
1204
300
  provider: z.ZodString;
1205
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
1206
- } & {
301
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
1207
302
  presets: z.ZodArray<z.ZodObject<{
1208
303
  id: z.ZodString;
1209
304
  name: z.ZodString;
@@ -1212,62 +307,10 @@ export declare const requestSchemasByType: {
1212
307
  assignedRef: z.ZodNullable<z.ZodString>;
1213
308
  createdOn: z.ZodString;
1214
309
  lastModifiedOn: z.ZodString;
1215
- }, "strip", z.ZodTypeAny, {
1216
- id: string;
1217
- name: string;
1218
- createdOn: string;
1219
- lastModifiedOn: string;
1220
- isDefault: boolean;
1221
- assignedRef: string | null;
1222
- params?: unknown;
1223
- }, {
1224
- id: string;
1225
- name: string;
1226
- createdOn: string;
1227
- lastModifiedOn: string;
1228
- isDefault: boolean;
1229
- assignedRef: string | null;
1230
- params?: unknown;
1231
- }>, "many">;
1232
- }, "strip", z.ZodTypeAny, {
1233
- name: string;
1234
- foreignRef: string;
1235
- presets: {
1236
- id: string;
1237
- name: string;
1238
- createdOn: string;
1239
- lastModifiedOn: string;
1240
- isDefault: boolean;
1241
- assignedRef: string | null;
1242
- params?: unknown;
1243
- }[];
1244
- provider: string;
1245
- providerMetadata: {} & {
1246
- [k: string]: unknown;
1247
- };
1248
- }, {
1249
- name: string;
1250
- foreignRef: string;
1251
- presets: {
1252
- id: string;
1253
- name: string;
1254
- createdOn: string;
1255
- lastModifiedOn: string;
1256
- isDefault: boolean;
1257
- assignedRef: string | null;
1258
- params?: unknown;
1259
- }[];
1260
- provider: string;
1261
- providerMetadata: {} & {
1262
- [k: string]: unknown;
1263
- };
1264
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
310
+ }, z.core.$strip>>;
311
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1265
312
  type: z.ZodLiteral<"alarm">;
1266
- }, "strip", z.ZodTypeAny, {
1267
- type: "alarm";
1268
- }, {
1269
- type: "alarm";
1270
- }>, z.ZodObject<{
313
+ }, z.core.$strip>, z.ZodObject<{
1271
314
  ptzCapable: z.ZodBoolean;
1272
315
  ptzPanSpeed: z.ZodNumber;
1273
316
  ptzTiltSpeed: z.ZodNumber;
@@ -1285,450 +328,89 @@ export declare const requestSchemasByType: {
1285
328
  rtspUrl: z.ZodNullable<z.ZodString>;
1286
329
  width: z.ZodNullable<z.ZodNumber>;
1287
330
  height: z.ZodNullable<z.ZodNumber>;
1288
- lensType: z.ZodEnum<["flat", "fisheye"]>;
1289
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
331
+ lensType: z.ZodEnum<{
332
+ flat: "flat";
333
+ fisheye: "fisheye";
334
+ }>;
335
+ mountPoint: z.ZodEnum<{
336
+ wall: "wall";
337
+ ceiling: "ceiling";
338
+ floor: "floor";
339
+ }>;
1290
340
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
1291
341
  kind: z.ZodString;
1292
- }, "strip", z.ZodTypeAny, {
1293
- kind: string;
1294
- }, {
1295
- kind: string;
1296
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1297
- }, "strip", z.ZodTypeAny, {
1298
- id: string;
1299
- displayName: string;
1300
- externalPlayerUrl: string | null;
1301
- rtspUrl: string | null;
1302
- width: number | null;
1303
- height: number | null;
1304
- lensType: "flat" | "fisheye";
1305
- mountPoint: "wall" | "ceiling" | "floor";
1306
- webrtcPlaybackSource: ({
1307
- kind: string;
1308
- } & Record<string, unknown>) | null;
1309
- }, {
1310
- id: string;
1311
- displayName: string;
1312
- externalPlayerUrl: string | null;
1313
- rtspUrl: string | null;
1314
- width: number | null;
1315
- height: number | null;
1316
- lensType: "flat" | "fisheye";
1317
- mountPoint: "wall" | "ceiling" | "floor";
1318
- webrtcPlaybackSource: ({
1319
- kind: string;
1320
- } & Record<string, unknown>) | null;
1321
- }>, "many">;
342
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
343
+ }, z.core.$strip>>;
1322
344
  defaultStreamId: z.ZodString;
1323
345
  autoSwitchStreams: z.ZodBoolean;
1324
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
1325
- } & {
346
+ streamNaming: z.ZodEnum<{
347
+ cameraStreamNo: "cameraStreamNo";
348
+ cameraStream: "cameraStream";
349
+ stream: "stream";
350
+ }>;
1326
351
  type: z.ZodLiteral<"camera">;
1327
- }, "strip", z.ZodTypeAny, {
1328
- type: "camera";
1329
- ptzCapable: boolean;
1330
- ptzPanSpeed: number;
1331
- ptzTiltSpeed: number;
1332
- ptzZoomSpeed: number;
1333
- panMin: number;
1334
- panMax: number;
1335
- tiltMin: number;
1336
- tiltMax: number;
1337
- zoomMin: number;
1338
- zoomMax: number;
1339
- streams: {
1340
- id: string;
1341
- displayName: string;
1342
- externalPlayerUrl: string | null;
1343
- rtspUrl: string | null;
1344
- width: number | null;
1345
- height: number | null;
1346
- lensType: "flat" | "fisheye";
1347
- mountPoint: "wall" | "ceiling" | "floor";
1348
- webrtcPlaybackSource: ({
1349
- kind: string;
1350
- } & Record<string, unknown>) | null;
1351
- }[];
1352
- defaultStreamId: string;
1353
- autoSwitchStreams: boolean;
1354
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1355
- }, {
1356
- type: "camera";
1357
- ptzCapable: boolean;
1358
- ptzPanSpeed: number;
1359
- ptzTiltSpeed: number;
1360
- ptzZoomSpeed: number;
1361
- panMin: number;
1362
- panMax: number;
1363
- tiltMin: number;
1364
- tiltMax: number;
1365
- zoomMin: number;
1366
- zoomMax: number;
1367
- streams: {
1368
- id: string;
1369
- displayName: string;
1370
- externalPlayerUrl: string | null;
1371
- rtspUrl: string | null;
1372
- width: number | null;
1373
- height: number | null;
1374
- lensType: "flat" | "fisheye";
1375
- mountPoint: "wall" | "ceiling" | "floor";
1376
- webrtcPlaybackSource: ({
1377
- kind: string;
1378
- } & Record<string, unknown>) | null;
1379
- }[];
1380
- defaultStreamId: string;
1381
- autoSwitchStreams: boolean;
1382
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1383
- }>, z.ZodObject<{
352
+ }, z.core.$strip>, z.ZodObject<{
1384
353
  canReportOpenState: z.ZodBoolean;
1385
354
  canReportLockState: z.ZodBoolean;
1386
355
  canControlLock: z.ZodBoolean;
1387
356
  canRelease: z.ZodBoolean;
1388
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
1389
- } & {
357
+ style: z.ZodOptional<z.ZodEnum<{
358
+ single: "single";
359
+ double: "double";
360
+ sliding: "sliding";
361
+ hatch: "hatch";
362
+ roller: "roller";
363
+ window: "window";
364
+ }>>;
1390
365
  type: z.ZodLiteral<"door">;
1391
- }, "strip", z.ZodTypeAny, {
1392
- type: "door";
1393
- canReportOpenState: boolean;
1394
- canReportLockState: boolean;
1395
- canControlLock: boolean;
1396
- canRelease: boolean;
1397
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1398
- }, {
1399
- type: "door";
1400
- canReportOpenState: boolean;
1401
- canReportLockState: boolean;
1402
- canControlLock: boolean;
1403
- canRelease: boolean;
1404
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1405
- }>, z.ZodObject<{
1406
- inputs: z.ZodArray<z.ZodString, "many">;
1407
- outputs: z.ZodArray<z.ZodString, "many">;
1408
- } & {
366
+ }, z.core.$strip>, z.ZodObject<{
367
+ inputs: z.ZodArray<z.ZodString>;
368
+ outputs: z.ZodArray<z.ZodString>;
1409
369
  type: z.ZodLiteral<"io-board">;
1410
- }, "strip", z.ZodTypeAny, {
1411
- type: "io-board";
1412
- inputs: string[];
1413
- outputs: string[];
1414
- }, {
1415
- type: "io-board";
1416
- inputs: string[];
1417
- outputs: string[];
1418
- }>, z.ZodObject<{
370
+ }, z.core.$strip>, z.ZodObject<{
1419
371
  type: z.ZodLiteral<"camera-lift">;
1420
- }, "strip", z.ZodTypeAny, {
1421
- type: "camera-lift";
1422
- }, {
1423
- type: "camera-lift";
1424
- }>, z.ZodObject<{
372
+ }, z.core.$strip>, z.ZodObject<{
1425
373
  type: z.ZodLiteral<"motion-sensor">;
1426
- }, "strip", z.ZodTypeAny, {
1427
- type: "motion-sensor";
1428
- }, {
1429
- type: "motion-sensor";
1430
- }>, z.ZodObject<{
374
+ }, z.core.$strip>, z.ZodObject<{
1431
375
  type: z.ZodLiteral<"panic-button">;
1432
- }, "strip", z.ZodTypeAny, {
1433
- type: "panic-button";
1434
- }, {
1435
- type: "panic-button";
1436
- }>, z.ZodObject<{
376
+ }, z.core.$strip>, z.ZodObject<{
1437
377
  sipUri: z.ZodString;
1438
378
  sipUser: z.ZodString;
1439
379
  sipPassword: z.ZodString;
1440
380
  sipRealm: z.ZodString;
1441
381
  remoteExtension: z.ZodString;
1442
- } & {
1443
382
  type: z.ZodLiteral<"intercom-terminal">;
1444
- }, "strip", z.ZodTypeAny, {
1445
- type: "intercom-terminal";
1446
- sipUri: string;
1447
- sipUser: string;
1448
- sipPassword: string;
1449
- sipRealm: string;
1450
- remoteExtension: string;
1451
- }, {
1452
- type: "intercom-terminal";
1453
- sipUri: string;
1454
- sipUser: string;
1455
- sipPassword: string;
1456
- sipRealm: string;
1457
- remoteExtension: string;
1458
- }>, z.ZodObject<{
383
+ }, z.core.$strip>, z.ZodObject<{
1459
384
  sipWsUrl: z.ZodString;
1460
- } & {
1461
385
  type: z.ZodLiteral<"pbx">;
1462
- }, "strip", z.ZodTypeAny, {
1463
- type: "pbx";
1464
- sipWsUrl: string;
1465
- }, {
1466
- type: "pbx";
1467
- sipWsUrl: string;
1468
- }>, z.ZodObject<{
386
+ }, z.core.$strip>, z.ZodObject<{
1469
387
  type: z.ZodLiteral<"server">;
1470
- }, "strip", z.ZodTypeAny, {
1471
- type: "server";
1472
- }, {
1473
- type: "server";
1474
- }>, z.ZodObject<{
388
+ }, z.core.$strip>, z.ZodObject<{
1475
389
  type: z.ZodLiteral<"intercom-operator">;
1476
- }, "strip", z.ZodTypeAny, {
1477
- type: "intercom-operator";
1478
- }, {
1479
- type: "intercom-operator";
1480
- }>, z.ZodObject<{
390
+ }, z.core.$strip>, z.ZodObject<{
1481
391
  type: z.ZodLiteral<"device-gateway">;
1482
- }, "strip", z.ZodTypeAny, {
1483
- type: "device-gateway";
1484
- }, {
1485
- type: "device-gateway";
1486
- }>, z.ZodObject<{
392
+ }, z.core.$strip>, z.ZodObject<{
1487
393
  type: z.ZodLiteral<"presence-tracker">;
1488
- }, "strip", z.ZodTypeAny, {
1489
- type: "presence-tracker";
1490
- }, {
1491
- type: "presence-tracker";
1492
- }>, z.ZodObject<{
394
+ }, z.core.$strip>, z.ZodObject<{
1493
395
  type: z.ZodLiteral<"reader">;
1494
- }, "strip", z.ZodTypeAny, {
1495
- type: "reader";
1496
- }, {
1497
- type: "reader";
1498
- }>, z.ZodObject<{
396
+ }, z.core.$strip>, z.ZodObject<{
1499
397
  type: z.ZodLiteral<"display">;
1500
- }, "strip", z.ZodTypeAny, {
1501
- type: "display";
1502
- }, {
1503
- type: "display";
1504
- }>, z.ZodObject<{
398
+ }, z.core.$strip>, z.ZodObject<{
1505
399
  type: z.ZodLiteral<"nvr-recorder">;
1506
- }, "strip", z.ZodTypeAny, {
1507
- type: "nvr-recorder";
1508
- }, {
1509
- type: "nvr-recorder";
1510
- }>, z.ZodObject<{
400
+ }, z.core.$strip>, z.ZodObject<{
1511
401
  type: z.ZodLiteral<"nvr-exporter">;
1512
- }, "strip", z.ZodTypeAny, {
1513
- type: "nvr-exporter";
1514
- }, {
1515
- type: "nvr-exporter";
1516
- }>, z.ZodObject<{
402
+ }, z.core.$strip>, z.ZodObject<{
1517
403
  type: z.ZodLiteral<"nvr-analytics-server">;
1518
- }, "strip", z.ZodTypeAny, {
1519
- type: "nvr-analytics-server";
1520
- }, {
1521
- type: "nvr-analytics-server";
1522
- }>, z.ZodObject<{
404
+ }, z.core.$strip>, z.ZodObject<{
1523
405
  type: z.ZodLiteral<"system">;
1524
- }, "strip", z.ZodTypeAny, {
1525
- type: "system";
1526
- }, {
1527
- type: "system";
1528
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
406
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1529
407
  streamId: z.ZodString;
1530
408
  width: z.ZodNumber;
1531
409
  height: z.ZodNumber;
1532
- }, "strip", z.ZodTypeAny, {
1533
- width: number;
1534
- height: number;
1535
- device: string | ({
1536
- name: string;
1537
- foreignRef: string;
1538
- presets: {
1539
- id: string;
1540
- name: string;
1541
- createdOn: string;
1542
- lastModifiedOn: string;
1543
- isDefault: boolean;
1544
- assignedRef: string | null;
1545
- params?: unknown;
1546
- }[];
1547
- provider: string;
1548
- providerMetadata: {} & {
1549
- [k: string]: unknown;
1550
- };
1551
- } & ({
1552
- type: "alarm";
1553
- } | {
1554
- type: "camera";
1555
- ptzCapable: boolean;
1556
- ptzPanSpeed: number;
1557
- ptzTiltSpeed: number;
1558
- ptzZoomSpeed: number;
1559
- panMin: number;
1560
- panMax: number;
1561
- tiltMin: number;
1562
- tiltMax: number;
1563
- zoomMin: number;
1564
- zoomMax: number;
1565
- streams: {
1566
- id: string;
1567
- displayName: string;
1568
- externalPlayerUrl: string | null;
1569
- rtspUrl: string | null;
1570
- width: number | null;
1571
- height: number | null;
1572
- lensType: "flat" | "fisheye";
1573
- mountPoint: "wall" | "ceiling" | "floor";
1574
- webrtcPlaybackSource: ({
1575
- kind: string;
1576
- } & Record<string, unknown>) | null;
1577
- }[];
1578
- defaultStreamId: string;
1579
- autoSwitchStreams: boolean;
1580
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1581
- } | {
1582
- type: "door";
1583
- canReportOpenState: boolean;
1584
- canReportLockState: boolean;
1585
- canControlLock: boolean;
1586
- canRelease: boolean;
1587
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1588
- } | {
1589
- type: "io-board";
1590
- inputs: string[];
1591
- outputs: string[];
1592
- } | {
1593
- type: "camera-lift";
1594
- } | {
1595
- type: "motion-sensor";
1596
- } | {
1597
- type: "panic-button";
1598
- } | {
1599
- type: "intercom-terminal";
1600
- sipUri: string;
1601
- sipUser: string;
1602
- sipPassword: string;
1603
- sipRealm: string;
1604
- remoteExtension: string;
1605
- } | {
1606
- type: "pbx";
1607
- sipWsUrl: string;
1608
- } | {
1609
- type: "server";
1610
- } | {
1611
- type: "intercom-operator";
1612
- } | {
1613
- type: "device-gateway";
1614
- } | {
1615
- type: "presence-tracker";
1616
- } | {
1617
- type: "reader";
1618
- } | {
1619
- type: "display";
1620
- } | {
1621
- type: "nvr-recorder";
1622
- } | {
1623
- type: "nvr-exporter";
1624
- } | {
1625
- type: "nvr-analytics-server";
1626
- } | {
1627
- type: "system";
1628
- })) | [string, string];
1629
- streamId: string;
1630
- }, {
1631
- width: number;
1632
- height: number;
1633
- device: string | ({
1634
- name: string;
1635
- foreignRef: string;
1636
- presets: {
1637
- id: string;
1638
- name: string;
1639
- createdOn: string;
1640
- lastModifiedOn: string;
1641
- isDefault: boolean;
1642
- assignedRef: string | null;
1643
- params?: unknown;
1644
- }[];
1645
- provider: string;
1646
- providerMetadata: {} & {
1647
- [k: string]: unknown;
1648
- };
1649
- } & ({
1650
- type: "alarm";
1651
- } | {
1652
- type: "camera";
1653
- ptzCapable: boolean;
1654
- ptzPanSpeed: number;
1655
- ptzTiltSpeed: number;
1656
- ptzZoomSpeed: number;
1657
- panMin: number;
1658
- panMax: number;
1659
- tiltMin: number;
1660
- tiltMax: number;
1661
- zoomMin: number;
1662
- zoomMax: number;
1663
- streams: {
1664
- id: string;
1665
- displayName: string;
1666
- externalPlayerUrl: string | null;
1667
- rtspUrl: string | null;
1668
- width: number | null;
1669
- height: number | null;
1670
- lensType: "flat" | "fisheye";
1671
- mountPoint: "wall" | "ceiling" | "floor";
1672
- webrtcPlaybackSource: ({
1673
- kind: string;
1674
- } & Record<string, unknown>) | null;
1675
- }[];
1676
- defaultStreamId: string;
1677
- autoSwitchStreams: boolean;
1678
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1679
- } | {
1680
- type: "door";
1681
- canReportOpenState: boolean;
1682
- canReportLockState: boolean;
1683
- canControlLock: boolean;
1684
- canRelease: boolean;
1685
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1686
- } | {
1687
- type: "io-board";
1688
- inputs: string[];
1689
- outputs: string[];
1690
- } | {
1691
- type: "camera-lift";
1692
- } | {
1693
- type: "motion-sensor";
1694
- } | {
1695
- type: "panic-button";
1696
- } | {
1697
- type: "intercom-terminal";
1698
- sipUri: string;
1699
- sipUser: string;
1700
- sipPassword: string;
1701
- sipRealm: string;
1702
- remoteExtension: string;
1703
- } | {
1704
- type: "pbx";
1705
- sipWsUrl: string;
1706
- } | {
1707
- type: "server";
1708
- } | {
1709
- type: "intercom-operator";
1710
- } | {
1711
- type: "device-gateway";
1712
- } | {
1713
- type: "presence-tracker";
1714
- } | {
1715
- type: "reader";
1716
- } | {
1717
- type: "display";
1718
- } | {
1719
- type: "nvr-recorder";
1720
- } | {
1721
- type: "nvr-exporter";
1722
- } | {
1723
- type: "nvr-analytics-server";
1724
- } | {
1725
- type: "system";
1726
- })) | [string, string];
1727
- streamId: string;
1728
- }>;
410
+ }, z.core.$strip>;
1729
411
  };
1730
412
  export declare const responseSchemasByType: {
1731
- readonly "device:event-caps": z.ZodArray<z.ZodString, "many">;
413
+ readonly "device:event-caps": z.ZodArray<z.ZodString>;
1732
414
  readonly "cctv:media-search": z.ZodArray<z.ZodObject<{
1733
415
  relevance: z.ZodNumber;
1734
416
  providerAssignedRef: z.ZodString;
@@ -1739,127 +421,49 @@ export declare const responseSchemasByType: {
1739
421
  subLabel: z.ZodString;
1740
422
  startTime: z.ZodNumber;
1741
423
  endTime: z.ZodNullable<z.ZodNumber>;
1742
- }, "strip", z.ZodTypeAny, {
1743
- foreignRef: string;
1744
- provider: string;
1745
- objectKind: string;
1746
- probability: number;
1747
- startTime: number;
1748
- endTime: number | null;
1749
- providerAssignedRef: string;
1750
- relevance: number;
1751
- subLabel: string;
1752
- }, {
1753
- foreignRef: string;
1754
- provider: string;
1755
- objectKind: string;
1756
- probability: number;
1757
- startTime: number;
1758
- endTime: number | null;
1759
- providerAssignedRef: string;
1760
- relevance: number;
1761
- subLabel: string;
1762
- }>, "many">;
424
+ }, z.core.$strip>>;
1763
425
  readonly "cctv:scene-preview-clip": z.ZodNullable<z.ZodObject<{
1764
426
  mimeType: z.ZodString;
1765
427
  data: z.ZodString;
1766
- }, "strip", z.ZodTypeAny, {
1767
- mimeType: string;
1768
- data: string;
1769
- }, {
1770
- mimeType: string;
1771
- data: string;
1772
- }>>;
428
+ }, z.core.$strip>>;
1773
429
  readonly "cctv:object-snapshot": z.ZodNullable<z.ZodObject<{
1774
430
  mimeType: z.ZodString;
1775
431
  data: z.ZodString;
1776
- }, "strip", z.ZodTypeAny, {
1777
- mimeType: string;
1778
- data: string;
1779
- }, {
1780
- mimeType: string;
1781
- data: string;
1782
- }>>;
432
+ }, z.core.$strip>>;
1783
433
  readonly "cctv:object-thumbnail": z.ZodNullable<z.ZodObject<{
1784
434
  mimeType: z.ZodString;
1785
435
  data: z.ZodString;
1786
- }, "strip", z.ZodTypeAny, {
1787
- mimeType: string;
1788
- data: string;
1789
- }, {
1790
- mimeType: string;
1791
- data: string;
1792
- }>>;
1793
- readonly "cctv:object-labels": z.ZodArray<z.ZodString, "many">;
1794
- readonly "cctv:media-faces": z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
1795
- readonly "cctv:media-face-people": z.ZodArray<z.ZodString, "many">;
436
+ }, z.core.$strip>>;
437
+ readonly "cctv:object-labels": z.ZodArray<z.ZodString>;
438
+ readonly "cctv:media-faces": z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
439
+ readonly "cctv:media-face-people": z.ZodArray<z.ZodString>;
1796
440
  readonly "cctv:media-face-person-create": z.ZodObject<{
1797
441
  success: z.ZodBoolean;
1798
442
  message: z.ZodString;
1799
- }, "strip", z.ZodTypeAny, {
1800
- message: string;
1801
- success: boolean;
1802
- }, {
1803
- message: string;
1804
- success: boolean;
1805
- }>;
443
+ }, z.core.$strip>;
1806
444
  readonly "cctv:media-face-person-delete": z.ZodObject<{
1807
445
  success: z.ZodBoolean;
1808
446
  message: z.ZodString;
1809
- }, "strip", z.ZodTypeAny, {
1810
- message: string;
1811
- success: boolean;
1812
- }, {
1813
- message: string;
1814
- success: boolean;
1815
- }>;
447
+ }, z.core.$strip>;
1816
448
  readonly "cctv:media-face-person-add": z.ZodObject<{
1817
449
  success: z.ZodBoolean;
1818
450
  message: z.ZodString;
1819
- }, "strip", z.ZodTypeAny, {
1820
- message: string;
1821
- success: boolean;
1822
- }, {
1823
- message: string;
1824
- success: boolean;
1825
- }>;
451
+ }, z.core.$strip>;
1826
452
  readonly "cctv:media-face-person-remove": z.ZodObject<{
1827
453
  success: z.ZodBoolean;
1828
454
  message: z.ZodString;
1829
- }, "strip", z.ZodTypeAny, {
1830
- message: string;
1831
- success: boolean;
1832
- }, {
1833
- message: string;
1834
- success: boolean;
1835
- }>;
455
+ }, z.core.$strip>;
1836
456
  readonly "cctv:media-face-image": z.ZodNullable<z.ZodObject<{
1837
457
  mimeType: z.ZodString;
1838
458
  data: z.ZodString;
1839
- }, "strip", z.ZodTypeAny, {
1840
- mimeType: string;
1841
- data: string;
1842
- }, {
1843
- mimeType: string;
1844
- data: string;
1845
- }>>;
459
+ }, z.core.$strip>>;
1846
460
  readonly "cctv:media-face-train": z.ZodObject<{
1847
461
  success: z.ZodBoolean;
1848
462
  message: z.ZodString;
1849
- }, "strip", z.ZodTypeAny, {
1850
- message: string;
1851
- success: boolean;
1852
- }, {
1853
- message: string;
1854
- success: boolean;
1855
- }>;
463
+ }, z.core.$strip>;
1856
464
  readonly "cctv:get-export-link": z.ZodObject<{
1857
465
  exportLink: z.ZodString;
1858
- }, "strip", z.ZodTypeAny, {
1859
- exportLink: string;
1860
- }, {
1861
- exportLink: string;
1862
- }>;
466
+ }, z.core.$strip>;
1863
467
  readonly "cctv:get-exports": z.ZodArray<z.ZodObject<{
1864
468
  name: z.ZodString;
1865
469
  endTime: z.ZodNumber;
@@ -1868,59 +472,21 @@ export declare const responseSchemasByType: {
1868
472
  status: z.ZodString;
1869
473
  size: z.ZodOptional<z.ZodString>;
1870
474
  expires: z.ZodOptional<z.ZodNumber>;
1871
- }, "strip", z.ZodTypeAny, {
1872
- status: string;
1873
- id: string;
1874
- name: string;
1875
- startTime: number;
1876
- endTime: number;
1877
- size?: string | undefined;
1878
- expires?: number | undefined;
1879
- }, {
1880
- status: string;
1881
- id: string;
1882
- name: string;
1883
- startTime: number;
1884
- endTime: number;
1885
- size?: string | undefined;
1886
- expires?: number | undefined;
1887
- }>, "many">;
475
+ }, z.core.$strip>>;
1888
476
  readonly "cctv:recordings-by-time-range": z.ZodArray<z.ZodObject<{
1889
477
  start: z.ZodNumber;
1890
478
  end: z.ZodNumber;
1891
479
  motion: z.ZodOptional<z.ZodNumber>;
1892
480
  objects: z.ZodOptional<z.ZodNumber>;
1893
- }, "strip", z.ZodTypeAny, {
1894
- start: number;
1895
- end: number;
1896
- motion?: number | undefined;
1897
- objects?: number | undefined;
1898
- }, {
1899
- start: number;
1900
- end: number;
1901
- motion?: number | undefined;
1902
- objects?: number | undefined;
1903
- }>, "many">;
481
+ }, z.core.$strip>>;
1904
482
  readonly "cctv:preview-image": z.ZodNullable<z.ZodObject<{
1905
483
  mimeType: z.ZodString;
1906
484
  data: z.ZodString;
1907
- }, "strip", z.ZodTypeAny, {
1908
- mimeType: string;
1909
- data: string;
1910
- }, {
1911
- mimeType: string;
1912
- data: string;
1913
- }>>;
485
+ }, z.core.$strip>>;
1914
486
  readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
1915
487
  mimeType: z.ZodString;
1916
488
  data: z.ZodString;
1917
- }, "strip", z.ZodTypeAny, {
1918
- mimeType: string;
1919
- data: string;
1920
- }, {
1921
- mimeType: string;
1922
- data: string;
1923
- }>>;
489
+ }, z.core.$strip>>;
1924
490
  };
1925
491
  export type QueryRequestMap = NvrAnalyticsQueryRequestMap & NvrRecorderQueryRequestMap & CameraQueryRequestMap & NvrExporterQueryRequestMap & {
1926
492
  [QUERY_EVENT_CAPS]: EventCapsQueryArgs;