@awarevue/api-types 2.0.82 → 2.0.84

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 +1000 -10986
  3. package/dist/api/agent-protocol/protocol.js +114 -57
  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 +36 -146
  75. package/dist/objects/agent-metadata.js +1 -2
  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
@@ -7,8 +7,7 @@ export declare const sStartExportCommand: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  foreignRef: z.ZodString;
9
9
  provider: z.ZodString;
10
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
11
- } & {
10
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
12
11
  presets: z.ZodArray<z.ZodObject<{
13
12
  id: z.ZodString;
14
13
  name: z.ZodString;
@@ -17,62 +16,10 @@ export declare const sStartExportCommand: z.ZodObject<{
17
16
  assignedRef: z.ZodNullable<z.ZodString>;
18
17
  createdOn: z.ZodString;
19
18
  lastModifiedOn: z.ZodString;
20
- }, "strip", z.ZodTypeAny, {
21
- id: string;
22
- name: string;
23
- createdOn: string;
24
- lastModifiedOn: string;
25
- isDefault: boolean;
26
- assignedRef: string | null;
27
- params?: unknown;
28
- }, {
29
- id: string;
30
- name: string;
31
- createdOn: string;
32
- lastModifiedOn: string;
33
- isDefault: boolean;
34
- assignedRef: string | null;
35
- params?: unknown;
36
- }>, "many">;
37
- }, "strip", z.ZodTypeAny, {
38
- name: string;
39
- foreignRef: string;
40
- presets: {
41
- id: string;
42
- name: string;
43
- createdOn: string;
44
- lastModifiedOn: string;
45
- isDefault: boolean;
46
- assignedRef: string | null;
47
- params?: unknown;
48
- }[];
49
- provider: string;
50
- providerMetadata: {} & {
51
- [k: string]: unknown;
52
- };
53
- }, {
54
- name: string;
55
- foreignRef: string;
56
- presets: {
57
- id: string;
58
- name: string;
59
- createdOn: string;
60
- lastModifiedOn: string;
61
- isDefault: boolean;
62
- assignedRef: string | null;
63
- params?: unknown;
64
- }[];
65
- provider: string;
66
- providerMetadata: {} & {
67
- [k: string]: unknown;
68
- };
69
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
70
21
  type: z.ZodLiteral<"alarm">;
71
- }, "strip", z.ZodTypeAny, {
72
- type: "alarm";
73
- }, {
74
- type: "alarm";
75
- }>, z.ZodObject<{
22
+ }, z.core.$strip>, z.ZodObject<{
76
23
  ptzCapable: z.ZodBoolean;
77
24
  ptzPanSpeed: z.ZodNumber;
78
25
  ptzTiltSpeed: z.ZodNumber;
@@ -90,680 +37,95 @@ export declare const sStartExportCommand: z.ZodObject<{
90
37
  rtspUrl: z.ZodNullable<z.ZodString>;
91
38
  width: z.ZodNullable<z.ZodNumber>;
92
39
  height: z.ZodNullable<z.ZodNumber>;
93
- lensType: z.ZodEnum<["flat", "fisheye"]>;
94
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
40
+ lensType: z.ZodEnum<{
41
+ flat: "flat";
42
+ fisheye: "fisheye";
43
+ }>;
44
+ mountPoint: z.ZodEnum<{
45
+ wall: "wall";
46
+ ceiling: "ceiling";
47
+ floor: "floor";
48
+ }>;
95
49
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
96
50
  kind: z.ZodString;
97
- }, "strip", z.ZodTypeAny, {
98
- kind: string;
99
- }, {
100
- kind: string;
101
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
102
- }, "strip", z.ZodTypeAny, {
103
- id: string;
104
- displayName: string;
105
- externalPlayerUrl: string | null;
106
- rtspUrl: string | null;
107
- width: number | null;
108
- height: number | null;
109
- lensType: "flat" | "fisheye";
110
- mountPoint: "wall" | "ceiling" | "floor";
111
- webrtcPlaybackSource: ({
112
- kind: string;
113
- } & Record<string, unknown>) | null;
114
- }, {
115
- id: string;
116
- displayName: string;
117
- externalPlayerUrl: string | null;
118
- rtspUrl: string | null;
119
- width: number | null;
120
- height: number | null;
121
- lensType: "flat" | "fisheye";
122
- mountPoint: "wall" | "ceiling" | "floor";
123
- webrtcPlaybackSource: ({
124
- kind: string;
125
- } & Record<string, unknown>) | null;
126
- }>, "many">;
51
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
52
+ }, z.core.$strip>>;
127
53
  defaultStreamId: z.ZodString;
128
54
  autoSwitchStreams: z.ZodBoolean;
129
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
130
- } & {
55
+ streamNaming: z.ZodEnum<{
56
+ cameraStreamNo: "cameraStreamNo";
57
+ cameraStream: "cameraStream";
58
+ stream: "stream";
59
+ }>;
131
60
  type: z.ZodLiteral<"camera">;
132
- }, "strip", z.ZodTypeAny, {
133
- type: "camera";
134
- ptzCapable: boolean;
135
- ptzPanSpeed: number;
136
- ptzTiltSpeed: number;
137
- ptzZoomSpeed: number;
138
- panMin: number;
139
- panMax: number;
140
- tiltMin: number;
141
- tiltMax: number;
142
- zoomMin: number;
143
- zoomMax: number;
144
- streams: {
145
- id: string;
146
- displayName: string;
147
- externalPlayerUrl: string | null;
148
- rtspUrl: string | null;
149
- width: number | null;
150
- height: number | null;
151
- lensType: "flat" | "fisheye";
152
- mountPoint: "wall" | "ceiling" | "floor";
153
- webrtcPlaybackSource: ({
154
- kind: string;
155
- } & Record<string, unknown>) | null;
156
- }[];
157
- defaultStreamId: string;
158
- autoSwitchStreams: boolean;
159
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
160
- }, {
161
- type: "camera";
162
- ptzCapable: boolean;
163
- ptzPanSpeed: number;
164
- ptzTiltSpeed: number;
165
- ptzZoomSpeed: number;
166
- panMin: number;
167
- panMax: number;
168
- tiltMin: number;
169
- tiltMax: number;
170
- zoomMin: number;
171
- zoomMax: number;
172
- streams: {
173
- id: string;
174
- displayName: string;
175
- externalPlayerUrl: string | null;
176
- rtspUrl: string | null;
177
- width: number | null;
178
- height: number | null;
179
- lensType: "flat" | "fisheye";
180
- mountPoint: "wall" | "ceiling" | "floor";
181
- webrtcPlaybackSource: ({
182
- kind: string;
183
- } & Record<string, unknown>) | null;
184
- }[];
185
- defaultStreamId: string;
186
- autoSwitchStreams: boolean;
187
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
188
- }>, z.ZodObject<{
61
+ }, z.core.$strip>, z.ZodObject<{
189
62
  canReportOpenState: z.ZodBoolean;
190
63
  canReportLockState: z.ZodBoolean;
191
64
  canControlLock: z.ZodBoolean;
192
65
  canRelease: z.ZodBoolean;
193
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
194
- } & {
66
+ style: z.ZodOptional<z.ZodEnum<{
67
+ single: "single";
68
+ double: "double";
69
+ sliding: "sliding";
70
+ hatch: "hatch";
71
+ roller: "roller";
72
+ window: "window";
73
+ }>>;
195
74
  type: z.ZodLiteral<"door">;
196
- }, "strip", z.ZodTypeAny, {
197
- type: "door";
198
- canReportOpenState: boolean;
199
- canReportLockState: boolean;
200
- canControlLock: boolean;
201
- canRelease: boolean;
202
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
203
- }, {
204
- type: "door";
205
- canReportOpenState: boolean;
206
- canReportLockState: boolean;
207
- canControlLock: boolean;
208
- canRelease: boolean;
209
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
210
- }>, z.ZodObject<{
211
- inputs: z.ZodArray<z.ZodString, "many">;
212
- outputs: z.ZodArray<z.ZodString, "many">;
213
- } & {
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ inputs: z.ZodArray<z.ZodString>;
77
+ outputs: z.ZodArray<z.ZodString>;
214
78
  type: z.ZodLiteral<"io-board">;
215
- }, "strip", z.ZodTypeAny, {
216
- type: "io-board";
217
- inputs: string[];
218
- outputs: string[];
219
- }, {
220
- type: "io-board";
221
- inputs: string[];
222
- outputs: string[];
223
- }>, z.ZodObject<{
79
+ }, z.core.$strip>, z.ZodObject<{
224
80
  type: z.ZodLiteral<"camera-lift">;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "camera-lift";
227
- }, {
228
- type: "camera-lift";
229
- }>, z.ZodObject<{
81
+ }, z.core.$strip>, z.ZodObject<{
230
82
  type: z.ZodLiteral<"motion-sensor">;
231
- }, "strip", z.ZodTypeAny, {
232
- type: "motion-sensor";
233
- }, {
234
- type: "motion-sensor";
235
- }>, z.ZodObject<{
83
+ }, z.core.$strip>, z.ZodObject<{
236
84
  type: z.ZodLiteral<"panic-button">;
237
- }, "strip", z.ZodTypeAny, {
238
- type: "panic-button";
239
- }, {
240
- type: "panic-button";
241
- }>, z.ZodObject<{
85
+ }, z.core.$strip>, z.ZodObject<{
242
86
  sipUri: z.ZodString;
243
87
  sipUser: z.ZodString;
244
88
  sipPassword: z.ZodString;
245
89
  sipRealm: z.ZodString;
246
90
  remoteExtension: z.ZodString;
247
- } & {
248
91
  type: z.ZodLiteral<"intercom-terminal">;
249
- }, "strip", z.ZodTypeAny, {
250
- type: "intercom-terminal";
251
- sipUri: string;
252
- sipUser: string;
253
- sipPassword: string;
254
- sipRealm: string;
255
- remoteExtension: string;
256
- }, {
257
- type: "intercom-terminal";
258
- sipUri: string;
259
- sipUser: string;
260
- sipPassword: string;
261
- sipRealm: string;
262
- remoteExtension: string;
263
- }>, z.ZodObject<{
92
+ }, z.core.$strip>, z.ZodObject<{
264
93
  sipWsUrl: z.ZodString;
265
- } & {
266
94
  type: z.ZodLiteral<"pbx">;
267
- }, "strip", z.ZodTypeAny, {
268
- type: "pbx";
269
- sipWsUrl: string;
270
- }, {
271
- type: "pbx";
272
- sipWsUrl: string;
273
- }>, z.ZodObject<{
95
+ }, z.core.$strip>, z.ZodObject<{
274
96
  type: z.ZodLiteral<"server">;
275
- }, "strip", z.ZodTypeAny, {
276
- type: "server";
277
- }, {
278
- type: "server";
279
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
280
98
  type: z.ZodLiteral<"intercom-operator">;
281
- }, "strip", z.ZodTypeAny, {
282
- type: "intercom-operator";
283
- }, {
284
- type: "intercom-operator";
285
- }>, z.ZodObject<{
99
+ }, z.core.$strip>, z.ZodObject<{
286
100
  type: z.ZodLiteral<"device-gateway">;
287
- }, "strip", z.ZodTypeAny, {
288
- type: "device-gateway";
289
- }, {
290
- type: "device-gateway";
291
- }>, z.ZodObject<{
101
+ }, z.core.$strip>, z.ZodObject<{
292
102
  type: z.ZodLiteral<"presence-tracker">;
293
- }, "strip", z.ZodTypeAny, {
294
- type: "presence-tracker";
295
- }, {
296
- type: "presence-tracker";
297
- }>, z.ZodObject<{
103
+ }, z.core.$strip>, z.ZodObject<{
298
104
  type: z.ZodLiteral<"reader">;
299
- }, "strip", z.ZodTypeAny, {
300
- type: "reader";
301
- }, {
302
- type: "reader";
303
- }>, z.ZodObject<{
105
+ }, z.core.$strip>, z.ZodObject<{
304
106
  type: z.ZodLiteral<"display">;
305
- }, "strip", z.ZodTypeAny, {
306
- type: "display";
307
- }, {
308
- type: "display";
309
- }>, z.ZodObject<{
107
+ }, z.core.$strip>, z.ZodObject<{
310
108
  type: z.ZodLiteral<"nvr-recorder">;
311
- }, "strip", z.ZodTypeAny, {
312
- type: "nvr-recorder";
313
- }, {
314
- type: "nvr-recorder";
315
- }>, z.ZodObject<{
109
+ }, z.core.$strip>, z.ZodObject<{
316
110
  type: z.ZodLiteral<"nvr-exporter">;
317
- }, "strip", z.ZodTypeAny, {
318
- type: "nvr-exporter";
319
- }, {
320
- type: "nvr-exporter";
321
- }>, z.ZodObject<{
111
+ }, z.core.$strip>, z.ZodObject<{
322
112
  type: z.ZodLiteral<"nvr-analytics-server">;
323
- }, "strip", z.ZodTypeAny, {
324
- type: "nvr-analytics-server";
325
- }, {
326
- type: "nvr-analytics-server";
327
- }>, z.ZodObject<{
113
+ }, z.core.$strip>, z.ZodObject<{
328
114
  type: z.ZodLiteral<"system">;
329
- }, "strip", z.ZodTypeAny, {
330
- type: "system";
331
- }, {
332
- type: "system";
333
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
115
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
334
116
  streamId: z.ZodString;
335
117
  timeFrom: z.ZodNumber;
336
118
  timeTo: z.ZodNumber;
337
119
  name: z.ZodString;
338
- }, "strip", z.ZodTypeAny, {
339
- name: string;
340
- device: string | ({
341
- name: string;
342
- foreignRef: string;
343
- presets: {
344
- id: string;
345
- name: string;
346
- createdOn: string;
347
- lastModifiedOn: string;
348
- isDefault: boolean;
349
- assignedRef: string | null;
350
- params?: unknown;
351
- }[];
352
- provider: string;
353
- providerMetadata: {} & {
354
- [k: string]: unknown;
355
- };
356
- } & ({
357
- type: "alarm";
358
- } | {
359
- type: "camera";
360
- ptzCapable: boolean;
361
- ptzPanSpeed: number;
362
- ptzTiltSpeed: number;
363
- ptzZoomSpeed: number;
364
- panMin: number;
365
- panMax: number;
366
- tiltMin: number;
367
- tiltMax: number;
368
- zoomMin: number;
369
- zoomMax: number;
370
- streams: {
371
- id: string;
372
- displayName: string;
373
- externalPlayerUrl: string | null;
374
- rtspUrl: string | null;
375
- width: number | null;
376
- height: number | null;
377
- lensType: "flat" | "fisheye";
378
- mountPoint: "wall" | "ceiling" | "floor";
379
- webrtcPlaybackSource: ({
380
- kind: string;
381
- } & Record<string, unknown>) | null;
382
- }[];
383
- defaultStreamId: string;
384
- autoSwitchStreams: boolean;
385
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
386
- } | {
387
- type: "door";
388
- canReportOpenState: boolean;
389
- canReportLockState: boolean;
390
- canControlLock: boolean;
391
- canRelease: boolean;
392
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
393
- } | {
394
- type: "io-board";
395
- inputs: string[];
396
- outputs: string[];
397
- } | {
398
- type: "camera-lift";
399
- } | {
400
- type: "motion-sensor";
401
- } | {
402
- type: "panic-button";
403
- } | {
404
- type: "intercom-terminal";
405
- sipUri: string;
406
- sipUser: string;
407
- sipPassword: string;
408
- sipRealm: string;
409
- remoteExtension: string;
410
- } | {
411
- type: "pbx";
412
- sipWsUrl: string;
413
- } | {
414
- type: "server";
415
- } | {
416
- type: "intercom-operator";
417
- } | {
418
- type: "device-gateway";
419
- } | {
420
- type: "presence-tracker";
421
- } | {
422
- type: "reader";
423
- } | {
424
- type: "display";
425
- } | {
426
- type: "nvr-recorder";
427
- } | {
428
- type: "nvr-exporter";
429
- } | {
430
- type: "nvr-analytics-server";
431
- } | {
432
- type: "system";
433
- })) | [string, string];
434
- streamId: string;
435
- requestId: string;
436
- timeFrom: number;
437
- timeTo: number;
438
- }, {
439
- name: string;
440
- device: string | ({
441
- name: string;
442
- foreignRef: string;
443
- presets: {
444
- id: string;
445
- name: string;
446
- createdOn: string;
447
- lastModifiedOn: string;
448
- isDefault: boolean;
449
- assignedRef: string | null;
450
- params?: unknown;
451
- }[];
452
- provider: string;
453
- providerMetadata: {} & {
454
- [k: string]: unknown;
455
- };
456
- } & ({
457
- type: "alarm";
458
- } | {
459
- type: "camera";
460
- ptzCapable: boolean;
461
- ptzPanSpeed: number;
462
- ptzTiltSpeed: number;
463
- ptzZoomSpeed: number;
464
- panMin: number;
465
- panMax: number;
466
- tiltMin: number;
467
- tiltMax: number;
468
- zoomMin: number;
469
- zoomMax: number;
470
- streams: {
471
- id: string;
472
- displayName: string;
473
- externalPlayerUrl: string | null;
474
- rtspUrl: string | null;
475
- width: number | null;
476
- height: number | null;
477
- lensType: "flat" | "fisheye";
478
- mountPoint: "wall" | "ceiling" | "floor";
479
- webrtcPlaybackSource: ({
480
- kind: string;
481
- } & Record<string, unknown>) | null;
482
- }[];
483
- defaultStreamId: string;
484
- autoSwitchStreams: boolean;
485
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
486
- } | {
487
- type: "door";
488
- canReportOpenState: boolean;
489
- canReportLockState: boolean;
490
- canControlLock: boolean;
491
- canRelease: boolean;
492
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
493
- } | {
494
- type: "io-board";
495
- inputs: string[];
496
- outputs: string[];
497
- } | {
498
- type: "camera-lift";
499
- } | {
500
- type: "motion-sensor";
501
- } | {
502
- type: "panic-button";
503
- } | {
504
- type: "intercom-terminal";
505
- sipUri: string;
506
- sipUser: string;
507
- sipPassword: string;
508
- sipRealm: string;
509
- remoteExtension: string;
510
- } | {
511
- type: "pbx";
512
- sipWsUrl: string;
513
- } | {
514
- type: "server";
515
- } | {
516
- type: "intercom-operator";
517
- } | {
518
- type: "device-gateway";
519
- } | {
520
- type: "presence-tracker";
521
- } | {
522
- type: "reader";
523
- } | {
524
- type: "display";
525
- } | {
526
- type: "nvr-recorder";
527
- } | {
528
- type: "nvr-exporter";
529
- } | {
530
- type: "nvr-analytics-server";
531
- } | {
532
- type: "system";
533
- })) | [string, string];
534
- streamId: string;
535
- requestId: string;
536
- timeFrom: number;
537
- timeTo: number;
538
- }>;
539
- }, "strip", z.ZodTypeAny, {
540
- params: {
541
- name: string;
542
- device: string | ({
543
- name: string;
544
- foreignRef: string;
545
- presets: {
546
- id: string;
547
- name: string;
548
- createdOn: string;
549
- lastModifiedOn: string;
550
- isDefault: boolean;
551
- assignedRef: string | null;
552
- params?: unknown;
553
- }[];
554
- provider: string;
555
- providerMetadata: {} & {
556
- [k: string]: unknown;
557
- };
558
- } & ({
559
- type: "alarm";
560
- } | {
561
- type: "camera";
562
- ptzCapable: boolean;
563
- ptzPanSpeed: number;
564
- ptzTiltSpeed: number;
565
- ptzZoomSpeed: number;
566
- panMin: number;
567
- panMax: number;
568
- tiltMin: number;
569
- tiltMax: number;
570
- zoomMin: number;
571
- zoomMax: number;
572
- streams: {
573
- id: string;
574
- displayName: string;
575
- externalPlayerUrl: string | null;
576
- rtspUrl: string | null;
577
- width: number | null;
578
- height: number | null;
579
- lensType: "flat" | "fisheye";
580
- mountPoint: "wall" | "ceiling" | "floor";
581
- webrtcPlaybackSource: ({
582
- kind: string;
583
- } & Record<string, unknown>) | null;
584
- }[];
585
- defaultStreamId: string;
586
- autoSwitchStreams: boolean;
587
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
588
- } | {
589
- type: "door";
590
- canReportOpenState: boolean;
591
- canReportLockState: boolean;
592
- canControlLock: boolean;
593
- canRelease: boolean;
594
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
595
- } | {
596
- type: "io-board";
597
- inputs: string[];
598
- outputs: string[];
599
- } | {
600
- type: "camera-lift";
601
- } | {
602
- type: "motion-sensor";
603
- } | {
604
- type: "panic-button";
605
- } | {
606
- type: "intercom-terminal";
607
- sipUri: string;
608
- sipUser: string;
609
- sipPassword: string;
610
- sipRealm: string;
611
- remoteExtension: string;
612
- } | {
613
- type: "pbx";
614
- sipWsUrl: string;
615
- } | {
616
- type: "server";
617
- } | {
618
- type: "intercom-operator";
619
- } | {
620
- type: "device-gateway";
621
- } | {
622
- type: "presence-tracker";
623
- } | {
624
- type: "reader";
625
- } | {
626
- type: "display";
627
- } | {
628
- type: "nvr-recorder";
629
- } | {
630
- type: "nvr-exporter";
631
- } | {
632
- type: "nvr-analytics-server";
633
- } | {
634
- type: "system";
635
- })) | [string, string];
636
- streamId: string;
637
- requestId: string;
638
- timeFrom: number;
639
- timeTo: number;
640
- };
641
- command: "nvr-exporter.start-export";
642
- }, {
643
- params: {
644
- name: string;
645
- device: string | ({
646
- name: string;
647
- foreignRef: string;
648
- presets: {
649
- id: string;
650
- name: string;
651
- createdOn: string;
652
- lastModifiedOn: string;
653
- isDefault: boolean;
654
- assignedRef: string | null;
655
- params?: unknown;
656
- }[];
657
- provider: string;
658
- providerMetadata: {} & {
659
- [k: string]: unknown;
660
- };
661
- } & ({
662
- type: "alarm";
663
- } | {
664
- type: "camera";
665
- ptzCapable: boolean;
666
- ptzPanSpeed: number;
667
- ptzTiltSpeed: number;
668
- ptzZoomSpeed: number;
669
- panMin: number;
670
- panMax: number;
671
- tiltMin: number;
672
- tiltMax: number;
673
- zoomMin: number;
674
- zoomMax: number;
675
- streams: {
676
- id: string;
677
- displayName: string;
678
- externalPlayerUrl: string | null;
679
- rtspUrl: string | null;
680
- width: number | null;
681
- height: number | null;
682
- lensType: "flat" | "fisheye";
683
- mountPoint: "wall" | "ceiling" | "floor";
684
- webrtcPlaybackSource: ({
685
- kind: string;
686
- } & Record<string, unknown>) | null;
687
- }[];
688
- defaultStreamId: string;
689
- autoSwitchStreams: boolean;
690
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
691
- } | {
692
- type: "door";
693
- canReportOpenState: boolean;
694
- canReportLockState: boolean;
695
- canControlLock: boolean;
696
- canRelease: boolean;
697
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
698
- } | {
699
- type: "io-board";
700
- inputs: string[];
701
- outputs: string[];
702
- } | {
703
- type: "camera-lift";
704
- } | {
705
- type: "motion-sensor";
706
- } | {
707
- type: "panic-button";
708
- } | {
709
- type: "intercom-terminal";
710
- sipUri: string;
711
- sipUser: string;
712
- sipPassword: string;
713
- sipRealm: string;
714
- remoteExtension: string;
715
- } | {
716
- type: "pbx";
717
- sipWsUrl: string;
718
- } | {
719
- type: "server";
720
- } | {
721
- type: "intercom-operator";
722
- } | {
723
- type: "device-gateway";
724
- } | {
725
- type: "presence-tracker";
726
- } | {
727
- type: "reader";
728
- } | {
729
- type: "display";
730
- } | {
731
- type: "nvr-recorder";
732
- } | {
733
- type: "nvr-exporter";
734
- } | {
735
- type: "nvr-analytics-server";
736
- } | {
737
- type: "system";
738
- })) | [string, string];
739
- streamId: string;
740
- requestId: string;
741
- timeFrom: number;
742
- timeTo: number;
743
- };
744
- command: "nvr-exporter.start-export";
745
- }>;
120
+ }, z.core.$strip>;
121
+ }, z.core.$strip>;
746
122
  export type StartExportCommand = z.infer<typeof sStartExportCommand>;
