@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
|
@@ -6,34 +6,8 @@ export declare const sPbxCallCommand: z.ZodObject<{
|
|
|
6
6
|
soundFile: z.ZodString;
|
|
7
7
|
context: z.ZodOptional<z.ZodString>;
|
|
8
8
|
callerId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
soundFile: string;
|
|
12
|
-
context?: string | undefined;
|
|
13
|
-
callerId?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
endpoint: string;
|
|
16
|
-
soundFile: string;
|
|
17
|
-
context?: string | undefined;
|
|
18
|
-
callerId?: string | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
params: {
|
|
22
|
-
endpoint: string;
|
|
23
|
-
soundFile: string;
|
|
24
|
-
context?: string | undefined;
|
|
25
|
-
callerId?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
command: "pbx.call";
|
|
28
|
-
}, {
|
|
29
|
-
params: {
|
|
30
|
-
endpoint: string;
|
|
31
|
-
soundFile: string;
|
|
32
|
-
context?: string | undefined;
|
|
33
|
-
callerId?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
command: "pbx.call";
|
|
36
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
}, z.core.$strip>;
|
|
37
11
|
export declare const pbxCommands: {
|
|
38
12
|
readonly 'pbx.call': z.ZodObject<{
|
|
39
13
|
command: z.ZodLiteral<"pbx.call">;
|
|
@@ -42,34 +16,8 @@ export declare const pbxCommands: {
|
|
|
42
16
|
soundFile: z.ZodString;
|
|
43
17
|
context: z.ZodOptional<z.ZodString>;
|
|
44
18
|
callerId: z.ZodOptional<z.ZodString>;
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
soundFile: string;
|
|
48
|
-
context?: string | undefined;
|
|
49
|
-
callerId?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
endpoint: string;
|
|
52
|
-
soundFile: string;
|
|
53
|
-
context?: string | undefined;
|
|
54
|
-
callerId?: string | undefined;
|
|
55
|
-
}>;
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
params: {
|
|
58
|
-
endpoint: string;
|
|
59
|
-
soundFile: string;
|
|
60
|
-
context?: string | undefined;
|
|
61
|
-
callerId?: string | undefined;
|
|
62
|
-
};
|
|
63
|
-
command: "pbx.call";
|
|
64
|
-
}, {
|
|
65
|
-
params: {
|
|
66
|
-
endpoint: string;
|
|
67
|
-
soundFile: string;
|
|
68
|
-
context?: string | undefined;
|
|
69
|
-
callerId?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
command: "pbx.call";
|
|
72
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
}, z.core.$strip>;
|
|
73
21
|
};
|
|
74
22
|
export type PbxCallCommand = z.infer<typeof sPbxCallCommand>;
|
|
75
23
|
export type PbxCommand = PbxCallCommand;
|
|
@@ -4,26 +4,8 @@ export declare const sCheckInPersonCommand: z.ZodObject<{
|
|
|
4
4
|
params: z.ZodObject<{
|
|
5
5
|
personId: z.ZodString;
|
|
6
6
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
zoneId: string | null;
|
|
10
|
-
}, {
|
|
11
|
-
personId: string;
|
|
12
|
-
zoneId: string | null;
|
|
13
|
-
}>;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
params: {
|
|
16
|
-
personId: string;
|
|
17
|
-
zoneId: string | null;
|
|
18
|
-
};
|
|
19
|
-
command: "presence-tracker.check-in";
|
|
20
|
-
}, {
|
|
21
|
-
params: {
|
|
22
|
-
personId: string;
|
|
23
|
-
zoneId: string | null;
|
|
24
|
-
};
|
|
25
|
-
command: "presence-tracker.check-in";
|
|
26
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
}, z.core.$strip>;
|
|
27
9
|
export type CheckInPerson = z.infer<typeof sCheckInPersonCommand>;
|
|
28
10
|
export declare const sCheckOutPersonCommand: z.ZodObject<{
|
|
29
11
|
command: z.ZodLiteral<"presence-tracker.check-out">;
|
|
@@ -31,56 +13,16 @@ export declare const sCheckOutPersonCommand: z.ZodObject<{
|
|
|
31
13
|
personId: z.ZodString;
|
|
32
14
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
33
15
|
leave: z.ZodBoolean;
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
zoneId: string | null;
|
|
37
|
-
leave: boolean;
|
|
38
|
-
}, {
|
|
39
|
-
personId: string;
|
|
40
|
-
zoneId: string | null;
|
|
41
|
-
leave: boolean;
|
|
42
|
-
}>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
params: {
|
|
45
|
-
personId: string;
|
|
46
|
-
zoneId: string | null;
|
|
47
|
-
leave: boolean;
|
|
48
|
-
};
|
|
49
|
-
command: "presence-tracker.check-out";
|
|
50
|
-
}, {
|
|
51
|
-
params: {
|
|
52
|
-
personId: string;
|
|
53
|
-
zoneId: string | null;
|
|
54
|
-
leave: boolean;
|
|
55
|
-
};
|
|
56
|
-
command: "presence-tracker.check-out";
|
|
57
|
-
}>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
}, z.core.$strip>;
|
|
58
18
|
export type CheckOutPerson = z.infer<typeof sCheckOutPersonCommand>;
|
|
59
19
|
export declare const sTogglePresenceCommand: z.ZodObject<{
|
|
60
20
|
command: z.ZodLiteral<"presence-tracker.toggle-presence">;
|
|
61
21
|
params: z.ZodObject<{
|
|
62
22
|
personId: z.ZodString;
|
|
63
23
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
zoneId: string | null;
|
|
67
|
-
}, {
|
|
68
|
-
personId: string;
|
|
69
|
-
zoneId: string | null;
|
|
70
|
-
}>;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
params: {
|
|
73
|
-
personId: string;
|
|
74
|
-
zoneId: string | null;
|
|
75
|
-
};
|
|
76
|
-
command: "presence-tracker.toggle-presence";
|
|
77
|
-
}, {
|
|
78
|
-
params: {
|
|
79
|
-
personId: string;
|
|
80
|
-
zoneId: string | null;
|
|
81
|
-
};
|
|
82
|
-
command: "presence-tracker.toggle-presence";
|
|
83
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
}, z.core.$strip>;
|
|
84
26
|
export type TogglePresence = z.infer<typeof sTogglePresenceCommand>;
|
|
85
27
|
export declare const presenceTrackerCommands: {
|
|
86
28
|
readonly 'presence-tracker.check-in': z.ZodObject<{
|
|
@@ -88,80 +30,22 @@ export declare const presenceTrackerCommands: {
|
|
|
88
30
|
params: z.ZodObject<{
|
|
89
31
|
personId: z.ZodString;
|
|
90
32
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
zoneId: string | null;
|
|
94
|
-
}, {
|
|
95
|
-
personId: string;
|
|
96
|
-
zoneId: string | null;
|
|
97
|
-
}>;
|
|
98
|
-
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
params: {
|
|
100
|
-
personId: string;
|
|
101
|
-
zoneId: string | null;
|
|
102
|
-
};
|
|
103
|
-
command: "presence-tracker.check-in";
|
|
104
|
-
}, {
|
|
105
|
-
params: {
|
|
106
|
-
personId: string;
|
|
107
|
-
zoneId: string | null;
|
|
108
|
-
};
|
|
109
|
-
command: "presence-tracker.check-in";
|
|
110
|
-
}>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
}, z.core.$strip>;
|
|
111
35
|
readonly 'presence-tracker.check-out': z.ZodObject<{
|
|
112
36
|
command: z.ZodLiteral<"presence-tracker.check-out">;
|
|
113
37
|
params: z.ZodObject<{
|
|
114
38
|
personId: z.ZodString;
|
|
115
39
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
116
40
|
leave: z.ZodBoolean;
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
zoneId: string | null;
|
|
120
|
-
leave: boolean;
|
|
121
|
-
}, {
|
|
122
|
-
personId: string;
|
|
123
|
-
zoneId: string | null;
|
|
124
|
-
leave: boolean;
|
|
125
|
-
}>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
params: {
|
|
128
|
-
personId: string;
|
|
129
|
-
zoneId: string | null;
|
|
130
|
-
leave: boolean;
|
|
131
|
-
};
|
|
132
|
-
command: "presence-tracker.check-out";
|
|
133
|
-
}, {
|
|
134
|
-
params: {
|
|
135
|
-
personId: string;
|
|
136
|
-
zoneId: string | null;
|
|
137
|
-
leave: boolean;
|
|
138
|
-
};
|
|
139
|
-
command: "presence-tracker.check-out";
|
|
140
|
-
}>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
}, z.core.$strip>;
|
|
141
43
|
readonly 'presence-tracker.toggle-presence': z.ZodObject<{
|
|
142
44
|
command: z.ZodLiteral<"presence-tracker.toggle-presence">;
|
|
143
45
|
params: z.ZodObject<{
|
|
144
46
|
personId: z.ZodString;
|
|
145
47
|
zoneId: z.ZodNullable<z.ZodString>;
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
zoneId: string | null;
|
|
149
|
-
}, {
|
|
150
|
-
personId: string;
|
|
151
|
-
zoneId: string | null;
|
|
152
|
-
}>;
|
|
153
|
-
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
params: {
|
|
155
|
-
personId: string;
|
|
156
|
-
zoneId: string | null;
|
|
157
|
-
};
|
|
158
|
-
command: "presence-tracker.toggle-presence";
|
|
159
|
-
}, {
|
|
160
|
-
params: {
|
|
161
|
-
personId: string;
|
|
162
|
-
zoneId: string | null;
|
|
163
|
-
};
|
|
164
|
-
command: "presence-tracker.toggle-presence";
|
|
165
|
-
}>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
}, z.core.$strip>;
|
|
166
50
|
};
|
|
167
51
|
export type PresenceTrackerCommand = CheckInPerson | CheckOutPerson | TogglePresence;
|