@awarevue/api-types 2.0.82 → 2.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alarm-automation.d.ts +21 -37
- package/dist/api/agent-protocol/protocol.d.ts +1000 -10986
- package/dist/api/agent-protocol/protocol.js +114 -57
- package/dist/api/commands/alarm.d.ts +40 -248
- package/dist/api/commands/all.d.ts +393 -4642
- package/dist/api/commands/camera-lift.d.ts +8 -32
- package/dist/api/commands/camera.d.ts +82 -373
- package/dist/api/commands/display.d.ts +21 -373
- package/dist/api/commands/door.d.ts +16 -64
- package/dist/api/commands/io-board.d.ts +4 -40
- package/dist/api/commands/nvr-exporter.d.ts +104 -1380
- package/dist/api/commands/nvr-recorder.d.ts +400 -5288
- package/dist/api/commands/pbx.d.ts +4 -56
- package/dist/api/commands/presence-tracker.d.ts +12 -128
- package/dist/api/commands/server.d.ts +114 -1382
- package/dist/api/commands/server.js +1 -1
- package/dist/api/error.d.ts +77 -443
- package/dist/api/error.js +1 -1
- package/dist/api/events/alarm.d.ts +20 -148
- package/dist/api/events/all.d.ts +74 -526
- package/dist/api/events/all.js +1 -1
- package/dist/api/events/camera.d.ts +46 -470
- package/dist/api/events/display.d.ts +1 -5
- package/dist/api/events/door.d.ts +34 -146
- package/dist/api/events/intercom-terminal.d.ts +22 -42
- package/dist/api/events/io-board.d.ts +2 -18
- package/dist/api/events/nvr-exporter.d.ts +4 -32
- package/dist/api/events/panic-button.d.ts +2 -10
- package/dist/api/events/presence-tracker.d.ts +4 -88
- package/dist/api/events/reader.d.ts +2 -22
- package/dist/api/events/server.d.ts +6 -34
- package/dist/api/mqtt/payloads.d.ts +4 -26
- package/dist/api/queries/all.d.ts +188 -1622
- package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
- package/dist/api/queries/nvr-exporter.d.ts +9 -73
- package/dist/api/queries/nvr-recorder.d.ts +300 -2828
- package/dist/api/rest/access-rule.d.ts +10 -86
- package/dist/api/rest/agreement.d.ts +3 -18
- package/dist/api/rest/api-keys.d.ts +3 -17
- package/dist/api/rest/app.d.ts +3 -51
- package/dist/api/rest/auth.d.ts +3 -19
- package/dist/api/rest/automation.d.ts +11 -236
- package/dist/api/rest/bookmarks.d.ts +8 -56
- package/dist/api/rest/camera.d.ts +12 -70
- package/dist/api/rest/cast.d.ts +1 -7
- package/dist/api/rest/custom-field.d.ts +21 -24
- package/dist/api/rest/device-group.d.ts +8 -32
- package/dist/api/rest/device.d.ts +104 -176
- package/dist/api/rest/io-device.d.ts +7 -75
- package/dist/api/rest/io-device.js +2 -2
- package/dist/api/rest/layout.d.ts +4 -102
- package/dist/api/rest/macros.d.ts +6 -82
- package/dist/api/rest/media.d.ts +17 -141
- package/dist/api/rest/notifications.d.ts +7 -15
- package/dist/api/rest/person-agreement.d.ts +1 -9
- package/dist/api/rest/person-presence.d.ts +8 -50
- package/dist/api/rest/person-type.d.ts +6 -39
- package/dist/api/rest/person.d.ts +18 -96
- package/dist/api/rest/query.d.ts +5 -15
- package/dist/api/rest/schedule.d.ts +78 -216
- package/dist/api/rest/security-level.d.ts +6 -43
- package/dist/api/rest/template.d.ts +10 -20
- package/dist/api/rest/token-conversion.d.ts +11 -28
- package/dist/api/rest/user.d.ts +15 -97
- package/dist/api/rest/view.d.ts +24 -496
- package/dist/api/rest/webrtc-playback.d.ts +3 -25
- package/dist/api/rest/zone.d.ts +5 -21
- package/dist/api/ws/device-communication.d.ts +10 -62
- package/dist/api/ws/notifications.d.ts +7 -33
- package/dist/api/ws/progress.d.ts +10 -72
- package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
- package/dist/objects/access-rule.d.ts +12 -132
- package/dist/objects/access-rule.js +1 -1
- package/dist/objects/agent-metadata.d.ts +36 -146
- package/dist/objects/agent-metadata.js +1 -2
- package/dist/objects/agreement.d.ts +1 -13
- package/dist/objects/all.d.ts +20 -1
- package/dist/objects/api-key.d.ts +1 -13
- package/dist/objects/automation-rule.d.ts +9 -168
- package/dist/objects/automation-rule.js +2 -2
- package/dist/objects/bookmark.d.ts +3 -33
- package/dist/objects/bookmark.js +1 -1
- package/dist/objects/credential.d.ts +13 -13
- package/dist/objects/credential.js +1 -1
- package/dist/objects/custom-field.d.ts +19 -15
- package/dist/objects/device/alarm.d.ts +1 -1
- package/dist/objects/device/any-device.d.ts +1333 -4451
- package/dist/objects/device/camera-lift.d.ts +1 -1
- package/dist/objects/device/camera.d.ts +29 -125
- package/dist/objects/device/camera.js +1 -1
- package/dist/objects/device/device-import.d.ts +307 -1735
- package/dist/objects/device/device-relation.d.ts +70 -58
- package/dist/objects/device/display.d.ts +1 -1
- package/dist/objects/device/door.d.ts +9 -14
- package/dist/objects/device/intercom-terminal.d.ts +10 -59
- package/dist/objects/device/io-board.d.ts +3 -9
- package/dist/objects/device/motion-sensor.d.ts +1 -1
- package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
- package/dist/objects/device/nvr-exporter.d.ts +3 -9
- package/dist/objects/device/nvr-recorder.d.ts +16 -68
- package/dist/objects/device/panic-button.d.ts +1 -1
- package/dist/objects/device/pbx.d.ts +1 -5
- package/dist/objects/device/system.d.ts +1 -1
- package/dist/objects/device/system.js +1 -1
- package/dist/objects/device-group.d.ts +2 -16
- package/dist/objects/layout.d.ts +3 -75
- package/dist/objects/macro.d.ts +3 -59
- package/dist/objects/macro.js +2 -2
- package/dist/objects/notification.d.ts +6 -24
- package/dist/objects/notification.js +1 -1
- package/dist/objects/person-agreement.d.ts +1 -13
- package/dist/objects/person-presence.d.ts +11 -165
- package/dist/objects/person-type.d.ts +2 -22
- package/dist/objects/person.d.ts +21 -153
- package/dist/objects/person.js +3 -3
- package/dist/objects/role.d.ts +3 -15
- package/dist/objects/schedule.d.ts +152 -314
- package/dist/objects/schedule.js +1 -1
- package/dist/objects/security-level.d.ts +1 -21
- package/dist/objects/template.d.ts +9 -13
- package/dist/objects/token-conversion.d.ts +8 -18
- package/dist/objects/user.d.ts +2 -20
- package/dist/objects/view.d.ts +52 -682
- package/dist/objects/world-object.d.ts +1 -7
- package/dist/objects/zone.d.ts +5 -29
- package/dist/objects/zone.js +1 -1
- package/dist/package.json +3 -3
- package/dist/permissions.d.ts +1 -1
- package/dist/primitives.d.ts +113 -551
- package/dist/primitives.js +1 -1
- package/package.json +3 -3
package/dist/primitives.d.ts
CHANGED
|
@@ -24,19 +24,12 @@ export declare const sUrl: z.ZodString;
|
|
|
24
24
|
export declare const sFileResponse: z.ZodNullable<z.ZodObject<{
|
|
25
25
|
mimeType: z.ZodString;
|
|
26
26
|
data: z.ZodString;
|
|
27
|
-
},
|
|
28
|
-
mimeType: string;
|
|
29
|
-
data: string;
|
|
30
|
-
}, {
|
|
31
|
-
mimeType: string;
|
|
32
|
-
data: string;
|
|
33
|
-
}>>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
34
28
|
export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
35
29
|
name: z.ZodString;
|
|
36
30
|
foreignRef: z.ZodString;
|
|
37
31
|
provider: z.ZodString;
|
|
38
|
-
providerMetadata: z.ZodObject<{},
|
|
39
|
-
} & {
|
|
32
|
+
providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
|
|
40
33
|
presets: z.ZodArray<z.ZodObject<{
|
|
41
34
|
id: z.ZodString;
|
|
42
35
|
name: z.ZodString;
|
|
@@ -45,62 +38,10 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
45
38
|
assignedRef: z.ZodNullable<z.ZodString>;
|
|
46
39
|
createdOn: z.ZodString;
|
|
47
40
|
lastModifiedOn: z.ZodString;
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
name: string;
|
|
51
|
-
createdOn: string;
|
|
52
|
-
lastModifiedOn: string;
|
|
53
|
-
isDefault: boolean;
|
|
54
|
-
assignedRef: string | null;
|
|
55
|
-
params?: unknown;
|
|
56
|
-
}, {
|
|
57
|
-
id: string;
|
|
58
|
-
name: string;
|
|
59
|
-
createdOn: string;
|
|
60
|
-
lastModifiedOn: string;
|
|
61
|
-
isDefault: boolean;
|
|
62
|
-
assignedRef: string | null;
|
|
63
|
-
params?: unknown;
|
|
64
|
-
}>, "many">;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
name: string;
|
|
67
|
-
foreignRef: string;
|
|
68
|
-
presets: {
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
createdOn: string;
|
|
72
|
-
lastModifiedOn: string;
|
|
73
|
-
isDefault: boolean;
|
|
74
|
-
assignedRef: string | null;
|
|
75
|
-
params?: unknown;
|
|
76
|
-
}[];
|
|
77
|
-
provider: string;
|
|
78
|
-
providerMetadata: {} & {
|
|
79
|
-
[k: string]: unknown;
|
|
80
|
-
};
|
|
81
|
-
}, {
|
|
82
|
-
name: string;
|
|
83
|
-
foreignRef: string;
|
|
84
|
-
presets: {
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
|
-
createdOn: string;
|
|
88
|
-
lastModifiedOn: string;
|
|
89
|
-
isDefault: boolean;
|
|
90
|
-
assignedRef: string | null;
|
|
91
|
-
params?: unknown;
|
|
92
|
-
}[];
|
|
93
|
-
provider: string;
|
|
94
|
-
providerMetadata: {} & {
|
|
95
|
-
[k: string]: unknown;
|
|
96
|
-
};
|
|
97
|
-
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
98
43
|
type: z.ZodLiteral<"alarm">;
|
|
99
|
-
},
|
|
100
|
-
type: "alarm";
|
|
101
|
-
}, {
|
|
102
|
-
type: "alarm";
|
|
103
|
-
}>, z.ZodObject<{
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
45
|
ptzCapable: z.ZodBoolean;
|
|
105
46
|
ptzPanSpeed: z.ZodNumber;
|
|
106
47
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -118,255 +59,89 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
118
59
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
119
60
|
width: z.ZodNullable<z.ZodNumber>;
|
|
120
61
|
height: z.ZodNullable<z.ZodNumber>;
|
|
121
|
-
lensType: z.ZodEnum<
|
|
122
|
-
|
|
62
|
+
lensType: z.ZodEnum<{
|
|
63
|
+
flat: "flat";
|
|
64
|
+
fisheye: "fisheye";
|
|
65
|
+
}>;
|
|
66
|
+
mountPoint: z.ZodEnum<{
|
|
67
|
+
wall: "wall";
|
|
68
|
+
ceiling: "ceiling";
|
|
69
|
+
floor: "floor";
|
|
70
|
+
}>;
|
|
123
71
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
124
72
|
kind: z.ZodString;
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
}, {
|
|
128
|
-
kind: string;
|
|
129
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
130
|
-
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
id: string;
|
|
132
|
-
displayName: string;
|
|
133
|
-
externalPlayerUrl: string | null;
|
|
134
|
-
rtspUrl: string | null;
|
|
135
|
-
width: number | null;
|
|
136
|
-
height: number | null;
|
|
137
|
-
lensType: "flat" | "fisheye";
|
|
138
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
139
|
-
webrtcPlaybackSource: ({
|
|
140
|
-
kind: string;
|
|
141
|
-
} & Record<string, unknown>) | null;
|
|
142
|
-
}, {
|
|
143
|
-
id: string;
|
|
144
|
-
displayName: string;
|
|
145
|
-
externalPlayerUrl: string | null;
|
|
146
|
-
rtspUrl: string | null;
|
|
147
|
-
width: number | null;
|
|
148
|
-
height: number | null;
|
|
149
|
-
lensType: "flat" | "fisheye";
|
|
150
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
151
|
-
webrtcPlaybackSource: ({
|
|
152
|
-
kind: string;
|
|
153
|
-
} & Record<string, unknown>) | null;
|
|
154
|
-
}>, "many">;
|
|
73
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
155
75
|
defaultStreamId: z.ZodString;
|
|
156
76
|
autoSwitchStreams: z.ZodBoolean;
|
|
157
|
-
streamNaming: z.ZodEnum<
|
|
158
|
-
|
|
77
|
+
streamNaming: z.ZodEnum<{
|
|
78
|
+
cameraStreamNo: "cameraStreamNo";
|
|
79
|
+
cameraStream: "cameraStream";
|
|
80
|
+
stream: "stream";
|
|
81
|
+
}>;
|
|
159
82
|
type: z.ZodLiteral<"camera">;
|
|
160
|
-
},
|
|
161
|
-
type: "camera";
|
|
162
|
-
ptzCapable: boolean;
|
|
163
|
-
ptzPanSpeed: number;
|
|
164
|
-
ptzTiltSpeed: number;
|
|
165
|
-
ptzZoomSpeed: number;
|
|
166
|
-
panMin: number;
|
|
167
|
-
panMax: number;
|
|
168
|
-
tiltMin: number;
|
|
169
|
-
tiltMax: number;
|
|
170
|
-
zoomMin: number;
|
|
171
|
-
zoomMax: number;
|
|
172
|
-
streams: {
|
|
173
|
-
id: string;
|
|
174
|
-
displayName: string;
|
|
175
|
-
externalPlayerUrl: string | null;
|
|
176
|
-
rtspUrl: string | null;
|
|
177
|
-
width: number | null;
|
|
178
|
-
height: number | null;
|
|
179
|
-
lensType: "flat" | "fisheye";
|
|
180
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
181
|
-
webrtcPlaybackSource: ({
|
|
182
|
-
kind: string;
|
|
183
|
-
} & Record<string, unknown>) | null;
|
|
184
|
-
}[];
|
|
185
|
-
defaultStreamId: string;
|
|
186
|
-
autoSwitchStreams: boolean;
|
|
187
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
188
|
-
}, {
|
|
189
|
-
type: "camera";
|
|
190
|
-
ptzCapable: boolean;
|
|
191
|
-
ptzPanSpeed: number;
|
|
192
|
-
ptzTiltSpeed: number;
|
|
193
|
-
ptzZoomSpeed: number;
|
|
194
|
-
panMin: number;
|
|
195
|
-
panMax: number;
|
|
196
|
-
tiltMin: number;
|
|
197
|
-
tiltMax: number;
|
|
198
|
-
zoomMin: number;
|
|
199
|
-
zoomMax: number;
|
|
200
|
-
streams: {
|
|
201
|
-
id: string;
|
|
202
|
-
displayName: string;
|
|
203
|
-
externalPlayerUrl: string | null;
|
|
204
|
-
rtspUrl: string | null;
|
|
205
|
-
width: number | null;
|
|
206
|
-
height: number | null;
|
|
207
|
-
lensType: "flat" | "fisheye";
|
|
208
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
209
|
-
webrtcPlaybackSource: ({
|
|
210
|
-
kind: string;
|
|
211
|
-
} & Record<string, unknown>) | null;
|
|
212
|
-
}[];
|
|
213
|
-
defaultStreamId: string;
|
|
214
|
-
autoSwitchStreams: boolean;
|
|
215
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
216
|
-
}>, z.ZodObject<{
|
|
83
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
84
|
canReportOpenState: z.ZodBoolean;
|
|
218
85
|
canReportLockState: z.ZodBoolean;
|
|
219
86
|
canControlLock: z.ZodBoolean;
|
|
220
87
|
canRelease: z.ZodBoolean;
|
|
221
|
-
style: z.ZodOptional<z.ZodEnum<
|
|
222
|
-
|
|
88
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
89
|
+
single: "single";
|
|
90
|
+
double: "double";
|
|
91
|
+
sliding: "sliding";
|
|
92
|
+
hatch: "hatch";
|
|
93
|
+
roller: "roller";
|
|
94
|
+
window: "window";
|
|
95
|
+
}>>;
|
|
223
96
|
type: z.ZodLiteral<"door">;
|
|
224
|
-
},
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
canReportLockState: boolean;
|
|
228
|
-
canControlLock: boolean;
|
|
229
|
-
canRelease: boolean;
|
|
230
|
-
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
231
|
-
}, {
|
|
232
|
-
type: "door";
|
|
233
|
-
canReportOpenState: boolean;
|
|
234
|
-
canReportLockState: boolean;
|
|
235
|
-
canControlLock: boolean;
|
|
236
|
-
canRelease: boolean;
|
|
237
|
-
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
238
|
-
}>, z.ZodObject<{
|
|
239
|
-
inputs: z.ZodArray<z.ZodString, "many">;
|
|
240
|
-
outputs: z.ZodArray<z.ZodString, "many">;
|
|
241
|
-
} & {
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
inputs: z.ZodArray<z.ZodString>;
|
|
99
|
+
outputs: z.ZodArray<z.ZodString>;
|
|
242
100
|
type: z.ZodLiteral<"io-board">;
|
|
243
|
-
},
|
|
244
|
-
type: "io-board";
|
|
245
|
-
inputs: string[];
|
|
246
|
-
outputs: string[];
|
|
247
|
-
}, {
|
|
248
|
-
type: "io-board";
|
|
249
|
-
inputs: string[];
|
|
250
|
-
outputs: string[];
|
|
251
|
-
}>, z.ZodObject<{
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
102
|
type: z.ZodLiteral<"camera-lift">;
|
|
253
|
-
},
|
|
254
|
-
type: "camera-lift";
|
|
255
|
-
}, {
|
|
256
|
-
type: "camera-lift";
|
|
257
|
-
}>, z.ZodObject<{
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
104
|
type: z.ZodLiteral<"motion-sensor">;
|
|
259
|
-
},
|
|
260
|
-
type: "motion-sensor";
|
|
261
|
-
}, {
|
|
262
|
-
type: "motion-sensor";
|
|
263
|
-
}>, z.ZodObject<{
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
264
106
|
type: z.ZodLiteral<"panic-button">;
|
|
265
|
-
},
|
|
266
|
-
type: "panic-button";
|
|
267
|
-
}, {
|
|
268
|
-
type: "panic-button";
|
|
269
|
-
}>, z.ZodObject<{
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
270
108
|
sipUri: z.ZodString;
|
|
271
109
|
sipUser: z.ZodString;
|
|
272
110
|
sipPassword: z.ZodString;
|
|
273
111
|
sipRealm: z.ZodString;
|
|
274
112
|
remoteExtension: z.ZodString;
|
|
275
|
-
} & {
|
|
276
113
|
type: z.ZodLiteral<"intercom-terminal">;
|
|
277
|
-
},
|
|
278
|
-
type: "intercom-terminal";
|
|
279
|
-
sipUri: string;
|
|
280
|
-
sipUser: string;
|
|
281
|
-
sipPassword: string;
|
|
282
|
-
sipRealm: string;
|
|
283
|
-
remoteExtension: string;
|
|
284
|
-
}, {
|
|
285
|
-
type: "intercom-terminal";
|
|
286
|
-
sipUri: string;
|
|
287
|
-
sipUser: string;
|
|
288
|
-
sipPassword: string;
|
|
289
|
-
sipRealm: string;
|
|
290
|
-
remoteExtension: string;
|
|
291
|
-
}>, z.ZodObject<{
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
292
115
|
sipWsUrl: z.ZodString;
|
|
293
|
-
} & {
|
|
294
116
|
type: z.ZodLiteral<"pbx">;
|
|
295
|
-
},
|
|
296
|
-
type: "pbx";
|
|
297
|
-
sipWsUrl: string;
|
|
298
|
-
}, {
|
|
299
|
-
type: "pbx";
|
|
300
|
-
sipWsUrl: string;
|
|
301
|
-
}>, z.ZodObject<{
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
302
118
|
type: z.ZodLiteral<"server">;
|
|
303
|
-
},
|
|
304
|
-
type: "server";
|
|
305
|
-
}, {
|
|
306
|
-
type: "server";
|
|
307
|
-
}>, z.ZodObject<{
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
308
120
|
type: z.ZodLiteral<"intercom-operator">;
|
|
309
|
-
},
|
|
310
|
-
type: "intercom-operator";
|
|
311
|
-
}, {
|
|
312
|
-
type: "intercom-operator";
|
|
313
|
-
}>, z.ZodObject<{
|
|
121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
314
122
|
type: z.ZodLiteral<"device-gateway">;
|
|
315
|
-
},
|
|
316
|
-
type: "device-gateway";
|
|
317
|
-
}, {
|
|
318
|
-
type: "device-gateway";
|
|
319
|
-
}>, z.ZodObject<{
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
320
124
|
type: z.ZodLiteral<"presence-tracker">;
|
|
321
|
-
},
|
|
322
|
-
type: "presence-tracker";
|
|
323
|
-
}, {
|
|
324
|
-
type: "presence-tracker";
|
|
325
|
-
}>, z.ZodObject<{
|
|
125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
326
126
|
type: z.ZodLiteral<"reader">;
|
|
327
|
-
},
|
|
328
|
-
type: "reader";
|
|
329
|
-
}, {
|
|
330
|
-
type: "reader";
|
|
331
|
-
}>, z.ZodObject<{
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
128
|
type: z.ZodLiteral<"display">;
|
|
333
|
-
},
|
|
334
|
-
type: "display";
|
|
335
|
-
}, {
|
|
336
|
-
type: "display";
|
|
337
|
-
}>, z.ZodObject<{
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
338
130
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
339
|
-
},
|
|
340
|
-
type: "nvr-recorder";
|
|
341
|
-
}, {
|
|
342
|
-
type: "nvr-recorder";
|
|
343
|
-
}>, z.ZodObject<{
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
132
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
345
|
-
},
|
|
346
|
-
type: "nvr-exporter";
|
|
347
|
-
}, {
|
|
348
|
-
type: "nvr-exporter";
|
|
349
|
-
}>, z.ZodObject<{
|
|
133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
350
134
|
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
351
|
-
},
|
|
352
|
-
type: "nvr-analytics-server";
|
|
353
|
-
}, {
|
|
354
|
-
type: "nvr-analytics-server";
|
|
355
|
-
}>, z.ZodObject<{
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
356
136
|
type: z.ZodLiteral<"system">;
|
|
357
|
-
},
|
|
358
|
-
type: "system";
|
|
359
|
-
}, {
|
|
360
|
-
type: "system";
|
|
361
|
-
}>]>>;
|
|
137
|
+
}, z.core.$strip>], "type">>;
|
|
362
138
|
export type AgentDeviceInfo = z.infer<typeof sAgentDeviceInfo>;
|
|
363
139
|
export declare const sForeignDeviceId: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
364
140
|
export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
|
|
365
141
|
name: z.ZodString;
|
|
366
142
|
foreignRef: z.ZodString;
|
|
367
143
|
provider: z.ZodString;
|
|
368
|
-
providerMetadata: z.ZodObject<{},
|
|
369
|
-
} & {
|
|
144
|
+
providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
|
|
370
145
|
presets: z.ZodArray<z.ZodObject<{
|
|
371
146
|
id: z.ZodString;
|
|
372
147
|
name: z.ZodString;
|
|
@@ -375,62 +150,10 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
375
150
|
assignedRef: z.ZodNullable<z.ZodString>;
|
|
376
151
|
createdOn: z.ZodString;
|
|
377
152
|
lastModifiedOn: z.ZodString;
|
|
378
|
-
},
|
|
379
|
-
|
|
380
|
-
name: string;
|
|
381
|
-
createdOn: string;
|
|
382
|
-
lastModifiedOn: string;
|
|
383
|
-
isDefault: boolean;
|
|
384
|
-
assignedRef: string | null;
|
|
385
|
-
params?: unknown;
|
|
386
|
-
}, {
|
|
387
|
-
id: string;
|
|
388
|
-
name: string;
|
|
389
|
-
createdOn: string;
|
|
390
|
-
lastModifiedOn: string;
|
|
391
|
-
isDefault: boolean;
|
|
392
|
-
assignedRef: string | null;
|
|
393
|
-
params?: unknown;
|
|
394
|
-
}>, "many">;
|
|
395
|
-
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
name: string;
|
|
397
|
-
foreignRef: string;
|
|
398
|
-
presets: {
|
|
399
|
-
id: string;
|
|
400
|
-
name: string;
|
|
401
|
-
createdOn: string;
|
|
402
|
-
lastModifiedOn: string;
|
|
403
|
-
isDefault: boolean;
|
|
404
|
-
assignedRef: string | null;
|
|
405
|
-
params?: unknown;
|
|
406
|
-
}[];
|
|
407
|
-
provider: string;
|
|
408
|
-
providerMetadata: {} & {
|
|
409
|
-
[k: string]: unknown;
|
|
410
|
-
};
|
|
411
|
-
}, {
|
|
412
|
-
name: string;
|
|
413
|
-
foreignRef: string;
|
|
414
|
-
presets: {
|
|
415
|
-
id: string;
|
|
416
|
-
name: string;
|
|
417
|
-
createdOn: string;
|
|
418
|
-
lastModifiedOn: string;
|
|
419
|
-
isDefault: boolean;
|
|
420
|
-
assignedRef: string | null;
|
|
421
|
-
params?: unknown;
|
|
422
|
-
}[];
|
|
423
|
-
provider: string;
|
|
424
|
-
providerMetadata: {} & {
|
|
425
|
-
[k: string]: unknown;
|
|
426
|
-
};
|
|
427
|
-
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
428
155
|
type: z.ZodLiteral<"alarm">;
|
|
429
|
-
},
|
|
430
|
-
type: "alarm";
|
|
431
|
-
}, {
|
|
432
|
-
type: "alarm";
|
|
433
|
-
}>, z.ZodObject<{
|
|
156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
157
|
ptzCapable: z.ZodBoolean;
|
|
435
158
|
ptzPanSpeed: z.ZodNumber;
|
|
436
159
|
ptzTiltSpeed: z.ZodNumber;
|
|
@@ -448,265 +171,104 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
448
171
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
449
172
|
width: z.ZodNullable<z.ZodNumber>;
|
|
450
173
|
height: z.ZodNullable<z.ZodNumber>;
|
|
451
|
-
lensType: z.ZodEnum<
|
|
452
|
-
|
|
174
|
+
lensType: z.ZodEnum<{
|
|
175
|
+
flat: "flat";
|
|
176
|
+
fisheye: "fisheye";
|
|
177
|
+
}>;
|
|
178
|
+
mountPoint: z.ZodEnum<{
|
|
179
|
+
wall: "wall";
|
|
180
|
+
ceiling: "ceiling";
|
|
181
|
+
floor: "floor";
|
|
182
|
+
}>;
|
|
453
183
|
webrtcPlaybackSource: z.ZodNullable<z.ZodIntersection<z.ZodObject<{
|
|
454
184
|
kind: z.ZodString;
|
|
455
|
-
},
|
|
456
|
-
|
|
457
|
-
}, {
|
|
458
|
-
kind: string;
|
|
459
|
-
}>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
id: string;
|
|
462
|
-
displayName: string;
|
|
463
|
-
externalPlayerUrl: string | null;
|
|
464
|
-
rtspUrl: string | null;
|
|
465
|
-
width: number | null;
|
|
466
|
-
height: number | null;
|
|
467
|
-
lensType: "flat" | "fisheye";
|
|
468
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
469
|
-
webrtcPlaybackSource: ({
|
|
470
|
-
kind: string;
|
|
471
|
-
} & Record<string, unknown>) | null;
|
|
472
|
-
}, {
|
|
473
|
-
id: string;
|
|
474
|
-
displayName: string;
|
|
475
|
-
externalPlayerUrl: string | null;
|
|
476
|
-
rtspUrl: string | null;
|
|
477
|
-
width: number | null;
|
|
478
|
-
height: number | null;
|
|
479
|
-
lensType: "flat" | "fisheye";
|
|
480
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
481
|
-
webrtcPlaybackSource: ({
|
|
482
|
-
kind: string;
|
|
483
|
-
} & Record<string, unknown>) | null;
|
|
484
|
-
}>, "many">;
|
|
185
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
186
|
+
}, z.core.$strip>>;
|
|
485
187
|
defaultStreamId: z.ZodString;
|
|
486
188
|
autoSwitchStreams: z.ZodBoolean;
|
|
487
|
-
streamNaming: z.ZodEnum<
|
|
488
|
-
|
|
189
|
+
streamNaming: z.ZodEnum<{
|
|
190
|
+
cameraStreamNo: "cameraStreamNo";
|
|
191
|
+
cameraStream: "cameraStream";
|
|
192
|
+
stream: "stream";
|
|
193
|
+
}>;
|
|
489
194
|
type: z.ZodLiteral<"camera">;
|
|
490
|
-
},
|
|
491
|
-
type: "camera";
|
|
492
|
-
ptzCapable: boolean;
|
|
493
|
-
ptzPanSpeed: number;
|
|
494
|
-
ptzTiltSpeed: number;
|
|
495
|
-
ptzZoomSpeed: number;
|
|
496
|
-
panMin: number;
|
|
497
|
-
panMax: number;
|
|
498
|
-
tiltMin: number;
|
|
499
|
-
tiltMax: number;
|
|
500
|
-
zoomMin: number;
|
|
501
|
-
zoomMax: number;
|
|
502
|
-
streams: {
|
|
503
|
-
id: string;
|
|
504
|
-
displayName: string;
|
|
505
|
-
externalPlayerUrl: string | null;
|
|
506
|
-
rtspUrl: string | null;
|
|
507
|
-
width: number | null;
|
|
508
|
-
height: number | null;
|
|
509
|
-
lensType: "flat" | "fisheye";
|
|
510
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
511
|
-
webrtcPlaybackSource: ({
|
|
512
|
-
kind: string;
|
|
513
|
-
} & Record<string, unknown>) | null;
|
|
514
|
-
}[];
|
|
515
|
-
defaultStreamId: string;
|
|
516
|
-
autoSwitchStreams: boolean;
|
|
517
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
518
|
-
}, {
|
|
519
|
-
type: "camera";
|
|
520
|
-
ptzCapable: boolean;
|
|
521
|
-
ptzPanSpeed: number;
|
|
522
|
-
ptzTiltSpeed: number;
|
|
523
|
-
ptzZoomSpeed: number;
|
|
524
|
-
panMin: number;
|
|
525
|
-
panMax: number;
|
|
526
|
-
tiltMin: number;
|
|
527
|
-
tiltMax: number;
|
|
528
|
-
zoomMin: number;
|
|
529
|
-
zoomMax: number;
|
|
530
|
-
streams: {
|
|
531
|
-
id: string;
|
|
532
|
-
displayName: string;
|
|
533
|
-
externalPlayerUrl: string | null;
|
|
534
|
-
rtspUrl: string | null;
|
|
535
|
-
width: number | null;
|
|
536
|
-
height: number | null;
|
|
537
|
-
lensType: "flat" | "fisheye";
|
|
538
|
-
mountPoint: "wall" | "ceiling" | "floor";
|
|
539
|
-
webrtcPlaybackSource: ({
|
|
540
|
-
kind: string;
|
|
541
|
-
} & Record<string, unknown>) | null;
|
|
542
|
-
}[];
|
|
543
|
-
defaultStreamId: string;
|
|
544
|
-
autoSwitchStreams: boolean;
|
|
545
|
-
streamNaming: "cameraStreamNo" | "cameraStream" | "stream";
|
|
546
|
-
}>, z.ZodObject<{
|
|
195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
547
196
|
canReportOpenState: z.ZodBoolean;
|
|
548
197
|
canReportLockState: z.ZodBoolean;
|
|
549
198
|
canControlLock: z.ZodBoolean;
|
|
550
199
|
canRelease: z.ZodBoolean;
|
|
551
|
-
style: z.ZodOptional<z.ZodEnum<
|
|
552
|
-
|
|
200
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
201
|
+
single: "single";
|
|
202
|
+
double: "double";
|
|
203
|
+
sliding: "sliding";
|
|
204
|
+
hatch: "hatch";
|
|
205
|
+
roller: "roller";
|
|
206
|
+
window: "window";
|
|
207
|
+
}>>;
|
|
553
208
|
type: z.ZodLiteral<"door">;
|
|
554
|
-
},
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
canReportLockState: boolean;
|
|
558
|
-
canControlLock: boolean;
|
|
559
|
-
canRelease: boolean;
|
|
560
|
-
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
561
|
-
}, {
|
|
562
|
-
type: "door";
|
|
563
|
-
canReportOpenState: boolean;
|
|
564
|
-
canReportLockState: boolean;
|
|
565
|
-
canControlLock: boolean;
|
|
566
|
-
canRelease: boolean;
|
|
567
|
-
style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
|
|
568
|
-
}>, z.ZodObject<{
|
|
569
|
-
inputs: z.ZodArray<z.ZodString, "many">;
|
|
570
|
-
outputs: z.ZodArray<z.ZodString, "many">;
|
|
571
|
-
} & {
|
|
209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
+
inputs: z.ZodArray<z.ZodString>;
|
|
211
|
+
outputs: z.ZodArray<z.ZodString>;
|
|
572
212
|
type: z.ZodLiteral<"io-board">;
|
|
573
|
-
},
|
|
574
|
-
type: "io-board";
|
|
575
|
-
inputs: string[];
|
|
576
|
-
outputs: string[];
|
|
577
|
-
}, {
|
|
578
|
-
type: "io-board";
|
|
579
|
-
inputs: string[];
|
|
580
|
-
outputs: string[];
|
|
581
|
-
}>, z.ZodObject<{
|
|
213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
582
214
|
type: z.ZodLiteral<"camera-lift">;
|
|
583
|
-
},
|
|
584
|
-
type: "camera-lift";
|
|
585
|
-
}, {
|
|
586
|
-
type: "camera-lift";
|
|
587
|
-
}>, z.ZodObject<{
|
|
215
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
588
216
|
type: z.ZodLiteral<"motion-sensor">;
|
|
589
|
-
},
|
|
590
|
-
type: "motion-sensor";
|
|
591
|
-
}, {
|
|
592
|
-
type: "motion-sensor";
|
|
593
|
-
}>, z.ZodObject<{
|
|
217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
594
218
|
type: z.ZodLiteral<"panic-button">;
|
|
595
|
-
},
|
|
596
|
-
type: "panic-button";
|
|
597
|
-
}, {
|
|
598
|
-
type: "panic-button";
|
|
599
|
-
}>, z.ZodObject<{
|
|
219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
600
220
|
sipUri: z.ZodString;
|
|
601
221
|
sipUser: z.ZodString;
|
|
602
222
|
sipPassword: z.ZodString;
|
|
603
223
|
sipRealm: z.ZodString;
|
|
604
224
|
remoteExtension: z.ZodString;
|
|
605
|
-
} & {
|
|
606
225
|
type: z.ZodLiteral<"intercom-terminal">;
|
|
607
|
-
},
|
|
608
|
-
type: "intercom-terminal";
|
|
609
|
-
sipUri: string;
|
|
610
|
-
sipUser: string;
|
|
611
|
-
sipPassword: string;
|
|
612
|
-
sipRealm: string;
|
|
613
|
-
remoteExtension: string;
|
|
614
|
-
}, {
|
|
615
|
-
type: "intercom-terminal";
|
|
616
|
-
sipUri: string;
|
|
617
|
-
sipUser: string;
|
|
618
|
-
sipPassword: string;
|
|
619
|
-
sipRealm: string;
|
|
620
|
-
remoteExtension: string;
|
|
621
|
-
}>, z.ZodObject<{
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
622
227
|
sipWsUrl: z.ZodString;
|
|
623
|
-
} & {
|
|
624
228
|
type: z.ZodLiteral<"pbx">;
|
|
625
|
-
},
|
|
626
|
-
type: "pbx";
|
|
627
|
-
sipWsUrl: string;
|
|
628
|
-
}, {
|
|
629
|
-
type: "pbx";
|
|
630
|
-
sipWsUrl: string;
|
|
631
|
-
}>, z.ZodObject<{
|
|
229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
632
230
|
type: z.ZodLiteral<"server">;
|
|
633
|
-
},
|
|
634
|
-
type: "server";
|
|
635
|
-
}, {
|
|
636
|
-
type: "server";
|
|
637
|
-
}>, z.ZodObject<{
|
|
231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
638
232
|
type: z.ZodLiteral<"intercom-operator">;
|
|
639
|
-
},
|
|
640
|
-
type: "intercom-operator";
|
|
641
|
-
}, {
|
|
642
|
-
type: "intercom-operator";
|
|
643
|
-
}>, z.ZodObject<{
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
644
234
|
type: z.ZodLiteral<"device-gateway">;
|
|
645
|
-
},
|
|
646
|
-
type: "device-gateway";
|
|
647
|
-
}, {
|
|
648
|
-
type: "device-gateway";
|
|
649
|
-
}>, z.ZodObject<{
|
|
235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
650
236
|
type: z.ZodLiteral<"presence-tracker">;
|
|
651
|
-
},
|
|
652
|
-
type: "presence-tracker";
|
|
653
|
-
}, {
|
|
654
|
-
type: "presence-tracker";
|
|
655
|
-
}>, z.ZodObject<{
|
|
237
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
656
238
|
type: z.ZodLiteral<"reader">;
|
|
657
|
-
},
|
|
658
|
-
type: "reader";
|
|
659
|
-
}, {
|
|
660
|
-
type: "reader";
|
|
661
|
-
}>, z.ZodObject<{
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
662
240
|
type: z.ZodLiteral<"display">;
|
|
663
|
-
},
|
|
664
|
-
type: "display";
|
|
665
|
-
}, {
|
|
666
|
-
type: "display";
|
|
667
|
-
}>, z.ZodObject<{
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
668
242
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
669
|
-
},
|
|
670
|
-
type: "nvr-recorder";
|
|
671
|
-
}, {
|
|
672
|
-
type: "nvr-recorder";
|
|
673
|
-
}>, z.ZodObject<{
|
|
243
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
674
244
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
675
|
-
},
|
|
676
|
-
type: "nvr-exporter";
|
|
677
|
-
}, {
|
|
678
|
-
type: "nvr-exporter";
|
|
679
|
-
}>, z.ZodObject<{
|
|
245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
680
246
|
type: z.ZodLiteral<"nvr-analytics-server">;
|
|
681
|
-
},
|
|
682
|
-
type: "nvr-analytics-server";
|
|
683
|
-
}, {
|
|
684
|
-
type: "nvr-analytics-server";
|
|
685
|
-
}>, z.ZodObject<{
|
|
247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
686
248
|
type: z.ZodLiteral<"system">;
|
|
687
|
-
},
|
|
688
|
-
type: "system";
|
|
689
|
-
}, {
|
|
690
|
-
type: "system";
|
|
691
|
-
}>]>>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
249
|
+
}, z.core.$strip>], "type">>]>, z.ZodTuple<[z.ZodString, z.ZodString], null>]>;
|
|
692
250
|
export type DeviceParam = z.infer<typeof sDeviceParam>;
|
|
693
251
|
export declare const sStreamId: z.ZodString;
|
|
694
252
|
export type StreamId = z.infer<typeof sStreamId>;
|
|
695
|
-
export declare const sNotificationSeverity: z.ZodEnum<
|
|
253
|
+
export declare const sNotificationSeverity: z.ZodEnum<{
|
|
254
|
+
info: "info";
|
|
255
|
+
warning: "warning";
|
|
256
|
+
critical: "critical";
|
|
257
|
+
}>;
|
|
696
258
|
export type NotificationSeverity = z.infer<typeof sNotificationSeverity>;
|
|
697
259
|
export declare const sCameraPresetInfo: z.ZodObject<{
|
|
698
260
|
name: z.ZodString;
|
|
699
261
|
isDefault: z.ZodBoolean;
|
|
700
262
|
values: z.ZodUnknown;
|
|
701
|
-
},
|
|
702
|
-
name: string;
|
|
703
|
-
isDefault: boolean;
|
|
704
|
-
values?: unknown;
|
|
705
|
-
}, {
|
|
706
|
-
name: string;
|
|
707
|
-
isDefault: boolean;
|
|
708
|
-
values?: unknown;
|
|
709
|
-
}>;
|
|
263
|
+
}, z.core.$strip>;
|
|
710
264
|
export type CameraPresetInfo = z.infer<typeof sCameraPresetInfo>;
|
|
711
|
-
export declare const sCallState: z.ZodEnum<
|
|
712
|
-
|
|
265
|
+
export declare const sCallState: z.ZodEnum<{
|
|
266
|
+
connecting: "connecting";
|
|
267
|
+
connected: "connected";
|
|
268
|
+
ringing: "ringing";
|
|
269
|
+
terminated: "terminated";
|
|
270
|
+
}>;
|
|
271
|
+
export declare const sCallDirection: z.ZodEnum<{
|
|
272
|
+
incoming: "incoming";
|
|
273
|
+
outgoing: "outgoing";
|
|
274
|
+
}>;
|