747
123
  export declare const sDeleteExportCommand: z.ZodObject<{
748
124
  command: z.ZodLiteral<"nvr-exporter.delete-export">;
749
125
  params: z.ZodObject<{
750
126
  exportId: z.ZodString;
751
- }, "strip", z.ZodTypeAny, {
752
- exportId: string;
753
- }, {
754
- exportId: string;
755
- }>;
756
- }, "strip", z.ZodTypeAny, {
757
- params: {
758
- exportId: string;
759
- };
760
- command: "nvr-exporter.delete-export";
761
- }, {
762
- params: {
763
- exportId: string;
764
- };
765
- command: "nvr-exporter.delete-export";
766
- }>;
127
+ }, z.core.$strip>;
128
+ }, z.core.$strip>;
767
129
  export type DeleteExportCommand = z.infer<typeof sDeleteExportCommand>;
768
130
  export type NvrExporterCommand = StartExportCommand | DeleteExportCommand;
769
131
  export declare const nvrExporterCommandSchemas: {
@@ -775,8 +137,7 @@ export declare const nvrExporterCommandSchemas: {
775
137
  name: z.ZodString;
776
138
  foreignRef: z.ZodString;
777
139
  provider: z.ZodString;
778
- providerMetadata: z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>;
779
- } & {
140
+ providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
780
141
  presets: z.ZodArray<z.ZodObject<{
781
142
  id: z.ZodString;
782
143
  name: z.ZodString;
@@ -785,62 +146,10 @@ export declare const nvrExporterCommandSchemas: {
785
146
  assignedRef: z.ZodNullable<z.ZodString>;
786
147
  createdOn: z.ZodString;
787
148
  lastModifiedOn: z.ZodString;
788
- }, "strip", z.ZodTypeAny, {
789
- id: string;
790
- name: string;
791
- createdOn: string;
792
- lastModifiedOn: string;
793
- isDefault: boolean;
794
- assignedRef: string | null;
795
- params?: unknown;
796
- }, {
797
- id: string;
798
- name: string;
799
- createdOn: string;
800
- lastModifiedOn: string;
801
- isDefault: boolean;
802
- assignedRef: string | null;
803
- params?: unknown;
804
- }>, "many">;
805
- }, "strip", z.ZodTypeAny, {
806
- name: string;
807
- foreignRef: string;
808
- presets: {
809
- id: string;
810
- name: string;
811
- createdOn: string;
812
- lastModifiedOn: string;
813
- isDefault: boolean;
814
- assignedRef: string | null;
815
- params?: unknown;
816
- }[];
817
- provider: string;
818
- providerMetadata: {} & {
819
- [k: string]: unknown;
820
- };
821
- }, {
822
- name: string;
823
- foreignRef: string;
824
- presets: {
825
- id: string;
826
- name: string;
827
- createdOn: string;
828
- lastModifiedOn: string;
829
- isDefault: boolean;
830
- assignedRef: string | null;
831
- params?: unknown;
832
- }[];
833
- provider: string;
834
- providerMetadata: {} & {
835
- [k: string]: unknown;
836
- };
837
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
149
+ }, z.core.$strip>>;
150
+ }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
838
151
  type: z.ZodLiteral<"alarm">;
839
- }, "strip", z.ZodTypeAny, {
840
- type: "alarm";
841
- }, {
842
- type: "alarm";
843
- }>, z.ZodObject<{
152
+ }, z.core.$strip>, z.ZodObject<{
844
153
  ptzCapable: z.ZodBoolean;
845
154
  ptzPanSpeed: z.ZodNumber;
846
155
  ptzTiltSpeed: z.ZodNumber;
@@ -858,677 +167,92 @@ export declare const nvrExporterCommandSchemas: {
858
167
  rtspUrl: z.ZodNullable<z.ZodString>;
859
168
  width: z.ZodNullable<z.ZodNumber>;
860
169
  height: z.ZodNullable<z.ZodNumber>;
861
- lensType: z.ZodEnum<["flat", "fisheye"]>;
862
- mountPoint: z.ZodEnum<["wall", "ceiling", "floor"]>;
170
+ lensType: z.ZodEnum<{
171
+ flat: "flat";
172
+ fisheye: "fisheye";
173
+ }>;
174
+ mountPoint: z.ZodEnum<{
175
+ wall: "wall";
176
+ ceiling: "ceiling";
177
+ floor: "floor";
178
+ }>;
863
179
  webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
864
180
  kind: z.ZodString;
865
- }, "strip", z.ZodTypeAny, {
866
- kind: string;
867
- }, {
868
- kind: string;
869
- }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
870
- }, "strip", z.ZodTypeAny, {
871
- id: string;
872
- displayName: string;
873
- externalPlayerUrl: string | null;
874
- rtspUrl: string | null;
875
- width: number | null;
876
- height: number | null;
877
- lensType: "flat" | "fisheye";
878
- mountPoint: "wall" | "ceiling" | "floor";
879
- webrtcPlaybackSource: ({
880
- kind: string;
881
- } & Record<string, unknown>) | null;
882
- }, {
883
- id: string;
884
- displayName: string;
885
- externalPlayerUrl: string | null;
886
- rtspUrl: string | null;
887
- width: number | null;
888
- height: number | null;
889
- lensType: "flat" | "fisheye";
890
- mountPoint: "wall" | "ceiling" | "floor";
891
- webrtcPlaybackSource: ({
892
- kind: string;
893
- } & Record<string, unknown>) | null;
894
- }>, "many">;
181
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
182
+ }, z.core.$strip>>;
895
183
  defaultStreamId: z.ZodString;
