@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
|
@@ -2,52 +2,36 @@ import { z } from 'zod';
|
|
|
2
2
|
import { DeviceEvent } from './api/events';
|
|
3
3
|
import { DeviceType } from './objects/device';
|
|
4
4
|
import { AutomationRuleBody } from './objects/automation-rule';
|
|
5
|
-
export declare const sAlarmBehavior: z.ZodEnum<
|
|
6
|
-
|
|
5
|
+
export declare const sAlarmBehavior: z.ZodEnum<{
|
|
6
|
+
ignore: "ignore";
|
|
7
|
+
"trigger-always": "trigger-always";
|
|
8
|
+
"trigger-when-armed": "trigger-when-armed";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const sAlarmAutomationLevel: z.ZodEnum<{
|
|
11
|
+
"by-device": "by-device";
|
|
12
|
+
"by-type": "by-type";
|
|
13
|
+
}>;
|
|
7
14
|
export declare const sAlarmAutomationCriteria: z.ZodObject<{
|
|
8
15
|
field: z.ZodString;
|
|
9
16
|
value: z.ZodUnknown;
|
|
10
|
-
},
|
|
11
|
-
field: string;
|
|
12
|
-
value?: unknown;
|
|
13
|
-
}, {
|
|
14
|
-
field: string;
|
|
15
|
-
value?: unknown;
|
|
16
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
17
18
|
export declare const sAlarmAutomationMetadata: z.ZodObject<{
|
|
18
|
-
behavior: z.ZodEnum<
|
|
19
|
-
|
|
19
|
+
behavior: z.ZodEnum<{
|
|
20
|
+
ignore: "ignore";
|
|
21
|
+
"trigger-always": "trigger-always";
|
|
22
|
+
"trigger-when-armed": "trigger-when-armed";
|
|
23
|
+
}>;
|
|
24
|
+
level: z.ZodEnum<{
|
|
25
|
+
"by-device": "by-device";
|
|
26
|
+
"by-type": "by-type";
|
|
27
|
+
}>;
|
|
20
28
|
eventKind: z.ZodString;
|
|
21
29
|
eventVariant: z.ZodNullable<z.ZodString>;
|
|
22
30
|
eventCriteria: z.ZodArray<z.ZodObject<{
|
|
23
31
|
field: z.ZodString;
|
|
24
32
|
value: z.ZodUnknown;
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
value?: unknown;
|
|
28
|
-
}, {
|
|
29
|
-
field: string;
|
|
30
|
-
value?: unknown;
|
|
31
|
-
}>, "many">;
|
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
behavior: "ignore" | "trigger-always" | "trigger-when-armed";
|
|
34
|
-
level: "by-device" | "by-type";
|
|
35
|
-
eventKind: string;
|
|
36
|
-
eventVariant: string | null;
|
|
37
|
-
eventCriteria: {
|
|
38
|
-
field: string;
|
|
39
|
-
value?: unknown;
|
|
40
|
-
}[];
|
|
41
|
-
}, {
|
|
42
|
-
behavior: "ignore" | "trigger-always" | "trigger-when-armed";
|
|
43
|
-
level: "by-device" | "by-type";
|
|
44
|
-
eventKind: string;
|
|
45
|
-
eventVariant: string | null;
|
|
46
|
-
eventCriteria: {
|
|
47
|
-
field: string;
|
|
48
|
-
value?: unknown;
|
|
49
|
-
}[];
|
|
50
|
-
}>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
51
35
|
export type AlarmBehavior = z.infer<typeof sAlarmBehavior>;
|
|
52
36
|
export type AlarmAutomationLevel = z.infer<typeof sAlarmAutomationLevel>;
|
|
53
37
|
export type AlarmAutomationMetadata = z.infer<typeof sAlarmAutomationMetadata>;
|