@awarevue/api-types 2.0.52 → 2.0.54
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/api/agent-protocol/protocol.d.ts +853 -840
- package/dist/api/agent-protocol/protocol.js +14 -1
- package/dist/api/commands/all.d.ts +224 -224
- package/dist/api/commands/camera.d.ts +16 -16
- package/dist/api/commands/display.d.ts +48 -48
- package/dist/api/commands/nvr-exporter.d.ts +194 -194
- package/dist/api/commands/server.d.ts +202 -202
- package/dist/api/events/all.d.ts +30 -30
- package/dist/api/events/camera.d.ts +42 -42
- package/dist/api/events/door.d.ts +4 -4
- package/dist/api/events/intercom-terminal.d.ts +8 -8
- package/dist/api/events/io-board.d.ts +4 -4
- package/dist/api/queries/all.d.ts +225 -225
- package/dist/api/queries/camera.d.ts +8 -8
- package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
- package/dist/api/queries/nvr-exporter.d.ts +18 -18
- package/dist/api/queries/nvr-recorder.d.ts +398 -398
- package/dist/api/rest/agreement.d.ts +5 -5
- package/dist/api/rest/app.d.ts +3 -0
- package/dist/api/rest/app.js +1 -0
- package/dist/api/rest/automation.d.ts +46 -46
- package/dist/api/rest/bookmarks.d.ts +12 -12
- package/dist/api/rest/custom-field.d.ts +5 -5
- package/dist/api/rest/device.d.ts +6 -6
- package/dist/api/rest/io-device.d.ts +14 -14
- package/dist/api/rest/layout.d.ts +16 -16
- package/dist/api/rest/macros.d.ts +13 -13
- package/dist/api/rest/media.d.ts +16 -16
- package/dist/api/rest/person.d.ts +12 -12
- package/dist/api/rest/query.d.ts +2 -2
- package/dist/api/rest/schedule.d.ts +24 -24
- package/dist/api/rest/security-level.d.ts +10 -10
- package/dist/api/rest/template.d.ts +4 -4
- package/dist/api/rest/token-conversion.d.ts +5 -5
- package/dist/api/rest/user.d.ts +17 -17
- package/dist/api/rest/view.d.ts +44 -44
- package/dist/api/ws/device-communication.d.ts +6 -6
- package/dist/api/ws/notifications.d.ts +4 -4
- package/dist/api/ws/progress.d.ts +15 -15
- package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
- package/dist/objects/access-rule.d.ts +2 -2
- package/dist/objects/agent-metadata.d.ts +16 -16
- package/dist/objects/agreement.d.ts +2 -2
- package/dist/objects/api-key.d.ts +2 -2
- package/dist/objects/automation-rule.d.ts +34 -34
- package/dist/objects/bookmark.d.ts +8 -8
- package/dist/objects/credential.d.ts +2 -2
- package/dist/objects/custom-field.d.ts +2 -2
- package/dist/objects/device/any-device.d.ts +205 -205
- package/dist/objects/device/camera.d.ts +26 -26
- package/dist/objects/device/device-import.d.ts +277 -277
- package/dist/objects/device/door.d.ts +2 -2
- package/dist/objects/device/intercom-terminal.d.ts +2 -2
- package/dist/objects/layout.d.ts +16 -16
- package/dist/objects/macro.d.ts +14 -14
- package/dist/objects/notification.d.ts +4 -4
- package/dist/objects/person-presence.d.ts +12 -12
- package/dist/objects/person.d.ts +14 -14
- package/dist/objects/role.d.ts +2 -2
- package/dist/objects/schedule.d.ts +36 -36
- package/dist/objects/security-level.d.ts +6 -6
- package/dist/objects/template.d.ts +2 -2
- package/dist/objects/token-conversion.d.ts +2 -2
- package/dist/objects/user.d.ts +4 -4
- package/dist/objects/view.d.ts +58 -58
- package/dist/objects/zone.d.ts +2 -2
- package/dist/package.json +5 -1
- package/dist/primitives.d.ts +60 -60
- package/package.json +5 -1
|
@@ -19,13 +19,13 @@ export declare const sCommandError: z.ZodObject<{
|
|
|
19
19
|
requestId: z.ZodString;
|
|
20
20
|
error: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
error: {};
|
|
23
22
|
timestamp: number;
|
|
24
23
|
requestId: string;
|
|
25
|
-
}, {
|
|
26
24
|
error: {};
|
|
25
|
+
}, {
|
|
27
26
|
timestamp: number;
|
|
28
27
|
requestId: string;
|
|
28
|
+
error: {};
|
|
29
29
|
}>;
|
|
30
30
|
export type CommandErrorPayload = z.infer<typeof sCommandError>;
|
|
31
31
|
export declare const sStateUpdate: z.ZodObject<{
|
|
@@ -33,13 +33,13 @@ export declare const sStateUpdate: z.ZodObject<{
|
|
|
33
33
|
deviceId: z.ZodString;
|
|
34
34
|
state: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
state: {};
|
|
37
36
|
deviceId: string;
|
|
38
37
|
timestamp: number;
|
|
39
|
-
}, {
|
|
40
38
|
state: {};
|
|
39
|
+
}, {
|
|
41
40
|
deviceId: string;
|
|
42
41
|
timestamp: number;
|
|
42
|
+
state: {};
|
|
43
43
|
}>;
|
|
44
44
|
export type StateUpdatePayload = z.infer<typeof sStateUpdate>;
|
|
45
45
|
export declare const sStateUnavailable: z.ZodObject<{
|
|
@@ -58,13 +58,13 @@ export declare const sStateUpdateError: z.ZodObject<{
|
|
|
58
58
|
deviceId: z.ZodString;
|
|
59
59
|
error: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
error: {};
|
|
62
61
|
deviceId: string;
|
|
63
62
|
timestamp: number;
|
|
64
|
-
}, {
|
|
65
63
|
error: {};
|
|
64
|
+
}, {
|
|
66
65
|
deviceId: string;
|
|
67
66
|
timestamp: number;
|
|
67
|
+
error: {};
|
|
68
68
|
}>;
|
|
69
69
|
export type StateUpdateErrorPayload = z.infer<typeof sStateUpdateError>;
|
|
70
70
|
export declare const sStateSubscribe: z.ZodObject<{
|
|
@@ -14,9 +14,9 @@ export declare const sNotificationCreatedPayload: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
message: string;
|
|
16
16
|
id: string;
|
|
17
|
-
source: string;
|
|
18
|
-
metadata: Record<string, unknown>;
|
|
19
17
|
createdOn: number;
|
|
18
|
+
metadata: Record<string, unknown>;
|
|
19
|
+
source: string;
|
|
20
20
|
severity: "info" | "warning" | "critical";
|
|
21
21
|
notificationRef: string | null;
|
|
22
22
|
recipientId: string | null;
|
|
@@ -25,9 +25,9 @@ export declare const sNotificationCreatedPayload: z.ZodObject<{
|
|
|
25
25
|
}, {
|
|
26
26
|
message: string;
|
|
27
27
|
id: string;
|
|
28
|
-
source: string;
|
|
29
|
-
metadata: Record<string, unknown>;
|
|
30
28
|
createdOn: number;
|
|
29
|
+
metadata: Record<string, unknown>;
|
|
30
|
+
source: string;
|
|
31
31
|
severity: "info" | "warning" | "critical";
|
|
32
32
|
notificationRef: string | null;
|
|
33
33
|
recipientId: string | null;
|
|
@@ -10,8 +10,8 @@ export declare const sProgress: z.ZodObject<{
|
|
|
10
10
|
complete?: number | undefined;
|
|
11
11
|
}, {
|
|
12
12
|
total?: number | undefined;
|
|
13
|
-
failed?: {} | undefined;
|
|
14
13
|
complete?: number | undefined;
|
|
14
|
+
failed?: {} | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type ProgressReport = z.infer<typeof sProgress>;
|
|
17
17
|
export declare const sProgressUpdate: z.ZodObject<{
|
|
@@ -27,36 +27,36 @@ export declare const sProgressUpdate: z.ZodObject<{
|
|
|
27
27
|
complete?: number | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
total?: number | undefined;
|
|
30
|
-
failed?: {} | undefined;
|
|
31
30
|
complete?: number | undefined;
|
|
31
|
+
failed?: {} | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
timestamp: number;
|
|
35
|
+
item: string;
|
|
34
36
|
progress: {
|
|
35
37
|
failed: {};
|
|
36
38
|
total?: number | undefined;
|
|
37
39
|
complete?: number | undefined;
|
|
38
40
|
};
|
|
39
|
-
item: string;
|
|
40
|
-
timestamp: number;
|
|
41
41
|
}, {
|
|
42
|
+
timestamp: number;
|
|
43
|
+
item: string;
|
|
42
44
|
progress: {
|
|
43
45
|
total?: number | undefined;
|
|
44
|
-
failed?: {} | undefined;
|
|
45
46
|
complete?: number | undefined;
|
|
47
|
+
failed?: {} | undefined;
|
|
46
48
|
};
|
|
47
|
-
item: string;
|
|
48
|
-
timestamp: number;
|
|
49
49
|
}>;
|
|
50
50
|
export type ProgressUpdatePayload = z.infer<typeof sProgressUpdate>;
|
|
51
51
|
export declare const sProgressUnavailable: z.ZodObject<{
|
|
52
52
|
timestamp: z.ZodNumber;
|
|
53
53
|
item: z.ZodString;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
item: string;
|
|
56
55
|
timestamp: number;
|
|
57
|
-
}, {
|
|
58
56
|
item: string;
|
|
57
|
+
}, {
|
|
59
58
|
timestamp: number;
|
|
59
|
+
item: string;
|
|
60
60
|
}>;
|
|
61
61
|
export type ProgressUnavailablePayload = z.infer<typeof sProgressUnavailable>;
|
|
62
62
|
export declare const sProgressUpdateError: z.ZodObject<{
|
|
@@ -64,13 +64,13 @@ export declare const sProgressUpdateError: z.ZodObject<{
|
|
|
64
64
|
item: z.ZodString;
|
|
65
65
|
error: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
timestamp: number;
|
|
67
68
|
error: {};
|
|
68
69
|
item: string;
|
|
69
|
-
timestamp: number;
|
|
70
70
|
}, {
|
|
71
|
+
timestamp: number;
|
|
71
72
|
error: {};
|
|
72
73
|
item: string;
|
|
73
|
-
timestamp: number;
|
|
74
74
|
}>;
|
|
75
75
|
export type ProgressUpdateErrorPayload = z.infer<typeof sProgressUpdateError>;
|
|
76
76
|
export declare const sProgressSubscribe: z.ZodObject<{
|
|
@@ -78,13 +78,13 @@ export declare const sProgressSubscribe: z.ZodObject<{
|
|
|
78
78
|
requestId: z.ZodString;
|
|
79
79
|
item: z.ZodString;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
item: string;
|
|
82
81
|
timestamp: number;
|
|
83
82
|
requestId: string;
|
|
84
|
-
}, {
|
|
85
83
|
item: string;
|
|
84
|
+
}, {
|
|
86
85
|
timestamp: number;
|
|
87
86
|
requestId: string;
|
|
87
|
+
item: string;
|
|
88
88
|
}>;
|
|
89
89
|
export type ProgressSubscribePayload = z.infer<typeof sProgressSubscribe>;
|
|
90
90
|
export declare const sProgressUnsubscribe: z.ZodObject<{
|
|
@@ -92,13 +92,13 @@ export declare const sProgressUnsubscribe: z.ZodObject<{
|
|
|
92
92
|
requestId: z.ZodString;
|
|
93
93
|
item: z.ZodString;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
item: string;
|
|
96
95
|
timestamp: number;
|
|
97
96
|
requestId: string;
|
|
98
|
-
}, {
|
|
99
97
|
item: string;
|
|
98
|
+
}, {
|
|
100
99
|
timestamp: number;
|
|
101
100
|
requestId: string;
|
|
101
|
+
item: string;
|
|
102
102
|
}>;
|
|
103
103
|
export type ProgressUnsubscribePayload = z.infer<typeof sProgressUnsubscribe>;
|
|
104
104
|
interface ProgressMessageMap {
|
|
@@ -319,12 +319,12 @@ export declare const sWebRtcIceCandidatePayload: z.ZodObject<{
|
|
|
319
319
|
candidate: z.ZodString;
|
|
320
320
|
from: z.ZodOptional<z.ZodString>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
candidate: string;
|
|
323
322
|
sessionId: string;
|
|
323
|
+
candidate: string;
|
|
324
324
|
from?: string | undefined;
|
|
325
325
|
}, {
|
|
326
|
-
candidate: string;
|
|
327
326
|
sessionId: string;
|
|
327
|
+
candidate: string;
|
|
328
328
|
from?: string | undefined;
|
|
329
329
|
}>;
|
|
330
330
|
export type WebRtcIceCandidatePayload = z.infer<typeof sWebRtcIceCandidatePayload>;
|
|
@@ -83,7 +83,6 @@ export declare const sAccessRuleDto: z.ZodObject<{
|
|
|
83
83
|
version: z.ZodNumber;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
id: string;
|
|
86
|
-
version: number;
|
|
87
86
|
displayName: string;
|
|
88
87
|
appliedTo: {
|
|
89
88
|
id: string;
|
|
@@ -102,9 +101,9 @@ export declare const sAccessRuleDto: z.ZodObject<{
|
|
|
102
101
|
createdOn: string;
|
|
103
102
|
lastModifiedOn: string;
|
|
104
103
|
refs: Record<string, string | string[]>;
|
|
104
|
+
version: number;
|
|
105
105
|
}, {
|
|
106
106
|
id: string;
|
|
107
|
-
version: number;
|
|
108
107
|
displayName: string;
|
|
109
108
|
appliedTo: {
|
|
110
109
|
id: string;
|
|
@@ -123,6 +122,7 @@ export declare const sAccessRuleDto: z.ZodObject<{
|
|
|
123
122
|
createdOn: string;
|
|
124
123
|
lastModifiedOn: string;
|
|
125
124
|
refs: Record<string, string | string[]>;
|
|
125
|
+
version: number;
|
|
126
126
|
}>;
|
|
127
127
|
export type AccessRuleDto = z.infer<typeof sAccessRuleDto>;
|
|
128
128
|
export declare const sAccessRuleProps: z.ZodObject<{
|
|
@@ -4,12 +4,12 @@ export declare const sUiOrderHint: z.ZodObject<{
|
|
|
4
4
|
path: z.ZodString;
|
|
5
5
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
path: string;
|
|
8
7
|
kind: "order";
|
|
8
|
+
path: string;
|
|
9
9
|
fields: string[];
|
|
10
10
|
}, {
|
|
11
|
-
path: string;
|
|
12
11
|
kind: "order";
|
|
12
|
+
path: string;
|
|
13
13
|
fields: string[];
|
|
14
14
|
}>;
|
|
15
15
|
export declare const sUiWidgetHint: z.ZodObject<{
|
|
@@ -19,14 +19,14 @@ export declare const sUiWidgetHint: z.ZodObject<{
|
|
|
19
19
|
password: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
placeHolder: z.ZodOptional<z.ZodString>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
path: string;
|
|
23
22
|
kind: "widget";
|
|
23
|
+
path: string;
|
|
24
24
|
spanColumns?: number | undefined;
|
|
25
25
|
password?: boolean | undefined;
|
|
26
26
|
placeHolder?: string | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
path: string;
|
|
29
28
|
kind: "widget";
|
|
29
|
+
path: string;
|
|
30
30
|
spanColumns?: number | undefined;
|
|
31
31
|
password?: boolean | undefined;
|
|
32
32
|
placeHolder?: string | undefined;
|
|
@@ -36,12 +36,12 @@ export declare const sUiHint: z.ZodUnion<[z.ZodObject<{
|
|
|
36
36
|
path: z.ZodString;
|
|
37
37
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
path: string;
|
|
40
39
|
kind: "order";
|
|
40
|
+
path: string;
|
|
41
41
|
fields: string[];
|
|
42
42
|
}, {
|
|
43
|
-
path: string;
|
|
44
43
|
kind: "order";
|
|
44
|
+
path: string;
|
|
45
45
|
fields: string[];
|
|
46
46
|
}>, z.ZodObject<{
|
|
47
47
|
kind: z.ZodLiteral<"widget">;
|
|
@@ -50,14 +50,14 @@ export declare const sUiHint: z.ZodUnion<[z.ZodObject<{
|
|
|
50
50
|
password: z.ZodOptional<z.ZodBoolean>;
|
|
51
51
|
placeHolder: z.ZodOptional<z.ZodString>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
path: string;
|
|
54
53
|
kind: "widget";
|
|
54
|
+
path: string;
|
|
55
55
|
spanColumns?: number | undefined;
|
|
56
56
|
password?: boolean | undefined;
|
|
57
57
|
placeHolder?: string | undefined;
|
|
58
58
|
}, {
|
|
59
|
-
path: string;
|
|
60
59
|
kind: "widget";
|
|
60
|
+
path: string;
|
|
61
61
|
spanColumns?: number | undefined;
|
|
62
62
|
password?: boolean | undefined;
|
|
63
63
|
placeHolder?: string | undefined;
|
|
@@ -71,12 +71,12 @@ export declare const sProviderSpecs: z.ZodObject<{
|
|
|
71
71
|
path: z.ZodString;
|
|
72
72
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
path: string;
|
|
75
74
|
kind: "order";
|
|
75
|
+
path: string;
|
|
76
76
|
fields: string[];
|
|
77
77
|
}, {
|
|
78
|
-
path: string;
|
|
79
78
|
kind: "order";
|
|
79
|
+
path: string;
|
|
80
80
|
fields: string[];
|
|
81
81
|
}>, z.ZodObject<{
|
|
82
82
|
kind: z.ZodLiteral<"widget">;
|
|
@@ -85,14 +85,14 @@ export declare const sProviderSpecs: z.ZodObject<{
|
|
|
85
85
|
password: z.ZodOptional<z.ZodBoolean>;
|
|
86
86
|
placeHolder: z.ZodOptional<z.ZodString>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
path: string;
|
|
89
88
|
kind: "widget";
|
|
89
|
+
path: string;
|
|
90
90
|
spanColumns?: number | undefined;
|
|
91
91
|
password?: boolean | undefined;
|
|
92
92
|
placeHolder?: string | undefined;
|
|
93
93
|
}, {
|
|
94
|
-
path: string;
|
|
95
94
|
kind: "widget";
|
|
95
|
+
path: string;
|
|
96
96
|
spanColumns?: number | undefined;
|
|
97
97
|
password?: boolean | undefined;
|
|
98
98
|
placeHolder?: string | undefined;
|
|
@@ -102,12 +102,12 @@ export declare const sProviderSpecs: z.ZodObject<{
|
|
|
102
102
|
configDefault: Record<string, unknown>;
|
|
103
103
|
configSchema?: unknown;
|
|
104
104
|
configFormUiHints?: ({
|
|
105
|
-
path: string;
|
|
106
105
|
kind: "order";
|
|
106
|
+
path: string;
|
|
107
107
|
fields: string[];
|
|
108
108
|
} | {
|
|
109
|
-
path: string;
|
|
110
109
|
kind: "widget";
|
|
110
|
+
path: string;
|
|
111
111
|
spanColumns?: number | undefined;
|
|
112
112
|
password?: boolean | undefined;
|
|
113
113
|
placeHolder?: string | undefined;
|
|
@@ -117,12 +117,12 @@ export declare const sProviderSpecs: z.ZodObject<{
|
|
|
117
117
|
configDefault: Record<string, unknown>;
|
|
118
118
|
configSchema?: unknown;
|
|
119
119
|
configFormUiHints?: ({
|
|
120
|
-
path: string;
|
|
121
120
|
kind: "order";
|
|
121
|
+
path: string;
|
|
122
122
|
fields: string[];
|
|
123
123
|
} | {
|
|
124
|
-
path: string;
|
|
125
124
|
kind: "widget";
|
|
125
|
+
path: string;
|
|
126
126
|
spanColumns?: number | undefined;
|
|
127
127
|
password?: boolean | undefined;
|
|
128
128
|
placeHolder?: string | undefined;
|
|
@@ -7,15 +7,15 @@ export declare const sAgreementDto: z.ZodObject<{
|
|
|
7
7
|
lastModifiedOn: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
|
-
content: string;
|
|
11
10
|
displayName: string;
|
|
12
11
|
createdOn: string;
|
|
13
12
|
lastModifiedOn: string;
|
|
13
|
+
content: string;
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
|
-
content: string;
|
|
17
16
|
displayName: string;
|
|
18
17
|
createdOn: string;
|
|
19
18
|
lastModifiedOn: string;
|
|
19
|
+
content: string;
|
|
20
20
|
}>;
|
|
21
21
|
export type AgreementDto = z.infer<typeof sAgreementDto>;
|
|
@@ -7,15 +7,15 @@ export declare const sApiKeyDto: z.ZodObject<{
|
|
|
7
7
|
lastModifiedOn: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
id: string;
|
|
10
|
-
prefix: string;
|
|
11
10
|
displayName: string;
|
|
12
11
|
createdOn: string;
|
|
13
12
|
lastModifiedOn: string;
|
|
13
|
+
prefix: string;
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
|
-
prefix: string;
|
|
17
16
|
displayName: string;
|
|
18
17
|
createdOn: string;
|
|
19
18
|
lastModifiedOn: string;
|
|
19
|
+
prefix: string;
|
|
20
20
|
}>;
|
|
21
21
|
export type ApiKeyDto = z.infer<typeof sApiKeyDto>;
|
|
@@ -4,13 +4,13 @@ export declare const sAutomationRuleCommand: z.ZodObject<{
|
|
|
4
4
|
target: z.ZodString;
|
|
5
5
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
target: string;
|
|
8
7
|
params: Record<string, unknown>;
|
|
9
8
|
command: string;
|
|
10
|
-
}, {
|
|
11
9
|
target: string;
|
|
10
|
+
}, {
|
|
12
11
|
params: Record<string, unknown>;
|
|
13
12
|
command: string;
|
|
13
|
+
target: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const sAutomationRuleBody: z.ZodObject<{
|
|
16
16
|
onEvent: z.ZodString;
|
|
@@ -20,28 +20,28 @@ export declare const sAutomationRuleBody: z.ZodObject<{
|
|
|
20
20
|
target: z.ZodString;
|
|
21
21
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
target: string;
|
|
24
23
|
params: Record<string, unknown>;
|
|
25
24
|
command: string;
|
|
26
|
-
}, {
|
|
27
25
|
target: string;
|
|
26
|
+
}, {
|
|
28
27
|
params: Record<string, unknown>;
|
|
29
28
|
command: string;
|
|
29
|
+
target: string;
|
|
30
30
|
}>, "many">;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
onEvent: string;
|
|
33
33
|
commands: {
|
|
34
|
-
target: string;
|
|
35
34
|
params: Record<string, unknown>;
|
|
36
35
|
command: string;
|
|
36
|
+
target: string;
|
|
37
37
|
}[];
|
|
38
38
|
runIf?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
onEvent: string;
|
|
41
41
|
commands: {
|
|
42
|
-
target: string;
|
|
43
42
|
params: Record<string, unknown>;
|
|
44
43
|
command: string;
|
|
44
|
+
target: string;
|
|
45
45
|
}[];
|
|
46
46
|
runIf?: string | undefined;
|
|
47
47
|
}>;
|
|
@@ -57,28 +57,28 @@ export declare const sAutomationRuleProps: z.ZodObject<{
|
|
|
57
57
|
target: z.ZodString;
|
|
58
58
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
target: string;
|
|
61
60
|
params: Record<string, unknown>;
|
|
62
61
|
command: string;
|
|
63
|
-
}, {
|
|
64
62
|
target: string;
|
|
63
|
+
}, {
|
|
65
64
|
params: Record<string, unknown>;
|
|
66
65
|
command: string;
|
|
66
|
+
target: string;
|
|
67
67
|
}>, "many">;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
69
|
onEvent: string;
|
|
70
70
|
commands: {
|
|
71
|
-
target: string;
|
|
72
71
|
params: Record<string, unknown>;
|
|
73
72
|
command: string;
|
|
73
|
+
target: string;
|
|
74
74
|
}[];
|
|
75
75
|
runIf?: string | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
onEvent: string;
|
|
78
78
|
commands: {
|
|
79
|
-
target: string;
|
|
80
79
|
params: Record<string, unknown>;
|
|
81
80
|
command: string;
|
|
81
|
+
target: string;
|
|
82
82
|
}[];
|
|
83
83
|
runIf?: string | undefined;
|
|
84
84
|
}>;
|
|
@@ -89,39 +89,39 @@ export declare const sAutomationRuleProps: z.ZodObject<{
|
|
|
89
89
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
91
|
code: string | null;
|
|
92
|
-
|
|
92
|
+
displayName: string;
|
|
93
93
|
body: {
|
|
94
94
|
onEvent: string;
|
|
95
95
|
commands: {
|
|
96
|
-
target: string;
|
|
97
96
|
params: Record<string, unknown>;
|
|
98
97
|
command: string;
|
|
98
|
+
target: string;
|
|
99
99
|
}[];
|
|
100
100
|
runIf?: string | undefined;
|
|
101
101
|
};
|
|
102
|
-
metadata: Record<string, unknown>;
|
|
103
|
-
displayName: string;
|
|
104
102
|
enabled: boolean;
|
|
105
103
|
exclusivityGroup: string | null;
|
|
106
104
|
score: number | null;
|
|
105
|
+
module: string | null;
|
|
106
|
+
metadata: Record<string, unknown>;
|
|
107
107
|
description?: string | undefined;
|
|
108
108
|
}, {
|
|
109
109
|
code: string | null;
|
|
110
|
-
|
|
110
|
+
displayName: string;
|
|
111
111
|
body: {
|
|
112
112
|
onEvent: string;
|
|
113
113
|
commands: {
|
|
114
|
-
target: string;
|
|
115
114
|
params: Record<string, unknown>;
|
|
116
115
|
command: string;
|
|
116
|
+
target: string;
|
|
117
117
|
}[];
|
|
118
118
|
runIf?: string | undefined;
|
|
119
119
|
};
|
|
120
|
-
metadata: Record<string, unknown>;
|
|
121
|
-
displayName: string;
|
|
122
120
|
enabled: boolean;
|
|
123
121
|
exclusivityGroup: string | null;
|
|
124
122
|
score: number | null;
|
|
123
|
+
module: string | null;
|
|
124
|
+
metadata: Record<string, unknown>;
|
|
125
125
|
description?: string | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
export declare const sAutomationRuleDto: z.ZodObject<{
|
|
@@ -136,28 +136,28 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
136
136
|
target: z.ZodString;
|
|
137
137
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
target: string;
|
|
140
139
|
params: Record<string, unknown>;
|
|
141
140
|
command: string;
|
|
142
|
-
}, {
|
|
143
141
|
target: string;
|
|
142
|
+
}, {
|
|
144
143
|
params: Record<string, unknown>;
|
|
145
144
|
command: string;
|
|
145
|
+
target: string;
|
|
146
146
|
}>, "many">;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
onEvent: string;
|
|
149
149
|
commands: {
|
|
150
|
-
target: string;
|
|
151
150
|
params: Record<string, unknown>;
|
|
152
151
|
command: string;
|
|
152
|
+
target: string;
|
|
153
153
|
}[];
|
|
154
154
|
runIf?: string | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
onEvent: string;
|
|
157
157
|
commands: {
|
|
158
|
-
target: string;
|
|
159
158
|
params: Record<string, unknown>;
|
|
160
159
|
command: string;
|
|
160
|
+
target: string;
|
|
161
161
|
}[];
|
|
162
162
|
runIf?: string | undefined;
|
|
163
163
|
}>;
|
|
@@ -173,44 +173,44 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
174
|
code: string | null;
|
|
175
175
|
id: string;
|
|
176
|
-
|
|
176
|
+
displayName: string;
|
|
177
|
+
createdOn: string;
|
|
178
|
+
lastModifiedOn: string;
|
|
177
179
|
body: {
|
|
178
180
|
onEvent: string;
|
|
179
181
|
commands: {
|
|
180
|
-
target: string;
|
|
181
182
|
params: Record<string, unknown>;
|
|
182
183
|
command: string;
|
|
184
|
+
target: string;
|
|
183
185
|
}[];
|
|
184
186
|
runIf?: string | undefined;
|
|
185
187
|
};
|
|
186
|
-
metadata: Record<string, unknown>;
|
|
187
|
-
displayName: string;
|
|
188
|
-
createdOn: string;
|
|
189
|
-
lastModifiedOn: string;
|
|
190
188
|
enabled: boolean;
|
|
191
189
|
exclusivityGroup: string | null;
|
|
192
190
|
score: number | null;
|
|
191
|
+
module: string | null;
|
|
192
|
+
metadata: Record<string, unknown>;
|
|
193
193
|
description?: string | undefined;
|
|
194
194
|
}, {
|
|
195
195
|
code: string | null;
|
|
196
196
|
id: string;
|
|
197
|
-
|
|
197
|
+
displayName: string;
|
|
198
|
+
createdOn: string;
|
|
199
|
+
lastModifiedOn: string;
|
|
198
200
|
body: {
|
|
199
201
|
onEvent: string;
|
|
200
202
|
commands: {
|
|
201
|
-
target: string;
|
|
202
203
|
params: Record<string, unknown>;
|
|
203
204
|
command: string;
|
|
205
|
+
target: string;
|
|
204
206
|
}[];
|
|
205
207
|
runIf?: string | undefined;
|
|
206
208
|
};
|
|
207
|
-
metadata: Record<string, unknown>;
|
|
208
|
-
displayName: string;
|
|
209
|
-
createdOn: string;
|
|
210
|
-
lastModifiedOn: string;
|
|
211
209
|
enabled: boolean;
|
|
212
210
|
exclusivityGroup: string | null;
|
|
213
211
|
score: number | null;
|
|
212
|
+
module: string | null;
|
|
213
|
+
metadata: Record<string, unknown>;
|
|
214
214
|
description?: string | undefined;
|
|
215
215
|
}>;
|
|
216
216
|
export type AutomationRuleBody = z.infer<typeof sAutomationRuleBody>;
|
|
@@ -5,15 +5,15 @@ export declare const sBookmarkProps: z.ZodObject<{
|
|
|
5
5
|
deviceId: z.ZodString;
|
|
6
6
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
label: string;
|
|
9
|
-
metadata: Record<string, unknown>;
|
|
10
8
|
deviceId: string;
|
|
9
|
+
metadata: Record<string, unknown>;
|
|
11
10
|
timestamp: number;
|
|
12
|
-
}, {
|
|
13
11
|
label: string;
|
|
14
|
-
|
|
12
|
+
}, {
|
|
15
13
|
deviceId: string;
|
|
14
|
+
metadata: Record<string, unknown>;
|
|
16
15
|
timestamp: number;
|
|
16
|
+
label: string;
|
|
17
17
|
}>;
|
|
18
18
|
export declare const sBookmarkDto: z.ZodIntersection<z.ZodObject<{
|
|
19
19
|
timestamp: z.ZodNumber;
|
|
@@ -21,15 +21,15 @@ export declare const sBookmarkDto: z.ZodIntersection<z.ZodObject<{
|
|
|
21
21
|
deviceId: z.ZodString;
|
|
22
22
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
label: string;
|
|
25
|
-
metadata: Record<string, unknown>;
|
|
26
24
|
deviceId: string;
|
|
25
|
+
metadata: Record<string, unknown>;
|
|
27
26
|
timestamp: number;
|
|
28
|
-
}, {
|
|
29
27
|
label: string;
|
|
30
|
-
|
|
28
|
+
}, {
|
|
31
29
|
deviceId: string;
|
|
30
|
+
metadata: Record<string, unknown>;
|
|
32
31
|
timestamp: number;
|
|
32
|
+
label: string;
|
|
33
33
|
}>, z.ZodObject<{
|
|
34
34
|
id: z.ZodString;
|
|
35
35
|
createdBy: z.ZodString;
|
|
@@ -6,12 +6,12 @@ export declare const sAssignedCredential: z.ZodObject<{
|
|
|
6
6
|
value: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
7
7
|
note: z.ZodNullable<z.ZodString>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
type: "card" | "pin" | "fingerprint";
|
|
10
9
|
value: string | Record<string, unknown>;
|
|
10
|
+
type: "card" | "pin" | "fingerprint";
|
|
11
11
|
note: string | null;
|
|
12
12
|
}, {
|
|
13
|
-
type: "card" | "pin" | "fingerprint";
|
|
14
13
|
value: string | Record<string, unknown>;
|
|
14
|
+
type: "card" | "pin" | "fingerprint";
|
|
15
15
|
note: string | null;
|
|
16
16
|
}>;
|
|
17
17
|
export type CredentialType = z.infer<typeof sCredentialType>;
|
|
@@ -7,14 +7,14 @@ export declare const sCustomFieldDto: z.ZodObject<{
|
|
|
7
7
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
8
8
|
extendsType: z.ZodEnum<["person"]>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
name: string;
|
|
11
10
|
type: "string" | "number" | "boolean" | "date";
|
|
12
11
|
id: string;
|
|
12
|
+
name: string;
|
|
13
13
|
extendsType: "person";
|
|
14
14
|
}, {
|
|
15
|
-
name: string;
|
|
16
15
|
type: "string" | "number" | "boolean" | "date";
|
|
17
16
|
id: string;
|
|
17
|
+
name: string;
|
|
18
18
|
extendsType: "person";
|
|
19
19
|
}>;
|
|
20
20
|
export type CustomFieldDto = z.infer<typeof sCustomFieldDto>;
|