896
184
  autoSwitchStreams: z.ZodBoolean;
897
- streamNaming: z.ZodEnum<["cameraStreamNo", "cameraStream", "stream"]>;
898
- } & {
185
+ streamNaming: z.ZodEnum<{
186
+ cameraStreamNo: "cameraStreamNo";
187
+ cameraStream: "cameraStream";
188
+ stream: "stream";
189
+ }>;
899
190
  type: z.ZodLiteral<"camera">;
900
- }, "strip", z.ZodTypeAny, {
901
- type: "camera";
902
- ptzCapable: boolean;
903
- ptzPanSpeed: number;
904
- ptzTiltSpeed: number;
905
- ptzZoomSpeed: number;
906
- panMin: number;
907
- panMax: number;
908
- tiltMin: number;
909
- tiltMax: number;
910
- zoomMin: number;
911
- zoomMax: number;
912
- streams: {
913
- id: string;
914
- displayName: string;
915
- externalPlayerUrl: string | null;
916
- rtspUrl: string | null;
917
- width: number | null;
918
- height: number | null;
919
- lensType: "flat" | "fisheye";
920
- mountPoint: "wall" | "ceiling" | "floor";
921
- webrtcPlaybackSource: ({
922
- kind: string;
923
- } & Record<string, unknown>) | null;
924
- }[];
925
- defaultStreamId: string;
926
- autoSwitchStreams: boolean;
927
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
928
- }, {
929
- type: "camera";
930
- ptzCapable: boolean;
931
- ptzPanSpeed: number;
932
- ptzTiltSpeed: number;
933
- ptzZoomSpeed: number;
934
- panMin: number;
935
- panMax: number;
936
- tiltMin: number;
937
- tiltMax: number;
938
- zoomMin: number;
939
- zoomMax: number;
940
- streams: {
941
- id: string;
942
- displayName: string;
943
- externalPlayerUrl: string | null;
944
- rtspUrl: string | null;
945
- width: number | null;
946
- height: number | null;
947
- lensType: "flat" | "fisheye";
948
- mountPoint: "wall" | "ceiling" | "floor";
949
- webrtcPlaybackSource: ({
950
- kind: string;
951
- } & Record<string, unknown>) | null;
952
- }[];
953
- defaultStreamId: string;
954
- autoSwitchStreams: boolean;
955
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
956
- }>, z.ZodObject<{
191
+ }, z.core.$strip>, z.ZodObject<{
957
192
  canReportOpenState: z.ZodBoolean;
958
193
  canReportLockState: z.ZodBoolean;
959
194
  canControlLock: z.ZodBoolean;
960
195
  canRelease: z.ZodBoolean;
961
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
962
- } & {
196
+ style: z.ZodOptional<z.ZodEnum<{
197
+ single: "single";
198
+ double: "double";
199
+ sliding: "sliding";
200
+ hatch: "hatch";
201
+ roller: "roller";
202
+ window: "window";
203
+ }>>;
963
204
  type: z.ZodLiteral<"door">;
964
- }, "strip", z.ZodTypeAny, {
965
- type: "door";
966
- canReportOpenState: boolean;
967
- canReportLockState: boolean;
968
- canControlLock: boolean;
969
- canRelease: boolean;
970
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
971
- }, {
972
- type: "door";
973
- canReportOpenState: boolean;
974
- canReportLockState: boolean;
975
- canControlLock: boolean;
976
- canRelease: boolean;
977
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
978
- }>, z.ZodObject<{
979
- inputs: z.ZodArray<z.ZodString, "many">;
980
- outputs: z.ZodArray<z.ZodString, "many">;
981
- } & {
205
+ }, z.core.$strip>, z.ZodObject<{
206
+ inputs: z.ZodArray<z.ZodString>;
207
+ outputs: z.ZodArray<z.ZodString>;
982
208
  type: z.ZodLiteral<"io-board">;
983
- }, "strip", z.ZodTypeAny, {
984
- type: "io-board";
985
- inputs: string[];
986
- outputs: string[];
987
- }, {
988
- type: "io-board";
989
- inputs: string[];
990
- outputs: string[];
991
- }>, z.ZodObject<{
209
+ }, z.core.$strip>, z.ZodObject<{
992
210
  type: z.ZodLiteral<"camera-lift">;
993
- }, "strip", z.ZodTypeAny, {
994
- type: "camera-lift";
995
- }, {
996
- type: "camera-lift";
997
- }>, z.ZodObject<{
211
+ }, z.core.$strip>, z.ZodObject<{
998
212
  type: z.ZodLiteral<"motion-sensor">;
999
- }, "strip", z.ZodTypeAny, {
1000
- type: "motion-sensor";
1001
- }, {
1002
- type: "motion-sensor";
1003
- }>, z.ZodObject<{
213
+ }, z.core.$strip>, z.ZodObject<{
1004
214
  type: z.ZodLiteral<"panic-button">;
1005
- }, "strip", z.ZodTypeAny, {
1006
- type: "panic-button";
1007
- }, {
1008
- type: "panic-button";
1009
- }>, z.ZodObject<{
215
+ }, z.core.$strip>, z.ZodObject<{
1010
216
  sipUri: z.ZodString;
1011
217
  sipUser: z.ZodString;
1012
218
  sipPassword: z.ZodString;
1013
219
  sipRealm: z.ZodString;
1014
220
  remoteExtension: z.ZodString;
1015
- } & {
1016
221
  type: z.ZodLiteral<"intercom-terminal">;
1017
- }, "strip", z.ZodTypeAny, {
1018
- type: "intercom-terminal";
1019
- sipUri: string;
1020
- sipUser: string;
1021
- sipPassword: string;
1022
- sipRealm: string;
1023
- remoteExtension: string;
1024
- }, {
1025
- type: "intercom-terminal";
1026
- sipUri: string;
1027
- sipUser: string;
1028
- sipPassword: string;
1029
- sipRealm: string;
1030
- remoteExtension: string;
1031
- }>, z.ZodObject<{
222
+ }, z.core.$strip>, z.ZodObject<{
1032
223
  sipWsUrl: z.ZodString;
1033
- } & {
1034
224
  type: z.ZodLiteral<"pbx">;
1035
- }, "strip", z.ZodTypeAny, {
1036
- type: "pbx";
1037
- sipWsUrl: string;
1038
- }, {
1039
- type: "pbx";
1040
- sipWsUrl: string;
1041
- }>, z.ZodObject<{
225
+ }, z.core.$strip>, z.ZodObject<{
1042
226
  type: z.ZodLiteral<"server">;
1043
- }, "strip", z.ZodTypeAny, {
1044
- type: "server";
1045
- }, {
1046
- type: "server";
1047
- }>, z.ZodObject<{
227
+ }, z.core.$strip>, z.ZodObject<{
1048
228
  type: z.ZodLiteral<"intercom-operator">;
1049
- }, "strip", z.ZodTypeAny, {
1050
- type: "intercom-operator";
1051
- }, {
1052
- type: "intercom-operator";
1053
- }>, z.ZodObject<{
229
+ }, z.core.$strip>, z.ZodObject<{
1054
230
  type: z.ZodLiteral<"device-gateway">;
1055
- }, "strip", z.ZodTypeAny, {
1056
- type: "device-gateway";
1057
- }, {
1058
- type: "device-gateway";
1059
- }>, z.ZodObject<{
231
+ }, z.core.$strip>, z.ZodObject<{
1060
232
  type: z.ZodLiteral<"presence-tracker">;
1061
- }, "strip", z.ZodTypeAny, {
1062
- type: "presence-tracker";
1063
- }, {
1064
- type: "presence-tracker";
1065
- }>, z.ZodObject<{
233
+ }, z.core.$strip>, z.ZodObject<{
1066
234
  type: z.ZodLiteral<"reader">;
1067
- }, "strip", z.ZodTypeAny, {
1068
- type: "reader";
1069
- }, {
1070
- type: "reader";
1071
- }>, z.ZodObject<{
235
+ }, z.core.$strip>, z.ZodObject<{
1072
236
  type: z.ZodLiteral<"display">;
1073
- }, "strip", z.ZodTypeAny, {
1074
- type: "display";
1075
- }, {
1076
- type: "display";
1077
- }>, z.ZodObject<{
237
+ }, z.core.$strip>, z.ZodObject<{
1078
238
  type: z.ZodLiteral<"nvr-recorder">;
1079
- }, "strip", z.ZodTypeAny, {
1080
- type: "nvr-recorder";
1081
- }, {
1082
- type: "nvr-recorder";
1083
- }>, z.ZodObject<{
239
+ }, z.core.$strip>, z.ZodObject<{
1084
240
  type: z.ZodLiteral<"nvr-exporter">;
1085
- }, "strip", z.ZodTypeAny, {
1086
- type: "nvr-exporter";
1087
- }, {
1088
- type: "nvr-exporter";
1089
- }>, z.ZodObject<{
241
+ }, z.core.$strip>, z.ZodObject<{
1090
242
  type: z.ZodLiteral<"nvr-analytics-server">;
1091
- }, "strip", z.ZodTypeAny, {
1092
- type: "nvr-analytics-server";
1093
- }, {
1094
- type: "nvr-analytics-server";
1095
- }>, z.ZodObject<{
243
+ }, z.core.$strip>, z.ZodObject<{
1096
244
  type: z.ZodLiteral<"system">;
1097
- }, "strip", z.ZodTypeAny, {
1098
- type: "system";
1099
- }, {
1100
- type: "system";
1101
- }>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
245
+ }, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
1102
246
  streamId: z.ZodString;
