@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
|
@@ -6,21 +6,21 @@ export declare const sCreateAgreementRequest: z.ZodObject<Omit<{
|
|
|
6
6
|
createdOn: z.ZodString;
|
|
7
7
|
lastModifiedOn: z.ZodString;
|
|
8
8
|
}, "id" | "createdOn" | "lastModifiedOn">, "strip", z.ZodTypeAny, {
|
|
9
|
-
content: string;
|
|
10
9
|
displayName: string;
|
|
11
|
-
}, {
|
|
12
10
|
content: string;
|
|
11
|
+
}, {
|
|
13
12
|
displayName: string;
|
|
13
|
+
content: string;
|
|
14
14
|
}>;
|
|
15
15
|
export type CreateAgreementRequest = z.infer<typeof sCreateAgreementRequest>;
|
|
16
16
|
export declare const sUpdateAgreementRequest: z.ZodObject<{
|
|
17
|
-
content: z.ZodOptional<z.ZodString>;
|
|
18
17
|
displayName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
content: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
content?: string | undefined;
|
|
21
20
|
displayName?: string | undefined;
|
|
22
|
-
}, {
|
|
23
21
|
content?: string | undefined;
|
|
22
|
+
}, {
|
|
24
23
|
displayName?: string | undefined;
|
|
24
|
+
content?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type UpdateAgreementRequest = z.infer<typeof sUpdateAgreementRequest>;
|
package/dist/api/rest/app.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare const sAppInfo: z.ZodObject<{
|
|
|
38
38
|
minDifferentCase?: number | undefined;
|
|
39
39
|
minDigits?: number | undefined;
|
|
40
40
|
}>;
|
|
41
|
+
mapTileServerUrl: z.ZodString;
|
|
41
42
|
}, "strip", z.ZodTypeAny, {
|
|
42
43
|
version: string;
|
|
43
44
|
releaseDate: string;
|
|
@@ -51,6 +52,7 @@ export declare const sAppInfo: z.ZodObject<{
|
|
|
51
52
|
minDifferentCase: number;
|
|
52
53
|
minDigits: number;
|
|
53
54
|
};
|
|
55
|
+
mapTileServerUrl: string;
|
|
54
56
|
}, {
|
|
55
57
|
version: string;
|
|
56
58
|
releaseDate: string;
|
|
@@ -64,5 +66,6 @@ export declare const sAppInfo: z.ZodObject<{
|
|
|
64
66
|
minDifferentCase?: number | undefined;
|
|
65
67
|
minDigits?: number | undefined;
|
|
66
68
|
};
|
|
69
|
+
mapTileServerUrl: string;
|
|
67
70
|
}>;
|
|
68
71
|
export type AppInfo = z.infer<typeof sAppInfo>;
|
package/dist/api/rest/app.js
CHANGED
|
@@ -11,28 +11,28 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
|
|
|
11
11
|
target: z.ZodString;
|
|
12
12
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
target: string;
|
|
15
14
|
params: Record<string, unknown>;
|
|
16
15
|
command: string;
|
|
17
|
-
}, {
|
|
18
16
|
target: string;
|
|
17
|
+
}, {
|
|
19
18
|
params: Record<string, unknown>;
|
|
20
19
|
command: string;
|
|
20
|
+
target: string;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
onEvent: string;
|
|
24
24
|
commands: {
|
|
25
|
-
target: string;
|
|
26
25
|
params: Record<string, unknown>;
|
|
27
26
|
command: string;
|
|
27
|
+
target: string;
|
|
28
28
|
}[];
|
|
29
29
|
runIf?: string | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
onEvent: string;
|
|
32
32
|
commands: {
|
|
33
|
-
target: string;
|
|
34
33
|
params: Record<string, unknown>;
|
|
35
34
|
command: string;
|
|
35
|
+
target: string;
|
|
36
36
|
}[];
|
|
37
37
|
runIf?: string | undefined;
|
|
38
38
|
}>;
|
|
@@ -43,39 +43,39 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
|
|
|
43
43
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
code: string | null;
|
|
46
|
-
|
|
46
|
+
displayName: string;
|
|
47
47
|
body: {
|
|
48
48
|
onEvent: string;
|
|
49
49
|
commands: {
|
|
50
|
-
target: string;
|
|
51
50
|
params: Record<string, unknown>;
|
|
52
51
|
command: string;
|
|
52
|
+
target: string;
|
|
53
53
|
}[];
|
|
54
54
|
runIf?: string | undefined;
|
|
55
55
|
};
|
|
56
|
-
metadata: Record<string, unknown>;
|
|
57
|
-
displayName: string;
|
|
58
56
|
enabled: boolean;
|
|
59
57
|
exclusivityGroup: string | null;
|
|
60
58
|
score: number | null;
|
|
59
|
+
module: string | null;
|
|
60
|
+
metadata: Record<string, unknown>;
|
|
61
61
|
description?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
code: string | null;
|
|
64
|
-
|
|
64
|
+
displayName: string;
|
|
65
65
|
body: {
|
|
66
66
|
onEvent: string;
|
|
67
67
|
commands: {
|
|
68
|
-
target: string;
|
|
69
68
|
params: Record<string, unknown>;
|
|
70
69
|
command: string;
|
|
70
|
+
target: string;
|
|
71
71
|
}[];
|
|
72
72
|
runIf?: string | undefined;
|
|
73
73
|
};
|
|
74
|
-
metadata: Record<string, unknown>;
|
|
75
|
-
displayName: string;
|
|
76
74
|
enabled: boolean;
|
|
77
75
|
exclusivityGroup: string | null;
|
|
78
76
|
score: number | null;
|
|
77
|
+
module: string | null;
|
|
78
|
+
metadata: Record<string, unknown>;
|
|
79
79
|
description?: string | undefined;
|
|
80
80
|
}>;
|
|
81
81
|
export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
@@ -90,28 +90,28 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
|
90
90
|
target: z.ZodString;
|
|
91
91
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
target: string;
|
|
94
93
|
params: Record<string, unknown>;
|
|
95
94
|
command: string;
|
|
96
|
-
}, {
|
|
97
95
|
target: string;
|
|
96
|
+
}, {
|
|
98
97
|
params: Record<string, unknown>;
|
|
99
98
|
command: string;
|
|
99
|
+
target: string;
|
|
100
100
|
}>, "many">;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
onEvent: string;
|
|
103
103
|
commands: {
|
|
104
|
-
target: string;
|
|
105
104
|
params: Record<string, unknown>;
|
|
106
105
|
command: string;
|
|
106
|
+
target: string;
|
|
107
107
|
}[];
|
|
108
108
|
runIf?: string | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
onEvent: string;
|
|
111
111
|
commands: {
|
|
112
|
-
target: string;
|
|
113
112
|
params: Record<string, unknown>;
|
|
114
113
|
command: string;
|
|
114
|
+
target: string;
|
|
115
115
|
}[];
|
|
116
116
|
runIf?: string | undefined;
|
|
117
117
|
}>>;
|
|
@@ -125,41 +125,41 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
id: string;
|
|
127
127
|
code?: string | null | undefined;
|
|
128
|
-
|
|
128
|
+
displayName?: string | undefined;
|
|
129
|
+
description?: string | undefined;
|
|
129
130
|
body?: {
|
|
130
131
|
onEvent: string;
|
|
131
132
|
commands: {
|
|
132
|
-
target: string;
|
|
133
133
|
params: Record<string, unknown>;
|
|
134
134
|
command: string;
|
|
135
|
+
target: string;
|
|
135
136
|
}[];
|
|
136
137
|
runIf?: string | undefined;
|
|
137
138
|
} | undefined;
|
|
138
|
-
metadata?: Record<string, unknown> | undefined;
|
|
139
|
-
description?: string | undefined;
|
|
140
|
-
displayName?: string | undefined;
|
|
141
139
|
enabled?: boolean | undefined;
|
|
142
140
|
exclusivityGroup?: string | null | undefined;
|
|
143
141
|
score?: number | null | undefined;
|
|
142
|
+
module?: string | null | undefined;
|
|
143
|
+
metadata?: Record<string, unknown> | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
id: string;
|
|
146
146
|
code?: string | null | undefined;
|
|
147
|
-
|
|
147
|
+
displayName?: string | undefined;
|
|
148
|
+
description?: string | undefined;
|
|
148
149
|
body?: {
|
|
149
150
|
onEvent: string;
|
|
150
151
|
commands: {
|
|
151
|
-
target: string;
|
|
152
152
|
params: Record<string, unknown>;
|
|
153
153
|
command: string;
|
|
154
|
+
target: string;
|
|
154
155
|
}[];
|
|
155
156
|
runIf?: string | undefined;
|
|
156
157
|
} | undefined;
|
|
157
|
-
metadata?: Record<string, unknown> | undefined;
|
|
158
|
-
description?: string | undefined;
|
|
159
|
-
displayName?: string | undefined;
|
|
160
158
|
enabled?: boolean | undefined;
|
|
161
159
|
exclusivityGroup?: string | null | undefined;
|
|
162
160
|
score?: number | null | undefined;
|
|
161
|
+
module?: string | null | undefined;
|
|
162
|
+
metadata?: Record<string, unknown> | undefined;
|
|
163
163
|
}>;
|
|
164
164
|
export declare const sAutomationBulkMergeRequest: z.ZodObject<{
|
|
165
165
|
merge: z.ZodArray<z.ZodObject<{
|
|
@@ -174,28 +174,28 @@ export declare const sAutomationBulkMergeRequest: z.ZodObject<{
|
|
|
174
174
|
target: z.ZodString;
|
|
175
175
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
target: string;
|
|
178
177
|
params: Record<string, unknown>;
|
|
179
178
|
command: string;
|
|
180
|
-
}, {
|
|
181
179
|
target: string;
|
|
180
|
+
}, {
|
|
182
181
|
params: Record<string, unknown>;
|
|
183
182
|
command: string;
|
|
183
|
+
target: string;
|
|
184
184
|
}>, "many">;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
186
|
onEvent: string;
|
|
187
187
|
commands: {
|
|
188
|
-
target: string;
|
|
189
188
|
params: Record<string, unknown>;
|
|
190
189
|
command: string;
|
|
190
|
+
target: string;
|
|
191
191
|
}[];
|
|
192
192
|
runIf?: string | undefined;
|
|
193
193
|
}, {
|
|
194
194
|
onEvent: string;
|
|
195
195
|
commands: {
|
|
196
|
-
target: string;
|
|
197
196
|
params: Record<string, unknown>;
|
|
198
197
|
command: string;
|
|
198
|
+
target: string;
|
|
199
199
|
}[];
|
|
200
200
|
runIf?: string | undefined;
|
|
201
201
|
}>;
|
|
@@ -206,81 +206,81 @@ export declare const sAutomationBulkMergeRequest: z.ZodObject<{
|
|
|
206
206
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
code: string | null;
|
|
209
|
-
|
|
209
|
+
displayName: string;
|
|
210
210
|
body: {
|
|
211
211
|
onEvent: string;
|
|
212
212
|
commands: {
|
|
213
|
-
target: string;
|
|
214
213
|
params: Record<string, unknown>;
|
|
215
214
|
command: string;
|
|
215
|
+
target: string;
|
|
216
216
|
}[];
|
|
217
217
|
runIf?: string | undefined;
|
|
218
218
|
};
|
|
219
|
-
metadata: Record<string, unknown>;
|
|
220
|
-
displayName: string;
|
|
221
219
|
enabled: boolean;
|
|
222
220
|
exclusivityGroup: string | null;
|
|
223
221
|
score: number | null;
|
|
222
|
+
module: string | null;
|
|
223
|
+
metadata: Record<string, unknown>;
|
|
224
224
|
description?: string | undefined;
|
|
225
225
|
}, {
|
|
226
226
|
code: string | null;
|
|
227
|
-
|
|
227
|
+
displayName: string;
|
|
228
228
|
body: {
|
|
229
229
|
onEvent: string;
|
|
230
230
|
commands: {
|
|
231
|
-
target: string;
|
|
232
231
|
params: Record<string, unknown>;
|
|
233
232
|
command: string;
|
|
233
|
+
target: string;
|
|
234
234
|
}[];
|
|
235
235
|
runIf?: string | undefined;
|
|
236
236
|
};
|
|
237
|
-
metadata: Record<string, unknown>;
|
|
238
|
-
displayName: string;
|
|
239
237
|
enabled: boolean;
|
|
240
238
|
exclusivityGroup: string | null;
|
|
241
239
|
score: number | null;
|
|
240
|
+
module: string | null;
|
|
241
|
+
metadata: Record<string, unknown>;
|
|
242
242
|
description?: string | undefined;
|
|
243
243
|
}>, "many">;
|
|
244
244
|
removeCodes: z.ZodArray<z.ZodString, "many">;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
merge: {
|
|
247
247
|
code: string | null;
|
|
248
|
-
|
|
248
|
+
displayName: string;
|
|
249
249
|
body: {
|
|
250
250
|
onEvent: string;
|
|
251
251
|
commands: {
|
|
252
|
-
target: string;
|
|
253
252
|
params: Record<string, unknown>;
|
|
254
253
|
command: string;
|
|
254
|
+
target: string;
|
|
255
255
|
}[];
|
|
256
256
|
runIf?: string | undefined;
|
|
257
257
|
};
|
|
258
|
-
metadata: Record<string, unknown>;
|
|
259
|
-
displayName: string;
|
|
260
258
|
enabled: boolean;
|
|
261
259
|
exclusivityGroup: string | null;
|
|
262
260
|
score: number | null;
|
|
261
|
+
module: string | null;
|
|
262
|
+
metadata: Record<string, unknown>;
|
|
263
263
|
description?: string | undefined;
|
|
264
264
|
}[];
|
|
265
265
|
removeCodes: string[];
|
|
266
266
|
}, {
|
|
267
267
|
merge: {
|
|
268
268
|
code: string | null;
|
|
269
|
-
|
|
269
|
+
displayName: string;
|
|
270
270
|
body: {
|
|
271
271
|
onEvent: string;
|
|
272
272
|
commands: {
|
|
273
|
-
target: string;
|
|
274
273
|
params: Record<string, unknown>;
|
|
275
274
|
command: string;
|
|
275
|
+
target: string;
|
|
276
276
|
}[];
|
|
277
277
|
runIf?: string | undefined;
|
|
278
278
|
};
|
|
279
|
-
metadata: Record<string, unknown>;
|
|
280
|
-
displayName: string;
|
|
281
279
|
enabled: boolean;
|
|
282
280
|
exclusivityGroup: string | null;
|
|
283
281
|
score: number | null;
|
|
282
|
+
module: string | null;
|
|
283
|
+
metadata: Record<string, unknown>;
|
|
284
284
|
description?: string | undefined;
|
|
285
285
|
}[];
|
|
286
286
|
removeCodes: string[];
|
|
@@ -5,15 +5,15 @@ export declare const sCreateBookmarkRq: 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 sUpdateBookmarkBody: z.ZodObject<{
|
|
19
19
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -21,15 +21,15 @@ export declare const sUpdateBookmarkBody: z.ZodObject<{
|
|
|
21
21
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
label?: string | undefined;
|
|
25
|
-
metadata?: Record<string, unknown> | undefined;
|
|
26
24
|
deviceId?: string | undefined;
|
|
25
|
+
metadata?: Record<string, unknown> | undefined;
|
|
27
26
|
timestamp?: number | undefined;
|
|
28
|
-
}, {
|
|
29
27
|
label?: string | undefined;
|
|
30
|
-
|
|
28
|
+
}, {
|
|
31
29
|
deviceId?: string | undefined;
|
|
30
|
+
metadata?: Record<string, unknown> | undefined;
|
|
32
31
|
timestamp?: number | undefined;
|
|
32
|
+
label?: string | undefined;
|
|
33
33
|
}>;
|
|
34
34
|
export declare const sUpdateBookmarkRq: z.ZodIntersection<z.ZodObject<{
|
|
35
35
|
id: z.ZodString;
|
|
@@ -43,15 +43,15 @@ export declare const sUpdateBookmarkRq: z.ZodIntersection<z.ZodObject<{
|
|
|
43
43
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
44
44
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
label?: string | undefined;
|
|
47
|
-
metadata?: Record<string, unknown> | undefined;
|
|
48
46
|
deviceId?: string | undefined;
|
|
47
|
+
metadata?: Record<string, unknown> | undefined;
|
|
49
48
|
timestamp?: number | undefined;
|
|
50
|
-
}, {
|
|
51
49
|
label?: string | undefined;
|
|
52
|
-
|
|
50
|
+
}, {
|
|
53
51
|
deviceId?: string | undefined;
|
|
52
|
+
metadata?: Record<string, unknown> | undefined;
|
|
54
53
|
timestamp?: number | undefined;
|
|
54
|
+
label?: string | undefined;
|
|
55
55
|
}>>;
|
|
56
56
|
export declare const sDeleteBookmarkRq: z.ZodObject<{
|
|
57
57
|
id: z.ZodString;
|
|
@@ -6,25 +6,25 @@ export declare const sAddCustomFieldRequest: z.ZodObject<Omit<{
|
|
|
6
6
|
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
7
7
|
extendsType: z.ZodEnum<["person"]>;
|
|
8
8
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
9
|
-
name: string;
|
|
10
9
|
type: "string" | "number" | "boolean" | "date";
|
|
10
|
+
name: string;
|
|
11
11
|
extendsType: "person";
|
|
12
12
|
}, {
|
|
13
|
-
name: string;
|
|
14
13
|
type: "string" | "number" | "boolean" | "date";
|
|
14
|
+
name: string;
|
|
15
15
|
extendsType: "person";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const sUpdateCustomFieldRequest: z.ZodObject<{
|
|
18
|
-
name: z.ZodOptional<z.ZodString>;
|
|
19
18
|
type: z.ZodOptional<z.ZodEnum<["string", "number", "boolean", "date"]>>;
|
|
19
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20
20
|
extendsType: z.ZodOptional<z.ZodEnum<["person"]>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
name?: string | undefined;
|
|
23
22
|
type?: "string" | "number" | "boolean" | "date" | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
24
|
extendsType?: "person" | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
name?: string | undefined;
|
|
27
26
|
type?: "string" | "number" | "boolean" | "date" | undefined;
|
|
27
|
+
name?: string | undefined;
|
|
28
28
|
extendsType?: "person" | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
export type AddCustomFieldRequest = z.infer<typeof sAddCustomFieldRequest>;
|
|
@@ -20,8 +20,8 @@ export declare const sAddDeviceRequest: z.ZodObject<{
|
|
|
20
20
|
type: z.ZodEnum<["alarm", "server", "camera", "door", "reader", "io-board", "camera-lift", "motion-sensor", "panic-button", "intercom-operator", "intercom-terminal", "pbx", "device-gateway", "presence-tracker", "display", "nvr-recorder", "nvr-exporter", "nvr-analytics-server", "system"]>;
|
|
21
21
|
specs: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodUnknown, z.objectOutputType<{}, z.ZodUnknown, "strip">, z.objectInputType<{}, z.ZodUnknown, "strip">>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
type: "camera" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "display" | "server" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
|
|
23
24
|
name: string;
|
|
24
|
-
type: "camera" | "server" | "display" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
|
|
25
25
|
foreignRef: string;
|
|
26
26
|
notes: string | null;
|
|
27
27
|
tags: string[];
|
|
@@ -35,8 +35,8 @@ export declare const sAddDeviceRequest: z.ZodObject<{
|
|
|
35
35
|
};
|
|
36
36
|
specs?: z.objectOutputType<{}, z.ZodUnknown, "strip"> | undefined;
|
|
37
37
|
}, {
|
|
38
|
+
type: "camera" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "display" | "server" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
|
|
38
39
|
name: string;
|
|
39
|
-
type: "camera" | "server" | "display" | "door" | "io-board" | "camera-lift" | "motion-sensor" | "panic-button" | "intercom-operator" | "intercom-terminal" | "pbx" | "alarm" | "device-gateway" | "presence-tracker" | "reader" | "nvr-recorder" | "nvr-exporter" | "nvr-analytics-server" | "system";
|
|
40
40
|
foreignRef: string;
|
|
41
41
|
notes: string | null;
|
|
42
42
|
tags: string[];
|
|
@@ -132,18 +132,18 @@ export declare const sAddDevicePresetRequest: z.ZodObject<{
|
|
|
132
132
|
isDefault: z.ZodBoolean;
|
|
133
133
|
deviceId: z.ZodString;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
name: string;
|
|
136
135
|
params: {} & {
|
|
137
136
|
[k: string]: unknown;
|
|
138
137
|
};
|
|
138
|
+
name: string;
|
|
139
139
|
deviceId: string;
|
|
140
140
|
isDefault: boolean;
|
|
141
141
|
assignedRef: string | null;
|
|
142
142
|
}, {
|
|
143
|
-
name: string;
|
|
144
143
|
params: {} & {
|
|
145
144
|
[k: string]: unknown;
|
|
146
145
|
};
|
|
146
|
+
name: string;
|
|
147
147
|
deviceId: string;
|
|
148
148
|
isDefault: boolean;
|
|
149
149
|
assignedRef: string | null;
|
|
@@ -191,15 +191,15 @@ export declare const sGetEventCatalogResponse: z.ZodArray<z.ZodObject<{
|
|
|
191
191
|
label: string;
|
|
192
192
|
}>, "many">>;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|
|
194
|
-
label: string;
|
|
195
194
|
kind: string;
|
|
195
|
+
label: string;
|
|
196
196
|
variants?: {
|
|
197
197
|
name: string;
|
|
198
198
|
label: string;
|
|
199
199
|
}[] | undefined;
|
|
200
200
|
}, {
|
|
201
|
-
label: string;
|
|
202
201
|
kind: string;
|
|
202
|
+
label: string;
|
|
203
203
|
variants?: {
|
|
204
204
|
name: string;
|
|
205
205
|
label: string;
|
|
@@ -5,12 +5,12 @@ export declare const sIoSlot: z.ZodObject<{
|
|
|
5
5
|
slot: z.ZodString;
|
|
6
6
|
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
slot: string;
|
|
9
8
|
deviceId: string;
|
|
9
|
+
slot: string;
|
|
10
10
|
inverted?: boolean | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
slot: string;
|
|
13
12
|
deviceId: string;
|
|
13
|
+
slot: string;
|
|
14
14
|
inverted?: boolean | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type IoSlot = z.infer<typeof sIoSlot>;
|
|
@@ -19,12 +19,12 @@ export declare const sInputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
19
19
|
slot: z.ZodString;
|
|
20
20
|
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
slot: string;
|
|
23
22
|
deviceId: string;
|
|
23
|
+
slot: string;
|
|
24
24
|
inverted?: boolean | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
slot: string;
|
|
27
26
|
deviceId: string;
|
|
27
|
+
slot: string;
|
|
28
28
|
inverted?: boolean | undefined;
|
|
29
29
|
}>>;
|
|
30
30
|
export type InputBindings = z.infer<typeof sInputBindings>;
|
|
@@ -33,12 +33,12 @@ export declare const sOutputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
33
33
|
slot: z.ZodString;
|
|
34
34
|
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
slot: string;
|
|
37
36
|
deviceId: string;
|
|
37
|
+
slot: string;
|
|
38
38
|
inverted?: boolean | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
slot: string;
|
|
41
40
|
deviceId: string;
|
|
41
|
+
slot: string;
|
|
42
42
|
inverted?: boolean | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
export type OutputBindings = z.infer<typeof sOutputBindings>;
|
|
@@ -75,12 +75,12 @@ export declare const sUpdateCustomDeviceRequest: z.ZodObject<{
|
|
|
75
75
|
slot: z.ZodString;
|
|
76
76
|
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
slot: string;
|
|
79
78
|
deviceId: string;
|
|
79
|
+
slot: string;
|
|
80
80
|
inverted?: boolean | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
slot: string;
|
|
83
82
|
deviceId: string;
|
|
83
|
+
slot: string;
|
|
84
84
|
inverted?: boolean | undefined;
|
|
85
85
|
}>>;
|
|
86
86
|
outputBindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -88,34 +88,34 @@ export declare const sUpdateCustomDeviceRequest: z.ZodObject<{
|
|
|
88
88
|
slot: z.ZodString;
|
|
89
89
|
inverted: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
slot: string;
|
|
92
91
|
deviceId: string;
|
|
92
|
+
slot: string;
|
|
93
93
|
inverted?: boolean | undefined;
|
|
94
94
|
}, {
|
|
95
|
-
slot: string;
|
|
96
95
|
deviceId: string;
|
|
96
|
+
slot: string;
|
|
97
97
|
inverted?: boolean | undefined;
|
|
98
98
|
}>>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
inputBindings: Record<string, {
|
|
101
|
-
slot: string;
|
|
102
101
|
deviceId: string;
|
|
102
|
+
slot: string;
|
|
103
103
|
inverted?: boolean | undefined;
|
|
104
104
|
}>;
|
|
105
105
|
outputBindings: Record<string, {
|
|
106
|
-
slot: string;
|
|
107
106
|
deviceId: string;
|
|
107
|
+
slot: string;
|
|
108
108
|
inverted?: boolean | undefined;
|
|
109
109
|
}>;
|
|
110
110
|
}, {
|
|
111
111
|
inputBindings: Record<string, {
|
|
112
|
-
slot: string;
|
|
113
112
|
deviceId: string;
|
|
113
|
+
slot: string;
|
|
114
114
|
inverted?: boolean | undefined;
|
|
115
115
|
}>;
|
|
116
116
|
outputBindings: Record<string, {
|
|
117
|
-
slot: string;
|
|
118
117
|
deviceId: string;
|
|
118
|
+
slot: string;
|
|
119
119
|
inverted?: boolean | undefined;
|
|
120
120
|
}>;
|
|
121
121
|
}>;
|