@awarevue/api-types 1.1.15 → 2.0.2
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/access-control/person-agreement.d.ts +2 -2
- package/dist/access-control/person.d.ts +4 -4
- package/dist/agent-communication/protocol.d.ts +108 -308
- package/dist/agent-communication/protocol.js +5 -8
- package/dist/agent-communication/queries.d.ts +1312 -1045
- package/dist/agent-communication/queries.js +11 -109
- package/dist/api/media.d.ts +6 -14
- package/dist/api/media.js +1 -4
- package/dist/device/alarm.d.ts +24 -24
- package/dist/device/any-device.d.ts +537 -269
- package/dist/device/any-device.js +22 -4
- package/dist/device/camera.d.ts +97 -0
- package/dist/device/camera.js +24 -1
- package/dist/device/index.d.ts +3 -1
- package/dist/device/index.js +3 -1
- package/dist/device/intercom-terminal.d.ts +4 -4
- package/dist/device/nvr-analytics-server.d.ts +307 -0
- package/dist/device/nvr-analytics-server.js +73 -0
- package/dist/device/nvr-exporter.d.ts +892 -0
- package/dist/device/nvr-exporter.js +77 -0
- package/dist/device/nvr-recorder.d.ts +2981 -0
- package/dist/device/nvr-recorder.js +47 -0
- package/dist/device/presence-tracker.d.ts +8 -8
- package/dist/device-event.d.ts +43 -19
- package/dist/device-event.js +5 -0
- package/dist/device-import.d.ts +123 -51
- package/dist/device-relation.d.ts +7 -7
- package/dist/device-relation.js +12 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/messages/web-rtc-signaling.d.ts +10 -10
- package/dist/package.json +1 -1
- package/dist/permissions.d.ts +3 -3
- package/dist/permissions.js +9 -1
- package/dist/primitives.d.ts +596 -0
- package/dist/primitives.js +13 -1
- package/dist/user.d.ts +16 -16
- package/package.json +1 -1
- package/dist/device/recorder.d.ts +0 -12
- package/dist/device/recorder.js +0 -9
- package/dist/export.d.ts +0 -30
- package/dist/export.js +0 -14
|
@@ -1,117 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.responseSchemasByType = exports.requestSchemasByType =
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const zod_1 = require("zod");
|
|
7
|
-
// CORE
|
|
8
|
-
exports.QUERY_DEVICE_GRAPH = 'core:device-graph';
|
|
9
|
-
// CCTV
|
|
10
|
-
exports.QUERY_RECORDINGS_BY_TIME_RANGE = 'cctv:recordings-by-time-range';
|
|
11
|
-
exports.QUERY_MEDIA_SEARCH = 'cctv:media-search';
|
|
12
|
-
exports.QUERY_RTSP_DATA = 'cctv:rtsp-data';
|
|
13
|
-
exports.QUERY_PREVIEW_IMAGE = 'cctv:preview-image';
|
|
14
|
-
exports.QUERY_CAMERA_LATEST_FRAME = 'cctv:latest-frame';
|
|
15
|
-
exports.QUERY_SCENE_PREVIEW_CLIP = 'cctv:scene-preview-clip';
|
|
16
|
-
exports.QUERY_OBJECT_SNAPSHOT = 'cctv:object-snapshot';
|
|
17
|
-
exports.QUERY_OBJECT_THUMBNAIL = 'cctv:object-thumbnail';
|
|
18
|
-
// Zod schemas for request args
|
|
19
|
-
exports.sRecordingsByTimeRangeArgs = zod_1.z.object({
|
|
20
|
-
timeFrom: zod_1.z.number(),
|
|
21
|
-
timeTo: zod_1.z.number(),
|
|
22
|
-
});
|
|
23
|
-
exports.sMediaSearchArgs = zod_1.z
|
|
24
|
-
.object({
|
|
25
|
-
devices: zod_1.z.array(zod_1.z.any()).optional(),
|
|
26
|
-
limit: zod_1.z.number().nonnegative(),
|
|
27
|
-
q: zod_1.z.string(),
|
|
28
|
-
similarTo: zod_1.z.string().optional(),
|
|
29
|
-
label: zod_1.z.array(zod_1.z.string().nonempty()),
|
|
30
|
-
timeFrom: zod_1.z.number().nonnegative(),
|
|
31
|
-
timeTo: zod_1.z.number().nonnegative(),
|
|
32
|
-
sortBy: api_1.sSortOptions,
|
|
33
|
-
})
|
|
34
|
-
.partial();
|
|
35
|
-
exports.sRtspDataArgs = zod_1.z.object({});
|
|
36
|
-
exports.sPreviewImageArgs = zod_1.z.object({
|
|
37
|
-
time: zod_1.z.number(),
|
|
38
|
-
height: zod_1.z.number(),
|
|
39
|
-
});
|
|
40
|
-
exports.sCameraLatestFrameArgs = zod_1.z.object({
|
|
41
|
-
width: zod_1.z.number(),
|
|
42
|
-
height: zod_1.z.number(),
|
|
43
|
-
});
|
|
44
|
-
exports.sScenePreviewClipArgs = zod_1.z.object({
|
|
45
|
-
providerAssignedRef: zod_1.z.string(),
|
|
46
|
-
});
|
|
47
|
-
exports.sObjectSnapshotArgs = zod_1.z.object({
|
|
48
|
-
providerAssignedRef: zod_1.z.string(),
|
|
49
|
-
height: zod_1.z.number().optional(),
|
|
50
|
-
quality: zod_1.z.number().optional(),
|
|
51
|
-
crop: zod_1.z.boolean(),
|
|
52
|
-
boxes: zod_1.z.boolean(),
|
|
53
|
-
});
|
|
54
|
-
exports.sObjectThumbnailArgs = zod_1.z.object({
|
|
55
|
-
providerAssignedRef: zod_1.z.string(),
|
|
56
|
-
});
|
|
57
|
-
// Zod schemas for responses
|
|
58
|
-
exports.sDeviceGraphResponse = device_import_1.sDeviceDiscoveryDto;
|
|
59
|
-
exports.sRecordingsResponse = zod_1.z.array(api_1.sRecordingSequence);
|
|
60
|
-
exports.sMediaSearchMatch = zod_1.z.object({
|
|
61
|
-
relevance: zod_1.z.number(),
|
|
62
|
-
providerAssignedRef: zod_1.z.string(),
|
|
63
|
-
foreignRef: zod_1.z.string(),
|
|
64
|
-
provider: zod_1.z.string(),
|
|
65
|
-
probability: zod_1.z.number(),
|
|
66
|
-
objectKind: zod_1.z.string(),
|
|
67
|
-
startTime: zod_1.z.number(),
|
|
68
|
-
endTime: zod_1.z.number().nullable(),
|
|
69
|
-
});
|
|
70
|
-
exports.sMediaSearchResponse = zod_1.z.array(exports.sMediaSearchMatch);
|
|
71
|
-
exports.sRtspDataResponse = zod_1.z.object({
|
|
72
|
-
cameraName: zod_1.z.string(),
|
|
73
|
-
username: zod_1.z.string(),
|
|
74
|
-
password: zod_1.z.string(),
|
|
75
|
-
streams: zod_1.z.array(zod_1.z.object({
|
|
76
|
-
streamId: zod_1.z.string(),
|
|
77
|
-
displayName: zod_1.z.string(),
|
|
78
|
-
resolution: zod_1.z.string().nullable(),
|
|
79
|
-
rtspUrl: zod_1.z.string(),
|
|
80
|
-
})),
|
|
81
|
-
});
|
|
82
|
-
// File download responses
|
|
83
|
-
exports.sFileResponse = zod_1.z
|
|
84
|
-
.object({
|
|
85
|
-
mimeType: zod_1.z.string().nonempty(),
|
|
86
|
-
data: zod_1.z.string().nonempty(),
|
|
87
|
-
})
|
|
88
|
-
.nullable();
|
|
89
|
-
exports.sPreviewImageResponse = exports.sFileResponse;
|
|
90
|
-
exports.sCameraLatestFrameResponse = exports.sFileResponse;
|
|
91
|
-
exports.sScenePreviewClipResponse = exports.sFileResponse;
|
|
92
|
-
exports.sObjectSnapshotResponse = exports.sFileResponse;
|
|
93
|
-
exports.sObjectThumbnailResponse = exports.sFileResponse;
|
|
3
|
+
exports.responseSchemasByType = exports.requestSchemasByType = void 0;
|
|
4
|
+
const device_1 = require("../device");
|
|
5
|
+
const nvr_analytics_server_1 = require("../device/nvr-analytics-server");
|
|
94
6
|
// Dictionary of request schemas by query type
|
|
95
7
|
exports.requestSchemasByType = {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
[exports.QUERY_PREVIEW_IMAGE]: exports.sPreviewImageArgs,
|
|
101
|
-
[exports.QUERY_CAMERA_LATEST_FRAME]: exports.sCameraLatestFrameArgs,
|
|
102
|
-
[exports.QUERY_SCENE_PREVIEW_CLIP]: exports.sScenePreviewClipArgs,
|
|
103
|
-
[exports.QUERY_OBJECT_SNAPSHOT]: exports.sObjectSnapshotArgs,
|
|
104
|
-
[exports.QUERY_OBJECT_THUMBNAIL]: exports.sObjectThumbnailArgs,
|
|
8
|
+
...device_1.nvrRecorderRequestSchemas,
|
|
9
|
+
...device_1.nvrExporterRequestSchemas,
|
|
10
|
+
...nvr_analytics_server_1.nvrAnalyticsRequestSchemas,
|
|
11
|
+
...device_1.cameraRequestSchemas,
|
|
105
12
|
};
|
|
106
13
|
// Dictionary of response schemas by query type
|
|
107
14
|
exports.responseSchemasByType = {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
[exports.QUERY_PREVIEW_IMAGE]: exports.sPreviewImageResponse,
|
|
113
|
-
[exports.QUERY_CAMERA_LATEST_FRAME]: exports.sCameraLatestFrameResponse,
|
|
114
|
-
[exports.QUERY_SCENE_PREVIEW_CLIP]: exports.sScenePreviewClipResponse,
|
|
115
|
-
[exports.QUERY_OBJECT_SNAPSHOT]: exports.sObjectSnapshotResponse,
|
|
116
|
-
[exports.QUERY_OBJECT_THUMBNAIL]: exports.sObjectThumbnailResponse,
|
|
15
|
+
...device_1.nvrRecorderResponseSchemas,
|
|
16
|
+
...device_1.nvrExporterResponseSchemas,
|
|
17
|
+
...nvr_analytics_server_1.nvrAnalyticsResponseSchemas,
|
|
18
|
+
...device_1.cameraResponseSchemas,
|
|
117
19
|
};
|
package/dist/api/media.d.ts
CHANGED
|
@@ -80,11 +80,11 @@ export declare const sGetScenePreviewClipRequest: z.ZodObject<{
|
|
|
80
80
|
deviceId: z.ZodString;
|
|
81
81
|
providerAssignedRef: z.ZodString;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
deviceId: string;
|
|
84
83
|
providerAssignedRef: string;
|
|
85
|
-
}, {
|
|
86
84
|
deviceId: string;
|
|
85
|
+
}, {
|
|
87
86
|
providerAssignedRef: string;
|
|
87
|
+
deviceId: string;
|
|
88
88
|
}>;
|
|
89
89
|
export declare const sGetObjectSnapshotRequest: z.ZodObject<{
|
|
90
90
|
deviceId: z.ZodString;
|
|
@@ -94,15 +94,15 @@ export declare const sGetObjectSnapshotRequest: z.ZodObject<{
|
|
|
94
94
|
height: z.ZodOptional<z.ZodNumber>;
|
|
95
95
|
quality: z.ZodOptional<z.ZodNumber>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
deviceId: string;
|
|
98
97
|
providerAssignedRef: string;
|
|
98
|
+
deviceId: string;
|
|
99
99
|
crop: boolean;
|
|
100
100
|
boxes: boolean;
|
|
101
101
|
height?: number | undefined;
|
|
102
102
|
quality?: number | undefined;
|
|
103
103
|
}, {
|
|
104
|
-
deviceId: string;
|
|
105
104
|
providerAssignedRef: string;
|
|
105
|
+
deviceId: string;
|
|
106
106
|
crop: boolean;
|
|
107
107
|
boxes: boolean;
|
|
108
108
|
height?: number | undefined;
|
|
@@ -112,18 +112,11 @@ export declare const sGetObjectThumbnailRequest: z.ZodObject<{
|
|
|
112
112
|
deviceId: z.ZodString;
|
|
113
113
|
providerAssignedRef: z.ZodString;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
deviceId: string;
|
|
116
115
|
providerAssignedRef: string;
|
|
117
|
-
}, {
|
|
118
116
|
deviceId: string;
|
|
119
|
-
providerAssignedRef: string;
|
|
120
|
-
}>;
|
|
121
|
-
export declare const sGetExportLinkResponse: z.ZodObject<{
|
|
122
|
-
relativeUrl: z.ZodString;
|
|
123
|
-
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
relativeUrl: string;
|
|
125
117
|
}, {
|
|
126
|
-
|
|
118
|
+
providerAssignedRef: string;
|
|
119
|
+
deviceId: string;
|
|
127
120
|
}>;
|
|
128
121
|
export declare const sSortOptions: z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">]>;
|
|
129
122
|
export declare const sMediaSearchQueryDto: z.ZodObject<{
|
|
@@ -174,7 +167,6 @@ export type GetPreviewImageRequest = z.infer<typeof sGetPreviewImageRequest>;
|
|
|
174
167
|
export type GetScenePreviewClipRequest = z.infer<typeof sGetScenePreviewClipRequest>;
|
|
175
168
|
export type GetObjectSnapshotRequest = z.infer<typeof sGetObjectSnapshotRequest>;
|
|
176
169
|
export type GetObjectThumbnailRequest = z.infer<typeof sGetObjectThumbnailRequest>;
|
|
177
|
-
export type GetExportLinkResponse = z.infer<typeof sGetExportLinkResponse>;
|
|
178
170
|
export type MediaSearchQueryDto = z.infer<typeof sMediaSearchQueryDto>;
|
|
179
171
|
export type GetLatestFrameRequest = z.infer<typeof sGetLatestFrameRequest>;
|
|
180
172
|
export type MediaSearchMatchDto = {
|
package/dist/api/media.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sGetLatestFrameRequest = exports.sMediaSearchQueryDto = exports.sSortOptions = exports.
|
|
3
|
+
exports.sGetLatestFrameRequest = exports.sMediaSearchQueryDto = exports.sSortOptions = exports.sGetObjectThumbnailRequest = exports.sGetObjectSnapshotRequest = exports.sGetScenePreviewClipRequest = exports.sGetPreviewImageRequest = exports.sGetRecordingsResponse = exports.sGetRecordingsRequest = exports.sRecordingSequence = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const query_1 = require("./query");
|
|
6
6
|
exports.sRecordingSequence = zod_1.z.object({
|
|
@@ -36,9 +36,6 @@ exports.sGetObjectThumbnailRequest = zod_1.z.object({
|
|
|
36
36
|
deviceId: zod_1.z.string().nonempty(),
|
|
37
37
|
providerAssignedRef: zod_1.z.string().nonempty(),
|
|
38
38
|
});
|
|
39
|
-
exports.sGetExportLinkResponse = zod_1.z.object({
|
|
40
|
-
relativeUrl: zod_1.z.string().nonempty(),
|
|
41
|
-
});
|
|
42
39
|
exports.sSortOptions = zod_1.z.union([
|
|
43
40
|
zod_1.z.literal('time_asc'),
|
|
44
41
|
zod_1.z.literal('time_desc'),
|
package/dist/device/alarm.d.ts
CHANGED
|
@@ -338,13 +338,13 @@ export declare const sAlarmAcknowledgedEvent: z.ZodObject<{
|
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
339
|
kind: "alarm-acknowledged";
|
|
340
340
|
alarmId: string;
|
|
341
|
-
userId?: string | undefined;
|
|
342
341
|
personId?: string | undefined;
|
|
342
|
+
userId?: string | undefined;
|
|
343
343
|
}, {
|
|
344
344
|
kind: "alarm-acknowledged";
|
|
345
345
|
alarmId: string;
|
|
346
|
-
userId?: string | undefined;
|
|
347
346
|
personId?: string | undefined;
|
|
347
|
+
userId?: string | undefined;
|
|
348
348
|
}>;
|
|
349
349
|
export declare const sAlarmArmedAllEvent: z.ZodObject<{
|
|
350
350
|
kind: z.ZodLiteral<"alarm-armed-all">;
|
|
@@ -352,12 +352,12 @@ export declare const sAlarmArmedAllEvent: z.ZodObject<{
|
|
|
352
352
|
personId: z.ZodOptional<z.ZodString>;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
kind: "alarm-armed-all";
|
|
355
|
-
userId?: string | undefined;
|
|
356
355
|
personId?: string | undefined;
|
|
356
|
+
userId?: string | undefined;
|
|
357
357
|
}, {
|
|
358
358
|
kind: "alarm-armed-all";
|
|
359
|
-
userId?: string | undefined;
|
|
360
359
|
personId?: string | undefined;
|
|
360
|
+
userId?: string | undefined;
|
|
361
361
|
}>;
|
|
362
362
|
export declare const sAlarmDisarmedAllEvent: z.ZodObject<{
|
|
363
363
|
kind: z.ZodLiteral<"alarm-disarmed-all">;
|
|
@@ -365,12 +365,12 @@ export declare const sAlarmDisarmedAllEvent: z.ZodObject<{
|
|
|
365
365
|
personId: z.ZodOptional<z.ZodString>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
kind: "alarm-disarmed-all";
|
|
368
|
-
userId?: string | undefined;
|
|
369
368
|
personId?: string | undefined;
|
|
369
|
+
userId?: string | undefined;
|
|
370
370
|
}, {
|
|
371
371
|
kind: "alarm-disarmed-all";
|
|
372
|
-
userId?: string | undefined;
|
|
373
372
|
personId?: string | undefined;
|
|
373
|
+
userId?: string | undefined;
|
|
374
374
|
}>;
|
|
375
375
|
export declare const sAlarmArmedEvent: z.ZodObject<{
|
|
376
376
|
kind: z.ZodLiteral<"alarm-armed">;
|
|
@@ -380,13 +380,13 @@ export declare const sAlarmArmedEvent: z.ZodObject<{
|
|
|
380
380
|
}, "strip", z.ZodTypeAny, {
|
|
381
381
|
kind: "alarm-armed";
|
|
382
382
|
subjects: string[];
|
|
383
|
-
userId?: string | undefined;
|
|
384
383
|
personId?: string | undefined;
|
|
384
|
+
userId?: string | undefined;
|
|
385
385
|
}, {
|
|
386
386
|
kind: "alarm-armed";
|
|
387
387
|
subjects: string[];
|
|
388
|
-
userId?: string | undefined;
|
|
389
388
|
personId?: string | undefined;
|
|
389
|
+
userId?: string | undefined;
|
|
390
390
|
}>;
|
|
391
391
|
export declare const sAlarmDisarmedEvent: z.ZodObject<{
|
|
392
392
|
kind: z.ZodLiteral<"alarm-disarmed">;
|
|
@@ -396,13 +396,13 @@ export declare const sAlarmDisarmedEvent: z.ZodObject<{
|
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
397
|
kind: "alarm-disarmed";
|
|
398
398
|
subjects: string[];
|
|
399
|
-
userId?: string | undefined;
|
|
400
399
|
personId?: string | undefined;
|
|
400
|
+
userId?: string | undefined;
|
|
401
401
|
}, {
|
|
402
402
|
kind: "alarm-disarmed";
|
|
403
403
|
subjects: string[];
|
|
404
|
-
userId?: string | undefined;
|
|
405
404
|
personId?: string | undefined;
|
|
405
|
+
userId?: string | undefined;
|
|
406
406
|
}>;
|
|
407
407
|
export declare const sAlarmArmReleasedEvent: z.ZodObject<{
|
|
408
408
|
kind: z.ZodLiteral<"alarm-arm-released">;
|
|
@@ -410,12 +410,12 @@ export declare const sAlarmArmReleasedEvent: z.ZodObject<{
|
|
|
410
410
|
personId: z.ZodOptional<z.ZodString>;
|
|
411
411
|
}, "strip", z.ZodTypeAny, {
|
|
412
412
|
kind: "alarm-arm-released";
|
|
413
|
-
userId?: string | undefined;
|
|
414
413
|
personId?: string | undefined;
|
|
414
|
+
userId?: string | undefined;
|
|
415
415
|
}, {
|
|
416
416
|
kind: "alarm-arm-released";
|
|
417
|
-
userId?: string | undefined;
|
|
418
417
|
personId?: string | undefined;
|
|
418
|
+
userId?: string | undefined;
|
|
419
419
|
}>;
|
|
420
420
|
export declare const sAlarmRearmedEvent: z.ZodObject<{
|
|
421
421
|
kind: z.ZodLiteral<"alarm-rearmed">;
|
|
@@ -443,13 +443,13 @@ export declare const alarmEventSchemasByKind: {
|
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
444
|
kind: "alarm-acknowledged";
|
|
445
445
|
alarmId: string;
|
|
446
|
-
userId?: string | undefined;
|
|
447
446
|
personId?: string | undefined;
|
|
447
|
+
userId?: string | undefined;
|
|
448
448
|
}, {
|
|
449
449
|
kind: "alarm-acknowledged";
|
|
450
450
|
alarmId: string;
|
|
451
|
-
userId?: string | undefined;
|
|
452
451
|
personId?: string | undefined;
|
|
452
|
+
userId?: string | undefined;
|
|
453
453
|
}>;
|
|
454
454
|
readonly 'alarm-armed-all': z.ZodObject<{
|
|
455
455
|
kind: z.ZodLiteral<"alarm-armed-all">;
|
|
@@ -457,12 +457,12 @@ export declare const alarmEventSchemasByKind: {
|
|
|
457
457
|
personId: z.ZodOptional<z.ZodString>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
kind: "alarm-armed-all";
|
|
460
|
-
userId?: string | undefined;
|
|
461
460
|
personId?: string | undefined;
|
|
461
|
+
userId?: string | undefined;
|
|
462
462
|
}, {
|
|
463
463
|
kind: "alarm-armed-all";
|
|
464
|
-
userId?: string | undefined;
|
|
465
464
|
personId?: string | undefined;
|
|
465
|
+
userId?: string | undefined;
|
|
466
466
|
}>;
|
|
467
467
|
readonly 'alarm-disarmed-all': z.ZodObject<{
|
|
468
468
|
kind: z.ZodLiteral<"alarm-disarmed-all">;
|
|
@@ -470,12 +470,12 @@ export declare const alarmEventSchemasByKind: {
|
|
|
470
470
|
personId: z.ZodOptional<z.ZodString>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
472
|
kind: "alarm-disarmed-all";
|
|
473
|
-
userId?: string | undefined;
|
|
474
473
|
personId?: string | undefined;
|
|
474
|
+
userId?: string | undefined;
|
|
475
475
|
}, {
|
|
476
476
|
kind: "alarm-disarmed-all";
|
|
477
|
-
userId?: string | undefined;
|
|
478
477
|
personId?: string | undefined;
|
|
478
|
+
userId?: string | undefined;
|
|
479
479
|
}>;
|
|
480
480
|
readonly 'alarm-armed': z.ZodObject<{
|
|
481
481
|
kind: z.ZodLiteral<"alarm-armed">;
|
|
@@ -485,13 +485,13 @@ export declare const alarmEventSchemasByKind: {
|
|
|
485
485
|
}, "strip", z.ZodTypeAny, {
|
|
486
486
|
kind: "alarm-armed";
|
|
487
487
|
subjects: string[];
|
|
488
|
-
userId?: string | undefined;
|
|
489
488
|
personId?: string | undefined;
|
|
489
|
+
userId?: string | undefined;
|
|
490
490
|
}, {
|
|
491
491
|
kind: "alarm-armed";
|
|
492
492
|
subjects: string[];
|
|
493
|
-
userId?: string | undefined;
|
|
494
493
|
personId?: string | undefined;
|
|
494
|
+
userId?: string | undefined;
|
|
495
495
|
}>;
|
|
496
496
|
readonly 'alarm-disarmed': z.ZodObject<{
|
|
497
497
|
kind: z.ZodLiteral<"alarm-disarmed">;
|
|
@@ -501,13 +501,13 @@ export declare const alarmEventSchemasByKind: {
|
|
|
501
501
|
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
kind: "alarm-disarmed";
|
|
503
503
|
subjects: string[];
|
|
504
|
-
userId?: string | undefined;
|
|
505
504
|
personId?: string | undefined;
|
|
505
|
+
userId?: string | undefined;
|
|
506
506
|
}, {
|
|
507
507
|
kind: "alarm-disarmed";
|
|
508
508
|
subjects: string[];
|
|
509
|
-
userId?: string | undefined;
|
|
510
509
|
personId?: string | undefined;
|
|
510
|
+
userId?: string | undefined;
|
|
511
511
|
}>;
|
|
512
512
|
readonly 'alarm-arm-released': z.ZodObject<{
|
|
513
513
|
kind: z.ZodLiteral<"alarm-arm-released">;
|
|
@@ -515,12 +515,12 @@ export declare const alarmEventSchemasByKind: {
|
|
|
515
515
|
personId: z.ZodOptional<z.ZodString>;
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
kind: "alarm-arm-released";
|
|
518
|
-
userId?: string | undefined;
|
|
519
518
|
personId?: string | undefined;
|
|
519
|
+
userId?: string | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
kind: "alarm-arm-released";
|
|
522
|
-
userId?: string | undefined;
|
|
523
522
|
personId?: string | undefined;
|
|
523
|
+
userId?: string | undefined;
|
|
524
524
|
}>;
|
|
525
525
|
readonly 'alarm-rearmed': z.ZodObject<{
|
|
526
526
|
kind: z.ZodLiteral<"alarm-rearmed">;
|