@awarevue/api-types 2.0.82 → 2.0.83
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 +1473 -10468
- package/dist/api/agent-protocol/protocol.js +16 -12
- 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 +38 -146
- package/dist/objects/agent-metadata.js +1 -1
- 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
|
@@ -1,103 +1,45 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const sAddCameraRq: z.ZodObject<{
|
|
3
3
|
displayName: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
displayName: string;
|
|
6
|
-
}, {
|
|
7
|
-
displayName: string;
|
|
8
|
-
}>;
|
|
4
|
+
}, z.core.$strip>;
|
|
9
5
|
export declare const sAddCameraRs: z.ZodObject<{
|
|
10
6
|
id: z.ZodString;
|
|
11
|
-
},
|
|
12
|
-
id: string;
|
|
13
|
-
}, {
|
|
14
|
-
id: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
16
8
|
export declare const sAddCameraStreamRq: z.ZodObject<{
|
|
17
9
|
cameraId: z.ZodString;
|
|
18
10
|
displayName: z.ZodString;
|
|
19
11
|
rtspUrl: z.ZodNullable<z.ZodString>;
|
|
20
|
-
},
|
|
21
|
-
displayName: string;
|
|
22
|
-
rtspUrl: string | null;
|
|
23
|
-
cameraId: string;
|
|
24
|
-
}, {
|
|
25
|
-
displayName: string;
|
|
26
|
-
rtspUrl: string | null;
|
|
27
|
-
cameraId: string;
|
|
28
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
29
13
|
export declare const sPatchCameraStreamRq: z.ZodObject<{
|
|
30
14
|
cameraId: z.ZodString;
|
|
31
15
|
streamId: z.ZodString;
|
|
32
16
|
displayName: z.ZodOptional<z.ZodString>;
|
|
33
17
|
rtspUrl: z.ZodOptional<z.ZodString>;
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
cameraId: string;
|
|
37
|
-
displayName?: string | undefined;
|
|
38
|
-
rtspUrl?: string | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
streamId: string;
|
|
41
|
-
cameraId: string;
|
|
42
|
-
displayName?: string | undefined;
|
|
43
|
-
rtspUrl?: string | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
export declare const sPatchCameraStreamRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export declare const sPatchCameraStreamRs: z.ZodObject<{}, z.core.$strip>;
|
|
46
20
|
export declare const sAddCameraStreamRs: z.ZodObject<{
|
|
47
21
|
id: z.ZodString;
|
|
48
22
|
ffmpegCommandTemplate: z.ZodString;
|
|
49
|
-
},
|
|
50
|
-
id: string;
|
|
51
|
-
ffmpegCommandTemplate: string;
|
|
52
|
-
}, {
|
|
53
|
-
id: string;
|
|
54
|
-
ffmpegCommandTemplate: string;
|
|
55
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
56
24
|
export declare const sDeleteCameraStreamRq: z.ZodObject<{
|
|
57
25
|
cameraId: z.ZodString;
|
|
58
26
|
streamId: z.ZodString;
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
cameraId: string;
|
|
62
|
-
}, {
|
|
63
|
-
streamId: string;
|
|
64
|
-
cameraId: string;
|
|
65
|
-
}>;
|
|
66
|
-
export declare const sDeleteCameraStreamRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export declare const sDeleteCameraStreamRs: z.ZodObject<{}, z.core.$strip>;
|
|
67
29
|
export declare const sBindStreamRecorderRq: z.ZodObject<{
|
|
68
30
|
cameraId: z.ZodString;
|
|
69
31
|
streamId: z.ZodString;
|
|
70
32
|
recorderId: z.ZodString;
|
|
71
33
|
retentionHours: z.ZodOptional<z.ZodNumber>;
|
|
72
34
|
prebufferSeconds: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
cameraId: string;
|
|
76
|
-
recorderId: string;
|
|
77
|
-
retentionHours?: number | undefined;
|
|
78
|
-
prebufferSeconds?: number | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
streamId: string;
|
|
81
|
-
cameraId: string;
|
|
82
|
-
recorderId: string;
|
|
83
|
-
retentionHours?: number | undefined;
|
|
84
|
-
prebufferSeconds?: number | undefined;
|
|
85
|
-
}>;
|
|
86
|
-
export declare const sBindStreamRecorderRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare const sBindStreamRecorderRs: z.ZodObject<{}, z.core.$strip>;
|
|
87
37
|
export declare const sUnbindStreamRecorderRq: z.ZodObject<{
|
|
88
38
|
cameraId: z.ZodString;
|
|
89
39
|
streamId: z.ZodString;
|
|
90
40
|
recorderId: z.ZodString;
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
cameraId: string;
|
|
94
|
-
recorderId: string;
|
|
95
|
-
}, {
|
|
96
|
-
streamId: string;
|
|
97
|
-
cameraId: string;
|
|
98
|
-
recorderId: string;
|
|
99
|
-
}>;
|
|
100
|
-
export declare const sUnbindStreamRecorderRs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export declare const sUnbindStreamRecorderRs: z.ZodObject<{}, z.core.$strip>;
|
|
101
43
|
export type AddCameraRq = z.infer<typeof sAddCameraRq>;
|
|
102
44
|
export type AddCameraRs = z.infer<typeof sAddCameraRs>;
|
|
103
45
|
export type AddCameraStreamRq = z.infer<typeof sAddCameraStreamRq>;
|
package/dist/api/rest/cast.d.ts
CHANGED
|
@@ -2,11 +2,5 @@ import z from 'zod';
|
|
|
2
2
|
export declare const sCastCamerasRequest: z.ZodArray<z.ZodObject<{
|
|
3
3
|
cameraId: z.ZodString;
|
|
4
4
|
streamId: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
streamId: string;
|
|
7
|
-
cameraId: string;
|
|
8
|
-
}, {
|
|
9
|
-
streamId: string;
|
|
10
|
-
cameraId: string;
|
|
11
|
-
}>, "many">;
|
|
5
|
+
}, z.core.$strip>>;
|
|
12
6
|
export type CastCamerasRequest = z.infer<typeof sCastCamerasRequest>;
|
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
import { CustomFieldDto } from '../../objects/custom-field';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
export declare const sAddCustomFieldRequest: z.ZodObject<
|
|
4
|
-
|
|
3
|
+
export declare const sAddCustomFieldRequest: z.ZodObject<{
|
|
4
|
+
type: z.ZodEnum<{
|
|
5
|
+
string: "string";
|
|
6
|
+
number: "number";
|
|
7
|
+
boolean: "boolean";
|
|
8
|
+
date: "date";
|
|
9
|
+
}>;
|
|
5
10
|
name: z.ZodString;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
extendsType: "person";
|
|
12
|
-
}, {
|
|
13
|
-
type: "string" | "number" | "boolean" | "date";
|
|
14
|
-
name: string;
|
|
15
|
-
extendsType: "person";
|
|
16
|
-
}>;
|
|
11
|
+
extendsType: z.ZodEnum<{
|
|
12
|
+
person: "person";
|
|
13
|
+
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
17
15
|
export declare const sUpdateCustomFieldRequest: z.ZodObject<{
|
|
18
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
16
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
string: "string";
|
|
18
|
+
number: "number";
|
|
19
|
+
boolean: "boolean";
|
|
20
|
+
date: "date";
|
|
21
|
+
}>>;
|
|
19
22
|
name: z.ZodOptional<z.ZodString>;
|
|
20
|
-
extendsType: z.ZodOptional<z.ZodEnum<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
extendsType?: "person" | undefined;
|
|
25
|
-
}, {
|
|
26
|
-
type?: "string" | "number" | "boolean" | "date" | undefined;
|
|
27
|
-
name?: string | undefined;
|
|
28
|
-
extendsType?: "person" | undefined;
|
|
29
|
-
}>;
|
|
23
|
+
extendsType: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
person: "person";
|
|
25
|
+
}>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
30
27
|
export type AddCustomFieldRequest = z.infer<typeof sAddCustomFieldRequest>;
|
|
31
28
|
export type UpdateCustomFieldRequest = z.infer<typeof sUpdateCustomFieldRequest>;
|
|
32
29
|
export type CustomFieldRequestQueryParams = {
|
|
@@ -2,43 +2,19 @@ import z from 'zod';
|
|
|
2
2
|
export declare const sAddGroupRequest: z.ZodObject<{
|
|
3
3
|
code: z.ZodNullable<z.ZodString>;
|
|
4
4
|
displayName: z.ZodString;
|
|
5
|
-
devices: z.ZodArray<z.ZodString
|
|
6
|
-
},
|
|
7
|
-
code: string | null;
|
|
8
|
-
displayName: string;
|
|
9
|
-
devices: string[];
|
|
10
|
-
}, {
|
|
11
|
-
code: string | null;
|
|
12
|
-
displayName: string;
|
|
13
|
-
devices: string[];
|
|
14
|
-
}>;
|
|
5
|
+
devices: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export declare const sUpdateGroupRequest: z.ZodObject<{
|
|
16
8
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
9
|
displayName: z.ZodOptional<z.ZodString>;
|
|
18
|
-
devices: z.ZodOptional<z.ZodArray<z.ZodString
|
|
19
|
-
},
|
|
20
|
-
code?: string | null | undefined;
|
|
21
|
-
displayName?: string | undefined;
|
|
22
|
-
devices?: string[] | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
code?: string | null | undefined;
|
|
25
|
-
displayName?: string | undefined;
|
|
26
|
-
devices?: string[] | undefined;
|
|
27
|
-
}>;
|
|
10
|
+
devices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
28
12
|
export declare const sAddDevicesToGroupRequest: z.ZodObject<{
|
|
29
|
-
devices: z.ZodArray<z.ZodString
|
|
30
|
-
},
|
|
31
|
-
devices: string[];
|
|
32
|
-
}, {
|
|
33
|
-
devices: string[];
|
|
34
|
-
}>;
|
|
13
|
+
devices: z.ZodArray<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
35
15
|
export declare const sRemoveDevicesFromGroupRequest: z.ZodObject<{
|
|
36
|
-
devices: z.ZodArray<z.ZodString
|
|
37
|
-
},
|
|
38
|
-
devices: string[];
|
|
39
|
-
}, {
|
|
40
|
-
devices: string[];
|
|
41
|
-
}>;
|
|
16
|
+
devices: z.ZodArray<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
42
18
|
export type AddGroupRequest = z.infer<typeof sAddGroupRequest>;
|
|
43
19
|
export type UpdateGroupRequest = {
|
|
44
20
|
id: string;
|
|
@@ -5,219 +5,147 @@ export declare const sAddDeviceRequest: z.ZodObject<{
|
|
|
5
5
|
foreignRef: z.ZodString;
|
|
6
6
|
notes: z.ZodNullable<z.ZodString>;
|
|
7
7
|
provider: z.ZodString;
|
|
8
|
-
providerMetadata: z.ZodObject<{},
|
|
9
|
-
tags: z.ZodArray<z.ZodString
|
|
8
|
+
providerMetadata: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
|
|
9
|
+
tags: z.ZodArray<z.ZodString>;
|
|
10
10
|
relations: z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodString;
|
|
12
|
-
kind: z.ZodEnum<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
12
|
+
kind: z.ZodEnum<{
|
|
13
|
+
attachedTo: "attachedTo";
|
|
14
|
+
parent: "parent";
|
|
15
|
+
child: "child";
|
|
16
|
+
holds: "holds";
|
|
17
|
+
isHeldBy: "isHeldBy";
|
|
18
|
+
observes: "observes";
|
|
19
|
+
isObservedBy: "isObservedBy";
|
|
20
|
+
sendsInputTo: "sendsInputTo";
|
|
21
|
+
receivesInputFrom: "receivesInputFrom";
|
|
22
|
+
sendsOutputTo: "sendsOutputTo";
|
|
23
|
+
receivesOutputFrom: "receivesOutputFrom";
|
|
24
|
+
unlocks: "unlocks";
|
|
25
|
+
isUnlockedBy: "isUnlockedBy";
|
|
26
|
+
controls: "controls";
|
|
27
|
+
isControlledBy: "isControlledBy";
|
|
28
|
+
records: "records";
|
|
29
|
+
isRecordedBy: "isRecordedBy";
|
|
30
|
+
reads: "reads";
|
|
31
|
+
isReadBy: "isReadBy";
|
|
32
|
+
}>;
|
|
33
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
34
|
+
type: z.ZodEnum<{
|
|
35
|
+
camera: "camera";
|
|
36
|
+
door: "door";
|
|
37
|
+
"io-board": "io-board";
|
|
38
|
+
"camera-lift": "camera-lift";
|
|
39
|
+
"motion-sensor": "motion-sensor";
|
|
40
|
+
"panic-button": "panic-button";
|
|
41
|
+
"intercom-operator": "intercom-operator";
|
|
42
|
+
"intercom-terminal": "intercom-terminal";
|
|
43
|
+
pbx: "pbx";
|
|
44
|
+
alarm: "alarm";
|
|
45
|
+
display: "display";
|
|
46
|
+
server: "server";
|
|
47
|
+
"device-gateway": "device-gateway";
|
|
48
|
+
"presence-tracker": "presence-tracker";
|
|
49
|
+
reader: "reader";
|
|
50
|
+
"nvr-recorder": "nvr-recorder";
|
|
51
|
+
"nvr-exporter": "nvr-exporter";
|
|
52
|
+
"nvr-analytics-server": "nvr-analytics-server";
|
|
53
|
+
system: "system";
|
|
54
|
+
}>;
|
|
55
|
+
specs: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
56
|
+
}, z.core.$strip>;
|
|
53
57
|
export declare const sUpdateDeviceRequest: z.ZodObject<{
|
|
54
58
|
id: z.ZodString;
|
|
55
59
|
name: z.ZodOptional<z.ZodString>;
|
|
56
60
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
-
providerMetadata: z.ZodOptional<z.ZodObject<{},
|
|
58
|
-
specs: z.ZodOptional<z.ZodObject<{},
|
|
59
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
61
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
62
|
+
specs: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>>;
|
|
63
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
64
|
relations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
65
|
id: z.ZodString;
|
|
62
|
-
kind: z.ZodEnum<
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
kind: z.ZodEnum<{
|
|
67
|
+
attachedTo: "attachedTo";
|
|
68
|
+
parent: "parent";
|
|
69
|
+
child: "child";
|
|
70
|
+
holds: "holds";
|
|
71
|
+
isHeldBy: "isHeldBy";
|
|
72
|
+
observes: "observes";
|
|
73
|
+
isObservedBy: "isObservedBy";
|
|
74
|
+
sendsInputTo: "sendsInputTo";
|
|
75
|
+
receivesInputFrom: "receivesInputFrom";
|
|
76
|
+
sendsOutputTo: "sendsOutputTo";
|
|
77
|
+
receivesOutputFrom: "receivesOutputFrom";
|
|
78
|
+
unlocks: "unlocks";
|
|
79
|
+
isUnlockedBy: "isUnlockedBy";
|
|
80
|
+
controls: "controls";
|
|
81
|
+
isControlledBy: "isControlledBy";
|
|
82
|
+
records: "records";
|
|
83
|
+
isRecordedBy: "isRecordedBy";
|
|
84
|
+
reads: "reads";
|
|
85
|
+
isReadBy: "isReadBy";
|
|
86
|
+
}>;
|
|
87
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
70
88
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
-
},
|
|
72
|
-
id: string;
|
|
73
|
-
name?: string | undefined;
|
|
74
|
-
specs?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
|
|
75
|
-
enabled?: boolean | undefined;
|
|
76
|
-
notes?: string | null | undefined;
|
|
77
|
-
tags?: string[] | undefined;
|
|
78
|
-
relations?: z.objectOutputType<{
|
|
79
|
-
id: z.ZodString;
|
|
80
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
81
|
-
}, z.ZodUnknown, "strip">[] | undefined;
|
|
82
|
-
providerMetadata?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
|
|
83
|
-
}, {
|
|
84
|
-
id: string;
|
|
85
|
-
name?: string | undefined;
|
|
86
|
-
specs?: z.objectInputType<{}, z.ZodUnknown, "strip"> | undefined;
|
|
87
|
-
enabled?: boolean | undefined;
|
|
88
|
-
notes?: string | null | undefined;
|
|
89
|
-
tags?: string[] | undefined;
|
|
90
|
-
relations?: z.objectInputType<{
|
|
91
|
-
id: z.ZodString;
|
|
92
|
-
kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
|
|
93
|
-
}, z.ZodUnknown, "strip">[] | undefined;
|
|
94
|
-
providerMetadata?: z.objectInputType<{}, z.ZodUnknown, "strip"> | undefined;
|
|
95
|
-
}>;
|
|
89
|
+
}, z.core.$strip>;
|
|
96
90
|
export declare const sOverrideDeviceSpecsRequest: z.ZodObject<{
|
|
97
91
|
id: z.ZodString;
|
|
98
|
-
specs: z.ZodObject<{},
|
|
92
|
+
specs: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
|
|
99
93
|
specUpdates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
100
94
|
path: z.ZodString;
|
|
101
95
|
value: z.ZodUnknown;
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
value?: unknown;
|
|
105
|
-
}, {
|
|
106
|
-
path: string;
|
|
107
|
-
value?: unknown;
|
|
108
|
-
}>, "many">>;
|
|
109
|
-
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
id: string;
|
|
111
|
-
specs: {} & {
|
|
112
|
-
[k: string]: unknown;
|
|
113
|
-
};
|
|
114
|
-
specUpdates?: {
|
|
115
|
-
path: string;
|
|
116
|
-
value?: unknown;
|
|
117
|
-
}[] | undefined;
|
|
118
|
-
}, {
|
|
119
|
-
id: string;
|
|
120
|
-
specs: {} & {
|
|
121
|
-
[k: string]: unknown;
|
|
122
|
-
};
|
|
123
|
-
specUpdates?: {
|
|
124
|
-
path: string;
|
|
125
|
-
value?: unknown;
|
|
126
|
-
}[] | undefined;
|
|
127
|
-
}>;
|
|
96
|
+
}, z.core.$strip>>>;
|
|
97
|
+
}, z.core.$strip>;
|
|
128
98
|
export declare const sAddDevicePresetRequest: z.ZodObject<{
|
|
129
99
|
name: z.ZodString;
|
|
130
|
-
params: z.ZodObject<{},
|
|
100
|
+
params: z.ZodObject<{}, z.core.$catchall<z.ZodUnknown>>;
|
|
131
101
|
assignedRef: z.ZodNullable<z.ZodString>;
|
|
132
102
|
isDefault: z.ZodBoolean;
|
|
133
103
|
deviceId: z.ZodString;
|
|
134
|
-
},
|
|
135
|
-
params: {} & {
|
|
136
|
-
[k: string]: unknown;
|
|
137
|
-
};
|
|
138
|
-
name: string;
|
|
139
|
-
deviceId: string;
|
|
140
|
-
isDefault: boolean;
|
|
141
|
-
assignedRef: string | null;
|
|
142
|
-
}, {
|
|
143
|
-
params: {} & {
|
|
144
|
-
[k: string]: unknown;
|
|
145
|
-
};
|
|
146
|
-
name: string;
|
|
147
|
-
deviceId: string;
|
|
148
|
-
isDefault: boolean;
|
|
149
|
-
assignedRef: string | null;
|
|
150
|
-
}>;
|
|
104
|
+
}, z.core.$strip>;
|
|
151
105
|
export declare const sUpdateDevicePresetRequest: z.ZodObject<{
|
|
152
106
|
name: z.ZodOptional<z.ZodString>;
|
|
153
107
|
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
154
108
|
assignedRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
109
|
deviceId: z.ZodString;
|
|
156
110
|
presetId: z.ZodString;
|
|
157
|
-
},
|
|
158
|
-
deviceId: string;
|
|
159
|
-
presetId: string;
|
|
160
|
-
name?: string | undefined;
|
|
161
|
-
isDefault?: boolean | undefined;
|
|
162
|
-
assignedRef?: string | null | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
deviceId: string;
|
|
165
|
-
presetId: string;
|
|
166
|
-
name?: string | undefined;
|
|
167
|
-
isDefault?: boolean | undefined;
|
|
168
|
-
assignedRef?: string | null | undefined;
|
|
169
|
-
}>;
|
|
111
|
+
}, z.core.$strip>;
|
|
170
112
|
export declare const sRemoveDevicePresetRequest: z.ZodObject<{
|
|
171
113
|
deviceId: z.ZodString;
|
|
172
114
|
presetId: z.ZodString;
|
|
173
|
-
},
|
|
174
|
-
deviceId: string;
|
|
175
|
-
presetId: string;
|
|
176
|
-
}, {
|
|
177
|
-
deviceId: string;
|
|
178
|
-
presetId: string;
|
|
179
|
-
}>;
|
|
115
|
+
}, z.core.$strip>;
|
|
180
116
|
export declare const sGetEventCatalogResponse: z.ZodArray<z.ZodObject<{
|
|
181
117
|
kind: z.ZodString;
|
|
182
118
|
label: z.ZodString;
|
|
183
119
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
184
120
|
name: z.ZodString;
|
|
185
121
|
label: z.ZodString;
|
|
186
|
-
},
|
|
187
|
-
|
|
188
|
-
label: string;
|
|
189
|
-
}, {
|
|
190
|
-
name: string;
|
|
191
|
-
label: string;
|
|
192
|
-
}>, "many">>;
|
|
193
|
-
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
kind: string;
|
|
195
|
-
label: string;
|
|
196
|
-
variants?: {
|
|
197
|
-
name: string;
|
|
198
|
-
label: string;
|
|
199
|
-
}[] | undefined;
|
|
200
|
-
}, {
|
|
201
|
-
kind: string;
|
|
202
|
-
label: string;
|
|
203
|
-
variants?: {
|
|
204
|
-
name: string;
|
|
205
|
-
label: string;
|
|
206
|
-
}[] | undefined;
|
|
207
|
-
}>, "many">;
|
|
122
|
+
}, z.core.$strip>>>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
208
124
|
export declare const sSetUnsetRelationRequest: z.ZodObject<{
|
|
209
125
|
leftId: z.ZodString;
|
|
210
126
|
rightId: z.ZodString;
|
|
211
|
-
kind: z.ZodEnum<
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
127
|
+
kind: z.ZodEnum<{
|
|
128
|
+
attachedTo: "attachedTo";
|
|
129
|
+
parent: "parent";
|
|
130
|
+
child: "child";
|
|
131
|
+
holds: "holds";
|
|
132
|
+
isHeldBy: "isHeldBy";
|
|
133
|
+
observes: "observes";
|
|
134
|
+
isObservedBy: "isObservedBy";
|
|
135
|
+
sendsInputTo: "sendsInputTo";
|
|
136
|
+
receivesInputFrom: "receivesInputFrom";
|
|
137
|
+
sendsOutputTo: "sendsOutputTo";
|
|
138
|
+
receivesOutputFrom: "receivesOutputFrom";
|
|
139
|
+
unlocks: "unlocks";
|
|
140
|
+
isUnlockedBy: "isUnlockedBy";
|
|
141
|
+
controls: "controls";
|
|
142
|
+
isControlledBy: "isControlledBy";
|
|
143
|
+
records: "records";
|
|
144
|
+
isRecordedBy: "isRecordedBy";
|
|
145
|
+
reads: "reads";
|
|
146
|
+
isReadBy: "isReadBy";
|
|
147
|
+
}>;
|
|
148
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
221
149
|
export type AddDeviceRequest = z.infer<typeof sAddDeviceRequest>;
|
|
222
150
|
export type UpdateDeviceRequest = z.infer<typeof sUpdateDeviceRequest>;
|
|
223
151
|
export type OverrideDeviceSpecsRequest = z.infer<typeof sOverrideDeviceSpecsRequest>;
|