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