@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
|
@@ -16,16 +16,16 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
16
16
|
createdOn: z.ZodString;
|
|
17
17
|
lastModifiedOn: z.ZodString;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdOn: string;
|
|
22
22
|
lastModifiedOn: string;
|
|
23
23
|
isDefault: boolean;
|
|
24
24
|
assignedRef: string | null;
|
|
25
25
|
params?: unknown;
|
|
26
26
|
}, {
|
|
27
|
-
name: string;
|
|
28
27
|
id: string;
|
|
28
|
+
name: string;
|
|
29
29
|
createdOn: string;
|
|
30
30
|
lastModifiedOn: string;
|
|
31
31
|
isDefault: boolean;
|
|
@@ -36,8 +36,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
36
36
|
name: string;
|
|
37
37
|
foreignRef: string;
|
|
38
38
|
presets: {
|
|
39
|
-
name: string;
|
|
40
39
|
id: string;
|
|
40
|
+
name: string;
|
|
41
41
|
createdOn: string;
|
|
42
42
|
lastModifiedOn: string;
|
|
43
43
|
isDefault: boolean;
|
|
@@ -52,8 +52,8 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
52
52
|
name: string;
|
|
53
53
|
foreignRef: string;
|
|
54
54
|
presets: {
|
|
55
|
-
name: string;
|
|
56
55
|
id: string;
|
|
56
|
+
name: string;
|
|
57
57
|
createdOn: string;
|
|
58
58
|
lastModifiedOn: string;
|
|
59
59
|
isDefault: boolean;
|
|
@@ -100,12 +100,12 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
100
100
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
id: string;
|
|
103
|
-
height: number | null;
|
|
104
|
-
width: number | null;
|
|
105
103
|
displayName: string;
|
|
106
104
|
externalPlayerUrl: string | null;
|
|
107
105
|
rtspUrl: string | null;
|
|
108
106
|
recordingCapable: boolean;
|
|
107
|
+
width: number | null;
|
|
108
|
+
height: number | null;
|
|
109
109
|
lensType: "flat" | "fisheye";
|
|
110
110
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
111
111
|
webrtcPlaybackSource: ({
|
|
@@ -113,12 +113,12 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
113
113
|
} & Record<string, unknown>) | null;
|
|
114
114
|
}, {
|
|
115
115
|
id: string;
|
|
116
|
-
height: number | null;
|
|
117
|
-
width: number | null;
|
|
118
116
|
displayName: string;
|
|
119
117
|
externalPlayerUrl: string | null;
|
|
120
118
|
rtspUrl: string | null;
|
|
121
119
|
recordingCapable: boolean;
|
|
120
|
+
width: number | null;
|
|
121
|
+
height: number | null;
|
|
122
122
|
lensType: "flat" | "fisheye";
|
|
123
123
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
124
124
|
webrtcPlaybackSource: ({
|
|
@@ -131,20 +131,34 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
131
131
|
type: z.ZodLiteral<"camera">;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
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;
|
|
134
144
|
streams: {
|
|
135
145
|
id: string;
|
|
136
|
-
height: number | null;
|
|
137
|
-
width: number | null;
|
|
138
146
|
displayName: string;
|
|
139
147
|
externalPlayerUrl: string | null;
|
|
140
148
|
rtspUrl: string | null;
|
|
141
149
|
recordingCapable: boolean;
|
|
150
|
+
width: number | null;
|
|
151
|
+
height: number | null;
|
|
142
152
|
lensType: "flat" | "fisheye";
|
|
143
153
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
144
154
|
webrtcPlaybackSource: ({
|
|
145
155
|
kind: string;
|
|
146
156
|
} & Record<string, unknown>) | null;
|
|
147
157
|
}[];
|
|
158
|
+
defaultStreamId: string;
|
|
159
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
160
|
+
}, {
|
|
161
|
+
type: "camera";
|
|
148
162
|
ptzCapable: boolean;
|
|
149
163
|
ptzPanSpeed: number;
|
|
150
164
|
ptzTiltSpeed: number;
|
|
@@ -155,36 +169,22 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
155
169
|
tiltMax: number;
|
|
156
170
|
zoomMin: number;
|
|
157
171
|
zoomMax: number;
|
|
158
|
-
defaultStreamId: string;
|
|
159
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
160
|
-
}, {
|
|
161
|
-
type: "camera";
|
|
162
172
|
streams: {
|
|
163
173
|
id: string;
|
|
164
|
-
height: number | null;
|
|
165
|
-
width: number | null;
|
|
166
174
|
displayName: string;
|
|
167
175
|
externalPlayerUrl: string | null;
|
|
168
176
|
rtspUrl: string | null;
|
|
169
177
|
recordingCapable: boolean;
|
|
178
|
+
width: number | null;
|
|
179
|
+
height: number | null;
|
|
170
180
|
lensType: "flat" | "fisheye";
|
|
171
181
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
172
182
|
webrtcPlaybackSource: ({
|
|
173
183
|
kind: string;
|
|
174
184
|
} & Record<string, unknown>) | null;
|
|
175
185
|
}[];
|
|
176
|
-
ptzCapable: boolean;
|
|
177
|
-
ptzPanSpeed: number;
|
|
178
|
-
ptzTiltSpeed: number;
|
|
179
|
-
ptzZoomSpeed: number;
|
|
180
|
-
panMin: number;
|
|
181
|
-
panMax: number;
|
|
182
|
-
tiltMin: number;
|
|
183
|
-
tiltMax: number;
|
|
184
|
-
zoomMin: number;
|
|
185
|
-
zoomMax: number;
|
|
186
186
|
defaultStreamId: string;
|
|
187
|
-
streamNaming: "
|
|
187
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
188
188
|
}>, z.ZodObject<{
|
|
189
189
|
canReportOpenState: z.ZodBoolean;
|
|
190
190
|
canReportLockState: z.ZodBoolean;
|
|
@@ -199,14 +199,14 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
199
199
|
canReportLockState: boolean;
|
|
200
200
|
canControlLock: boolean;
|
|
201
201
|
canRelease: boolean;
|
|
202
|
-
style?: "
|
|
202
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
type: "door";
|
|
205
205
|
canReportOpenState: boolean;
|
|
206
206
|
canReportLockState: boolean;
|
|
207
207
|
canControlLock: boolean;
|
|
208
208
|
canRelease: boolean;
|
|
209
|
-
style?: "
|
|
209
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
210
210
|
}>, z.ZodObject<{
|
|
211
211
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
212
212
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -334,12 +334,12 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
334
334
|
timeFrom: z.ZodNumber;
|
|
335
335
|
timeTo: z.ZodNumber;
|
|
336
336
|
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
device: string |
|
|
337
|
+
device: string | ({
|
|
338
338
|
name: string;
|
|
339
339
|
foreignRef: string;
|
|
340
340
|
presets: {
|
|
341
|
-
name: string;
|
|
342
341
|
id: string;
|
|
342
|
+
name: string;
|
|
343
343
|
createdOn: string;
|
|
344
344
|
lastModifiedOn: string;
|
|
345
345
|
isDefault: boolean;
|
|
@@ -354,39 +354,39 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
354
354
|
type: "alarm";
|
|
355
355
|
} | {
|
|
356
356
|
type: "camera";
|
|
357
|
+
ptzCapable: boolean;
|
|
358
|
+
ptzPanSpeed: number;
|
|
359
|
+
ptzTiltSpeed: number;
|
|
360
|
+
ptzZoomSpeed: number;
|
|
361
|
+
panMin: number;
|
|
362
|
+
panMax: number;
|
|
363
|
+
tiltMin: number;
|
|
364
|
+
tiltMax: number;
|
|
365
|
+
zoomMin: number;
|
|
366
|
+
zoomMax: number;
|
|
357
367
|
streams: {
|
|
358
368
|
id: string;
|
|
359
|
-
height: number | null;
|
|
360
|
-
width: number | null;
|
|
361
369
|
displayName: string;
|
|
362
370
|
externalPlayerUrl: string | null;
|
|
363
371
|
rtspUrl: string | null;
|
|
364
372
|
recordingCapable: boolean;
|
|
373
|
+
width: number | null;
|
|
374
|
+
height: number | null;
|
|
365
375
|
lensType: "flat" | "fisheye";
|
|
366
376
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
367
377
|
webrtcPlaybackSource: ({
|
|
368
378
|
kind: string;
|
|
369
379
|
} & Record<string, unknown>) | null;
|
|
370
380
|
}[];
|
|
371
|
-
ptzCapable: boolean;
|
|
372
|
-
ptzPanSpeed: number;
|
|
373
|
-
ptzTiltSpeed: number;
|
|
374
|
-
ptzZoomSpeed: number;
|
|
375
|
-
panMin: number;
|
|
376
|
-
panMax: number;
|
|
377
|
-
tiltMin: number;
|
|
378
|
-
tiltMax: number;
|
|
379
|
-
zoomMin: number;
|
|
380
|
-
zoomMax: number;
|
|
381
381
|
defaultStreamId: string;
|
|
382
|
-
streamNaming: "
|
|
382
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
383
383
|
} | {
|
|
384
384
|
type: "door";
|
|
385
385
|
canReportOpenState: boolean;
|
|
386
386
|
canReportLockState: boolean;
|
|
387
387
|
canControlLock: boolean;
|
|
388
388
|
canRelease: boolean;
|
|
389
|
-
style?: "
|
|
389
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
390
390
|
} | {
|
|
391
391
|
type: "io-board";
|
|
392
392
|
inputs: string[];
|
|
@@ -427,16 +427,16 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
427
427
|
type: "nvr-analytics-server";
|
|
428
428
|
} | {
|
|
429
429
|
type: "system";
|
|
430
|
-
}));
|
|
430
|
+
})) | [string, string];
|
|
431
431
|
timeFrom: number;
|
|
432
432
|
timeTo: number;
|
|
433
433
|
}, {
|
|
434
|
-
device: string |
|
|
434
|
+
device: string | ({
|
|
435
435
|
name: string;
|
|
436
436
|
foreignRef: string;
|
|
437
437
|
presets: {
|
|
438
|
-
name: string;
|
|
439
438
|
id: string;
|
|
439
|
+
name: string;
|
|
440
440
|
createdOn: string;
|
|
441
441
|
lastModifiedOn: string;
|
|
442
442
|
isDefault: boolean;
|
|
@@ -451,39 +451,39 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
451
451
|
type: "alarm";
|
|
452
452
|
} | {
|
|
453
453
|
type: "camera";
|
|
454
|
+
ptzCapable: boolean;
|
|
455
|
+
ptzPanSpeed: number;
|
|
456
|
+
ptzTiltSpeed: number;
|
|
457
|
+
ptzZoomSpeed: number;
|
|
458
|
+
panMin: number;
|
|
459
|
+
panMax: number;
|
|
460
|
+
tiltMin: number;
|
|
461
|
+
tiltMax: number;
|
|
462
|
+
zoomMin: number;
|
|
463
|
+
zoomMax: number;
|
|
454
464
|
streams: {
|
|
455
465
|
id: string;
|
|
456
|
-
height: number | null;
|
|
457
|
-
width: number | null;
|
|
458
466
|
displayName: string;
|
|
459
467
|
externalPlayerUrl: string | null;
|
|
460
468
|
rtspUrl: string | null;
|
|
461
469
|
recordingCapable: boolean;
|
|
470
|
+
width: number | null;
|
|
471
|
+
height: number | null;
|
|
462
472
|
lensType: "flat" | "fisheye";
|
|
463
473
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
464
474
|
webrtcPlaybackSource: ({
|
|
465
475
|
kind: string;
|
|
466
476
|
} & Record<string, unknown>) | null;
|
|
467
477
|
}[];
|
|
468
|
-
ptzCapable: boolean;
|
|
469
|
-
ptzPanSpeed: number;
|
|
470
|
-
ptzTiltSpeed: number;
|
|
471
|
-
ptzZoomSpeed: number;
|
|
472
|
-
panMin: number;
|
|
473
|
-
panMax: number;
|
|
474
|
-
tiltMin: number;
|
|
475
|
-
tiltMax: number;
|
|
476
|
-
zoomMin: number;
|
|
477
|
-
zoomMax: number;
|
|
478
478
|
defaultStreamId: string;
|
|
479
|
-
streamNaming: "
|
|
479
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
480
480
|
} | {
|
|
481
481
|
type: "door";
|
|
482
482
|
canReportOpenState: boolean;
|
|
483
483
|
canReportLockState: boolean;
|
|
484
484
|
canControlLock: boolean;
|
|
485
485
|
canRelease: boolean;
|
|
486
|
-
style?: "
|
|
486
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
487
487
|
} | {
|
|
488
488
|
type: "io-board";
|
|
489
489
|
inputs: string[];
|
|
@@ -524,7 +524,7 @@ export declare const sRecordingsByTimeRangeArgs: z.ZodObject<{
|
|
|
524
524
|
type: "nvr-analytics-server";
|
|
525
525
|
} | {
|
|
526
526
|
type: "system";
|
|
527
|
-
}));
|
|
527
|
+
})) | [string, string];
|
|
528
528
|
timeFrom: number;
|
|
529
529
|
timeTo: number;
|
|
530
530
|
}>;
|
|
@@ -534,13 +534,13 @@ export declare const sRecordingsResponse: z.ZodArray<z.ZodObject<{
|
|
|
534
534
|
motion: z.ZodOptional<z.ZodNumber>;
|
|
535
535
|
objects: z.ZodOptional<z.ZodNumber>;
|
|
536
536
|
}, "strip", z.ZodTypeAny, {
|
|
537
|
-
end: number;
|
|
538
537
|
start: number;
|
|
538
|
+
end: number;
|
|
539
539
|
motion?: number | undefined;
|
|
540
540
|
objects?: number | undefined;
|
|
541
541
|
}, {
|
|
542
|
-
end: number;
|
|
543
542
|
start: number;
|
|
543
|
+
end: number;
|
|
544
544
|
motion?: number | undefined;
|
|
545
545
|
objects?: number | undefined;
|
|
546
546
|
}>, "many">;
|
|
@@ -563,16 +563,16 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
563
563
|
createdOn: z.ZodString;
|
|
564
564
|
lastModifiedOn: z.ZodString;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
name: string;
|
|
567
566
|
id: string;
|
|
567
|
+
name: string;
|
|
568
568
|
createdOn: string;
|
|
569
569
|
lastModifiedOn: string;
|
|
570
570
|
isDefault: boolean;
|
|
571
571
|
assignedRef: string | null;
|
|
572
572
|
params?: unknown;
|
|
573
573
|
}, {
|
|
574
|
-
name: string;
|
|
575
574
|
id: string;
|
|
575
|
+
name: string;
|
|
576
576
|
createdOn: string;
|
|
577
577
|
lastModifiedOn: string;
|
|
578
578
|
isDefault: boolean;
|
|
@@ -583,8 +583,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
583
583
|
name: string;
|
|
584
584
|
foreignRef: string;
|
|
585
585
|
presets: {
|
|
586
|
-
name: string;
|
|
587
586
|
id: string;
|
|
587
|
+
name: string;
|
|
588
588
|
createdOn: string;
|
|
589
589
|
lastModifiedOn: string;
|
|
590
590
|
isDefault: boolean;
|
|
@@ -599,8 +599,8 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
599
599
|
name: string;
|
|
600
600
|
foreignRef: string;
|
|
601
601
|
presets: {
|
|
602
|
-
name: string;
|
|
603
602
|
id: string;
|
|
603
|
+
name: string;
|
|
604
604
|
createdOn: string;
|
|
605
605
|
lastModifiedOn: string;
|
|
606
606
|
isDefault: boolean;
|
|
@@ -647,12 +647,12 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
647
647
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
648
648
|
}, "strip", z.ZodTypeAny, {
|
|
649
649
|
id: string;
|
|
650
|
-
height: number | null;
|
|
651
|
-
width: number | null;
|
|
652
650
|
displayName: string;
|
|
653
651
|
externalPlayerUrl: string | null;
|
|
654
652
|
rtspUrl: string | null;
|
|
655
653
|
recordingCapable: boolean;
|
|
654
|
+
width: number | null;
|
|
655
|
+
height: number | null;
|
|
656
656
|
lensType: "flat" | "fisheye";
|
|
657
657
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
658
658
|
webrtcPlaybackSource: ({
|
|
@@ -660,12 +660,12 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
660
660
|
} & Record<string, unknown>) | null;
|
|
661
661
|
}, {
|
|
662
662
|
id: string;
|
|
663
|
-
height: number | null;
|
|
664
|
-
width: number | null;
|
|
665
663
|
displayName: string;
|
|
666
664
|
externalPlayerUrl: string | null;
|
|
667
665
|
rtspUrl: string | null;
|
|
668
666
|
recordingCapable: boolean;
|
|
667
|
+
width: number | null;
|
|
668
|
+
height: number | null;
|
|
669
669
|
lensType: "flat" | "fisheye";
|
|
670
670
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
671
671
|
webrtcPlaybackSource: ({
|
|
@@ -678,20 +678,34 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
678
678
|
type: z.ZodLiteral<"camera">;
|
|
679
679
|
}, "strip", z.ZodTypeAny, {
|
|
680
680
|
type: "camera";
|
|
681
|
+
ptzCapable: boolean;
|
|
682
|
+
ptzPanSpeed: number;
|
|
683
|
+
ptzTiltSpeed: number;
|
|
684
|
+
ptzZoomSpeed: number;
|
|
685
|
+
panMin: number;
|
|
686
|
+
panMax: number;
|
|
687
|
+
tiltMin: number;
|
|
688
|
+
tiltMax: number;
|
|
689
|
+
zoomMin: number;
|
|
690
|
+
zoomMax: number;
|
|
681
691
|
streams: {
|
|
682
692
|
id: string;
|
|
683
|
-
height: number | null;
|
|
684
|
-
width: number | null;
|
|
685
693
|
displayName: string;
|
|
686
694
|
externalPlayerUrl: string | null;
|
|
687
695
|
rtspUrl: string | null;
|
|
688
696
|
recordingCapable: boolean;
|
|
697
|
+
width: number | null;
|
|
698
|
+
height: number | null;
|
|
689
699
|
lensType: "flat" | "fisheye";
|
|
690
700
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
691
701
|
webrtcPlaybackSource: ({
|
|
692
702
|
kind: string;
|
|
693
703
|
} & Record<string, unknown>) | null;
|
|
694
704
|
}[];
|
|
705
|
+
defaultStreamId: string;
|
|
706
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
707
|
+
}, {
|
|
708
|
+
type: "camera";
|
|
695
709
|
ptzCapable: boolean;
|
|
696
710
|
ptzPanSpeed: number;
|
|
697
711
|
ptzTiltSpeed: number;
|
|
@@ -702,36 +716,22 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
702
716
|
tiltMax: number;
|
|
703
717
|
zoomMin: number;
|
|
704
718
|
zoomMax: number;
|
|
705
|
-
defaultStreamId: string;
|
|
706
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
707
|
-
}, {
|
|
708
|
-
type: "camera";
|
|
709
719
|
streams: {
|
|
710
720
|
id: string;
|
|
711
|
-
height: number | null;
|
|
712
|
-
width: number | null;
|
|
713
721
|
displayName: string;
|
|
714
722
|
externalPlayerUrl: string | null;
|
|
715
723
|
rtspUrl: string | null;
|
|
716
724
|
recordingCapable: boolean;
|
|
725
|
+
width: number | null;
|
|
726
|
+
height: number | null;
|
|
717
727
|
lensType: "flat" | "fisheye";
|
|
718
728
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
719
729
|
webrtcPlaybackSource: ({
|
|
720
730
|
kind: string;
|
|
721
731
|
} & Record<string, unknown>) | null;
|
|
722
732
|
}[];
|
|
723
|
-
ptzCapable: boolean;
|
|
724
|
-
ptzPanSpeed: number;
|
|
725
|
-
ptzTiltSpeed: number;
|
|
726
|
-
ptzZoomSpeed: number;
|
|
727
|
-
panMin: number;
|
|
728
|
-
panMax: number;
|
|
729
|
-
tiltMin: number;
|
|
730
|
-
tiltMax: number;
|
|
731
|
-
zoomMin: number;
|
|
732
|
-
zoomMax: number;
|
|
733
733
|
defaultStreamId: string;
|
|
734
|
-
streamNaming: "
|
|
734
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
735
735
|
}>, z.ZodObject<{
|
|
736
736
|
canReportOpenState: z.ZodBoolean;
|
|
737
737
|
canReportLockState: z.ZodBoolean;
|
|
@@ -746,14 +746,14 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
746
746
|
canReportLockState: boolean;
|
|
747
747
|
canControlLock: boolean;
|
|
748
748
|
canRelease: boolean;
|
|
749
|
-
style?: "
|
|
749
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
750
750
|
}, {
|
|
751
751
|
type: "door";
|
|
752
752
|
canReportOpenState: boolean;
|
|
753
753
|
canReportLockState: boolean;
|
|
754
754
|
canControlLock: boolean;
|
|
755
755
|
canRelease: boolean;
|
|
756
|
-
style?: "
|
|
756
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
757
757
|
}>, z.ZodObject<{
|
|
758
758
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
759
759
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -881,14 +881,13 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
881
881
|
time: z.ZodNumber;
|
|
882
882
|
height: z.ZodNumber;
|
|
883
883
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
time: number;
|
|
885
884
|
height: number;
|
|
886
|
-
device: string |
|
|
885
|
+
device: string | ({
|
|
887
886
|
name: string;
|
|
888
887
|
foreignRef: string;
|
|
889
888
|
presets: {
|
|
890
|
-
name: string;
|
|
891
889
|
id: string;
|
|
890
|
+
name: string;
|
|
892
891
|
createdOn: string;
|
|
893
892
|
lastModifiedOn: string;
|
|
894
893
|
isDefault: boolean;
|
|
@@ -903,39 +902,39 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
903
902
|
type: "alarm";
|
|
904
903
|
} | {
|
|
905
904
|
type: "camera";
|
|
905
|
+
ptzCapable: boolean;
|
|
906
|
+
ptzPanSpeed: number;
|
|
907
|
+
ptzTiltSpeed: number;
|
|
908
|
+
ptzZoomSpeed: number;
|
|
909
|
+
panMin: number;
|
|
910
|
+
panMax: number;
|
|
911
|
+
tiltMin: number;
|
|
912
|
+
tiltMax: number;
|
|
913
|
+
zoomMin: number;
|
|
914
|
+
zoomMax: number;
|
|
906
915
|
streams: {
|
|
907
916
|
id: string;
|
|
908
|
-
height: number | null;
|
|
909
|
-
width: number | null;
|
|
910
917
|
displayName: string;
|
|
911
918
|
externalPlayerUrl: string | null;
|
|
912
919
|
rtspUrl: string | null;
|
|
913
920
|
recordingCapable: boolean;
|
|
921
|
+
width: number | null;
|
|
922
|
+
height: number | null;
|
|
914
923
|
lensType: "flat" | "fisheye";
|
|
915
924
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
916
925
|
webrtcPlaybackSource: ({
|
|
917
926
|
kind: string;
|
|
918
927
|
} & Record<string, unknown>) | null;
|
|
919
928
|
}[];
|
|
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;
|
|
930
929
|
defaultStreamId: string;
|
|
931
|
-
streamNaming: "
|
|
930
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
932
931
|
} | {
|
|
933
932
|
type: "door";
|
|
934
933
|
canReportOpenState: boolean;
|
|
935
934
|
canReportLockState: boolean;
|
|
936
935
|
canControlLock: boolean;
|
|
937
936
|
canRelease: boolean;
|
|
938
|
-
style?: "
|
|
937
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
939
938
|
} | {
|
|
940
939
|
type: "io-board";
|
|
941
940
|
inputs: string[];
|
|
@@ -976,16 +975,16 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
976
975
|
type: "nvr-analytics-server";
|
|
977
976
|
} | {
|
|
978
977
|
type: "system";
|
|
979
|
-
}));
|
|
980
|
-
}, {
|
|
978
|
+
})) | [string, string];
|
|
981
979
|
time: number;
|
|
980
|
+
}, {
|
|
982
981
|
height: number;
|
|
983
|
-
device: string |
|
|
982
|
+
device: string | ({
|
|
984
983
|
name: string;
|
|
985
984
|
foreignRef: string;
|
|
986
985
|
presets: {
|
|
987
|
-
name: string;
|
|
988
986
|
id: string;
|
|
987
|
+
name: string;
|
|
989
988
|
createdOn: string;
|
|
990
989
|
lastModifiedOn: string;
|
|
991
990
|
isDefault: boolean;
|
|
@@ -1000,39 +999,39 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
1000
999
|
type: "alarm";
|
|
1001
1000
|
} | {
|
|
1002
1001
|
type: "camera";
|
|
1002
|
+
ptzCapable: boolean;
|
|
1003
|
+
ptzPanSpeed: number;
|
|
1004
|
+
ptzTiltSpeed: number;
|
|
1005
|
+
ptzZoomSpeed: number;
|
|
1006
|
+
panMin: number;
|
|
1007
|
+
panMax: number;
|
|
1008
|
+
tiltMin: number;
|
|
1009
|
+
tiltMax: number;
|
|
1010
|
+
zoomMin: number;
|
|
1011
|
+
zoomMax: number;
|
|
1003
1012
|
streams: {
|
|
1004
1013
|
id: string;
|
|
1005
|
-
height: number | null;
|
|
1006
|
-
width: number | null;
|
|
1007
1014
|
displayName: string;
|
|
1008
1015
|
externalPlayerUrl: string | null;
|
|
1009
1016
|
rtspUrl: string | null;
|
|
1010
1017
|
recordingCapable: boolean;
|
|
1018
|
+
width: number | null;
|
|
1019
|
+
height: number | null;
|
|
1011
1020
|
lensType: "flat" | "fisheye";
|
|
1012
1021
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1013
1022
|
webrtcPlaybackSource: ({
|
|
1014
1023
|
kind: string;
|
|
1015
1024
|
} & Record<string, unknown>) | null;
|
|
1016
1025
|
}[];
|
|
1017
|
-
ptzCapable: boolean;
|
|
1018
|
-
ptzPanSpeed: number;
|
|
1019
|
-
ptzTiltSpeed: number;
|
|
1020
|
-
ptzZoomSpeed: number;
|
|
1021
|
-
panMin: number;
|
|
1022
|
-
panMax: number;
|
|
1023
|
-
tiltMin: number;
|
|
1024
|
-
tiltMax: number;
|
|
1025
|
-
zoomMin: number;
|
|
1026
|
-
zoomMax: number;
|
|
1027
1026
|
defaultStreamId: string;
|
|
1028
|
-
streamNaming: "
|
|
1027
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1029
1028
|
} | {
|
|
1030
1029
|
type: "door";
|
|
1031
1030
|
canReportOpenState: boolean;
|
|
1032
1031
|
canReportLockState: boolean;
|
|
1033
1032
|
canControlLock: boolean;
|
|
1034
1033
|
canRelease: boolean;
|
|
1035
|
-
style?: "
|
|
1034
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1036
1035
|
} | {
|
|
1037
1036
|
type: "io-board";
|
|
1038
1037
|
inputs: string[];
|
|
@@ -1073,17 +1072,18 @@ export declare const sPreviewImageArgs: z.ZodObject<{
|
|
|
1073
1072
|
type: "nvr-analytics-server";
|
|
1074
1073
|
} | {
|
|
1075
1074
|
type: "system";
|
|
1076
|
-
}));
|
|
1075
|
+
})) | [string, string];
|
|
1076
|
+
time: number;
|
|
1077
1077
|
}>;
|
|
1078
1078
|
export declare const sPreviewImageResponse: z.ZodNullable<z.ZodObject<{
|
|
1079
1079
|
mimeType: z.ZodString;
|
|
1080
1080
|
data: z.ZodString;
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
data: string;
|
|
1083
1082
|
mimeType: string;
|
|
1084
|
-
}, {
|
|
1085
1083
|
data: string;
|
|
1084
|
+
}, {
|
|
1086
1085
|
mimeType: string;
|
|
1086
|
+
data: string;
|
|
1087
1087
|
}>>;
|
|
1088
1088
|
export type PreviewImageArgs = z.infer<typeof sPreviewImageArgs>;
|
|
1089
1089
|
export type PreviewImageResponse = z.infer<typeof sPreviewImageResponse>;
|
|
@@ -1104,16 +1104,16 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1104
1104
|
createdOn: z.ZodString;
|
|
1105
1105
|
lastModifiedOn: z.ZodString;
|
|
1106
1106
|
}, "strip", z.ZodTypeAny, {
|
|
1107
|
-
name: string;
|
|
1108
1107
|
id: string;
|
|
1108
|
+
name: string;
|
|
1109
1109
|
createdOn: string;
|
|
1110
1110
|
lastModifiedOn: string;
|
|
1111
1111
|
isDefault: boolean;
|
|
1112
1112
|
assignedRef: string | null;
|
|
1113
1113
|
params?: unknown;
|
|
1114
1114
|
}, {
|
|
1115
|
-
name: string;
|
|
1116
1115
|
id: string;
|
|
1116
|
+
name: string;
|
|
1117
1117
|
createdOn: string;
|
|
1118
1118
|
lastModifiedOn: string;
|
|
1119
1119
|
isDefault: boolean;
|
|
@@ -1124,8 +1124,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1124
1124
|
name: string;
|
|
1125
1125
|
foreignRef: string;
|
|
1126
1126
|
presets: {
|
|
1127
|
-
name: string;
|
|
1128
1127
|
id: string;
|
|
1128
|
+
name: string;
|
|
1129
1129
|
createdOn: string;
|
|
1130
1130
|
lastModifiedOn: string;
|
|
1131
1131
|
isDefault: boolean;
|
|
@@ -1140,8 +1140,8 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1140
1140
|
name: string;
|
|
1141
1141
|
foreignRef: string;
|
|
1142
1142
|
presets: {
|
|
1143
|
-
name: string;
|
|
1144
1143
|
id: string;
|
|
1144
|
+
name: string;
|
|
1145
1145
|
createdOn: string;
|
|
1146
1146
|
lastModifiedOn: string;
|
|
1147
1147
|
isDefault: boolean;
|
|
@@ -1188,12 +1188,12 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1188
1188
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1189
1189
|
}, "strip", z.ZodTypeAny, {
|
|
1190
1190
|
id: string;
|
|
1191
|
-
height: number | null;
|
|
1192
|
-
width: number | null;
|
|
1193
1191
|
displayName: string;
|
|
1194
1192
|
externalPlayerUrl: string | null;
|
|
1195
1193
|
rtspUrl: string | null;
|
|
1196
1194
|
recordingCapable: boolean;
|
|
1195
|
+
width: number | null;
|
|
1196
|
+
height: number | null;
|
|
1197
1197
|
lensType: "flat" | "fisheye";
|
|
1198
1198
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1199
1199
|
webrtcPlaybackSource: ({
|
|
@@ -1201,12 +1201,12 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1201
1201
|
} & Record<string, unknown>) | null;
|
|
1202
1202
|
}, {
|
|
1203
1203
|
id: string;
|
|
1204
|
-
height: number | null;
|
|
1205
|
-
width: number | null;
|
|
1206
1204
|
displayName: string;
|
|
1207
1205
|
externalPlayerUrl: string | null;
|
|
1208
1206
|
rtspUrl: string | null;
|
|
1209
1207
|
recordingCapable: boolean;
|
|
1208
|
+
width: number | null;
|
|
1209
|
+
height: number | null;
|
|
1210
1210
|
lensType: "flat" | "fisheye";
|
|
1211
1211
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1212
1212
|
webrtcPlaybackSource: ({
|
|
@@ -1219,20 +1219,34 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1219
1219
|
type: z.ZodLiteral<"camera">;
|
|
1220
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1221
|
type: "camera";
|
|
1222
|
+
ptzCapable: boolean;
|
|
1223
|
+
ptzPanSpeed: number;
|
|
1224
|
+
ptzTiltSpeed: number;
|
|
1225
|
+
ptzZoomSpeed: number;
|
|
1226
|
+
panMin: number;
|
|
1227
|
+
panMax: number;
|
|
1228
|
+
tiltMin: number;
|
|
1229
|
+
tiltMax: number;
|
|
1230
|
+
zoomMin: number;
|
|
1231
|
+
zoomMax: number;
|
|
1222
1232
|
streams: {
|
|
1223
1233
|
id: string;
|
|
1224
|
-
height: number | null;
|
|
1225
|
-
width: number | null;
|
|
1226
1234
|
displayName: string;
|
|
1227
1235
|
externalPlayerUrl: string | null;
|
|
1228
1236
|
rtspUrl: string | null;
|
|
1229
1237
|
recordingCapable: boolean;
|
|
1238
|
+
width: number | null;
|
|
1239
|
+
height: number | null;
|
|
1230
1240
|
lensType: "flat" | "fisheye";
|
|
1231
1241
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1232
1242
|
webrtcPlaybackSource: ({
|
|
1233
1243
|
kind: string;
|
|
1234
1244
|
} & Record<string, unknown>) | null;
|
|
1235
1245
|
}[];
|
|
1246
|
+
defaultStreamId: string;
|
|
1247
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1248
|
+
}, {
|
|
1249
|
+
type: "camera";
|
|
1236
1250
|
ptzCapable: boolean;
|
|
1237
1251
|
ptzPanSpeed: number;
|
|
1238
1252
|
ptzTiltSpeed: number;
|
|
@@ -1243,36 +1257,22 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1243
1257
|
tiltMax: number;
|
|
1244
1258
|
zoomMin: number;
|
|
1245
1259
|
zoomMax: number;
|
|
1246
|
-
defaultStreamId: string;
|
|
1247
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1248
|
-
}, {
|
|
1249
|
-
type: "camera";
|
|
1250
1260
|
streams: {
|
|
1251
1261
|
id: string;
|
|
1252
|
-
height: number | null;
|
|
1253
|
-
width: number | null;
|
|
1254
1262
|
displayName: string;
|
|
1255
1263
|
externalPlayerUrl: string | null;
|
|
1256
1264
|
rtspUrl: string | null;
|
|
1257
1265
|
recordingCapable: boolean;
|
|
1266
|
+
width: number | null;
|
|
1267
|
+
height: number | null;
|
|
1258
1268
|
lensType: "flat" | "fisheye";
|
|
1259
1269
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1260
1270
|
webrtcPlaybackSource: ({
|
|
1261
1271
|
kind: string;
|
|
1262
1272
|
} & Record<string, unknown>) | null;
|
|
1263
1273
|
}[];
|
|
1264
|
-
ptzCapable: boolean;
|
|
1265
|
-
ptzPanSpeed: number;
|
|
1266
|
-
ptzTiltSpeed: number;
|
|
1267
|
-
ptzZoomSpeed: number;
|
|
1268
|
-
panMin: number;
|
|
1269
|
-
panMax: number;
|
|
1270
|
-
tiltMin: number;
|
|
1271
|
-
tiltMax: number;
|
|
1272
|
-
zoomMin: number;
|
|
1273
|
-
zoomMax: number;
|
|
1274
1274
|
defaultStreamId: string;
|
|
1275
|
-
streamNaming: "
|
|
1275
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1276
1276
|
}>, z.ZodObject<{
|
|
1277
1277
|
canReportOpenState: z.ZodBoolean;
|
|
1278
1278
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1287,14 +1287,14 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1287
1287
|
canReportLockState: boolean;
|
|
1288
1288
|
canControlLock: boolean;
|
|
1289
1289
|
canRelease: boolean;
|
|
1290
|
-
style?: "
|
|
1290
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1291
1291
|
}, {
|
|
1292
1292
|
type: "door";
|
|
1293
1293
|
canReportOpenState: boolean;
|
|
1294
1294
|
canReportLockState: boolean;
|
|
1295
1295
|
canControlLock: boolean;
|
|
1296
1296
|
canRelease: boolean;
|
|
1297
|
-
style?: "
|
|
1297
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1298
1298
|
}>, z.ZodObject<{
|
|
1299
1299
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
1300
1300
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1422,14 +1422,14 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1422
1422
|
width: z.ZodNumber;
|
|
1423
1423
|
height: z.ZodNumber;
|
|
1424
1424
|
}, "strip", z.ZodTypeAny, {
|
|
1425
|
-
height: number;
|
|
1426
1425
|
width: number;
|
|
1427
|
-
|
|
1426
|
+
height: number;
|
|
1427
|
+
device: string | ({
|
|
1428
1428
|
name: string;
|
|
1429
1429
|
foreignRef: string;
|
|
1430
1430
|
presets: {
|
|
1431
|
-
name: string;
|
|
1432
1431
|
id: string;
|
|
1432
|
+
name: string;
|
|
1433
1433
|
createdOn: string;
|
|
1434
1434
|
lastModifiedOn: string;
|
|
1435
1435
|
isDefault: boolean;
|
|
@@ -1444,39 +1444,39 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1444
1444
|
type: "alarm";
|
|
1445
1445
|
} | {
|
|
1446
1446
|
type: "camera";
|
|
1447
|
+
ptzCapable: boolean;
|
|
1448
|
+
ptzPanSpeed: number;
|
|
1449
|
+
ptzTiltSpeed: number;
|
|
1450
|
+
ptzZoomSpeed: number;
|
|
1451
|
+
panMin: number;
|
|
1452
|
+
panMax: number;
|
|
1453
|
+
tiltMin: number;
|
|
1454
|
+
tiltMax: number;
|
|
1455
|
+
zoomMin: number;
|
|
1456
|
+
zoomMax: number;
|
|
1447
1457
|
streams: {
|
|
1448
1458
|
id: string;
|
|
1449
|
-
height: number | null;
|
|
1450
|
-
width: number | null;
|
|
1451
1459
|
displayName: string;
|
|
1452
1460
|
externalPlayerUrl: string | null;
|
|
1453
1461
|
rtspUrl: string | null;
|
|
1454
1462
|
recordingCapable: boolean;
|
|
1463
|
+
width: number | null;
|
|
1464
|
+
height: number | null;
|
|
1455
1465
|
lensType: "flat" | "fisheye";
|
|
1456
1466
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1457
1467
|
webrtcPlaybackSource: ({
|
|
1458
1468
|
kind: string;
|
|
1459
1469
|
} & Record<string, unknown>) | null;
|
|
1460
1470
|
}[];
|
|
1461
|
-
ptzCapable: boolean;
|
|
1462
|
-
ptzPanSpeed: number;
|
|
1463
|
-
ptzTiltSpeed: number;
|
|
1464
|
-
ptzZoomSpeed: number;
|
|
1465
|
-
panMin: number;
|
|
1466
|
-
panMax: number;
|
|
1467
|
-
tiltMin: number;
|
|
1468
|
-
tiltMax: number;
|
|
1469
|
-
zoomMin: number;
|
|
1470
|
-
zoomMax: number;
|
|
1471
1471
|
defaultStreamId: string;
|
|
1472
|
-
streamNaming: "
|
|
1472
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1473
1473
|
} | {
|
|
1474
1474
|
type: "door";
|
|
1475
1475
|
canReportOpenState: boolean;
|
|
1476
1476
|
canReportLockState: boolean;
|
|
1477
1477
|
canControlLock: boolean;
|
|
1478
1478
|
canRelease: boolean;
|
|
1479
|
-
style?: "
|
|
1479
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1480
1480
|
} | {
|
|
1481
1481
|
type: "io-board";
|
|
1482
1482
|
inputs: string[];
|
|
@@ -1517,16 +1517,16 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1517
1517
|
type: "nvr-analytics-server";
|
|
1518
1518
|
} | {
|
|
1519
1519
|
type: "system";
|
|
1520
|
-
}));
|
|
1520
|
+
})) | [string, string];
|
|
1521
1521
|
}, {
|
|
1522
|
-
height: number;
|
|
1523
1522
|
width: number;
|
|
1524
|
-
|
|
1523
|
+
height: number;
|
|
1524
|
+
device: string | ({
|
|
1525
1525
|
name: string;
|
|
1526
1526
|
foreignRef: string;
|
|
1527
1527
|
presets: {
|
|
1528
|
-
name: string;
|
|
1529
1528
|
id: string;
|
|
1529
|
+
name: string;
|
|
1530
1530
|
createdOn: string;
|
|
1531
1531
|
lastModifiedOn: string;
|
|
1532
1532
|
isDefault: boolean;
|
|
@@ -1541,39 +1541,39 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1541
1541
|
type: "alarm";
|
|
1542
1542
|
} | {
|
|
1543
1543
|
type: "camera";
|
|
1544
|
+
ptzCapable: boolean;
|
|
1545
|
+
ptzPanSpeed: number;
|
|
1546
|
+
ptzTiltSpeed: number;
|
|
1547
|
+
ptzZoomSpeed: number;
|
|
1548
|
+
panMin: number;
|
|
1549
|
+
panMax: number;
|
|
1550
|
+
tiltMin: number;
|
|
1551
|
+
tiltMax: number;
|
|
1552
|
+
zoomMin: number;
|
|
1553
|
+
zoomMax: number;
|
|
1544
1554
|
streams: {
|
|
1545
1555
|
id: string;
|
|
1546
|
-
height: number | null;
|
|
1547
|
-
width: number | null;
|
|
1548
1556
|
displayName: string;
|
|
1549
1557
|
externalPlayerUrl: string | null;
|
|
1550
1558
|
rtspUrl: string | null;
|
|
1551
1559
|
recordingCapable: boolean;
|
|
1560
|
+
width: number | null;
|
|
1561
|
+
height: number | null;
|
|
1552
1562
|
lensType: "flat" | "fisheye";
|
|
1553
1563
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1554
1564
|
webrtcPlaybackSource: ({
|
|
1555
1565
|
kind: string;
|
|
1556
1566
|
} & Record<string, unknown>) | null;
|
|
1557
1567
|
}[];
|
|
1558
|
-
ptzCapable: boolean;
|
|
1559
|
-
ptzPanSpeed: number;
|
|
1560
|
-
ptzTiltSpeed: number;
|
|
1561
|
-
ptzZoomSpeed: number;
|
|
1562
|
-
panMin: number;
|
|
1563
|
-
panMax: number;
|
|
1564
|
-
tiltMin: number;
|
|
1565
|
-
tiltMax: number;
|
|
1566
|
-
zoomMin: number;
|
|
1567
|
-
zoomMax: number;
|
|
1568
1568
|
defaultStreamId: string;
|
|
1569
|
-
streamNaming: "
|
|
1569
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1570
1570
|
} | {
|
|
1571
1571
|
type: "door";
|
|
1572
1572
|
canReportOpenState: boolean;
|
|
1573
1573
|
canReportLockState: boolean;
|
|
1574
1574
|
canControlLock: boolean;
|
|
1575
1575
|
canRelease: boolean;
|
|
1576
|
-
style?: "
|
|
1576
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1577
1577
|
} | {
|
|
1578
1578
|
type: "io-board";
|
|
1579
1579
|
inputs: string[];
|
|
@@ -1614,17 +1614,17 @@ export declare const sCameraLatestFrameArgs: z.ZodObject<{
|
|
|
1614
1614
|
type: "nvr-analytics-server";
|
|
1615
1615
|
} | {
|
|
1616
1616
|
type: "system";
|
|
1617
|
-
}));
|
|
1617
|
+
})) | [string, string];
|
|
1618
1618
|
}>;
|
|
1619
1619
|
export declare const sCameraLatestFrameResponse: z.ZodNullable<z.ZodObject<{
|
|
1620
1620
|
mimeType: z.ZodString;
|
|
1621
1621
|
data: z.ZodString;
|
|
1622
1622
|
}, "strip", z.ZodTypeAny, {
|
|
1623
|
-
data: string;
|
|
1624
1623
|
mimeType: string;
|
|
1625
|
-
}, {
|
|
1626
1624
|
data: string;
|
|
1625
|
+
}, {
|
|
1627
1626
|
mimeType: string;
|
|
1627
|
+
data: string;
|
|
1628
1628
|
}>>;
|
|
1629
1629
|
export type CameraLatestFrameArgs = z.infer<typeof sCameraLatestFrameArgs>;
|
|
1630
1630
|
export type CameraLatestFrameResponse = z.infer<typeof sCameraLatestFrameResponse>;
|
|
@@ -1645,16 +1645,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1645
1645
|
createdOn: z.ZodString;
|
|
1646
1646
|
lastModifiedOn: z.ZodString;
|
|
1647
1647
|
}, "strip", z.ZodTypeAny, {
|
|
1648
|
-
name: string;
|
|
1649
1648
|
id: string;
|
|
1649
|
+
name: string;
|
|
1650
1650
|
createdOn: string;
|
|
1651
1651
|
lastModifiedOn: string;
|
|
1652
1652
|
isDefault: boolean;
|
|
1653
1653
|
assignedRef: string | null;
|
|
1654
1654
|
params?: unknown;
|
|
1655
1655
|
}, {
|
|
1656
|
-
name: string;
|
|
1657
1656
|
id: string;
|
|
1657
|
+
name: string;
|
|
1658
1658
|
createdOn: string;
|
|
1659
1659
|
lastModifiedOn: string;
|
|
1660
1660
|
isDefault: boolean;
|
|
@@ -1665,8 +1665,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1665
1665
|
name: string;
|
|
1666
1666
|
foreignRef: string;
|
|
1667
1667
|
presets: {
|
|
1668
|
-
name: string;
|
|
1669
1668
|
id: string;
|
|
1669
|
+
name: string;
|
|
1670
1670
|
createdOn: string;
|
|
1671
1671
|
lastModifiedOn: string;
|
|
1672
1672
|
isDefault: boolean;
|
|
@@ -1681,8 +1681,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1681
1681
|
name: string;
|
|
1682
1682
|
foreignRef: string;
|
|
1683
1683
|
presets: {
|
|
1684
|
-
name: string;
|
|
1685
1684
|
id: string;
|
|
1685
|
+
name: string;
|
|
1686
1686
|
createdOn: string;
|
|
1687
1687
|
lastModifiedOn: string;
|
|
1688
1688
|
isDefault: boolean;
|
|
@@ -1729,12 +1729,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1729
1729
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1730
1730
|
}, "strip", z.ZodTypeAny, {
|
|
1731
1731
|
id: string;
|
|
1732
|
-
height: number | null;
|
|
1733
|
-
width: number | null;
|
|
1734
1732
|
displayName: string;
|
|
1735
1733
|
externalPlayerUrl: string | null;
|
|
1736
1734
|
rtspUrl: string | null;
|
|
1737
1735
|
recordingCapable: boolean;
|
|
1736
|
+
width: number | null;
|
|
1737
|
+
height: number | null;
|
|
1738
1738
|
lensType: "flat" | "fisheye";
|
|
1739
1739
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1740
1740
|
webrtcPlaybackSource: ({
|
|
@@ -1742,12 +1742,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1742
1742
|
} & Record<string, unknown>) | null;
|
|
1743
1743
|
}, {
|
|
1744
1744
|
id: string;
|
|
1745
|
-
height: number | null;
|
|
1746
|
-
width: number | null;
|
|
1747
1745
|
displayName: string;
|
|
1748
1746
|
externalPlayerUrl: string | null;
|
|
1749
1747
|
rtspUrl: string | null;
|
|
1750
1748
|
recordingCapable: boolean;
|
|
1749
|
+
width: number | null;
|
|
1750
|
+
height: number | null;
|
|
1751
1751
|
lensType: "flat" | "fisheye";
|
|
1752
1752
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1753
1753
|
webrtcPlaybackSource: ({
|
|
@@ -1760,20 +1760,34 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1760
1760
|
type: z.ZodLiteral<"camera">;
|
|
1761
1761
|
}, "strip", z.ZodTypeAny, {
|
|
1762
1762
|
type: "camera";
|
|
1763
|
+
ptzCapable: boolean;
|
|
1764
|
+
ptzPanSpeed: number;
|
|
1765
|
+
ptzTiltSpeed: number;
|
|
1766
|
+
ptzZoomSpeed: number;
|
|
1767
|
+
panMin: number;
|
|
1768
|
+
panMax: number;
|
|
1769
|
+
tiltMin: number;
|
|
1770
|
+
tiltMax: number;
|
|
1771
|
+
zoomMin: number;
|
|
1772
|
+
zoomMax: number;
|
|
1763
1773
|
streams: {
|
|
1764
1774
|
id: string;
|
|
1765
|
-
height: number | null;
|
|
1766
|
-
width: number | null;
|
|
1767
1775
|
displayName: string;
|
|
1768
1776
|
externalPlayerUrl: string | null;
|
|
1769
1777
|
rtspUrl: string | null;
|
|
1770
1778
|
recordingCapable: boolean;
|
|
1779
|
+
width: number | null;
|
|
1780
|
+
height: number | null;
|
|
1771
1781
|
lensType: "flat" | "fisheye";
|
|
1772
1782
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1773
1783
|
webrtcPlaybackSource: ({
|
|
1774
1784
|
kind: string;
|
|
1775
1785
|
} & Record<string, unknown>) | null;
|
|
1776
1786
|
}[];
|
|
1787
|
+
defaultStreamId: string;
|
|
1788
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1789
|
+
}, {
|
|
1790
|
+
type: "camera";
|
|
1777
1791
|
ptzCapable: boolean;
|
|
1778
1792
|
ptzPanSpeed: number;
|
|
1779
1793
|
ptzTiltSpeed: number;
|
|
@@ -1784,36 +1798,22 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1784
1798
|
tiltMax: number;
|
|
1785
1799
|
zoomMin: number;
|
|
1786
1800
|
zoomMax: number;
|
|
1787
|
-
defaultStreamId: string;
|
|
1788
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
1789
|
-
}, {
|
|
1790
|
-
type: "camera";
|
|
1791
1801
|
streams: {
|
|
1792
1802
|
id: string;
|
|
1793
|
-
height: number | null;
|
|
1794
|
-
width: number | null;
|
|
1795
1803
|
displayName: string;
|
|
1796
1804
|
externalPlayerUrl: string | null;
|
|
1797
1805
|
rtspUrl: string | null;
|
|
1798
1806
|
recordingCapable: boolean;
|
|
1807
|
+
width: number | null;
|
|
1808
|
+
height: number | null;
|
|
1799
1809
|
lensType: "flat" | "fisheye";
|
|
1800
1810
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1801
1811
|
webrtcPlaybackSource: ({
|
|
1802
1812
|
kind: string;
|
|
1803
1813
|
} & Record<string, unknown>) | null;
|
|
1804
1814
|
}[];
|
|
1805
|
-
ptzCapable: boolean;
|
|
1806
|
-
ptzPanSpeed: number;
|
|
1807
|
-
ptzTiltSpeed: number;
|
|
1808
|
-
ptzZoomSpeed: number;
|
|
1809
|
-
panMin: number;
|
|
1810
|
-
panMax: number;
|
|
1811
|
-
tiltMin: number;
|
|
1812
|
-
tiltMax: number;
|
|
1813
|
-
zoomMin: number;
|
|
1814
|
-
zoomMax: number;
|
|
1815
1815
|
defaultStreamId: string;
|
|
1816
|
-
streamNaming: "
|
|
1816
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
1817
1817
|
}>, z.ZodObject<{
|
|
1818
1818
|
canReportOpenState: z.ZodBoolean;
|
|
1819
1819
|
canReportLockState: z.ZodBoolean;
|
|
@@ -1828,14 +1828,14 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1828
1828
|
canReportLockState: boolean;
|
|
1829
1829
|
canControlLock: boolean;
|
|
1830
1830
|
canRelease: boolean;
|
|
1831
|
-
style?: "
|
|
1831
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1832
1832
|
}, {
|
|
1833
1833
|
type: "door";
|
|
1834
1834
|
canReportOpenState: boolean;
|
|
1835
1835
|
canReportLockState: boolean;
|
|
1836
1836
|
canControlLock: boolean;
|
|
1837
1837
|
canRelease: boolean;
|
|
1838
|
-
style?: "
|
|
1838
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
1839
1839
|
}>, z.ZodObject<{
|
|
1840
1840
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
1841
1841
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1963,12 +1963,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1963
1963
|
timeFrom: z.ZodNumber;
|
|
1964
1964
|
timeTo: z.ZodNumber;
|
|
1965
1965
|
}, "strip", z.ZodTypeAny, {
|
|
1966
|
-
device: string |
|
|
1966
|
+
device: string | ({
|
|
1967
1967
|
name: string;
|
|
1968
1968
|
foreignRef: string;
|
|
1969
1969
|
presets: {
|
|
1970
|
-
name: string;
|
|
1971
1970
|
id: string;
|
|
1971
|
+
name: string;
|
|
1972
1972
|
createdOn: string;
|
|
1973
1973
|
lastModifiedOn: string;
|
|
1974
1974
|
isDefault: boolean;
|
|
@@ -1983,39 +1983,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
1983
1983
|
type: "alarm";
|
|
1984
1984
|
} | {
|
|
1985
1985
|
type: "camera";
|
|
1986
|
+
ptzCapable: boolean;
|
|
1987
|
+
ptzPanSpeed: number;
|
|
1988
|
+
ptzTiltSpeed: number;
|
|
1989
|
+
ptzZoomSpeed: number;
|
|
1990
|
+
panMin: number;
|
|
1991
|
+
panMax: number;
|
|
1992
|
+
tiltMin: number;
|
|
1993
|
+
tiltMax: number;
|
|
1994
|
+
zoomMin: number;
|
|
1995
|
+
zoomMax: number;
|
|
1986
1996
|
streams: {
|
|
1987
1997
|
id: string;
|
|
1988
|
-
height: number | null;
|
|
1989
|
-
width: number | null;
|
|
1990
1998
|
displayName: string;
|
|
1991
1999
|
externalPlayerUrl: string | null;
|
|
1992
2000
|
rtspUrl: string | null;
|
|
1993
2001
|
recordingCapable: boolean;
|
|
2002
|
+
width: number | null;
|
|
2003
|
+
height: number | null;
|
|
1994
2004
|
lensType: "flat" | "fisheye";
|
|
1995
2005
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
1996
2006
|
webrtcPlaybackSource: ({
|
|
1997
2007
|
kind: string;
|
|
1998
2008
|
} & Record<string, unknown>) | null;
|
|
1999
2009
|
}[];
|
|
2000
|
-
ptzCapable: boolean;
|
|
2001
|
-
ptzPanSpeed: number;
|
|
2002
|
-
ptzTiltSpeed: number;
|
|
2003
|
-
ptzZoomSpeed: number;
|
|
2004
|
-
panMin: number;
|
|
2005
|
-
panMax: number;
|
|
2006
|
-
tiltMin: number;
|
|
2007
|
-
tiltMax: number;
|
|
2008
|
-
zoomMin: number;
|
|
2009
|
-
zoomMax: number;
|
|
2010
2010
|
defaultStreamId: string;
|
|
2011
|
-
streamNaming: "
|
|
2011
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2012
2012
|
} | {
|
|
2013
2013
|
type: "door";
|
|
2014
2014
|
canReportOpenState: boolean;
|
|
2015
2015
|
canReportLockState: boolean;
|
|
2016
2016
|
canControlLock: boolean;
|
|
2017
2017
|
canRelease: boolean;
|
|
2018
|
-
style?: "
|
|
2018
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2019
2019
|
} | {
|
|
2020
2020
|
type: "io-board";
|
|
2021
2021
|
inputs: string[];
|
|
@@ -2056,16 +2056,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2056
2056
|
type: "nvr-analytics-server";
|
|
2057
2057
|
} | {
|
|
2058
2058
|
type: "system";
|
|
2059
|
-
}));
|
|
2059
|
+
})) | [string, string];
|
|
2060
2060
|
timeFrom: number;
|
|
2061
2061
|
timeTo: number;
|
|
2062
2062
|
}, {
|
|
2063
|
-
device: string |
|
|
2063
|
+
device: string | ({
|
|
2064
2064
|
name: string;
|
|
2065
2065
|
foreignRef: string;
|
|
2066
2066
|
presets: {
|
|
2067
|
-
name: string;
|
|
2068
2067
|
id: string;
|
|
2068
|
+
name: string;
|
|
2069
2069
|
createdOn: string;
|
|
2070
2070
|
lastModifiedOn: string;
|
|
2071
2071
|
isDefault: boolean;
|
|
@@ -2080,39 +2080,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2080
2080
|
type: "alarm";
|
|
2081
2081
|
} | {
|
|
2082
2082
|
type: "camera";
|
|
2083
|
+
ptzCapable: boolean;
|
|
2084
|
+
ptzPanSpeed: number;
|
|
2085
|
+
ptzTiltSpeed: number;
|
|
2086
|
+
ptzZoomSpeed: number;
|
|
2087
|
+
panMin: number;
|
|
2088
|
+
panMax: number;
|
|
2089
|
+
tiltMin: number;
|
|
2090
|
+
tiltMax: number;
|
|
2091
|
+
zoomMin: number;
|
|
2092
|
+
zoomMax: number;
|
|
2083
2093
|
streams: {
|
|
2084
2094
|
id: string;
|
|
2085
|
-
height: number | null;
|
|
2086
|
-
width: number | null;
|
|
2087
2095
|
displayName: string;
|
|
2088
2096
|
externalPlayerUrl: string | null;
|
|
2089
2097
|
rtspUrl: string | null;
|
|
2090
2098
|
recordingCapable: boolean;
|
|
2099
|
+
width: number | null;
|
|
2100
|
+
height: number | null;
|
|
2091
2101
|
lensType: "flat" | "fisheye";
|
|
2092
2102
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2093
2103
|
webrtcPlaybackSource: ({
|
|
2094
2104
|
kind: string;
|
|
2095
2105
|
} & Record<string, unknown>) | null;
|
|
2096
2106
|
}[];
|
|
2097
|
-
ptzCapable: boolean;
|
|
2098
|
-
ptzPanSpeed: number;
|
|
2099
|
-
ptzTiltSpeed: number;
|
|
2100
|
-
ptzZoomSpeed: number;
|
|
2101
|
-
panMin: number;
|
|
2102
|
-
panMax: number;
|
|
2103
|
-
tiltMin: number;
|
|
2104
|
-
tiltMax: number;
|
|
2105
|
-
zoomMin: number;
|
|
2106
|
-
zoomMax: number;
|
|
2107
2107
|
defaultStreamId: string;
|
|
2108
|
-
streamNaming: "
|
|
2108
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2109
2109
|
} | {
|
|
2110
2110
|
type: "door";
|
|
2111
2111
|
canReportOpenState: boolean;
|
|
2112
2112
|
canReportLockState: boolean;
|
|
2113
2113
|
canControlLock: boolean;
|
|
2114
2114
|
canRelease: boolean;
|
|
2115
|
-
style?: "
|
|
2115
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2116
2116
|
} | {
|
|
2117
2117
|
type: "io-board";
|
|
2118
2118
|
inputs: string[];
|
|
@@ -2153,7 +2153,7 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2153
2153
|
type: "nvr-analytics-server";
|
|
2154
2154
|
} | {
|
|
2155
2155
|
type: "system";
|
|
2156
|
-
}));
|
|
2156
|
+
})) | [string, string];
|
|
2157
2157
|
timeFrom: number;
|
|
2158
2158
|
timeTo: number;
|
|
2159
2159
|
}>;
|
|
@@ -2173,16 +2173,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2173
2173
|
createdOn: z.ZodString;
|
|
2174
2174
|
lastModifiedOn: z.ZodString;
|
|
2175
2175
|
}, "strip", z.ZodTypeAny, {
|
|
2176
|
-
name: string;
|
|
2177
2176
|
id: string;
|
|
2177
|
+
name: string;
|
|
2178
2178
|
createdOn: string;
|
|
2179
2179
|
lastModifiedOn: string;
|
|
2180
2180
|
isDefault: boolean;
|
|
2181
2181
|
assignedRef: string | null;
|
|
2182
2182
|
params?: unknown;
|
|
2183
2183
|
}, {
|
|
2184
|
-
name: string;
|
|
2185
2184
|
id: string;
|
|
2185
|
+
name: string;
|
|
2186
2186
|
createdOn: string;
|
|
2187
2187
|
lastModifiedOn: string;
|
|
2188
2188
|
isDefault: boolean;
|
|
@@ -2193,8 +2193,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2193
2193
|
name: string;
|
|
2194
2194
|
foreignRef: string;
|
|
2195
2195
|
presets: {
|
|
2196
|
-
name: string;
|
|
2197
2196
|
id: string;
|
|
2197
|
+
name: string;
|
|
2198
2198
|
createdOn: string;
|
|
2199
2199
|
lastModifiedOn: string;
|
|
2200
2200
|
isDefault: boolean;
|
|
@@ -2209,8 +2209,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2209
2209
|
name: string;
|
|
2210
2210
|
foreignRef: string;
|
|
2211
2211
|
presets: {
|
|
2212
|
-
name: string;
|
|
2213
2212
|
id: string;
|
|
2213
|
+
name: string;
|
|
2214
2214
|
createdOn: string;
|
|
2215
2215
|
lastModifiedOn: string;
|
|
2216
2216
|
isDefault: boolean;
|
|
@@ -2257,12 +2257,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2257
2257
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2258
2258
|
}, "strip", z.ZodTypeAny, {
|
|
2259
2259
|
id: string;
|
|
2260
|
-
height: number | null;
|
|
2261
|
-
width: number | null;
|
|
2262
2260
|
displayName: string;
|
|
2263
2261
|
externalPlayerUrl: string | null;
|
|
2264
2262
|
rtspUrl: string | null;
|
|
2265
2263
|
recordingCapable: boolean;
|
|
2264
|
+
width: number | null;
|
|
2265
|
+
height: number | null;
|
|
2266
2266
|
lensType: "flat" | "fisheye";
|
|
2267
2267
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2268
2268
|
webrtcPlaybackSource: ({
|
|
@@ -2270,12 +2270,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2270
2270
|
} & Record<string, unknown>) | null;
|
|
2271
2271
|
}, {
|
|
2272
2272
|
id: string;
|
|
2273
|
-
height: number | null;
|
|
2274
|
-
width: number | null;
|
|
2275
2273
|
displayName: string;
|
|
2276
2274
|
externalPlayerUrl: string | null;
|
|
2277
2275
|
rtspUrl: string | null;
|
|
2278
2276
|
recordingCapable: boolean;
|
|
2277
|
+
width: number | null;
|
|
2278
|
+
height: number | null;
|
|
2279
2279
|
lensType: "flat" | "fisheye";
|
|
2280
2280
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2281
2281
|
webrtcPlaybackSource: ({
|
|
@@ -2288,20 +2288,34 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2288
2288
|
type: z.ZodLiteral<"camera">;
|
|
2289
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
2290
|
type: "camera";
|
|
2291
|
+
ptzCapable: boolean;
|
|
2292
|
+
ptzPanSpeed: number;
|
|
2293
|
+
ptzTiltSpeed: number;
|
|
2294
|
+
ptzZoomSpeed: number;
|
|
2295
|
+
panMin: number;
|
|
2296
|
+
panMax: number;
|
|
2297
|
+
tiltMin: number;
|
|
2298
|
+
tiltMax: number;
|
|
2299
|
+
zoomMin: number;
|
|
2300
|
+
zoomMax: number;
|
|
2291
2301
|
streams: {
|
|
2292
2302
|
id: string;
|
|
2293
|
-
height: number | null;
|
|
2294
|
-
width: number | null;
|
|
2295
2303
|
displayName: string;
|
|
2296
2304
|
externalPlayerUrl: string | null;
|
|
2297
2305
|
rtspUrl: string | null;
|
|
2298
2306
|
recordingCapable: boolean;
|
|
2307
|
+
width: number | null;
|
|
2308
|
+
height: number | null;
|
|
2299
2309
|
lensType: "flat" | "fisheye";
|
|
2300
2310
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2301
2311
|
webrtcPlaybackSource: ({
|
|
2302
2312
|
kind: string;
|
|
2303
2313
|
} & Record<string, unknown>) | null;
|
|
2304
2314
|
}[];
|
|
2315
|
+
defaultStreamId: string;
|
|
2316
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2317
|
+
}, {
|
|
2318
|
+
type: "camera";
|
|
2305
2319
|
ptzCapable: boolean;
|
|
2306
2320
|
ptzPanSpeed: number;
|
|
2307
2321
|
ptzTiltSpeed: number;
|
|
@@ -2312,36 +2326,22 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2312
2326
|
tiltMax: number;
|
|
2313
2327
|
zoomMin: number;
|
|
2314
2328
|
zoomMax: number;
|
|
2315
|
-
defaultStreamId: string;
|
|
2316
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2317
|
-
}, {
|
|
2318
|
-
type: "camera";
|
|
2319
2329
|
streams: {
|
|
2320
2330
|
id: string;
|
|
2321
|
-
height: number | null;
|
|
2322
|
-
width: number | null;
|
|
2323
2331
|
displayName: string;
|
|
2324
2332
|
externalPlayerUrl: string | null;
|
|
2325
2333
|
rtspUrl: string | null;
|
|
2326
2334
|
recordingCapable: boolean;
|
|
2335
|
+
width: number | null;
|
|
2336
|
+
height: number | null;
|
|
2327
2337
|
lensType: "flat" | "fisheye";
|
|
2328
2338
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2329
2339
|
webrtcPlaybackSource: ({
|
|
2330
2340
|
kind: string;
|
|
2331
2341
|
} & Record<string, unknown>) | null;
|
|
2332
2342
|
}[];
|
|
2333
|
-
ptzCapable: boolean;
|
|
2334
|
-
ptzPanSpeed: number;
|
|
2335
|
-
ptzTiltSpeed: number;
|
|
2336
|
-
ptzZoomSpeed: number;
|
|
2337
|
-
panMin: number;
|
|
2338
|
-
panMax: number;
|
|
2339
|
-
tiltMin: number;
|
|
2340
|
-
tiltMax: number;
|
|
2341
|
-
zoomMin: number;
|
|
2342
|
-
zoomMax: number;
|
|
2343
2343
|
defaultStreamId: string;
|
|
2344
|
-
streamNaming: "
|
|
2344
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2345
2345
|
}>, z.ZodObject<{
|
|
2346
2346
|
canReportOpenState: z.ZodBoolean;
|
|
2347
2347
|
canReportLockState: z.ZodBoolean;
|
|
@@ -2356,14 +2356,14 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2356
2356
|
canReportLockState: boolean;
|
|
2357
2357
|
canControlLock: boolean;
|
|
2358
2358
|
canRelease: boolean;
|
|
2359
|
-
style?: "
|
|
2359
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2360
2360
|
}, {
|
|
2361
2361
|
type: "door";
|
|
2362
2362
|
canReportOpenState: boolean;
|
|
2363
2363
|
canReportLockState: boolean;
|
|
2364
2364
|
canControlLock: boolean;
|
|
2365
2365
|
canRelease: boolean;
|
|
2366
|
-
style?: "
|
|
2366
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2367
2367
|
}>, z.ZodObject<{
|
|
2368
2368
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
2369
2369
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2491,14 +2491,13 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2491
2491
|
time: z.ZodNumber;
|
|
2492
2492
|
height: z.ZodNumber;
|
|
2493
2493
|
}, "strip", z.ZodTypeAny, {
|
|
2494
|
-
time: number;
|
|
2495
2494
|
height: number;
|
|
2496
|
-
device: string |
|
|
2495
|
+
device: string | ({
|
|
2497
2496
|
name: string;
|
|
2498
2497
|
foreignRef: string;
|
|
2499
2498
|
presets: {
|
|
2500
|
-
name: string;
|
|
2501
2499
|
id: string;
|
|
2500
|
+
name: string;
|
|
2502
2501
|
createdOn: string;
|
|
2503
2502
|
lastModifiedOn: string;
|
|
2504
2503
|
isDefault: boolean;
|
|
@@ -2513,39 +2512,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2513
2512
|
type: "alarm";
|
|
2514
2513
|
} | {
|
|
2515
2514
|
type: "camera";
|
|
2515
|
+
ptzCapable: boolean;
|
|
2516
|
+
ptzPanSpeed: number;
|
|
2517
|
+
ptzTiltSpeed: number;
|
|
2518
|
+
ptzZoomSpeed: number;
|
|
2519
|
+
panMin: number;
|
|
2520
|
+
panMax: number;
|
|
2521
|
+
tiltMin: number;
|
|
2522
|
+
tiltMax: number;
|
|
2523
|
+
zoomMin: number;
|
|
2524
|
+
zoomMax: number;
|
|
2516
2525
|
streams: {
|
|
2517
2526
|
id: string;
|
|
2518
|
-
height: number | null;
|
|
2519
|
-
width: number | null;
|
|
2520
2527
|
displayName: string;
|
|
2521
2528
|
externalPlayerUrl: string | null;
|
|
2522
2529
|
rtspUrl: string | null;
|
|
2523
2530
|
recordingCapable: boolean;
|
|
2531
|
+
width: number | null;
|
|
2532
|
+
height: number | null;
|
|
2524
2533
|
lensType: "flat" | "fisheye";
|
|
2525
2534
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2526
2535
|
webrtcPlaybackSource: ({
|
|
2527
2536
|
kind: string;
|
|
2528
2537
|
} & Record<string, unknown>) | null;
|
|
2529
2538
|
}[];
|
|
2530
|
-
ptzCapable: boolean;
|
|
2531
|
-
ptzPanSpeed: number;
|
|
2532
|
-
ptzTiltSpeed: number;
|
|
2533
|
-
ptzZoomSpeed: number;
|
|
2534
|
-
panMin: number;
|
|
2535
|
-
panMax: number;
|
|
2536
|
-
tiltMin: number;
|
|
2537
|
-
tiltMax: number;
|
|
2538
|
-
zoomMin: number;
|
|
2539
|
-
zoomMax: number;
|
|
2540
2539
|
defaultStreamId: string;
|
|
2541
|
-
streamNaming: "
|
|
2540
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2542
2541
|
} | {
|
|
2543
2542
|
type: "door";
|
|
2544
2543
|
canReportOpenState: boolean;
|
|
2545
2544
|
canReportLockState: boolean;
|
|
2546
2545
|
canControlLock: boolean;
|
|
2547
2546
|
canRelease: boolean;
|
|
2548
|
-
style?: "
|
|
2547
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2549
2548
|
} | {
|
|
2550
2549
|
type: "io-board";
|
|
2551
2550
|
inputs: string[];
|
|
@@ -2586,16 +2585,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2586
2585
|
type: "nvr-analytics-server";
|
|
2587
2586
|
} | {
|
|
2588
2587
|
type: "system";
|
|
2589
|
-
}));
|
|
2590
|
-
}, {
|
|
2588
|
+
})) | [string, string];
|
|
2591
2589
|
time: number;
|
|
2590
|
+
}, {
|
|
2592
2591
|
height: number;
|
|
2593
|
-
device: string |
|
|
2592
|
+
device: string | ({
|
|
2594
2593
|
name: string;
|
|
2595
2594
|
foreignRef: string;
|
|
2596
2595
|
presets: {
|
|
2597
|
-
name: string;
|
|
2598
2596
|
id: string;
|
|
2597
|
+
name: string;
|
|
2599
2598
|
createdOn: string;
|
|
2600
2599
|
lastModifiedOn: string;
|
|
2601
2600
|
isDefault: boolean;
|
|
@@ -2610,39 +2609,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2610
2609
|
type: "alarm";
|
|
2611
2610
|
} | {
|
|
2612
2611
|
type: "camera";
|
|
2612
|
+
ptzCapable: boolean;
|
|
2613
|
+
ptzPanSpeed: number;
|
|
2614
|
+
ptzTiltSpeed: number;
|
|
2615
|
+
ptzZoomSpeed: number;
|
|
2616
|
+
panMin: number;
|
|
2617
|
+
panMax: number;
|
|
2618
|
+
tiltMin: number;
|
|
2619
|
+
tiltMax: number;
|
|
2620
|
+
zoomMin: number;
|
|
2621
|
+
zoomMax: number;
|
|
2613
2622
|
streams: {
|
|
2614
2623
|
id: string;
|
|
2615
|
-
height: number | null;
|
|
2616
|
-
width: number | null;
|
|
2617
2624
|
displayName: string;
|
|
2618
2625
|
externalPlayerUrl: string | null;
|
|
2619
2626
|
rtspUrl: string | null;
|
|
2620
2627
|
recordingCapable: boolean;
|
|
2628
|
+
width: number | null;
|
|
2629
|
+
height: number | null;
|
|
2621
2630
|
lensType: "flat" | "fisheye";
|
|
2622
2631
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2623
2632
|
webrtcPlaybackSource: ({
|
|
2624
2633
|
kind: string;
|
|
2625
2634
|
} & Record<string, unknown>) | null;
|
|
2626
2635
|
}[];
|
|
2627
|
-
ptzCapable: boolean;
|
|
2628
|
-
ptzPanSpeed: number;
|
|
2629
|
-
ptzTiltSpeed: number;
|
|
2630
|
-
ptzZoomSpeed: number;
|
|
2631
|
-
panMin: number;
|
|
2632
|
-
panMax: number;
|
|
2633
|
-
tiltMin: number;
|
|
2634
|
-
tiltMax: number;
|
|
2635
|
-
zoomMin: number;
|
|
2636
|
-
zoomMax: number;
|
|
2637
2636
|
defaultStreamId: string;
|
|
2638
|
-
streamNaming: "
|
|
2637
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2639
2638
|
} | {
|
|
2640
2639
|
type: "door";
|
|
2641
2640
|
canReportOpenState: boolean;
|
|
2642
2641
|
canReportLockState: boolean;
|
|
2643
2642
|
canControlLock: boolean;
|
|
2644
2643
|
canRelease: boolean;
|
|
2645
|
-
style?: "
|
|
2644
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2646
2645
|
} | {
|
|
2647
2646
|
type: "io-board";
|
|
2648
2647
|
inputs: string[];
|
|
@@ -2683,7 +2682,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2683
2682
|
type: "nvr-analytics-server";
|
|
2684
2683
|
} | {
|
|
2685
2684
|
type: "system";
|
|
2686
|
-
}));
|
|
2685
|
+
})) | [string, string];
|
|
2686
|
+
time: number;
|
|
2687
2687
|
}>;
|
|
2688
2688
|
readonly "cctv:latest-frame": z.ZodObject<{
|
|
2689
2689
|
device: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2701,16 +2701,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2701
2701
|
createdOn: z.ZodString;
|
|
2702
2702
|
lastModifiedOn: z.ZodString;
|
|
2703
2703
|
}, "strip", z.ZodTypeAny, {
|
|
2704
|
-
name: string;
|
|
2705
2704
|
id: string;
|
|
2705
|
+
name: string;
|
|
2706
2706
|
createdOn: string;
|
|
2707
2707
|
lastModifiedOn: string;
|
|
2708
2708
|
isDefault: boolean;
|
|
2709
2709
|
assignedRef: string | null;
|
|
2710
2710
|
params?: unknown;
|
|
2711
2711
|
}, {
|
|
2712
|
-
name: string;
|
|
2713
2712
|
id: string;
|
|
2713
|
+
name: string;
|
|
2714
2714
|
createdOn: string;
|
|
2715
2715
|
lastModifiedOn: string;
|
|
2716
2716
|
isDefault: boolean;
|
|
@@ -2721,8 +2721,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2721
2721
|
name: string;
|
|
2722
2722
|
foreignRef: string;
|
|
2723
2723
|
presets: {
|
|
2724
|
-
name: string;
|
|
2725
2724
|
id: string;
|
|
2725
|
+
name: string;
|
|
2726
2726
|
createdOn: string;
|
|
2727
2727
|
lastModifiedOn: string;
|
|
2728
2728
|
isDefault: boolean;
|
|
@@ -2737,8 +2737,8 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2737
2737
|
name: string;
|
|
2738
2738
|
foreignRef: string;
|
|
2739
2739
|
presets: {
|
|
2740
|
-
name: string;
|
|
2741
2740
|
id: string;
|
|
2741
|
+
name: string;
|
|
2742
2742
|
createdOn: string;
|
|
2743
2743
|
lastModifiedOn: string;
|
|
2744
2744
|
isDefault: boolean;
|
|
@@ -2785,12 +2785,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2785
2785
|
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2786
2786
|
}, "strip", z.ZodTypeAny, {
|
|
2787
2787
|
id: string;
|
|
2788
|
-
height: number | null;
|
|
2789
|
-
width: number | null;
|
|
2790
2788
|
displayName: string;
|
|
2791
2789
|
externalPlayerUrl: string | null;
|
|
2792
2790
|
rtspUrl: string | null;
|
|
2793
2791
|
recordingCapable: boolean;
|
|
2792
|
+
width: number | null;
|
|
2793
|
+
height: number | null;
|
|
2794
2794
|
lensType: "flat" | "fisheye";
|
|
2795
2795
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2796
2796
|
webrtcPlaybackSource: ({
|
|
@@ -2798,12 +2798,12 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2798
2798
|
} & Record<string, unknown>) | null;
|
|
2799
2799
|
}, {
|
|
2800
2800
|
id: string;
|
|
2801
|
-
height: number | null;
|
|
2802
|
-
width: number | null;
|
|
2803
2801
|
displayName: string;
|
|
2804
2802
|
externalPlayerUrl: string | null;
|
|
2805
2803
|
rtspUrl: string | null;
|
|
2806
2804
|
recordingCapable: boolean;
|
|
2805
|
+
width: number | null;
|
|
2806
|
+
height: number | null;
|
|
2807
2807
|
lensType: "flat" | "fisheye";
|
|
2808
2808
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2809
2809
|
webrtcPlaybackSource: ({
|
|
@@ -2816,20 +2816,34 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2816
2816
|
type: z.ZodLiteral<"camera">;
|
|
2817
2817
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2818
|
type: "camera";
|
|
2819
|
+
ptzCapable: boolean;
|
|
2820
|
+
ptzPanSpeed: number;
|
|
2821
|
+
ptzTiltSpeed: number;
|
|
2822
|
+
ptzZoomSpeed: number;
|
|
2823
|
+
panMin: number;
|
|
2824
|
+
panMax: number;
|
|
2825
|
+
tiltMin: number;
|
|
2826
|
+
tiltMax: number;
|
|
2827
|
+
zoomMin: number;
|
|
2828
|
+
zoomMax: number;
|
|
2819
2829
|
streams: {
|
|
2820
2830
|
id: string;
|
|
2821
|
-
height: number | null;
|
|
2822
|
-
width: number | null;
|
|
2823
2831
|
displayName: string;
|
|
2824
2832
|
externalPlayerUrl: string | null;
|
|
2825
2833
|
rtspUrl: string | null;
|
|
2826
2834
|
recordingCapable: boolean;
|
|
2835
|
+
width: number | null;
|
|
2836
|
+
height: number | null;
|
|
2827
2837
|
lensType: "flat" | "fisheye";
|
|
2828
2838
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2829
2839
|
webrtcPlaybackSource: ({
|
|
2830
2840
|
kind: string;
|
|
2831
2841
|
} & Record<string, unknown>) | null;
|
|
2832
2842
|
}[];
|
|
2843
|
+
defaultStreamId: string;
|
|
2844
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2845
|
+
}, {
|
|
2846
|
+
type: "camera";
|
|
2833
2847
|
ptzCapable: boolean;
|
|
2834
2848
|
ptzPanSpeed: number;
|
|
2835
2849
|
ptzTiltSpeed: number;
|
|
@@ -2840,36 +2854,22 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2840
2854
|
tiltMax: number;
|
|
2841
2855
|
zoomMin: number;
|
|
2842
2856
|
zoomMax: number;
|
|
2843
|
-
defaultStreamId: string;
|
|
2844
|
-
streamNaming: "stream" | "cameraStreamNo" | "cameraStream";
|
|
2845
|
-
}, {
|
|
2846
|
-
type: "camera";
|
|
2847
2857
|
streams: {
|
|
2848
2858
|
id: string;
|
|
2849
|
-
height: number | null;
|
|
2850
|
-
width: number | null;
|
|
2851
2859
|
displayName: string;
|
|
2852
2860
|
externalPlayerUrl: string | null;
|
|
2853
2861
|
rtspUrl: string | null;
|
|
2854
2862
|
recordingCapable: boolean;
|
|
2863
|
+
width: number | null;
|
|
2864
|
+
height: number | null;
|
|
2855
2865
|
lensType: "flat" | "fisheye";
|
|
2856
2866
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
2857
2867
|
webrtcPlaybackSource: ({
|
|
2858
2868
|
kind: string;
|
|
2859
2869
|
} & Record<string, unknown>) | null;
|
|
2860
2870
|
}[];
|
|
2861
|
-
ptzCapable: boolean;
|
|
2862
|
-
ptzPanSpeed: number;
|
|
2863
|
-
ptzTiltSpeed: number;
|
|
2864
|
-
ptzZoomSpeed: number;
|
|
2865
|
-
panMin: number;
|
|
2866
|
-
panMax: number;
|
|
2867
|
-
tiltMin: number;
|
|
2868
|
-
tiltMax: number;
|
|
2869
|
-
zoomMin: number;
|
|
2870
|
-
zoomMax: number;
|
|
2871
2871
|
defaultStreamId: string;
|
|
2872
|
-
streamNaming: "
|
|
2872
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
2873
2873
|
}>, z.ZodObject<{
|
|
2874
2874
|
canReportOpenState: z.ZodBoolean;
|
|
2875
2875
|
canReportLockState: z.ZodBoolean;
|
|
@@ -2884,14 +2884,14 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
2884
2884
|
canReportLockState: boolean;
|
|
2885
2885
|
canControlLock: boolean;
|
|
2886
2886
|
canRelease: boolean;
|
|
2887
|
-
style?: "
|
|
2887
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2888
2888
|
}, {
|
|
2889
2889
|
type: "door";
|
|
2890
2890
|
canReportOpenState: boolean;
|
|
2891
2891
|
canReportLockState: boolean;
|
|
2892
2892
|
canControlLock: boolean;
|
|
2893
2893
|
canRelease: boolean;
|
|
2894
|
-
style?: "
|
|
2894
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
2895
2895
|
}>, z.ZodObject<{
|
|
2896
2896
|
inputs: z.ZodArray<z.ZodString, "many">;
|
|
2897
2897
|
outputs: z.ZodArray<z.ZodString, "many">;
|
|
@@ -3019,14 +3019,14 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3019
3019
|
width: z.ZodNumber;
|
|
3020
3020
|
height: z.ZodNumber;
|
|
3021
3021
|
}, "strip", z.ZodTypeAny, {
|
|
3022
|
-
height: number;
|
|
3023
3022
|
width: number;
|
|
3024
|
-
|
|
3023
|
+
height: number;
|
|
3024
|
+
device: string | ({
|
|
3025
3025
|
name: string;
|
|
3026
3026
|
foreignRef: string;
|
|
3027
3027
|
presets: {
|
|
3028
|
-
name: string;
|
|
3029
3028
|
id: string;
|
|
3029
|
+
name: string;
|
|
3030
3030
|
createdOn: string;
|
|
3031
3031
|
lastModifiedOn: string;
|
|
3032
3032
|
isDefault: boolean;
|
|
@@ -3041,39 +3041,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3041
3041
|
type: "alarm";
|
|
3042
3042
|
} | {
|
|
3043
3043
|
type: "camera";
|
|
3044
|
+
ptzCapable: boolean;
|
|
3045
|
+
ptzPanSpeed: number;
|
|
3046
|
+
ptzTiltSpeed: number;
|
|
3047
|
+
ptzZoomSpeed: number;
|
|
3048
|
+
panMin: number;
|
|
3049
|
+
panMax: number;
|
|
3050
|
+
tiltMin: number;
|
|
3051
|
+
tiltMax: number;
|
|
3052
|
+
zoomMin: number;
|
|
3053
|
+
zoomMax: number;
|
|
3044
3054
|
streams: {
|
|
3045
3055
|
id: string;
|
|
3046
|
-
height: number | null;
|
|
3047
|
-
width: number | null;
|
|
3048
3056
|
displayName: string;
|
|
3049
3057
|
externalPlayerUrl: string | null;
|
|
3050
3058
|
rtspUrl: string | null;
|
|
3051
3059
|
recordingCapable: boolean;
|
|
3060
|
+
width: number | null;
|
|
3061
|
+
height: number | null;
|
|
3052
3062
|
lensType: "flat" | "fisheye";
|
|
3053
3063
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
3054
3064
|
webrtcPlaybackSource: ({
|
|
3055
3065
|
kind: string;
|
|
3056
3066
|
} & Record<string, unknown>) | null;
|
|
3057
3067
|
}[];
|
|
3058
|
-
ptzCapable: boolean;
|
|
3059
|
-
ptzPanSpeed: number;
|
|
3060
|
-
ptzTiltSpeed: number;
|
|
3061
|
-
ptzZoomSpeed: number;
|
|
3062
|
-
panMin: number;
|
|
3063
|
-
panMax: number;
|
|
3064
|
-
tiltMin: number;
|
|
3065
|
-
tiltMax: number;
|
|
3066
|
-
zoomMin: number;
|
|
3067
|
-
zoomMax: number;
|
|
3068
3068
|
defaultStreamId: string;
|
|
3069
|
-
streamNaming: "
|
|
3069
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
3070
3070
|
} | {
|
|
3071
3071
|
type: "door";
|
|
3072
3072
|
canReportOpenState: boolean;
|
|
3073
3073
|
canReportLockState: boolean;
|
|
3074
3074
|
canControlLock: boolean;
|
|
3075
3075
|
canRelease: boolean;
|
|
3076
|
-
style?: "
|
|
3076
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
3077
3077
|
} | {
|
|
3078
3078
|
type: "io-board";
|
|
3079
3079
|
inputs: string[];
|
|
@@ -3114,16 +3114,16 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3114
3114
|
type: "nvr-analytics-server";
|
|
3115
3115
|
} | {
|
|
3116
3116
|
type: "system";
|
|
3117
|
-
}));
|
|
3117
|
+
})) | [string, string];
|
|
3118
3118
|
}, {
|
|
3119
|
-
height: number;
|
|
3120
3119
|
width: number;
|
|
3121
|
-
|
|
3120
|
+
height: number;
|
|
3121
|
+
device: string | ({
|
|
3122
3122
|
name: string;
|
|
3123
3123
|
foreignRef: string;
|
|
3124
3124
|
presets: {
|
|
3125
|
-
name: string;
|
|
3126
3125
|
id: string;
|
|
3126
|
+
name: string;
|
|
3127
3127
|
createdOn: string;
|
|
3128
3128
|
lastModifiedOn: string;
|
|
3129
3129
|
isDefault: boolean;
|
|
@@ -3138,39 +3138,39 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3138
3138
|
type: "alarm";
|
|
3139
3139
|
} | {
|
|
3140
3140
|
type: "camera";
|
|
3141
|
+
ptzCapable: boolean;
|
|
3142
|
+
ptzPanSpeed: number;
|
|
3143
|
+
ptzTiltSpeed: number;
|
|
3144
|
+
ptzZoomSpeed: number;
|
|
3145
|
+
panMin: number;
|
|
3146
|
+
panMax: number;
|
|
3147
|
+
tiltMin: number;
|
|
3148
|
+
tiltMax: number;
|
|
3149
|
+
zoomMin: number;
|
|
3150
|
+
zoomMax: number;
|
|
3141
3151
|
streams: {
|
|
3142
3152
|
id: string;
|
|
3143
|
-
height: number | null;
|
|
3144
|
-
width: number | null;
|
|
3145
3153
|
displayName: string;
|
|
3146
3154
|
externalPlayerUrl: string | null;
|
|
3147
3155
|
rtspUrl: string | null;
|
|
3148
3156
|
recordingCapable: boolean;
|
|
3157
|
+
width: number | null;
|
|
3158
|
+
height: number | null;
|
|
3149
3159
|
lensType: "flat" | "fisheye";
|
|
3150
3160
|
mountPoint: "wall" | "ceiling" | "floor";
|
|
3151
3161
|
webrtcPlaybackSource: ({
|
|
3152
3162
|
kind: string;
|
|
3153
3163
|
} & Record<string, unknown>) | null;
|
|
3154
3164
|
}[];
|
|
3155
|
-
ptzCapable: boolean;
|
|
3156
|
-
ptzPanSpeed: number;
|
|
3157
|
-
ptzTiltSpeed: number;
|
|
3158
|
-
ptzZoomSpeed: number;
|
|
3159
|
-
panMin: number;
|
|
3160
|
-
panMax: number;
|
|
3161
|
-
tiltMin: number;
|
|
3162
|
-
tiltMax: number;
|
|
3163
|
-
zoomMin: number;
|
|
3164
|
-
zoomMax: number;
|
|
3165
3165
|
defaultStreamId: string;
|
|
3166
|
-
streamNaming: "
|
|
3166
|
+
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
3167
3167
|
} | {
|
|
3168
3168
|
type: "door";
|
|
3169
3169
|
canReportOpenState: boolean;
|
|
3170
3170
|
canReportLockState: boolean;
|
|
3171
3171
|
canControlLock: boolean;
|
|
3172
3172
|
canRelease: boolean;
|
|
3173
|
-
style?: "
|
|
3173
|
+
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
3174
3174
|
} | {
|
|
3175
3175
|
type: "io-board";
|
|
3176
3176
|
inputs: string[];
|
|
@@ -3211,7 +3211,7 @@ export declare const nvrRecorderRequestSchemas: {
|
|
|
3211
3211
|
type: "nvr-analytics-server";
|
|
3212
3212
|
} | {
|
|
3213
3213
|
type: "system";
|
|
3214
|
-
}));
|
|
3214
|
+
})) | [string, string];
|
|
3215
3215
|
}>;
|
|
3216
3216
|
};
|
|
3217
3217
|
export declare const nvrRecorderResponseSchemas: {
|
|
@@ -3221,13 +3221,13 @@ export declare const nvrRecorderResponseSchemas: {
|
|
|
3221
3221
|
motion: z.ZodOptional<z.ZodNumber>;
|
|
3222
3222
|
objects: z.ZodOptional<z.ZodNumber>;
|
|
3223
3223
|
}, "strip", z.ZodTypeAny, {
|
|
3224
|
-
end: number;
|
|
3225
3224
|
start: number;
|
|
3225
|
+
end: number;
|
|
3226
3226
|
motion?: number | undefined;
|
|
3227
3227
|
objects?: number | undefined;
|
|
3228
3228
|
}, {
|
|
3229
|
-
end: number;
|
|
3230
3229
|
start: number;
|
|
3230
|
+
end: number;
|
|
3231
3231
|
motion?: number | undefined;
|
|
3232
3232
|
objects?: number | undefined;
|
|
3233
3233
|
}>, "many">;
|
|
@@ -3235,21 +3235,21 @@ export declare const nvrRecorderResponseSchemas: {
|
|
|
3235
3235
|
mimeType: z.ZodString;
|
|
3236
3236
|
data: z.ZodString;
|
|
3237
3237
|
}, "strip", z.ZodTypeAny, {
|
|
3238
|
-
data: string;
|
|
3239
3238
|
mimeType: string;
|
|
3240
|
-
}, {
|
|
3241
3239
|
data: string;
|
|
3240
|
+
}, {
|
|
3242
3241
|
mimeType: string;
|
|
3242
|
+
data: string;
|
|
3243
3243
|
}>>;
|
|
3244
3244
|
readonly "cctv:latest-frame": z.ZodNullable<z.ZodObject<{
|
|
3245
3245
|
mimeType: z.ZodString;
|
|
3246
3246
|
data: z.ZodString;
|
|
3247
3247
|
}, "strip", z.ZodTypeAny, {
|
|
3248
|
-
data: string;
|
|
3249
3248
|
mimeType: string;
|
|
3250
|
-
}, {
|
|
3251
3249
|
data: string;
|
|
3250
|
+
}, {
|
|
3252
3251
|
mimeType: string;
|
|
3252
|
+
data: string;
|
|
3253
3253
|
}>>;
|
|
3254
3254
|
};
|
|
3255
3255
|
export type NvrRecorderQueryRequestMap = {
|