1103
247
  timeFrom: z.ZodNumber;
1104
248
  timeTo: z.ZodNumber;
1105
249
  name: z.ZodString;
1106
- }, "strip", z.ZodTypeAny, {
1107
- name: string;
1108
- device: string | ({
1109
- name: string;
1110
- foreignRef: string;
1111
- presets: {
1112
- id: string;
1113
- name: string;
1114
- createdOn: string;
1115
- lastModifiedOn: string;
1116
- isDefault: boolean;
1117
- assignedRef: string | null;
1118
- params?: unknown;
1119
- }[];
1120
- provider: string;
1121
- providerMetadata: {} & {
1122
- [k: string]: unknown;
1123
- };
1124
- } & ({
1125
- type: "alarm";
1126
- } | {
1127
- type: "camera";
1128
- ptzCapable: boolean;
1129
- ptzPanSpeed: number;
1130
- ptzTiltSpeed: number;
1131
- ptzZoomSpeed: number;
1132
- panMin: number;
1133
- panMax: number;
1134
- tiltMin: number;
1135
- tiltMax: number;
1136
- zoomMin: number;
1137
- zoomMax: number;
1138
- streams: {
1139
- id: string;
1140
- displayName: string;
1141
- externalPlayerUrl: string | null;
1142
- rtspUrl: string | null;
1143
- width: number | null;
1144
- height: number | null;
1145
- lensType: "flat" | "fisheye";
1146
- mountPoint: "wall" | "ceiling" | "floor";
1147
- webrtcPlaybackSource: ({
1148
- kind: string;
1149
- } & Record<string, unknown>) | null;
1150
- }[];
1151
- defaultStreamId: string;
1152
- autoSwitchStreams: boolean;
1153
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1154
- } | {
1155
- type: "door";
1156
- canReportOpenState: boolean;
1157
- canReportLockState: boolean;
1158
- canControlLock: boolean;
1159
- canRelease: boolean;
1160
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1161
- } | {
1162
- type: "io-board";
1163
- inputs: string[];
1164
- outputs: string[];
1165
- } | {
1166
- type: "camera-lift";
1167
- } | {
1168
- type: "motion-sensor";
1169
- } | {
1170
- type: "panic-button";
1171
- } | {
1172
- type: "intercom-terminal";
1173
- sipUri: string;
1174
- sipUser: string;
1175
- sipPassword: string;
1176
- sipRealm: string;
1177
- remoteExtension: string;
1178
- } | {
1179
- type: "pbx";
1180
- sipWsUrl: string;
1181
- } | {
1182
- type: "server";
1183
- } | {
1184
- type: "intercom-operator";
1185
- } | {
1186
- type: "device-gateway";
1187
- } | {
1188
- type: "presence-tracker";
1189
- } | {
1190
- type: "reader";
1191
- } | {
1192
- type: "display";
1193
- } | {
1194
- type: "nvr-recorder";
1195
- } | {
1196
- type: "nvr-exporter";
1197
- } | {
1198
- type: "nvr-analytics-server";
1199
- } | {
1200
- type: "system";
1201
- })) | [string, string];
1202
- streamId: string;
1203
- requestId: string;
1204
- timeFrom: number;
1205
- timeTo: number;
1206
- }, {
1207
- name: string;
1208
- device: string | ({
1209
- name: string;
1210
- foreignRef: string;
1211
- presets: {
1212
- id: string;
1213
- name: string;
1214
- createdOn: string;
1215
- lastModifiedOn: string;
1216
- isDefault: boolean;
1217
- assignedRef: string | null;
1218
- params?: unknown;
1219
- }[];
1220
- provider: string;
1221
- providerMetadata: {} & {
1222
- [k: string]: unknown;
1223
- };
1224
- } & ({
1225
- type: "alarm";
1226
- } | {
1227
- type: "camera";
1228
- ptzCapable: boolean;
1229
- ptzPanSpeed: number;
1230
- ptzTiltSpeed: number;
1231
- ptzZoomSpeed: number;
1232
- panMin: number;
1233
- panMax: number;
1234
- tiltMin: number;
1235
- tiltMax: number;
1236
- zoomMin: number;
1237
- zoomMax: number;
1238
- streams: {
1239
- id: string;
1240
- displayName: string;
1241
- externalPlayerUrl: string | null;
1242
- rtspUrl: string | null;
1243
- width: number | null;
1244
- height: number | null;
1245
- lensType: "flat" | "fisheye";
1246
- mountPoint: "wall" | "ceiling" | "floor";
1247
- webrtcPlaybackSource: ({
1248
- kind: string;
1249
- } & Record<string, unknown>) | null;
1250
- }[];
1251
- defaultStreamId: string;
1252
- autoSwitchStreams: boolean;
1253
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1254
- } | {
1255
- type: "door";
1256
- canReportOpenState: boolean;
1257
- canReportLockState: boolean;
1258
- canControlLock: boolean;
1259
- canRelease: boolean;
1260
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1261
- } | {
1262
- type: "io-board";
1263
- inputs: string[];
1264
- outputs: string[];
1265
- } | {
1266
- type: "camera-lift";
1267
- } | {
1268
- type: "motion-sensor";
1269
- } | {
1270
- type: "panic-button";
1271
- } | {
1272
- type: "intercom-terminal";
1273
- sipUri: string;
1274
- sipUser: string;
1275
- sipPassword: string;
1276
- sipRealm: string;
1277
- remoteExtension: string;
1278
- } | {
1279
- type: "pbx";
1280
- sipWsUrl: string;
1281
- } | {
1282
- type: "server";
1283
- } | {
1284
- type: "intercom-operator";
1285
- } | {
1286
- type: "device-gateway";
1287
- } | {
1288
- type: "presence-tracker";
1289
- } | {
1290
- type: "reader";
1291
- } | {
1292
- type: "display";
1293
- } | {
1294
- type: "nvr-recorder";
1295
- } | {
1296
- type: "nvr-exporter";
1297
- } | {
1298
- type: "nvr-analytics-server";
1299
- } | {
1300
- type: "system";
1301
- })) | [string, string];
1302
- streamId: string;
1303
- requestId: string;
1304
- timeFrom: number;
1305
- timeTo: number;
1306
- }>;
1307
- }, "strip", z.ZodTypeAny, {
1308
- params: {
1309
- name: string;
1310
- device: string | ({
1311
- name: string;
1312
- foreignRef: string;
1313
- presets: {
1314
- id: string;
1315
- name: string;
1316
- createdOn: string;
1317
- lastModifiedOn: string;
1318
- isDefault: boolean;
1319
- assignedRef: string | null;
1320
- params?: unknown;
1321
- }[];
1322
- provider: string;
1323
- providerMetadata: {} & {
1324
- [k: string]: unknown;
1325
- };
1326
- } & ({
1327
- type: "alarm";
1328
- } | {
1329
- type: "camera";
1330
- ptzCapable: boolean;
1331
- ptzPanSpeed: number;
1332
- ptzTiltSpeed: number;
1333
- ptzZoomSpeed: number;
1334
- panMin: number;
1335
- panMax: number;
1336
- tiltMin: number;
1337
- tiltMax: number;
1338
- zoomMin: number;
1339
- zoomMax: number;
1340
- streams: {
1341
- id: string;
1342
- displayName: string;
1343
- externalPlayerUrl: string | null;
1344
- rtspUrl: string | null;
1345
- width: number | null;
1346
- height: number | null;
1347
- lensType: "flat" | "fisheye";
1348
- mountPoint: "wall" | "ceiling" | "floor";
1349
- webrtcPlaybackSource: ({
1350
- kind: string;
1351
- } & Record<string, unknown>) | null;
1352
- }[];
1353
- defaultStreamId: string;
1354
- autoSwitchStreams: boolean;
1355
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1356
- } | {
1357
- type: "door";
1358
- canReportOpenState: boolean;
1359
- canReportLockState: boolean;
1360
- canControlLock: boolean;
1361
- canRelease: boolean;
1362
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1363
- } | {
1364
- type: "io-board";
1365
- inputs: string[];
1366
- outputs: string[];
1367
- } | {
1368
- type: "camera-lift";
1369
- } | {
1370
- type: "motion-sensor";
1371
- } | {
1372
- type: "panic-button";
1373
- } | {
1374
- type: "intercom-terminal";
1375
- sipUri: string;
1376
- sipUser: string;
1377
- sipPassword: string;
1378
- sipRealm: string;
1379
- remoteExtension: string;
1380
- } | {
1381
- type: "pbx";
1382
- sipWsUrl: string;
1383
- } | {
1384
- type: "server";
1385
- } | {
1386
- type: "intercom-operator";
1387
- } | {
1388
- type: "device-gateway";
1389
- } | {
1390
- type: "presence-tracker";
1391
- } | {
1392
- type: "reader";
1393
- } | {
1394
- type: "display";
1395
- } | {
1396
- type: "nvr-recorder";
1397
- } | {
1398
- type: "nvr-exporter";
1399
- } | {
1400
- type: "nvr-analytics-server";
1401
- } | {
1402
- type: "system";
1403
- })) | [string, string];
1404
- streamId: string;
1405
- requestId: string;
1406
- timeFrom: number;
1407
- timeTo: number;
1408
- };
1409
- command: "nvr-exporter.start-export";
1410
- }, {
1411
- params: {
1412
- name: string;
1413
- device: string | ({
1414
- name: string;
1415
- foreignRef: string;
1416
- presets: {
1417
- id: string;
1418
- name: string;
1419
- createdOn: string;
1420
- lastModifiedOn: string;
1421
- isDefault: boolean;
1422
- assignedRef: string | null;
1423
- params?: unknown;
1424
- }[];
1425
- provider: string;
1426
- providerMetadata: {} & {
1427
- [k: string]: unknown;
1428
- };
1429
- } & ({
1430
- type: "alarm";
1431
- } | {
1432
- type: "camera";
1433
- ptzCapable: boolean;
1434
- ptzPanSpeed: number;
1435
- ptzTiltSpeed: number;
1436
- ptzZoomSpeed: number;
1437
- panMin: number;
1438
- panMax: number;
1439
- tiltMin: number;
1440
- tiltMax: number;
1441
- zoomMin: number;
1442
- zoomMax: number;
1443
- streams: {
1444
- id: string;
1445
- displayName: string;
1446
- externalPlayerUrl: string | null;
1447
- rtspUrl: string | null;
1448
- width: number | null;
1449
- height: number | null;
1450
- lensType: "flat" | "fisheye";
1451
- mountPoint: "wall" | "ceiling" | "floor";
1452
- webrtcPlaybackSource: ({
1453
- kind: string;
1454
- } & Record<string, unknown>) | null;
1455
- }[];
1456
- defaultStreamId: string;
1457
- autoSwitchStreams: boolean;
1458
- streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
1459
- } | {
1460
- type: "door";
1461
- canReportOpenState: boolean;
1462
- canReportLockState: boolean;
1463
- canControlLock: boolean;
1464
- canRelease: boolean;
1465
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
1466
- } | {
1467
- type: "io-board";
1468
- inputs: string[];
1469
- outputs: string[];
1470
- } | {
1471
- type: "camera-lift";
1472
- } | {
1473
- type: "motion-sensor";
1474
- } | {
1475
- type: "panic-button";
1476
- } | {
1477
- type: "intercom-terminal";
1478
- sipUri: string;
1479
- sipUser: string;
1480
- sipPassword: string;
1481
- sipRealm: string;
1482
- remoteExtension: string;
1483
- } | {
1484
- type: "pbx";
1485
- sipWsUrl: string;
1486
- } | {
1487
- type: "server";
1488
- } | {
1489
- type: "intercom-operator";
1490
- } | {
1491
- type: "device-gateway";
1492
- } | {
1493
- type: "presence-tracker";
1494
- } | {
1495
- type: "reader";
1496
- } | {
1497
- type: "display";
1498
- } | {
1499
- type: "nvr-recorder";
1500
- } | {
1501
- type: "nvr-exporter";
1502
- } | {
1503
- type: "nvr-analytics-server";
1504
- } | {
1505
- type: "system";
1506
- })) | [string, string];
1507
- streamId: string;
1508
- requestId: string;
1509
- timeFrom: number;
1510
- timeTo: number;
1511
- };
1512
- command: "nvr-exporter.start-export";
1513
- }>;
250
+ }, z.core.$strip>;
251
+ }, z.core.$strip>;
1514
252
  readonly 'nvr-exporter.delete-export': z.ZodObject<{
1515
253
  command: z.ZodLiteral<"nvr-exporter.delete-export">;
1516
254
  params: z.ZodObject<{
1517
255
  exportId: z.ZodString;
1518
- }, "strip", z.ZodTypeAny, {
1519
- exportId: string;
1520
- }, {
1521
- exportId: string;
1522
- }>;
1523
- }, "strip", z.ZodTypeAny, {
1524
- params: {
1525
- exportId: string;
1526
- };
1527
- command: "nvr-exporter.delete-export";
1528
- }, {
1529
- params: {
1530
- exportId: string;
1531
- };
1532
- command: "nvr-exporter.delete-export";
1533
- }>;
256
+ }, z.core.$strip>;
257
+ }, z.core.$strip>;
1534
258
  };