@awarevue/api-types 2.0.81 → 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
|
@@ -2,22 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const QUERY_GET_EXPORT_LINK = "cctv:get-export-link";
|
|
3
3
|
export declare const sGetExportLinkArgs: z.ZodObject<{
|
|
4
4
|
exportId: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
exportId: string;
|
|
7
|
-
}, {
|
|
8
|
-
exportId: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export declare const sGetExportLinkResponse: z.ZodObject<{
|
|
11
7
|
exportLink: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
exportLink: string;
|
|
14
|
-
}, {
|
|
15
|
-
exportLink: string;
|
|
16
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
17
9
|
export type GetExportLinkArgs = z.infer<typeof sGetExportLinkArgs>;
|
|
18
10
|
export type GetExportLinkResponse = z.infer<typeof sGetExportLinkResponse>;
|
|
19
11
|
export declare const QUERY_GET_EXPORTS = "cctv:get-exports";
|
|
20
|
-
export declare const sGetExportsArgs: z.ZodObject<{},
|
|
12
|
+
export declare const sGetExportsArgs: z.ZodObject<{}, z.core.$strip>;
|
|
21
13
|
export declare const sExportItem: z.ZodObject<{
|
|
22
14
|
name: z.ZodString;
|
|
23
15
|
endTime: z.ZodNumber;
|
|
@@ -26,23 +18,7 @@ export declare const sExportItem: z.ZodObject<{
|
|
|
26
18
|
status: z.ZodString;
|
|
27
19
|
size: z.ZodOptional<z.ZodString>;
|
|
28
20
|
expires: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
},
|
|
30
|
-
status: string;
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
startTime: number;
|
|
34
|
-
endTime: number;
|
|
35
|
-
size?: string | undefined;
|
|
36
|
-
expires?: number | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
status: string;
|
|
39
|
-
id: string;
|
|
40
|
-
name: string;
|
|
41
|
-
startTime: number;
|
|
42
|
-
endTime: number;
|
|
43
|
-
size?: string | undefined;
|
|
44
|
-
expires?: number | undefined;
|
|
45
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
46
22
|
export declare const sGetExportsResponse: z.ZodArray<z.ZodObject<{
|
|
47
23
|
name: z.ZodString;
|
|
48
24
|
endTime: z.ZodNumber;
|
|
@@ -51,44 +27,20 @@ export declare const sGetExportsResponse: z.ZodArray<z.ZodObject<{
|
|
|
51
27
|
status: z.ZodString;
|
|
52
28
|
size: z.ZodOptional<z.ZodString>;
|
|
53
29
|
expires: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
},
|
|
55
|
-
status: string;
|
|
56
|
-
id: string;
|
|
57
|
-
name: string;
|
|
58
|
-
startTime: number;
|
|
59
|
-
endTime: number;
|
|
60
|
-
size?: string | undefined;
|
|
61
|
-
expires?: number | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
status: string;
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
startTime: number;
|
|
67
|
-
endTime: number;
|
|
68
|
-
size?: string | undefined;
|
|
69
|
-
expires?: number | undefined;
|
|
70
|
-
}>, "many">;
|
|
30
|
+
}, z.core.$strip>>;
|
|
71
31
|
export type GetExportsArgs = z.infer<typeof sGetExportsArgs>;
|
|
72
32
|
export type ExportItem = z.infer<typeof sExportItem>;
|
|
73
33
|
export type GetExportsResponse = z.infer<typeof sGetExportsResponse>;
|
|
74
34
|
export declare const nvrExporterRequestSchemas: {
|
|
75
35
|
readonly "cctv:get-export-link": z.ZodObject<{
|
|
76
36
|
exportId: z.ZodString;
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
}, {
|
|
80
|
-
exportId: string;
|
|
81
|
-
}>;
|
|
82
|
-
readonly "cctv:get-exports": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
readonly "cctv:get-exports": z.ZodObject<{}, z.core.$strip>;
|
|
83
39
|
};
|
|
84
40
|
export declare const nvrExporterResponseSchemas: {
|
|
85
41
|
readonly "cctv:get-export-link": z.ZodObject<{
|
|
86
42
|
exportLink: z.ZodString;
|
|
87
|
-
},
|
|
88
|
-
exportLink: string;
|
|
89
|
-
}, {
|
|
90
|
-
exportLink: string;
|
|
91
|
-
}>;
|
|
43
|
+
}, z.core.$strip>;
|
|
92
44
|
readonly "cctv:get-exports": z.ZodArray<z.ZodObject<{
|
|
93
45
|
name: z.ZodString;
|
|
94
46
|
endTime: z.ZodNumber;
|
|
@@ -97,23 +49,7 @@ export declare const nvrExporterResponseSchemas: {
|
|
|
97
49
|
status: z.ZodString;
|
|
98
50
|
size: z.ZodOptional<z.ZodString>;
|
|
99
51
|
expires: z.ZodOptional<z.ZodNumber>;
|
|
100
|
-
},
|
|
101
|
-
status: string;
|
|
102
|
-
id: string;
|
|
103
|
-
name: string;
|
|
104
|
-
startTime: number;
|
|
105
|
-
endTime: number;
|
|
106
|
-
size?: string | undefined;
|
|
107
|
-
expires?: number | undefined;
|
|
108
|
-
}, {
|
|
109
|
-
status: string;
|
|
110
|
-
id: string;
|
|
111
|
-
name: string;
|
|
112
|
-
startTime: number;
|
|
113
|
-
endTime: number;
|
|
114
|
-
size?: string | undefined;
|
|
115
|
-
expires?: number | undefined;
|
|
116
|
-
}>, "many">;
|
|
52
|
+
}, z.core.$strip>>;
|
|
117
53
|
};
|
|
118
54
|
export type NvrExporterQueryRequestMap = {
|
|
119
55
|
[QUERY_GET_EXPORT_LINK]: GetExportLinkArgs;
|