@awarevue/api-types 2.0.52 → 2.0.54
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.
- package/dist/api/agent-protocol/protocol.d.ts +853 -840
- package/dist/api/agent-protocol/protocol.js +14 -1
- package/dist/api/commands/all.d.ts +224 -224
- package/dist/api/commands/camera.d.ts +16 -16
- package/dist/api/commands/display.d.ts +48 -48
- package/dist/api/commands/nvr-exporter.d.ts +194 -194
- package/dist/api/commands/server.d.ts +202 -202
- package/dist/api/events/all.d.ts +30 -30
- package/dist/api/events/camera.d.ts +42 -42
- package/dist/api/events/door.d.ts +4 -4
- package/dist/api/events/intercom-terminal.d.ts +8 -8
- package/dist/api/events/io-board.d.ts +4 -4
- package/dist/api/queries/all.d.ts +225 -225
- package/dist/api/queries/camera.d.ts +8 -8
- package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
- package/dist/api/queries/nvr-exporter.d.ts +18 -18
- package/dist/api/queries/nvr-recorder.d.ts +398 -398
- package/dist/api/rest/agreement.d.ts +5 -5
- package/dist/api/rest/app.d.ts +3 -0
- package/dist/api/rest/app.js +1 -0
- package/dist/api/rest/automation.d.ts +46 -46
- package/dist/api/rest/bookmarks.d.ts +12 -12
- package/dist/api/rest/custom-field.d.ts +5 -5
- package/dist/api/rest/device.d.ts +6 -6
- package/dist/api/rest/io-device.d.ts +14 -14
- package/dist/api/rest/layout.d.ts +16 -16
- package/dist/api/rest/macros.d.ts +13 -13
- package/dist/api/rest/media.d.ts +16 -16
- package/dist/api/rest/person.d.ts +12 -12
- package/dist/api/rest/query.d.ts +2 -2
- package/dist/api/rest/schedule.d.ts +24 -24
- package/dist/api/rest/security-level.d.ts +10 -10
- package/dist/api/rest/template.d.ts +4 -4
- package/dist/api/rest/token-conversion.d.ts +5 -5
- package/dist/api/rest/user.d.ts +17 -17
- package/dist/api/rest/view.d.ts +44 -44
- package/dist/api/ws/device-communication.d.ts +6 -6
- package/dist/api/ws/notifications.d.ts +4 -4
- package/dist/api/ws/progress.d.ts +15 -15
- package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
- package/dist/objects/access-rule.d.ts +2 -2
- package/dist/objects/agent-metadata.d.ts +16 -16
- package/dist/objects/agreement.d.ts +2 -2
- package/dist/objects/api-key.d.ts +2 -2
- package/dist/objects/automation-rule.d.ts +34 -34
- package/dist/objects/bookmark.d.ts +8 -8
- package/dist/objects/credential.d.ts +2 -2
- package/dist/objects/custom-field.d.ts +2 -2
- package/dist/objects/device/any-device.d.ts +205 -205
- package/dist/objects/device/camera.d.ts +26 -26
- package/dist/objects/device/device-import.d.ts +277 -277
- package/dist/objects/device/door.d.ts +2 -2
- package/dist/objects/device/intercom-terminal.d.ts +2 -2
- package/dist/objects/layout.d.ts +16 -16
- package/dist/objects/macro.d.ts +14 -14
- package/dist/objects/notification.d.ts +4 -4
- package/dist/objects/person-presence.d.ts +12 -12
- package/dist/objects/person.d.ts +14 -14
- package/dist/objects/role.d.ts +2 -2
- package/dist/objects/schedule.d.ts +36 -36
- package/dist/objects/security-level.d.ts +6 -6
- package/dist/objects/template.d.ts +2 -2
- package/dist/objects/token-conversion.d.ts +2 -2
- package/dist/objects/user.d.ts +4 -4
- package/dist/objects/view.d.ts +58 -58
- package/dist/objects/zone.d.ts +2 -2
- package/dist/package.json +5 -1
- package/dist/primitives.d.ts +60 -60
- package/package.json +5 -1
|
@@ -55,16 +55,16 @@ export declare const commandSchemas: {
|
|
|
55
55
|
createdOn: import("zod").ZodString;
|
|
56
56
|
lastModifiedOn: import("zod").ZodString;
|
|
57
57
|
}, "strip", import("zod").ZodTypeAny, {
|
|
58
|
-
name: string;
|
|
59
58
|
id: string;
|
|
59
|
+
name: string;
|
|
60
60
|
createdOn: string;
|
|
61
61
|
lastModifiedOn: string;
|
|
62
62
|
isDefault: boolean;
|
|
63
63
|
assignedRef: string | null;
|
|
64
64
|
params?: unknown;
|
|
65
65
|
}, {
|
|
66
|
-
name: string;
|
|
67
66
|
id: string;
|
|
67
|
+
name: string;
|
|
68
68
|
createdOn: string;
|
|
69
69
|
lastModifiedOn: string;
|
|
70
70
|
isDefault: boolean;
|
|
@@ -75,8 +75,8 @@ export declare const commandSchemas: {
|
|
|
75
75
|
name: string;
|
|
76
76
|
foreignRef: string;
|
|
77
77
|
presets: {
|
|
78
|
-
name: string;
|
|
79
78
|
id: string;
|
|
79
|
+
name: string;
|
|
80
80
|
createdOn: string;
|
|
81
81
|
lastModifiedOn: string;
|
|
82
82
|
isDefault: boolean;
|
|
@@ -91,8 +91,8 @@ export declare const commandSchemas: {
|
|
|
91
91
|
name: string;
|
|
92
92
|
foreignRef: string;
|
|
93
93
|
presets: {
|
|
94
|
-
name: string;
|
|
95
94
|
id: string;
|
|
95
|
+
name: string;
|
|
96
96
|
createdOn: string;
|
|
97
97
|
lastModifiedOn: string;
|
|
98
98
|
isDefault: boolean;
|
|
@@ -139,12 +139,12 @@ export declare const commandSchemas: {
|
|
|
139
139
|
}>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
140
140
|
}, "strip", import("zod").ZodTypeAny, {
|
|
141
141
|
id: string;
|
|
142
|
-
height: number | null;
|
|
143
|
-
width: number | null;
|
|
144
142
|
displayName: string;
|
|
145
143
|
externalPlayerUrl: string | null;
|
|
146
144
|
rtspUrl: string | null;
|
|
147
145
|
recordingCapable: boolean;
|
|
146
|
+
width: number | null;
|
|
147
|
+
height: number | null;
|
|
148
148
|
lensType: "flat" | "fisheye";
|
|
149
149
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
150
150
|
webrtcPlaybackSource: ({
|
|
@@ -152,12 +152,12 @@ export declare const commandSchemas: {
|
|
|
152
152
|
} & Record<string, unknown>) | null;
|
|
153
153
|
}, {
|
|
154
154
|
id: string;
|
|
155
|
-
height: number | null;
|
|
156
|
-
width: number | null;
|
|
157
155
|
displayName: string;
|
|
158
156
|
externalPlayerUrl: string | null;
|
|
159
157
|
rtspUrl: string | null;
|
|
160
158
|
recordingCapable: boolean;
|
|
159
|
+
width: number | null;
|
|
160
|
+
height: number | null;
|
|
161
161
|
lensType: "flat" | "fisheye";
|
|
162
162
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
163
163
|
webrtcPlaybackSource: ({
|
|
@@ -170,20 +170,34 @@ export declare const commandSchemas: {
|
|
|
170
170
|
type: import("zod").ZodLiteral<"camera">;
|
|
171
171
|
}, "strip", import("zod").ZodTypeAny, {
|
|
172
172
|
type: "camera";
|
|
173
|
+
ptzCapable: boolean;
|
|
174
|
+
ptzPanSpeed: number;
|
|
175
|
+
ptzTiltSpeed: number;
|
|
176
|
+
ptzZoomSpeed: number;
|
|
177
|
+
panMin: number;
|
|
178
|
+
panMax: number;
|
|
179
|
+
tiltMin: number;
|
|
180
|
+
tiltMax: number;
|
|
181
|
+
zoomMin: number;
|
|
182
|
+
zoomMax: number;
|
|
173
183
|
streams: {
|
|
174
184
|
id: string;
|
|
175
|
-
height: number | null;
|
|
176
|
-
width: number | null;
|
|
177
185
|
displayName: string;
|
|
178
186
|
externalPlayerUrl: string | null;
|
|
179
187
|
rtspUrl: string | null;
|
|
180
188
|
recordingCapable: boolean;
|
|
189
|
+
width: number | null;
|
|
190
|
+
height: number | null;
|
|
181
191
|
lensType: "flat" | "fisheye";
|
|
182
192
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
183
193
|
webrtcPlaybackSource: ({
|
|
184
194
|
kind: string;
|
|
185
195
|
} & Record<string, unknown>) | null;
|
|
186
196
|
}[];
|
|
197
|
+
defaultStreamId: string;
|
|
198
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
199
|
+
}, {
|
|
200
|
+
type: "camera";
|
|
187
201
|
ptzCapable: boolean;
|
|
188
202
|
ptzPanSpeed: number;
|
|
189
203
|
ptzTiltSpeed: number;
|
|
@@ -194,36 +208,22 @@ export declare const commandSchemas: {
|
|
|
194
208
|
tiltMax: number;
|
|
195
209
|
zoomMin: number;
|
|
196
210
|
zoomMax: number;
|
|
197
|
-
defaultStreamId: string;
|
|
198
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
199
|
-
}, {
|
|
200
|
-
type: "camera";
|
|
201
211
|
streams: {
|
|
202
212
|
id: string;
|
|
203
|
-
height: number | null;
|
|
204
|
-
width: number | null;
|
|
205
213
|
displayName: string;
|
|
206
214
|
externalPlayerUrl: string | null;
|
|
207
215
|
rtspUrl: string | null;
|
|
208
216
|
recordingCapable: boolean;
|
|
217
|
+
width: number | null;
|
|
218
|
+
height: number | null;
|
|
209
219
|
lensType: "flat" | "fisheye";
|
|
210
220
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
211
221
|
webrtcPlaybackSource: ({
|
|
212
222
|
kind: string;
|
|
213
223
|
} & Record<string, unknown>) | null;
|
|
214
224
|
}[];
|
|
215
|
-
ptzCapable: boolean;
|
|
216
|
-
ptzPanSpeed: number;
|
|
217
|
-
ptzTiltSpeed: number;
|
|
218
|
-
ptzZoomSpeed: number;
|
|
219
|
-
panMin: number;
|
|
220
|
-
panMax: number;
|
|
221
|
-
tiltMin: number;
|
|
222
|
-
tiltMax: number;
|
|
223
|
-
zoomMin: number;
|
|
224
|
-
zoomMax: number;
|
|
225
225
|
defaultStreamId: string;
|
|
226
|
-
streamNaming: "
|
|
226
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
227
227
|
}>, import("zod").ZodObject<{
|
|
228
228
|
canReportOpenState: import("zod").ZodBoolean;
|
|
229
229
|
canReportLockState: import("zod").ZodBoolean;
|
|
@@ -238,14 +238,14 @@ export declare const commandSchemas: {
|
|
|
238
238
|
canReportLockState: boolean;
|
|
239
239
|
canControlLock: boolean;
|
|
240
240
|
canRelease: boolean;
|
|
241
|
-
style?: "
|
|
241
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
242
242
|
}, {
|
|
243
243
|
type: "door";
|
|
244
244
|
canReportOpenState: boolean;
|
|
245
245
|
canReportLockState: boolean;
|
|
246
246
|
canControlLock: boolean;
|
|
247
247
|
canRelease: boolean;
|
|
248
|
-
style?: "
|
|
248
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
249
249
|
}>, import("zod").ZodObject<{
|
|
250
250
|
inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
251
251
|
outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -377,12 +377,13 @@ export declare const commandSchemas: {
|
|
|
377
377
|
recipientId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
378
378
|
}, "strip", import("zod").ZodTypeAny, {
|
|
379
379
|
message: string;
|
|
380
|
-
|
|
380
|
+
metadata: Record<string, unknown>;
|
|
381
|
+
source: string | ({
|
|
381
382
|
name: string;
|
|
382
383
|
foreignRef: string;
|
|
383
384
|
presets: {
|
|
384
|
-
name: string;
|
|
385
385
|
id: string;
|
|
386
|
+
name: string;
|
|
386
387
|
createdOn: string;
|
|
387
388
|
lastModifiedOn: string;
|
|
388
389
|
isDefault: boolean;
|
|
@@ -397,39 +398,39 @@ export declare const commandSchemas: {
|
|
|
397
398
|
type: "alarm";
|
|
398
399
|
} | {
|
|
399
400
|
type: "camera";
|
|
401
|
+
ptzCapable: boolean;
|
|
402
|
+
ptzPanSpeed: number;
|
|
403
|
+
ptzTiltSpeed: number;
|
|
404
|
+
ptzZoomSpeed: number;
|
|
405
|
+
panMin: number;
|
|
406
|
+
panMax: number;
|
|
407
|
+
tiltMin: number;
|
|
408
|
+
tiltMax: number;
|
|
409
|
+
zoomMin: number;
|
|
410
|
+
zoomMax: number;
|
|
400
411
|
streams: {
|
|
401
412
|
id: string;
|
|
402
|
-
height: number | null;
|
|
403
|
-
width: number | null;
|
|
404
413
|
displayName: string;
|
|
405
414
|
externalPlayerUrl: string | null;
|
|
406
415
|
rtspUrl: string | null;
|
|
407
416
|
recordingCapable: boolean;
|
|
417
|
+
width: number | null;
|
|
418
|
+
height: number | null;
|
|
408
419
|
lensType: "flat" | "fisheye";
|
|
409
420
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
410
421
|
webrtcPlaybackSource: ({
|
|
411
422
|
kind: string;
|
|
412
423
|
} & Record<string, unknown>) | null;
|
|
413
424
|
}[];
|
|
414
|
-
ptzCapable: boolean;
|
|
415
|
-
ptzPanSpeed: number;
|
|
416
|
-
ptzTiltSpeed: number;
|
|
417
|
-
ptzZoomSpeed: number;
|
|
418
|
-
panMin: number;
|
|
419
|
-
panMax: number;
|
|
420
|
-
tiltMin: number;
|
|
421
|
-
tiltMax: number;
|
|
422
|
-
zoomMin: number;
|
|
423
|
-
zoomMax: number;
|
|
424
425
|
defaultStreamId: string;
|
|
425
|
-
streamNaming: "
|
|
426
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
426
427
|
} | {
|
|
427
428
|
type: "door";
|
|
428
429
|
canReportOpenState: boolean;
|
|
429
430
|
canReportLockState: boolean;
|
|
430
431
|
canControlLock: boolean;
|
|
431
432
|
canRelease: boolean;
|
|
432
|
-
style?: "
|
|
433
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
433
434
|
} | {
|
|
434
435
|
type: "io-board";
|
|
435
436
|
inputs: string[];
|
|
@@ -470,19 +471,19 @@ export declare const commandSchemas: {
|
|
|
470
471
|
type: "nvr-analytics-server";
|
|
471
472
|
} | {
|
|
472
473
|
type: "system";
|
|
473
|
-
}));
|
|
474
|
-
metadata: Record<string, unknown>;
|
|
474
|
+
})) | [string, string];
|
|
475
475
|
severity: "info" | "warning" | "critical";
|
|
476
476
|
notificationRef: string | null;
|
|
477
477
|
recipientId: string | null;
|
|
478
478
|
}, {
|
|
479
479
|
message: string;
|
|
480
|
-
|
|
480
|
+
metadata: Record<string, unknown>;
|
|
481
|
+
source: string | ({
|
|
481
482
|
name: string;
|
|
482
483
|
foreignRef: string;
|
|
483
484
|
presets: {
|
|
484
|
-
name: string;
|
|
485
485
|
id: string;
|
|
486
|
+
name: string;
|
|
486
487
|
createdOn: string;
|
|
487
488
|
lastModifiedOn: string;
|
|
488
489
|
isDefault: boolean;
|
|
@@ -497,39 +498,39 @@ export declare const commandSchemas: {
|
|
|
497
498
|
type: "alarm";
|
|
498
499
|
} | {
|
|
499
500
|
type: "camera";
|
|
501
|
+
ptzCapable: boolean;
|
|
502
|
+
ptzPanSpeed: number;
|
|
503
|
+
ptzTiltSpeed: number;
|
|
504
|
+
ptzZoomSpeed: number;
|
|
505
|
+
panMin: number;
|
|
506
|
+
panMax: number;
|
|
507
|
+
tiltMin: number;
|
|
508
|
+
tiltMax: number;
|
|
509
|
+
zoomMin: number;
|
|
510
|
+
zoomMax: number;
|
|
500
511
|
streams: {
|
|
501
512
|
id: string;
|
|
502
|
-
height: number | null;
|
|
503
|
-
width: number | null;
|
|
504
513
|
displayName: string;
|
|
505
514
|
externalPlayerUrl: string | null;
|
|
506
515
|
rtspUrl: string | null;
|
|
507
516
|
recordingCapable: boolean;
|
|
517
|
+
width: number | null;
|
|
518
|
+
height: number | null;
|
|
508
519
|
lensType: "flat" | "fisheye";
|
|
509
520
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
510
521
|
webrtcPlaybackSource: ({
|
|
511
522
|
kind: string;
|
|
512
523
|
} & Record<string, unknown>) | null;
|
|
513
524
|
}[];
|
|
514
|
-
ptzCapable: boolean;
|
|
515
|
-
ptzPanSpeed: number;
|
|
516
|
-
ptzTiltSpeed: number;
|
|
517
|
-
ptzZoomSpeed: number;
|
|
518
|
-
panMin: number;
|
|
519
|
-
panMax: number;
|
|
520
|
-
tiltMin: number;
|
|
521
|
-
tiltMax: number;
|
|
522
|
-
zoomMin: number;
|
|
523
|
-
zoomMax: number;
|
|
524
525
|
defaultStreamId: string;
|
|
525
|
-
streamNaming: "
|
|
526
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
526
527
|
} | {
|
|
527
528
|
type: "door";
|
|
528
529
|
canReportOpenState: boolean;
|
|
529
530
|
canReportLockState: boolean;
|
|
530
531
|
canControlLock: boolean;
|
|
531
532
|
canRelease: boolean;
|
|
532
|
-
style?: "
|
|
533
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
533
534
|
} | {
|
|
534
535
|
type: "io-board";
|
|
535
536
|
inputs: string[];
|
|
@@ -570,8 +571,7 @@ export declare const commandSchemas: {
|
|
|
570
571
|
type: "nvr-analytics-server";
|
|
571
572
|
} | {
|
|
572
573
|
type: "system";
|
|
573
|
-
}));
|
|
574
|
-
metadata: Record<string, unknown>;
|
|
574
|
+
})) | [string, string];
|
|
575
575
|
severity: "info" | "warning" | "critical";
|
|
576
576
|
notificationRef: string | null;
|
|
577
577
|
recipientId: string | null;
|
|
@@ -579,12 +579,13 @@ export declare const commandSchemas: {
|
|
|
579
579
|
}, "strip", import("zod").ZodTypeAny, {
|
|
580
580
|
params: {
|
|
581
581
|
message: string;
|
|
582
|
-
|
|
582
|
+
metadata: Record<string, unknown>;
|
|
583
|
+
source: string | ({
|
|
583
584
|
name: string;
|
|
584
585
|
foreignRef: string;
|
|
585
586
|
presets: {
|
|
586
|
-
name: string;
|
|
587
587
|
id: string;
|
|
588
|
+
name: string;
|
|
588
589
|
createdOn: string;
|
|
589
590
|
lastModifiedOn: string;
|
|
590
591
|
isDefault: boolean;
|
|
@@ -599,39 +600,39 @@ export declare const commandSchemas: {
|
|
|
599
600
|
type: "alarm";
|
|
600
601
|
} | {
|
|
601
602
|
type: "camera";
|
|
603
|
+
ptzCapable: boolean;
|
|
604
|
+
ptzPanSpeed: number;
|
|
605
|
+
ptzTiltSpeed: number;
|
|
606
|
+
ptzZoomSpeed: number;
|
|
607
|
+
panMin: number;
|
|
608
|
+
panMax: number;
|
|
609
|
+
tiltMin: number;
|
|
610
|
+
tiltMax: number;
|
|
611
|
+
zoomMin: number;
|
|
612
|
+
zoomMax: number;
|
|
602
613
|
streams: {
|
|
603
614
|
id: string;
|
|
604
|
-
height: number | null;
|
|
605
|
-
width: number | null;
|
|
606
615
|
displayName: string;
|
|
607
616
|
externalPlayerUrl: string | null;
|
|
608
617
|
rtspUrl: string | null;
|
|
609
618
|
recordingCapable: boolean;
|
|
619
|
+
width: number | null;
|
|
620
|
+
height: number | null;
|
|
610
621
|
lensType: "flat" | "fisheye";
|
|
611
622
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
612
623
|
webrtcPlaybackSource: ({
|
|
613
624
|
kind: string;
|
|
614
625
|
} & Record<string, unknown>) | null;
|
|
615
626
|
}[];
|
|
616
|
-
ptzCapable: boolean;
|
|
617
|
-
ptzPanSpeed: number;
|
|
618
|
-
ptzTiltSpeed: number;
|
|
619
|
-
ptzZoomSpeed: number;
|
|
620
|
-
panMin: number;
|
|
621
|
-
panMax: number;
|
|
622
|
-
tiltMin: number;
|
|
623
|
-
tiltMax: number;
|
|
624
|
-
zoomMin: number;
|
|
625
|
-
zoomMax: number;
|
|
626
627
|
defaultStreamId: string;
|
|
627
|
-
streamNaming: "
|
|
628
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
628
629
|
} | {
|
|
629
630
|
type: "door";
|
|
630
631
|
canReportOpenState: boolean;
|
|
631
632
|
canReportLockState: boolean;
|
|
632
633
|
canControlLock: boolean;
|
|
633
634
|
canRelease: boolean;
|
|
634
|
-
style?: "
|
|
635
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
635
636
|
} | {
|
|
636
637
|
type: "io-board";
|
|
637
638
|
inputs: string[];
|
|
@@ -672,8 +673,7 @@ export declare const commandSchemas: {
|
|
|
672
673
|
type: "nvr-analytics-server";
|
|
673
674
|
} | {
|
|
674
675
|
type: "system";
|
|
675
|
-
}));
|
|
676
|
-
metadata: Record<string, unknown>;
|
|
676
|
+
})) | [string, string];
|
|
677
677
|
severity: "info" | "warning" | "critical";
|
|
678
678
|
notificationRef: string | null;
|
|
679
679
|
recipientId: string | null;
|
|
@@ -682,12 +682,13 @@ export declare const commandSchemas: {
|
|
|
682
682
|
}, {
|
|
683
683
|
params: {
|
|
684
684
|
message: string;
|
|
685
|
-
|
|
685
|
+
metadata: Record<string, unknown>;
|
|
686
|
+
source: string | ({
|
|
686
687
|
name: string;
|
|
687
688
|
foreignRef: string;
|
|
688
689
|
presets: {
|
|
689
|
-
name: string;
|
|
690
690
|
id: string;
|
|
691
|
+
name: string;
|
|
691
692
|
createdOn: string;
|
|
692
693
|
lastModifiedOn: string;
|
|
693
694
|
isDefault: boolean;
|
|
@@ -702,39 +703,39 @@ export declare const commandSchemas: {
|
|
|
702
703
|
type: "alarm";
|
|
703
704
|
} | {
|
|
704
705
|
type: "camera";
|
|
706
|
+
ptzCapable: boolean;
|
|
707
|
+
ptzPanSpeed: number;
|
|
708
|
+
ptzTiltSpeed: number;
|
|
709
|
+
ptzZoomSpeed: number;
|
|
710
|
+
panMin: number;
|
|
711
|
+
panMax: number;
|
|
712
|
+
tiltMin: number;
|
|
713
|
+
tiltMax: number;
|
|
714
|
+
zoomMin: number;
|
|
715
|
+
zoomMax: number;
|
|
705
716
|
streams: {
|
|
706
717
|
id: string;
|
|
707
|
-
height: number | null;
|
|
708
|
-
width: number | null;
|
|
709
718
|
displayName: string;
|
|
710
719
|
externalPlayerUrl: string | null;
|
|
711
720
|
rtspUrl: string | null;
|
|
712
721
|
recordingCapable: boolean;
|
|
722
|
+
width: number | null;
|
|
723
|
+
height: number | null;
|
|
713
724
|
lensType: "flat" | "fisheye";
|
|
714
725
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
715
726
|
webrtcPlaybackSource: ({
|
|
716
727
|
kind: string;
|
|
717
728
|
} & Record<string, unknown>) | null;
|
|
718
729
|
}[];
|
|
719
|
-
ptzCapable: boolean;
|
|
720
|
-
ptzPanSpeed: number;
|
|
721
|
-
ptzTiltSpeed: number;
|
|
722
|
-
ptzZoomSpeed: number;
|
|
723
|
-
panMin: number;
|
|
724
|
-
panMax: number;
|
|
725
|
-
tiltMin: number;
|
|
726
|
-
tiltMax: number;
|
|
727
|
-
zoomMin: number;
|
|
728
|
-
zoomMax: number;
|
|
729
730
|
defaultStreamId: string;
|
|
730
|
-
streamNaming: "
|
|
731
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
731
732
|
} | {
|
|
732
733
|
type: "door";
|
|
733
734
|
canReportOpenState: boolean;
|
|
734
735
|
canReportLockState: boolean;
|
|
735
736
|
canControlLock: boolean;
|
|
736
737
|
canRelease: boolean;
|
|
737
|
-
style?: "
|
|
738
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
738
739
|
} | {
|
|
739
740
|
type: "io-board";
|
|
740
741
|
inputs: string[];
|
|
@@ -775,8 +776,7 @@ export declare const commandSchemas: {
|
|
|
775
776
|
type: "nvr-analytics-server";
|
|
776
777
|
} | {
|
|
777
778
|
type: "system";
|
|
778
|
-
}));
|
|
779
|
-
metadata: Record<string, unknown>;
|
|
779
|
+
})) | [string, string];
|
|
780
780
|
severity: "info" | "warning" | "critical";
|
|
781
781
|
notificationRef: string | null;
|
|
782
782
|
recipientId: string | null;
|
|
@@ -802,16 +802,16 @@ export declare const commandSchemas: {
|
|
|
802
802
|
createdOn: import("zod").ZodString;
|
|
803
803
|
lastModifiedOn: import("zod").ZodString;
|
|
804
804
|
}, "strip", import("zod").ZodTypeAny, {
|
|
805
|
-
name: string;
|
|
806
805
|
id: string;
|
|
806
|
+
name: string;
|
|
807
807
|
createdOn: string;
|
|
808
808
|
lastModifiedOn: string;
|
|
809
809
|
isDefault: boolean;
|
|
810
810
|
assignedRef: string | null;
|
|
811
811
|
params?: unknown;
|
|
812
812
|
}, {
|
|
813
|
-
name: string;
|
|
814
813
|
id: string;
|
|
814
|
+
name: string;
|
|
815
815
|
createdOn: string;
|
|
816
816
|
lastModifiedOn: string;
|
|
817
817
|
isDefault: boolean;
|
|
@@ -822,8 +822,8 @@ export declare const commandSchemas: {
|
|
|
822
822
|
name: string;
|
|
823
823
|
foreignRef: string;
|
|
824
824
|
presets: {
|
|
825
|
-
name: string;
|
|
826
825
|
id: string;
|
|
826
|
+
name: string;
|
|
827
827
|
createdOn: string;
|
|
828
828
|
lastModifiedOn: string;
|
|
829
829
|
isDefault: boolean;
|
|
@@ -838,8 +838,8 @@ export declare const commandSchemas: {
|
|
|
838
838
|
name: string;
|
|
839
839
|
foreignRef: string;
|
|
840
840
|
presets: {
|
|
841
|
-
name: string;
|
|
842
841
|
id: string;
|
|
842
|
+
name: string;
|
|
843
843
|
createdOn: string;
|
|
844
844
|
lastModifiedOn: string;
|
|
845
845
|
isDefault: boolean;
|
|
@@ -886,12 +886,12 @@ export declare const commandSchemas: {
|
|
|
886
886
|
}>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
887
887
|
}, "strip", import("zod").ZodTypeAny, {
|
|
888
888
|
id: string;
|
|
889
|
-
height: number | null;
|
|
890
|
-
width: number | null;
|
|
891
889
|
displayName: string;
|
|
892
890
|
externalPlayerUrl: string | null;
|
|
893
891
|
rtspUrl: string | null;
|
|
894
892
|
recordingCapable: boolean;
|
|
893
|
+
width: number | null;
|
|
894
|
+
height: number | null;
|
|
895
895
|
lensType: "flat" | "fisheye";
|
|
896
896
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
897
897
|
webrtcPlaybackSource: ({
|
|
@@ -899,12 +899,12 @@ export declare const commandSchemas: {
|
|
|
899
899
|
} & Record<string, unknown>) | null;
|
|
900
900
|
}, {
|
|
901
901
|
id: string;
|
|
902
|
-
height: number | null;
|
|
903
|
-
width: number | null;
|
|
904
902
|
displayName: string;
|
|
905
903
|
externalPlayerUrl: string | null;
|
|
906
904
|
rtspUrl: string | null;
|
|
907
905
|
recordingCapable: boolean;
|
|
906
|
+
width: number | null;
|
|
907
|
+
height: number | null;
|
|
908
908
|
lensType: "flat" | "fisheye";
|
|
909
909
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
910
910
|
webrtcPlaybackSource: ({
|
|
@@ -917,20 +917,34 @@ export declare const commandSchemas: {
|
|
|
917
917
|
type: import("zod").ZodLiteral<"camera">;
|
|
918
918
|
}, "strip", import("zod").ZodTypeAny, {
|
|
919
919
|
type: "camera";
|
|
920
|
+
ptzCapable: boolean;
|
|
921
|
+
ptzPanSpeed: number;
|
|
922
|
+
ptzTiltSpeed: number;
|
|
923
|
+
ptzZoomSpeed: number;
|
|
924
|
+
panMin: number;
|
|
925
|
+
panMax: number;
|
|
926
|
+
tiltMin: number;
|
|
927
|
+
tiltMax: number;
|
|
928
|
+
zoomMin: number;
|
|
929
|
+
zoomMax: number;
|
|
920
930
|
streams: {
|
|
921
931
|
id: string;
|
|
922
|
-
height: number | null;
|
|
923
|
-
width: number | null;
|
|
924
932
|
displayName: string;
|
|
925
933
|
externalPlayerUrl: string | null;
|
|
926
934
|
rtspUrl: string | null;
|
|
927
935
|
recordingCapable: boolean;
|
|
936
|
+
width: number | null;
|
|
937
|
+
height: number | null;
|
|
928
938
|
lensType: "flat" | "fisheye";
|
|
929
939
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
930
940
|
webrtcPlaybackSource: ({
|
|
931
941
|
kind: string;
|
|
932
942
|
} & Record<string, unknown>) | null;
|
|
933
943
|
}[];
|
|
944
|
+
defaultStreamId: string;
|
|
945
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
946
|
+
}, {
|
|
947
|
+
type: "camera";
|
|
934
948
|
ptzCapable: boolean;
|
|
935
949
|
ptzPanSpeed: number;
|
|
936
950
|
ptzTiltSpeed: number;
|
|
@@ -941,36 +955,22 @@ export declare const commandSchemas: {
|
|
|
941
955
|
tiltMax: number;
|
|
942
956
|
zoomMin: number;
|
|
943
957
|
zoomMax: number;
|
|
944
|
-
defaultStreamId: string;
|
|
945
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
946
|
-
}, {
|
|
947
|
-
type: "camera";
|
|
948
958
|
streams: {
|
|
949
959
|
id: string;
|
|
950
|
-
height: number | null;
|
|
951
|
-
width: number | null;
|
|
952
960
|
displayName: string;
|
|
953
961
|
externalPlayerUrl: string | null;
|
|
954
962
|
rtspUrl: string | null;
|
|
955
963
|
recordingCapable: boolean;
|
|
964
|
+
width: number | null;
|
|
965
|
+
height: number | null;
|
|
956
966
|
lensType: "flat" | "fisheye";
|
|
957
967
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
958
968
|
webrtcPlaybackSource: ({
|
|
959
969
|
kind: string;
|
|
960
970
|
} & Record<string, unknown>) | null;
|
|
961
971
|
}[];
|
|
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
972
|
defaultStreamId: string;
|
|
973
|
-
streamNaming: "
|
|
973
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
974
974
|
}>, import("zod").ZodObject<{
|
|
975
975
|
canReportOpenState: import("zod").ZodBoolean;
|
|
976
976
|
canReportLockState: import("zod").ZodBoolean;
|
|
@@ -985,14 +985,14 @@ export declare const commandSchemas: {
|
|
|
985
985
|
canReportLockState: boolean;
|
|
986
986
|
canControlLock: boolean;
|
|
987
987
|
canRelease: boolean;
|
|
988
|
-
style?: "
|
|
988
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
989
989
|
}, {
|
|
990
990
|
type: "door";
|
|
991
991
|
canReportOpenState: boolean;
|
|
992
992
|
canReportLockState: boolean;
|
|
993
993
|
canControlLock: boolean;
|
|
994
994
|
canRelease: boolean;
|
|
995
|
-
style?: "
|
|
995
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
996
996
|
}>, import("zod").ZodObject<{
|
|
997
997
|
inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
998
998
|
outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
@@ -1123,12 +1123,12 @@ export declare const commandSchemas: {
|
|
|
1123
1123
|
name: import("zod").ZodString;
|
|
1124
1124
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1125
1125
|
name: string;
|
|
1126
|
-
device: string |
|
|
1126
|
+
device: string | ({
|
|
1127
1127
|
name: string;
|
|
1128
1128
|
foreignRef: string;
|
|
1129
1129
|
presets: {
|
|
1130
|
-
name: string;
|
|
1131
1130
|
id: string;
|
|
1131
|
+
name: string;
|
|
1132
1132
|
createdOn: string;
|
|
1133
1133
|
lastModifiedOn: string;
|
|
1134
1134
|
isDefault: boolean;
|
|
@@ -1143,39 +1143,39 @@ export declare const commandSchemas: {
|
|
|
1143
1143
|
type: "alarm";
|
|
1144
1144
|
} | {
|
|
1145
1145
|
type: "camera";
|
|
1146
|
+
ptzCapable: boolean;
|
|
1147
|
+
ptzPanSpeed: number;
|
|
1148
|
+
ptzTiltSpeed: number;
|
|
1149
|
+
ptzZoomSpeed: number;
|
|
1150
|
+
panMin: number;
|
|
1151
|
+
panMax: number;
|
|
1152
|
+
tiltMin: number;
|
|
1153
|
+
tiltMax: number;
|
|
1154
|
+
zoomMin: number;
|
|
1155
|
+
zoomMax: number;
|
|
1146
1156
|
streams: {
|
|
1147
1157
|
id: string;
|
|
1148
|
-
height: number | null;
|
|
1149
|
-
width: number | null;
|
|
1150
1158
|
displayName: string;
|
|
1151
1159
|
externalPlayerUrl: string | null;
|
|
1152
1160
|
rtspUrl: string | null;
|
|
1153
1161
|
recordingCapable: boolean;
|
|
1162
|
+
width: number | null;
|
|
1163
|
+
height: number | null;
|
|
1154
1164
|
lensType: "flat" | "fisheye";
|
|
1155
1165
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1156
1166
|
webrtcPlaybackSource: ({
|
|
1157
1167
|
kind: string;
|
|
1158
1168
|
} & Record<string, unknown>) | null;
|
|
1159
1169
|
}[];
|
|
1160
|
-
ptzCapable: boolean;
|
|
1161
|
-
ptzPanSpeed: number;
|
|
1162
|
-
ptzTiltSpeed: number;
|
|
1163
|
-
ptzZoomSpeed: number;
|
|
1164
|
-
panMin: number;
|
|
1165
|
-
panMax: number;
|
|
1166
|
-
tiltMin: number;
|
|
1167
|
-
tiltMax: number;
|
|
1168
|
-
zoomMin: number;
|
|
1169
|
-
zoomMax: number;
|
|
1170
1170
|
defaultStreamId: string;
|
|
1171
|
-
streamNaming: "
|
|
1171
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1172
1172
|
} | {
|
|
1173
1173
|
type: "door";
|
|
1174
1174
|
canReportOpenState: boolean;
|
|
1175
1175
|
canReportLockState: boolean;
|
|
1176
1176
|
canControlLock: boolean;
|
|
1177
1177
|
canRelease: boolean;
|
|
1178
|
-
style?: "
|
|
1178
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1179
1179
|
} | {
|
|
1180
1180
|
type: "io-board";
|
|
1181
1181
|
inputs: string[];
|
|
@@ -1216,19 +1216,19 @@ export declare const commandSchemas: {
|
|
|
1216
1216
|
type: "nvr-analytics-server";
|
|
1217
1217
|
} | {
|
|
1218
1218
|
type: "system";
|
|
1219
|
-
}));
|
|
1219
|
+
})) | [string, string];
|
|
1220
1220
|
streamId: string;
|
|
1221
1221
|
requestId: string;
|
|
1222
1222
|
timeFrom: number;
|
|
1223
1223
|
timeTo: number;
|
|
1224
1224
|
}, {
|
|
1225
1225
|
name: string;
|
|
1226
|
-
device: string |
|
|
1226
|
+
device: string | ({
|
|
1227
1227
|
name: string;
|
|
1228
1228
|
foreignRef: string;
|
|
1229
1229
|
presets: {
|
|
1230
|
-
name: string;
|
|
1231
1230
|
id: string;
|
|
1231
|
+
name: string;
|
|
1232
1232
|
createdOn: string;
|
|
1233
1233
|
lastModifiedOn: string;
|
|
1234
1234
|
isDefault: boolean;
|
|
@@ -1243,39 +1243,39 @@ export declare const commandSchemas: {
|
|
|
1243
1243
|
type: "alarm";
|
|
1244
1244
|
} | {
|
|
1245
1245
|
type: "camera";
|
|
1246
|
+
ptzCapable: boolean;
|
|
1247
|
+
ptzPanSpeed: number;
|
|
1248
|
+
ptzTiltSpeed: number;
|
|
1249
|
+
ptzZoomSpeed: number;
|
|
1250
|
+
panMin: number;
|
|
1251
|
+
panMax: number;
|
|
1252
|
+
tiltMin: number;
|
|
1253
|
+
tiltMax: number;
|
|
1254
|
+
zoomMin: number;
|
|
1255
|
+
zoomMax: number;
|
|
1246
1256
|
streams: {
|
|
1247
1257
|
id: string;
|
|
1248
|
-
height: number | null;
|
|
1249
|
-
width: number | null;
|
|
1250
1258
|
displayName: string;
|
|
1251
1259
|
externalPlayerUrl: string | null;
|
|
1252
1260
|
rtspUrl: string | null;
|
|
1253
1261
|
recordingCapable: boolean;
|
|
1262
|
+
width: number | null;
|
|
1263
|
+
height: number | null;
|
|
1254
1264
|
lensType: "flat" | "fisheye";
|
|
1255
1265
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1256
1266
|
webrtcPlaybackSource: ({
|
|
1257
1267
|
kind: string;
|
|
1258
1268
|
} & Record<string, unknown>) | null;
|
|
1259
1269
|
}[];
|
|
1260
|
-
ptzCapable: boolean;
|
|
1261
|
-
ptzPanSpeed: number;
|
|
1262
|
-
ptzTiltSpeed: number;
|
|
1263
|
-
ptzZoomSpeed: number;
|
|
1264
|
-
panMin: number;
|
|
1265
|
-
panMax: number;
|
|
1266
|
-
tiltMin: number;
|
|
1267
|
-
tiltMax: number;
|
|
1268
|
-
zoomMin: number;
|
|
1269
|
-
zoomMax: number;
|
|
1270
1270
|
defaultStreamId: string;
|
|
1271
|
-
streamNaming: "
|
|
1271
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1272
1272
|
} | {
|
|
1273
1273
|
type: "door";
|
|
1274
1274
|
canReportOpenState: boolean;
|
|
1275
1275
|
canReportLockState: boolean;
|
|
1276
1276
|
canControlLock: boolean;
|
|
1277
1277
|
canRelease: boolean;
|
|
1278
|
-
style?: "
|
|
1278
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1279
1279
|
} | {
|
|
1280
1280
|
type: "io-board";
|
|
1281
1281
|
inputs: string[];
|
|
@@ -1316,7 +1316,7 @@ export declare const commandSchemas: {
|
|
|
1316
1316
|
type: "nvr-analytics-server";
|
|
1317
1317
|
} | {
|
|
1318
1318
|
type: "system";
|
|
1319
|
-
}));
|
|
1319
|
+
})) | [string, string];
|
|
1320
1320
|
streamId: string;
|
|
1321
1321
|
requestId: string;
|
|
1322
1322
|
timeFrom: number;
|
|
@@ -1325,12 +1325,12 @@ export declare const commandSchemas: {
|
|
|
1325
1325
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1326
1326
|
params: {
|
|
1327
1327
|
name: string;
|
|
1328
|
-
device: string |
|
|
1328
|
+
device: string | ({
|
|
1329
1329
|
name: string;
|
|
1330
1330
|
foreignRef: string;
|
|
1331
1331
|
presets: {
|
|
1332
|
-
name: string;
|
|
1333
1332
|
id: string;
|
|
1333
|
+
name: string;
|
|
1334
1334
|
createdOn: string;
|
|
1335
1335
|
lastModifiedOn: string;
|
|
1336
1336
|
isDefault: boolean;
|
|
@@ -1345,39 +1345,39 @@ export declare const commandSchemas: {
|
|
|
1345
1345
|
type: "alarm";
|
|
1346
1346
|
} | {
|
|
1347
1347
|
type: "camera";
|
|
1348
|
+
ptzCapable: boolean;
|
|
1349
|
+
ptzPanSpeed: number;
|
|
1350
|
+
ptzTiltSpeed: number;
|
|
1351
|
+
ptzZoomSpeed: number;
|
|
1352
|
+
panMin: number;
|
|
1353
|
+
panMax: number;
|
|
1354
|
+
tiltMin: number;
|
|
1355
|
+
tiltMax: number;
|
|
1356
|
+
zoomMin: number;
|
|
1357
|
+
zoomMax: number;
|
|
1348
1358
|
streams: {
|
|
1349
1359
|
id: string;
|
|
1350
|
-
height: number | null;
|
|
1351
|
-
width: number | null;
|
|
1352
1360
|
displayName: string;
|
|
1353
1361
|
externalPlayerUrl: string | null;
|
|
1354
1362
|
rtspUrl: string | null;
|
|
1355
1363
|
recordingCapable: boolean;
|
|
1364
|
+
width: number | null;
|
|
1365
|
+
height: number | null;
|
|
1356
1366
|
lensType: "flat" | "fisheye";
|
|
1357
1367
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1358
1368
|
webrtcPlaybackSource: ({
|
|
1359
1369
|
kind: string;
|
|
1360
1370
|
} & Record<string, unknown>) | null;
|
|
1361
1371
|
}[];
|
|
1362
|
-
ptzCapable: boolean;
|
|
1363
|
-
ptzPanSpeed: number;
|
|
1364
|
-
ptzTiltSpeed: number;
|
|
1365
|
-
ptzZoomSpeed: number;
|
|
1366
|
-
panMin: number;
|
|
1367
|
-
panMax: number;
|
|
1368
|
-
tiltMin: number;
|
|
1369
|
-
tiltMax: number;
|
|
1370
|
-
zoomMin: number;
|
|
1371
|
-
zoomMax: number;
|
|
1372
1372
|
defaultStreamId: string;
|
|
1373
|
-
streamNaming: "
|
|
1373
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1374
1374
|
} | {
|
|
1375
1375
|
type: "door";
|
|
1376
1376
|
canReportOpenState: boolean;
|
|
1377
1377
|
canReportLockState: boolean;
|
|
1378
1378
|
canControlLock: boolean;
|
|
1379
1379
|
canRelease: boolean;
|
|
1380
|
-
style?: "
|
|
1380
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1381
1381
|
} | {
|
|
1382
1382
|
type: "io-board";
|
|
1383
1383
|
inputs: string[];
|
|
@@ -1418,7 +1418,7 @@ export declare const commandSchemas: {
|
|
|
1418
1418
|
type: "nvr-analytics-server";
|
|
1419
1419
|
} | {
|
|
1420
1420
|
type: "system";
|
|
1421
|
-
}));
|
|
1421
|
+
})) | [string, string];
|
|
1422
1422
|
streamId: string;
|
|
1423
1423
|
requestId: string;
|
|
1424
1424
|
timeFrom: number;
|
|
@@ -1428,12 +1428,12 @@ export declare const commandSchemas: {
|
|
|
1428
1428
|
}, {
|
|
1429
1429
|
params: {
|
|
1430
1430
|
name: string;
|
|
1431
|
-
device: string |
|
|
1431
|
+
device: string | ({
|
|
1432
1432
|
name: string;
|
|
1433
1433
|
foreignRef: string;
|
|
1434
1434
|
presets: {
|
|
1435
|
-
name: string;
|
|
1436
1435
|
id: string;
|
|
1436
|
+
name: string;
|
|
1437
1437
|
createdOn: string;
|
|
1438
1438
|
lastModifiedOn: string;
|
|
1439
1439
|
isDefault: boolean;
|
|
@@ -1448,39 +1448,39 @@ export declare const commandSchemas: {
|
|
|
1448
1448
|
type: "alarm";
|
|
1449
1449
|
} | {
|
|
1450
1450
|
type: "camera";
|
|
1451
|
+
ptzCapable: boolean;
|
|
1452
|
+
ptzPanSpeed: number;
|
|
1453
|
+
ptzTiltSpeed: number;
|
|
1454
|
+
ptzZoomSpeed: number;
|
|
1455
|
+
panMin: number;
|
|
1456
|
+
panMax: number;
|
|
1457
|
+
tiltMin: number;
|
|
1458
|
+
tiltMax: number;
|
|
1459
|
+
zoomMin: number;
|
|
1460
|
+
zoomMax: number;
|
|
1451
1461
|
streams: {
|
|
1452
1462
|
id: string;
|
|
1453
|
-
height: number | null;
|
|
1454
|
-
width: number | null;
|
|
1455
1463
|
displayName: string;
|
|
1456
1464
|
externalPlayerUrl: string | null;
|
|
1457
1465
|
rtspUrl: string | null;
|
|
1458
1466
|
recordingCapable: boolean;
|
|
1467
|
+
width: number | null;
|
|
1468
|
+
height: number | null;
|
|
1459
1469
|
lensType: "flat" | "fisheye";
|
|
1460
1470
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1461
1471
|
webrtcPlaybackSource: ({
|
|
1462
1472
|
kind: string;
|
|
1463
1473
|
} & Record<string, unknown>) | null;
|
|
1464
1474
|
}[];
|
|
1465
|
-
ptzCapable: boolean;
|
|
1466
|
-
ptzPanSpeed: number;
|
|
1467
|
-
ptzTiltSpeed: number;
|
|
1468
|
-
ptzZoomSpeed: number;
|
|
1469
|
-
panMin: number;
|
|
1470
|
-
panMax: number;
|
|
1471
|
-
tiltMin: number;
|
|
1472
|
-
tiltMax: number;
|
|
1473
|
-
zoomMin: number;
|
|
1474
|
-
zoomMax: number;
|
|
1475
1475
|
defaultStreamId: string;
|
|
1476
|
-
streamNaming: "
|
|
1476
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1477
1477
|
} | {
|
|
1478
1478
|
type: "door";
|
|
1479
1479
|
canReportOpenState: boolean;
|
|
1480
1480
|
canReportLockState: boolean;
|
|
1481
1481
|
canControlLock: boolean;
|
|
1482
1482
|
canRelease: boolean;
|
|
1483
|
-
style?: "
|
|
1483
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1484
1484
|
} | {
|
|
1485
1485
|
type: "io-board";
|
|
1486
1486
|
inputs: string[];
|
|
@@ -1521,7 +1521,7 @@ export declare const commandSchemas: {
|
|
|
1521
1521
|
type: "nvr-analytics-server";
|
|
1522
1522
|
} | {
|
|
1523
1523
|
type: "system";
|
|
1524
|
-
}));
|
|
1524
|
+
})) | [string, string];
|
|
1525
1525
|
streamId: string;
|
|
1526
1526
|
requestId: string;
|
|
1527
1527
|
timeFrom: number;
|
|
@@ -1564,36 +1564,36 @@ export declare const commandSchemas: {
|
|
|
1564
1564
|
resolution: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1565
1565
|
rtspUrl: import("zod").ZodString;
|
|
1566
1566
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1567
|
-
resolution: string | null;
|
|
1568
1567
|
displayName: string;
|
|
1569
1568
|
rtspUrl: string;
|
|
1570
1569
|
streamId: string;
|
|
1571
|
-
}, {
|
|
1572
1570
|
resolution: string | null;
|
|
1571
|
+
}, {
|
|
1573
1572
|
displayName: string;
|
|
1574
1573
|
rtspUrl: string;
|
|
1575
1574
|
streamId: string;
|
|
1575
|
+
resolution: string | null;
|
|
1576
1576
|
}>, "many">;
|
|
1577
1577
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1578
|
-
name: string;
|
|
1579
1578
|
type: "camera";
|
|
1580
1579
|
streams: {
|
|
1581
|
-
resolution: string | null;
|
|
1582
1580
|
displayName: string;
|
|
1583
1581
|
rtspUrl: string;
|
|
1584
1582
|
streamId: string;
|
|
1583
|
+
resolution: string | null;
|
|
1585
1584
|
}[];
|
|
1585
|
+
name: string;
|
|
1586
1586
|
username: string;
|
|
1587
1587
|
password: string;
|
|
1588
1588
|
}, {
|
|
1589
|
-
name: string;
|
|
1590
1589
|
type: "camera";
|
|
1591
1590
|
streams: {
|
|
1592
|
-
resolution: string | null;
|
|
1593
1591
|
displayName: string;
|
|
1594
1592
|
rtspUrl: string;
|
|
1595
1593
|
streamId: string;
|
|
1594
|
+
resolution: string | null;
|
|
1596
1595
|
}[];
|
|
1596
|
+
name: string;
|
|
1597
1597
|
username: string;
|
|
1598
1598
|
password: string;
|
|
1599
1599
|
}>, import("zod").ZodObject<{
|
|
@@ -1605,14 +1605,14 @@ export declare const commandSchemas: {
|
|
|
1605
1605
|
}>]>, "many">;
|
|
1606
1606
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1607
1607
|
items: ({
|
|
1608
|
-
name: string;
|
|
1609
1608
|
type: "camera";
|
|
1610
1609
|
streams: {
|
|
1611
|
-
resolution: string | null;
|
|
1612
1610
|
displayName: string;
|
|
1613
1611
|
rtspUrl: string;
|
|
1614
1612
|
streamId: string;
|
|
1613
|
+
resolution: string | null;
|
|
1615
1614
|
}[];
|
|
1615
|
+
name: string;
|
|
1616
1616
|
username: string;
|
|
1617
1617
|
password: string;
|
|
1618
1618
|
} | {
|
|
@@ -1620,14 +1620,14 @@ export declare const commandSchemas: {
|
|
|
1620
1620
|
})[];
|
|
1621
1621
|
}, {
|
|
1622
1622
|
items: ({
|
|
1623
|
-
name: string;
|
|
1624
1623
|
type: "camera";
|
|
1625
1624
|
streams: {
|
|
1626
|
-
resolution: string | null;
|
|
1627
1625
|
displayName: string;
|
|
1628
1626
|
rtspUrl: string;
|
|
1629
1627
|
streamId: string;
|
|
1628
|
+
resolution: string | null;
|
|
1630
1629
|
}[];
|
|
1630
|
+
name: string;
|
|
1631
1631
|
username: string;
|
|
1632
1632
|
password: string;
|
|
1633
1633
|
} | {
|
|
@@ -1637,14 +1637,14 @@ export declare const commandSchemas: {
|
|
|
1637
1637
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1638
1638
|
tiles: {
|
|
1639
1639
|
items: ({
|
|
1640
|
-
name: string;
|
|
1641
1640
|
type: "camera";
|
|
1642
1641
|
streams: {
|
|
1643
|
-
resolution: string | null;
|
|
1644
1642
|
displayName: string;
|
|
1645
1643
|
rtspUrl: string;
|
|
1646
1644
|
streamId: string;
|
|
1645
|
+
resolution: string | null;
|
|
1647
1646
|
}[];
|
|
1647
|
+
name: string;
|
|
1648
1648
|
username: string;
|
|
1649
1649
|
password: string;
|
|
1650
1650
|
} | {
|
|
@@ -1654,14 +1654,14 @@ export declare const commandSchemas: {
|
|
|
1654
1654
|
}, {
|
|
1655
1655
|
tiles: {
|
|
1656
1656
|
items: ({
|
|
1657
|
-
name: string;
|
|
1658
1657
|
type: "camera";
|
|
1659
1658
|
streams: {
|
|
1660
|
-
resolution: string | null;
|
|
1661
1659
|
displayName: string;
|
|
1662
1660
|
rtspUrl: string;
|
|
1663
1661
|
streamId: string;
|
|
1662
|
+
resolution: string | null;
|
|
1664
1663
|
}[];
|
|
1664
|
+
name: string;
|
|
1665
1665
|
username: string;
|
|
1666
1666
|
password: string;
|
|
1667
1667
|
} | {
|
|
@@ -1673,14 +1673,14 @@ export declare const commandSchemas: {
|
|
|
1673
1673
|
params: {
|
|
1674
1674
|
tiles: {
|
|
1675
1675
|
items: ({
|
|
1676
|
-
name: string;
|
|
1677
1676
|
type: "camera";
|
|
1678
1677
|
streams: {
|
|
1679
|
-
resolution: string | null;
|
|
1680
1678
|
displayName: string;
|
|
1681
1679
|
rtspUrl: string;
|
|
1682
1680
|
streamId: string;
|
|
1681
|
+
resolution: string | null;
|
|
1683
1682
|
}[];
|
|
1683
|
+
name: string;
|
|
1684
1684
|
username: string;
|
|
1685
1685
|
password: string;
|
|
1686
1686
|
} | {
|
|
@@ -1693,14 +1693,14 @@ export declare const commandSchemas: {
|
|
|
1693
1693
|
params: {
|
|
1694
1694
|
tiles: {
|
|
1695
1695
|
items: ({
|
|
1696
|
-
name: string;
|
|
1697
1696
|
type: "camera";
|
|
1698
1697
|
streams: {
|
|
1699
|
-
resolution: string | null;
|
|
1700
1698
|
displayName: string;
|
|
1701
1699
|
rtspUrl: string;
|
|
1702
1700
|
streamId: string;
|
|
1701
|
+
resolution: string | null;
|
|
1703
1702
|
}[];
|
|
1703
|
+
name: string;
|
|
1704
1704
|
username: string;
|
|
1705
1705
|
password: string;
|
|
1706
1706
|
} | {
|
|
@@ -1918,25 +1918,25 @@ export declare const commandSchemas: {
|
|
|
1918
1918
|
zoom: import("zod").ZodNumber;
|
|
1919
1919
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1920
1920
|
pan: number;
|
|
1921
|
-
zoom: number;
|
|
1922
1921
|
tilt: number;
|
|
1922
|
+
zoom: number;
|
|
1923
1923
|
}, {
|
|
1924
1924
|
pan: number;
|
|
1925
|
-
zoom: number;
|
|
1926
1925
|
tilt: number;
|
|
1926
|
+
zoom: number;
|
|
1927
1927
|
}>;
|
|
1928
1928
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1929
1929
|
params: {
|
|
1930
1930
|
pan: number;
|
|
1931
|
-
zoom: number;
|
|
1932
1931
|
tilt: number;
|
|
1932
|
+
zoom: number;
|
|
1933
1933
|
};
|
|
1934
1934
|
command: "camera.ptz-set";
|
|
1935
1935
|
}, {
|
|
1936
1936
|
params: {
|
|
1937
1937
|
pan: number;
|
|
1938
|
-
zoom: number;
|
|
1939
1938
|
tilt: number;
|
|
1939
|
+
zoom: number;
|
|
1940
1940
|
};
|
|
1941
1941
|
command: "camera.ptz-set";
|
|
1942
1942
|
}>;
|
|
@@ -2086,25 +2086,25 @@ export declare const commandSchemas: {
|
|
|
2086
2086
|
zoom: import("zod").ZodNumber;
|
|
2087
2087
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2088
2088
|
pan: number;
|
|
2089
|
-
zoom: number;
|
|
2090
2089
|
tilt: number;
|
|
2090
|
+
zoom: number;
|
|
2091
2091
|
}, {
|
|
2092
2092
|
pan: number;
|
|
2093
|
-
zoom: number;
|
|
2094
2093
|
tilt: number;
|
|
2094
|
+
zoom: number;
|
|
2095
2095
|
}>;
|
|
2096
2096
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2097
2097
|
params: {
|
|
2098
2098
|
pan: number;
|
|
2099
|
-
zoom: number;
|
|
2100
2099
|
tilt: number;
|
|
2100
|
+
zoom: number;
|
|
2101
2101
|
};
|
|
2102
2102
|
command: "camera.ptz-begin-move";
|
|
2103
2103
|
}, {
|
|
2104
2104
|
params: {
|
|
2105
2105
|
pan: number;
|
|
2106
|
-
zoom: number;
|
|
2107
2106
|
tilt: number;
|
|
2107
|
+
zoom: number;
|
|
2108
2108
|
};
|
|
2109
2109
|
command: "camera.ptz-begin-move";
|
|
2110
2110
|
}>;
|