@seamapi/types 1.210.0 → 1.211.0
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/connect.d.cts +2793 -1343
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const lock_method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
3
3
|
export type LockMethod = z.infer<typeof lock_method>;
|
|
4
|
-
export declare const device_connected_event: z.ZodObject<{
|
|
5
|
-
connected_account_id: z.ZodString;
|
|
6
|
-
created_at: z.ZodString;
|
|
7
|
-
device_id: z.ZodString;
|
|
8
|
-
workspace_id: z.ZodString;
|
|
4
|
+
export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9
5
|
event_id: z.ZodString;
|
|
6
|
+
workspace_id: z.ZodString;
|
|
7
|
+
created_at: z.ZodString;
|
|
10
8
|
occurred_at: z.ZodString;
|
|
9
|
+
}, {
|
|
10
|
+
device_id: z.ZodString;
|
|
11
|
+
connected_account_id: z.ZodString;
|
|
12
|
+
}>, {
|
|
11
13
|
event_type: z.ZodLiteral<"device.connected">;
|
|
12
|
-
}
|
|
14
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13
15
|
connected_account_id: string;
|
|
14
16
|
created_at: string;
|
|
15
17
|
device_id: string;
|
|
@@ -27,15 +29,17 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
27
29
|
event_type: "device.connected";
|
|
28
30
|
}>;
|
|
29
31
|
export type DeviceConnectedEvent = z.infer<typeof device_connected_event>;
|
|
30
|
-
export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
31
|
-
connected_account_id: z.ZodString;
|
|
32
|
-
created_at: z.ZodString;
|
|
33
|
-
device_id: z.ZodString;
|
|
34
|
-
workspace_id: z.ZodString;
|
|
32
|
+
export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
35
33
|
event_id: z.ZodString;
|
|
34
|
+
workspace_id: z.ZodString;
|
|
35
|
+
created_at: z.ZodString;
|
|
36
36
|
occurred_at: z.ZodString;
|
|
37
|
+
}, {
|
|
38
|
+
device_id: z.ZodString;
|
|
39
|
+
connected_account_id: z.ZodString;
|
|
40
|
+
}>, {
|
|
37
41
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
38
|
-
}
|
|
42
|
+
}>, "strip", z.ZodTypeAny, {
|
|
39
43
|
connected_account_id: string;
|
|
40
44
|
created_at: string;
|
|
41
45
|
device_id: string;
|
|
@@ -53,15 +57,17 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
53
57
|
event_type: "device.converted_to_unmanaged";
|
|
54
58
|
}>;
|
|
55
59
|
export type DeviceConvertedToUnmanagedEvent = z.infer<typeof device_converted_to_unmanaged_event>;
|
|
56
|
-
export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
57
|
-
connected_account_id: z.ZodString;
|
|
58
|
-
created_at: z.ZodString;
|
|
59
|
-
device_id: z.ZodString;
|
|
60
|
-
workspace_id: z.ZodString;
|
|
60
|
+
export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
61
61
|
event_id: z.ZodString;
|
|
62
|
+
workspace_id: z.ZodString;
|
|
63
|
+
created_at: z.ZodString;
|
|
62
64
|
occurred_at: z.ZodString;
|
|
65
|
+
}, {
|
|
66
|
+
device_id: z.ZodString;
|
|
67
|
+
connected_account_id: z.ZodString;
|
|
68
|
+
}>, {
|
|
63
69
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
64
|
-
}
|
|
70
|
+
}>, "strip", z.ZodTypeAny, {
|
|
65
71
|
connected_account_id: string;
|
|
66
72
|
created_at: string;
|
|
67
73
|
device_id: string;
|
|
@@ -79,15 +85,17 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
79
85
|
event_type: "device.unmanaged.converted_to_managed";
|
|
80
86
|
}>;
|
|
81
87
|
export type UnmanagedDeviceConvertedToManagedEvent = z.infer<typeof unmanaged_device_converted_to_managed_event>;
|
|
82
|
-
export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
83
|
-
connected_account_id: z.ZodString;
|
|
84
|
-
created_at: z.ZodString;
|
|
85
|
-
device_id: z.ZodString;
|
|
86
|
-
workspace_id: z.ZodString;
|
|
88
|
+
export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
87
89
|
event_id: z.ZodString;
|
|
90
|
+
workspace_id: z.ZodString;
|
|
91
|
+
created_at: z.ZodString;
|
|
88
92
|
occurred_at: z.ZodString;
|
|
93
|
+
}, {
|
|
94
|
+
device_id: z.ZodString;
|
|
95
|
+
connected_account_id: z.ZodString;
|
|
96
|
+
}>, {
|
|
89
97
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
90
|
-
}
|
|
98
|
+
}>, "strip", z.ZodTypeAny, {
|
|
91
99
|
connected_account_id: string;
|
|
92
100
|
created_at: string;
|
|
93
101
|
device_id: string;
|
|
@@ -105,16 +113,18 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
105
113
|
event_type: "device.unmanaged.connected";
|
|
106
114
|
}>;
|
|
107
115
|
export type UnmanagedDeviceConnectedEvent = z.infer<typeof unmanaged_device_connected_event>;
|
|
108
|
-
export declare const device_disconnected_event: z.ZodObject<{
|
|
109
|
-
connected_account_id: z.ZodString;
|
|
110
|
-
created_at: z.ZodString;
|
|
111
|
-
device_id: z.ZodString;
|
|
112
|
-
workspace_id: z.ZodString;
|
|
116
|
+
export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
113
117
|
event_id: z.ZodString;
|
|
118
|
+
workspace_id: z.ZodString;
|
|
119
|
+
created_at: z.ZodString;
|
|
114
120
|
occurred_at: z.ZodString;
|
|
121
|
+
}, {
|
|
122
|
+
device_id: z.ZodString;
|
|
123
|
+
connected_account_id: z.ZodString;
|
|
124
|
+
}>, {
|
|
115
125
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
116
126
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
117
|
-
}
|
|
127
|
+
}>, "strip", z.ZodTypeAny, {
|
|
118
128
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
119
129
|
connected_account_id: string;
|
|
120
130
|
created_at: string;
|
|
@@ -134,16 +144,18 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
134
144
|
event_type: "device.disconnected";
|
|
135
145
|
}>;
|
|
136
146
|
export type DeviceDisconnectedEvent = z.infer<typeof device_disconnected_event>;
|
|
137
|
-
export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
138
|
-
connected_account_id: z.ZodString;
|
|
139
|
-
created_at: z.ZodString;
|
|
140
|
-
device_id: z.ZodString;
|
|
141
|
-
workspace_id: z.ZodString;
|
|
147
|
+
export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
142
148
|
event_id: z.ZodString;
|
|
149
|
+
workspace_id: z.ZodString;
|
|
150
|
+
created_at: z.ZodString;
|
|
143
151
|
occurred_at: z.ZodString;
|
|
152
|
+
}, {
|
|
153
|
+
device_id: z.ZodString;
|
|
154
|
+
connected_account_id: z.ZodString;
|
|
155
|
+
}>, {
|
|
144
156
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
145
157
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
146
|
-
}
|
|
158
|
+
}>, "strip", z.ZodTypeAny, {
|
|
147
159
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
148
160
|
connected_account_id: string;
|
|
149
161
|
created_at: string;
|
|
@@ -163,15 +175,17 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
163
175
|
event_type: "device.unmanaged.disconnected";
|
|
164
176
|
}>;
|
|
165
177
|
export type UnmanagedDeviceDisconnectedEvent = z.infer<typeof unmanaged_device_disconnected_event>;
|
|
166
|
-
export declare const device_tampered_event: z.ZodObject<{
|
|
167
|
-
connected_account_id: z.ZodString;
|
|
168
|
-
created_at: z.ZodString;
|
|
169
|
-
device_id: z.ZodString;
|
|
170
|
-
workspace_id: z.ZodString;
|
|
178
|
+
export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
171
179
|
event_id: z.ZodString;
|
|
180
|
+
workspace_id: z.ZodString;
|
|
181
|
+
created_at: z.ZodString;
|
|
172
182
|
occurred_at: z.ZodString;
|
|
183
|
+
}, {
|
|
184
|
+
device_id: z.ZodString;
|
|
185
|
+
connected_account_id: z.ZodString;
|
|
186
|
+
}>, {
|
|
173
187
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
174
|
-
}
|
|
188
|
+
}>, "strip", z.ZodTypeAny, {
|
|
175
189
|
connected_account_id: string;
|
|
176
190
|
created_at: string;
|
|
177
191
|
device_id: string;
|
|
@@ -189,16 +203,18 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
189
203
|
event_type: "device.tampered";
|
|
190
204
|
}>;
|
|
191
205
|
export type DeviceTamperedEvent = z.infer<typeof device_tampered_event>;
|
|
192
|
-
export declare const device_low_battery_event: z.ZodObject<{
|
|
193
|
-
connected_account_id: z.ZodString;
|
|
194
|
-
created_at: z.ZodString;
|
|
195
|
-
device_id: z.ZodString;
|
|
196
|
-
workspace_id: z.ZodString;
|
|
206
|
+
export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
197
207
|
event_id: z.ZodString;
|
|
208
|
+
workspace_id: z.ZodString;
|
|
209
|
+
created_at: z.ZodString;
|
|
198
210
|
occurred_at: z.ZodString;
|
|
211
|
+
}, {
|
|
212
|
+
device_id: z.ZodString;
|
|
213
|
+
connected_account_id: z.ZodString;
|
|
214
|
+
}>, {
|
|
199
215
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
200
216
|
battery_level: z.ZodNumber;
|
|
201
|
-
}
|
|
217
|
+
}>, "strip", z.ZodTypeAny, {
|
|
202
218
|
connected_account_id: string;
|
|
203
219
|
created_at: string;
|
|
204
220
|
device_id: string;
|
|
@@ -218,17 +234,19 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
218
234
|
event_type: "device.low_battery";
|
|
219
235
|
}>;
|
|
220
236
|
export type DeviceLowBatteryEvent = z.infer<typeof device_low_battery_event>;
|
|
221
|
-
export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
222
|
-
connected_account_id: z.ZodString;
|
|
223
|
-
created_at: z.ZodString;
|
|
224
|
-
device_id: z.ZodString;
|
|
225
|
-
workspace_id: z.ZodString;
|
|
237
|
+
export declare const device_battery_status_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
226
238
|
event_id: z.ZodString;
|
|
239
|
+
workspace_id: z.ZodString;
|
|
240
|
+
created_at: z.ZodString;
|
|
227
241
|
occurred_at: z.ZodString;
|
|
242
|
+
}, {
|
|
243
|
+
device_id: z.ZodString;
|
|
244
|
+
connected_account_id: z.ZodString;
|
|
245
|
+
}>, {
|
|
228
246
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
229
247
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
230
248
|
battery_level: z.ZodNumber;
|
|
231
|
-
}
|
|
249
|
+
}>, "strip", z.ZodTypeAny, {
|
|
232
250
|
connected_account_id: string;
|
|
233
251
|
created_at: string;
|
|
234
252
|
device_id: string;
|
|
@@ -250,15 +268,17 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
250
268
|
battery_status: "low" | "full" | "critical" | "good";
|
|
251
269
|
}>;
|
|
252
270
|
export type DeviceBatteryStatusChangedEvent = z.infer<typeof device_battery_status_changed_event>;
|
|
253
|
-
export declare const device_removed_event: z.ZodObject<{
|
|
254
|
-
connected_account_id: z.ZodString;
|
|
255
|
-
created_at: z.ZodString;
|
|
256
|
-
device_id: z.ZodString;
|
|
257
|
-
workspace_id: z.ZodString;
|
|
271
|
+
export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
258
272
|
event_id: z.ZodString;
|
|
273
|
+
workspace_id: z.ZodString;
|
|
274
|
+
created_at: z.ZodString;
|
|
259
275
|
occurred_at: z.ZodString;
|
|
276
|
+
}, {
|
|
277
|
+
device_id: z.ZodString;
|
|
278
|
+
connected_account_id: z.ZodString;
|
|
279
|
+
}>, {
|
|
260
280
|
event_type: z.ZodLiteral<"device.removed">;
|
|
261
|
-
}
|
|
281
|
+
}>, "strip", z.ZodTypeAny, {
|
|
262
282
|
connected_account_id: string;
|
|
263
283
|
created_at: string;
|
|
264
284
|
device_id: string;
|
|
@@ -276,15 +296,17 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
276
296
|
event_type: "device.removed";
|
|
277
297
|
}>;
|
|
278
298
|
export type DeviceRemovedEvent = z.infer<typeof device_removed_event>;
|
|
279
|
-
export declare const device_deleted_event: z.ZodObject<{
|
|
280
|
-
connected_account_id: z.ZodString;
|
|
281
|
-
created_at: z.ZodString;
|
|
282
|
-
device_id: z.ZodString;
|
|
283
|
-
workspace_id: z.ZodString;
|
|
299
|
+
export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
284
300
|
event_id: z.ZodString;
|
|
301
|
+
workspace_id: z.ZodString;
|
|
302
|
+
created_at: z.ZodString;
|
|
285
303
|
occurred_at: z.ZodString;
|
|
304
|
+
}, {
|
|
305
|
+
device_id: z.ZodString;
|
|
306
|
+
connected_account_id: z.ZodString;
|
|
307
|
+
}>, {
|
|
286
308
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
287
|
-
}
|
|
309
|
+
}>, "strip", z.ZodTypeAny, {
|
|
288
310
|
connected_account_id: string;
|
|
289
311
|
created_at: string;
|
|
290
312
|
device_id: string;
|
|
@@ -302,15 +324,17 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
302
324
|
event_type: "device.deleted";
|
|
303
325
|
}>;
|
|
304
326
|
export type DeviceDeletedEvent = z.infer<typeof device_deleted_event>;
|
|
305
|
-
export declare const device_third_party_integration_detected_event: z.ZodObject<{
|
|
306
|
-
connected_account_id: z.ZodString;
|
|
307
|
-
created_at: z.ZodString;
|
|
308
|
-
device_id: z.ZodString;
|
|
309
|
-
workspace_id: z.ZodString;
|
|
327
|
+
export declare const device_third_party_integration_detected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
310
328
|
event_id: z.ZodString;
|
|
329
|
+
workspace_id: z.ZodString;
|
|
330
|
+
created_at: z.ZodString;
|
|
311
331
|
occurred_at: z.ZodString;
|
|
332
|
+
}, {
|
|
333
|
+
device_id: z.ZodString;
|
|
334
|
+
connected_account_id: z.ZodString;
|
|
335
|
+
}>, {
|
|
312
336
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
313
|
-
}
|
|
337
|
+
}>, "strip", z.ZodTypeAny, {
|
|
314
338
|
connected_account_id: string;
|
|
315
339
|
created_at: string;
|
|
316
340
|
device_id: string;
|
|
@@ -328,15 +352,17 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
328
352
|
event_type: "device.third_party_integration_detected";
|
|
329
353
|
}>;
|
|
330
354
|
export type DeviceThirdPartyIntegrationDetectedEvent = z.infer<typeof device_third_party_integration_detected_event>;
|
|
331
|
-
export declare const device_third_party_integration_no_longer_detected_event: z.ZodObject<{
|
|
332
|
-
connected_account_id: z.ZodString;
|
|
333
|
-
created_at: z.ZodString;
|
|
334
|
-
device_id: z.ZodString;
|
|
335
|
-
workspace_id: z.ZodString;
|
|
355
|
+
export declare const device_third_party_integration_no_longer_detected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
336
356
|
event_id: z.ZodString;
|
|
357
|
+
workspace_id: z.ZodString;
|
|
358
|
+
created_at: z.ZodString;
|
|
337
359
|
occurred_at: z.ZodString;
|
|
360
|
+
}, {
|
|
361
|
+
device_id: z.ZodString;
|
|
362
|
+
connected_account_id: z.ZodString;
|
|
363
|
+
}>, {
|
|
338
364
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
339
|
-
}
|
|
365
|
+
}>, "strip", z.ZodTypeAny, {
|
|
340
366
|
connected_account_id: string;
|
|
341
367
|
created_at: string;
|
|
342
368
|
device_id: string;
|
|
@@ -354,15 +380,17 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
354
380
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
355
381
|
}>;
|
|
356
382
|
export type DeviceThirdPartyIntegrationNoLongerDetectedEvent = z.infer<typeof device_third_party_integration_no_longer_detected_event>;
|
|
357
|
-
export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
358
|
-
connected_account_id: z.ZodString;
|
|
359
|
-
created_at: z.ZodString;
|
|
360
|
-
device_id: z.ZodString;
|
|
361
|
-
workspace_id: z.ZodString;
|
|
383
|
+
export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
362
384
|
event_id: z.ZodString;
|
|
385
|
+
workspace_id: z.ZodString;
|
|
386
|
+
created_at: z.ZodString;
|
|
363
387
|
occurred_at: z.ZodString;
|
|
388
|
+
}, {
|
|
389
|
+
device_id: z.ZodString;
|
|
390
|
+
connected_account_id: z.ZodString;
|
|
391
|
+
}>, {
|
|
364
392
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
365
|
-
}
|
|
393
|
+
}>, "strip", z.ZodTypeAny, {
|
|
366
394
|
connected_account_id: string;
|
|
367
395
|
created_at: string;
|
|
368
396
|
device_id: string;
|
|
@@ -380,15 +408,17 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
380
408
|
event_type: "device.salto.privacy_mode_activated";
|
|
381
409
|
}>;
|
|
382
410
|
export type DeviceSaltoPrivacyModeActivatedEvent = z.infer<typeof device_salto_privacy_mode_activated_event>;
|
|
383
|
-
export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
384
|
-
connected_account_id: z.ZodString;
|
|
385
|
-
created_at: z.ZodString;
|
|
386
|
-
device_id: z.ZodString;
|
|
387
|
-
workspace_id: z.ZodString;
|
|
411
|
+
export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
388
412
|
event_id: z.ZodString;
|
|
413
|
+
workspace_id: z.ZodString;
|
|
414
|
+
created_at: z.ZodString;
|
|
389
415
|
occurred_at: z.ZodString;
|
|
416
|
+
}, {
|
|
417
|
+
device_id: z.ZodString;
|
|
418
|
+
connected_account_id: z.ZodString;
|
|
419
|
+
}>, {
|
|
390
420
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
391
|
-
}
|
|
421
|
+
}>, "strip", z.ZodTypeAny, {
|
|
392
422
|
connected_account_id: string;
|
|
393
423
|
created_at: string;
|
|
394
424
|
device_id: string;
|
|
@@ -406,15 +436,17 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
406
436
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
407
437
|
}>;
|
|
408
438
|
export type DeviceSaltoPrivacyModeDeactivatedEvent = z.infer<typeof device_salto_privacy_mode_deactivated_event>;
|
|
409
|
-
export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
410
|
-
connected_account_id: z.ZodString;
|
|
411
|
-
created_at: z.ZodString;
|
|
412
|
-
device_id: z.ZodString;
|
|
413
|
-
workspace_id: z.ZodString;
|
|
439
|
+
export declare const device_connection_became_flaky_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
414
440
|
event_id: z.ZodString;
|
|
441
|
+
workspace_id: z.ZodString;
|
|
442
|
+
created_at: z.ZodString;
|
|
415
443
|
occurred_at: z.ZodString;
|
|
444
|
+
}, {
|
|
445
|
+
device_id: z.ZodString;
|
|
446
|
+
connected_account_id: z.ZodString;
|
|
447
|
+
}>, {
|
|
416
448
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
417
|
-
}
|
|
449
|
+
}>, "strip", z.ZodTypeAny, {
|
|
418
450
|
connected_account_id: string;
|
|
419
451
|
created_at: string;
|
|
420
452
|
device_id: string;
|
|
@@ -432,15 +464,17 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
432
464
|
event_type: "device.connection_became_flaky";
|
|
433
465
|
}>;
|
|
434
466
|
export type DeviceConnectionBecameFlakyEvent = z.infer<typeof device_connection_became_flaky_event>;
|
|
435
|
-
export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
436
|
-
connected_account_id: z.ZodString;
|
|
437
|
-
created_at: z.ZodString;
|
|
438
|
-
device_id: z.ZodString;
|
|
439
|
-
workspace_id: z.ZodString;
|
|
467
|
+
export declare const device_connection_stabilized_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
440
468
|
event_id: z.ZodString;
|
|
469
|
+
workspace_id: z.ZodString;
|
|
470
|
+
created_at: z.ZodString;
|
|
441
471
|
occurred_at: z.ZodString;
|
|
472
|
+
}, {
|
|
473
|
+
device_id: z.ZodString;
|
|
474
|
+
connected_account_id: z.ZodString;
|
|
475
|
+
}>, {
|
|
442
476
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
443
|
-
}
|
|
477
|
+
}>, "strip", z.ZodTypeAny, {
|
|
444
478
|
connected_account_id: string;
|
|
445
479
|
created_at: string;
|
|
446
480
|
device_id: string;
|
|
@@ -458,15 +492,17 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
458
492
|
event_type: "device.connection_stabilized";
|
|
459
493
|
}>;
|
|
460
494
|
export type DeviceConnectionStabilizedEvent = z.infer<typeof device_connection_stabilized_event>;
|
|
461
|
-
export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
462
|
-
connected_account_id: z.ZodString;
|
|
463
|
-
created_at: z.ZodString;
|
|
464
|
-
device_id: z.ZodString;
|
|
465
|
-
workspace_id: z.ZodString;
|
|
495
|
+
export declare const device_error_subscription_required_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
466
496
|
event_id: z.ZodString;
|
|
497
|
+
workspace_id: z.ZodString;
|
|
498
|
+
created_at: z.ZodString;
|
|
467
499
|
occurred_at: z.ZodString;
|
|
500
|
+
}, {
|
|
501
|
+
device_id: z.ZodString;
|
|
502
|
+
connected_account_id: z.ZodString;
|
|
503
|
+
}>, {
|
|
468
504
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
469
|
-
}
|
|
505
|
+
}>, "strip", z.ZodTypeAny, {
|
|
470
506
|
connected_account_id: string;
|
|
471
507
|
created_at: string;
|
|
472
508
|
device_id: string;
|
|
@@ -484,15 +520,17 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
484
520
|
event_type: "device.error.subscription_required";
|
|
485
521
|
}>;
|
|
486
522
|
export type DeviceErrorSubscriptionRequiredEvent = z.infer<typeof device_error_subscription_required_event>;
|
|
487
|
-
export declare const device_error_subscription_required_resolved_event: z.ZodObject<{
|
|
488
|
-
connected_account_id: z.ZodString;
|
|
489
|
-
created_at: z.ZodString;
|
|
490
|
-
device_id: z.ZodString;
|
|
491
|
-
workspace_id: z.ZodString;
|
|
523
|
+
export declare const device_error_subscription_required_resolved_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
492
524
|
event_id: z.ZodString;
|
|
525
|
+
workspace_id: z.ZodString;
|
|
526
|
+
created_at: z.ZodString;
|
|
493
527
|
occurred_at: z.ZodString;
|
|
528
|
+
}, {
|
|
529
|
+
device_id: z.ZodString;
|
|
530
|
+
connected_account_id: z.ZodString;
|
|
531
|
+
}>, {
|
|
494
532
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
495
|
-
}
|
|
533
|
+
}>, "strip", z.ZodTypeAny, {
|
|
496
534
|
connected_account_id: string;
|
|
497
535
|
created_at: string;
|
|
498
536
|
device_id: string;
|
|
@@ -510,15 +548,17 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
510
548
|
event_type: "device.error.subscription_required.resolved";
|
|
511
549
|
}>;
|
|
512
550
|
export type DeviceErrorSubscriptionRequiredResolvedEvent = z.infer<typeof device_error_subscription_required_resolved_event>;
|
|
513
|
-
export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
514
|
-
connected_account_id: z.ZodString;
|
|
515
|
-
created_at: z.ZodString;
|
|
516
|
-
device_id: z.ZodString;
|
|
517
|
-
workspace_id: z.ZodString;
|
|
551
|
+
export declare const device_accessory_keypad_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
518
552
|
event_id: z.ZodString;
|
|
553
|
+
workspace_id: z.ZodString;
|
|
554
|
+
created_at: z.ZodString;
|
|
519
555
|
occurred_at: z.ZodString;
|
|
556
|
+
}, {
|
|
557
|
+
device_id: z.ZodString;
|
|
558
|
+
connected_account_id: z.ZodString;
|
|
559
|
+
}>, {
|
|
520
560
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
521
|
-
}
|
|
561
|
+
}>, "strip", z.ZodTypeAny, {
|
|
522
562
|
connected_account_id: string;
|
|
523
563
|
created_at: string;
|
|
524
564
|
device_id: string;
|
|
@@ -536,15 +576,17 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
536
576
|
event_type: "device.accessory_keypad_connected";
|
|
537
577
|
}>;
|
|
538
578
|
export type DeviceAccessoryKeypadConnectedEvent = z.infer<typeof device_accessory_keypad_connected_event>;
|
|
539
|
-
export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
540
|
-
connected_account_id: z.ZodString;
|
|
541
|
-
created_at: z.ZodString;
|
|
542
|
-
device_id: z.ZodString;
|
|
543
|
-
workspace_id: z.ZodString;
|
|
579
|
+
export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
544
580
|
event_id: z.ZodString;
|
|
581
|
+
workspace_id: z.ZodString;
|
|
582
|
+
created_at: z.ZodString;
|
|
545
583
|
occurred_at: z.ZodString;
|
|
584
|
+
}, {
|
|
585
|
+
device_id: z.ZodString;
|
|
586
|
+
connected_account_id: z.ZodString;
|
|
587
|
+
}>, {
|
|
546
588
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
547
|
-
}
|
|
589
|
+
}>, "strip", z.ZodTypeAny, {
|
|
548
590
|
connected_account_id: string;
|
|
549
591
|
created_at: string;
|
|
550
592
|
device_id: string;
|
|
@@ -562,13 +604,15 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
562
604
|
event_type: "device.accessory_keypad_disconnected";
|
|
563
605
|
}>;
|
|
564
606
|
export type DeviceAccessoryKeypadDisconnectedEvent = z.infer<typeof device_accessory_keypad_disconnected_event>;
|
|
565
|
-
export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
566
|
-
connected_account_id: z.ZodString;
|
|
567
|
-
created_at: z.ZodString;
|
|
568
|
-
device_id: z.ZodString;
|
|
569
|
-
workspace_id: z.ZodString;
|
|
607
|
+
export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
570
608
|
event_id: z.ZodString;
|
|
609
|
+
workspace_id: z.ZodString;
|
|
610
|
+
created_at: z.ZodString;
|
|
571
611
|
occurred_at: z.ZodString;
|
|
612
|
+
}, {
|
|
613
|
+
device_id: z.ZodString;
|
|
614
|
+
connected_account_id: z.ZodString;
|
|
615
|
+
}>, {
|
|
572
616
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
573
617
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
574
618
|
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -576,7 +620,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
576
620
|
noise_threshold_name: z.ZodOptional<z.ZodString>;
|
|
577
621
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
578
622
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
579
|
-
}
|
|
623
|
+
}>, "strip", z.ZodTypeAny, {
|
|
580
624
|
connected_account_id: string;
|
|
581
625
|
created_at: string;
|
|
582
626
|
device_id: string;
|
|
@@ -584,12 +628,12 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
584
628
|
event_id: string;
|
|
585
629
|
occurred_at: string;
|
|
586
630
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
587
|
-
|
|
631
|
+
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
588
632
|
noise_level_nrs?: number | undefined;
|
|
633
|
+
minut_metadata?: Record<string, unknown> | undefined;
|
|
634
|
+
noise_level_decibels?: number | undefined;
|
|
589
635
|
noise_threshold_id?: string | undefined;
|
|
590
636
|
noise_threshold_name?: string | undefined;
|
|
591
|
-
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
592
|
-
minut_metadata?: Record<string, unknown> | undefined;
|
|
593
637
|
}, {
|
|
594
638
|
connected_account_id: string;
|
|
595
639
|
created_at: string;
|
|
@@ -598,26 +642,28 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
598
642
|
event_id: string;
|
|
599
643
|
occurred_at: string;
|
|
600
644
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
601
|
-
|
|
645
|
+
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
602
646
|
noise_level_nrs?: number | undefined;
|
|
647
|
+
minut_metadata?: Record<string, unknown> | undefined;
|
|
648
|
+
noise_level_decibels?: number | undefined;
|
|
603
649
|
noise_threshold_id?: string | undefined;
|
|
604
650
|
noise_threshold_name?: string | undefined;
|
|
605
|
-
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
606
|
-
minut_metadata?: Record<string, unknown> | undefined;
|
|
607
651
|
}>;
|
|
608
652
|
export type NoiseSensorNoiseThresholdTriggeredEvent = z.infer<typeof noise_sensor_noise_threshold_triggered_event>;
|
|
609
|
-
export declare const lock_locked_event: z.ZodObject<{
|
|
610
|
-
connected_account_id: z.ZodString;
|
|
611
|
-
created_at: z.ZodString;
|
|
612
|
-
device_id: z.ZodString;
|
|
613
|
-
workspace_id: z.ZodString;
|
|
653
|
+
export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
614
654
|
event_id: z.ZodString;
|
|
655
|
+
workspace_id: z.ZodString;
|
|
656
|
+
created_at: z.ZodString;
|
|
615
657
|
occurred_at: z.ZodString;
|
|
658
|
+
}, {
|
|
659
|
+
device_id: z.ZodString;
|
|
660
|
+
connected_account_id: z.ZodString;
|
|
661
|
+
}>, {
|
|
616
662
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
617
663
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
618
664
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
619
665
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
620
|
-
}
|
|
666
|
+
}>, "strip", z.ZodTypeAny, {
|
|
621
667
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
622
668
|
connected_account_id: string;
|
|
623
669
|
created_at: string;
|
|
@@ -641,18 +687,20 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
641
687
|
action_attempt_id?: string | undefined;
|
|
642
688
|
}>;
|
|
643
689
|
export type LockLockedEvent = z.infer<typeof lock_locked_event>;
|
|
644
|
-
export declare const lock_unlocked_event: z.ZodObject<{
|
|
645
|
-
connected_account_id: z.ZodString;
|
|
646
|
-
created_at: z.ZodString;
|
|
647
|
-
device_id: z.ZodString;
|
|
648
|
-
workspace_id: z.ZodString;
|
|
690
|
+
export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
649
691
|
event_id: z.ZodString;
|
|
692
|
+
workspace_id: z.ZodString;
|
|
693
|
+
created_at: z.ZodString;
|
|
650
694
|
occurred_at: z.ZodString;
|
|
695
|
+
}, {
|
|
696
|
+
device_id: z.ZodString;
|
|
697
|
+
connected_account_id: z.ZodString;
|
|
698
|
+
}>, {
|
|
651
699
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
652
700
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
653
701
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
654
702
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
655
|
-
}
|
|
703
|
+
}>, "strip", z.ZodTypeAny, {
|
|
656
704
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
657
705
|
connected_account_id: string;
|
|
658
706
|
created_at: string;
|
|
@@ -676,16 +724,18 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
676
724
|
action_attempt_id?: string | undefined;
|
|
677
725
|
}>;
|
|
678
726
|
export type LockUnlockedEvent = z.infer<typeof lock_unlocked_event>;
|
|
679
|
-
export declare const lock_access_denied_event: z.ZodObject<{
|
|
680
|
-
connected_account_id: z.ZodString;
|
|
681
|
-
created_at: z.ZodString;
|
|
682
|
-
device_id: z.ZodString;
|
|
683
|
-
workspace_id: z.ZodString;
|
|
727
|
+
export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
684
728
|
event_id: z.ZodString;
|
|
729
|
+
workspace_id: z.ZodString;
|
|
730
|
+
created_at: z.ZodString;
|
|
685
731
|
occurred_at: z.ZodString;
|
|
732
|
+
}, {
|
|
733
|
+
device_id: z.ZodString;
|
|
734
|
+
connected_account_id: z.ZodString;
|
|
735
|
+
}>, {
|
|
686
736
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
687
737
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
688
|
-
}
|
|
738
|
+
}>, "strip", z.ZodTypeAny, {
|
|
689
739
|
connected_account_id: string;
|
|
690
740
|
created_at: string;
|
|
691
741
|
device_id: string;
|
|
@@ -705,15 +755,17 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
705
755
|
access_code_id?: string | undefined;
|
|
706
756
|
}>;
|
|
707
757
|
export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
|
|
708
|
-
export declare const device_events: readonly [z.ZodObject<{
|
|
709
|
-
connected_account_id: z.ZodString;
|
|
710
|
-
created_at: z.ZodString;
|
|
711
|
-
device_id: z.ZodString;
|
|
712
|
-
workspace_id: z.ZodString;
|
|
758
|
+
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
713
759
|
event_id: z.ZodString;
|
|
760
|
+
workspace_id: z.ZodString;
|
|
761
|
+
created_at: z.ZodString;
|
|
714
762
|
occurred_at: z.ZodString;
|
|
763
|
+
}, {
|
|
764
|
+
device_id: z.ZodString;
|
|
765
|
+
connected_account_id: z.ZodString;
|
|
766
|
+
}>, {
|
|
715
767
|
event_type: z.ZodLiteral<"device.connected">;
|
|
716
|
-
}
|
|
768
|
+
}>, "strip", z.ZodTypeAny, {
|
|
717
769
|
connected_account_id: string;
|
|
718
770
|
created_at: string;
|
|
719
771
|
device_id: string;
|
|
@@ -729,15 +781,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
729
781
|
event_id: string;
|
|
730
782
|
occurred_at: string;
|
|
731
783
|
event_type: "device.connected";
|
|
732
|
-
}>, z.ZodObject<{
|
|
733
|
-
connected_account_id: z.ZodString;
|
|
734
|
-
created_at: z.ZodString;
|
|
735
|
-
device_id: z.ZodString;
|
|
736
|
-
workspace_id: z.ZodString;
|
|
784
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
737
785
|
event_id: z.ZodString;
|
|
786
|
+
workspace_id: z.ZodString;
|
|
787
|
+
created_at: z.ZodString;
|
|
738
788
|
occurred_at: z.ZodString;
|
|
789
|
+
}, {
|
|
790
|
+
device_id: z.ZodString;
|
|
791
|
+
connected_account_id: z.ZodString;
|
|
792
|
+
}>, {
|
|
739
793
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
740
|
-
}
|
|
794
|
+
}>, "strip", z.ZodTypeAny, {
|
|
741
795
|
connected_account_id: string;
|
|
742
796
|
created_at: string;
|
|
743
797
|
device_id: string;
|
|
@@ -753,15 +807,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
753
807
|
event_id: string;
|
|
754
808
|
occurred_at: string;
|
|
755
809
|
event_type: "device.converted_to_unmanaged";
|
|
756
|
-
}>, z.ZodObject<{
|
|
757
|
-
connected_account_id: z.ZodString;
|
|
758
|
-
created_at: z.ZodString;
|
|
759
|
-
device_id: z.ZodString;
|
|
760
|
-
workspace_id: z.ZodString;
|
|
810
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
761
811
|
event_id: z.ZodString;
|
|
812
|
+
workspace_id: z.ZodString;
|
|
813
|
+
created_at: z.ZodString;
|
|
762
814
|
occurred_at: z.ZodString;
|
|
815
|
+
}, {
|
|
816
|
+
device_id: z.ZodString;
|
|
817
|
+
connected_account_id: z.ZodString;
|
|
818
|
+
}>, {
|
|
763
819
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
764
|
-
}
|
|
820
|
+
}>, "strip", z.ZodTypeAny, {
|
|
765
821
|
connected_account_id: string;
|
|
766
822
|
created_at: string;
|
|
767
823
|
device_id: string;
|
|
@@ -777,15 +833,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
777
833
|
event_id: string;
|
|
778
834
|
occurred_at: string;
|
|
779
835
|
event_type: "device.unmanaged.converted_to_managed";
|
|
780
|
-
}>, z.ZodObject<{
|
|
781
|
-
connected_account_id: z.ZodString;
|
|
782
|
-
created_at: z.ZodString;
|
|
783
|
-
device_id: z.ZodString;
|
|
784
|
-
workspace_id: z.ZodString;
|
|
836
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
785
837
|
event_id: z.ZodString;
|
|
838
|
+
workspace_id: z.ZodString;
|
|
839
|
+
created_at: z.ZodString;
|
|
786
840
|
occurred_at: z.ZodString;
|
|
841
|
+
}, {
|
|
842
|
+
device_id: z.ZodString;
|
|
843
|
+
connected_account_id: z.ZodString;
|
|
844
|
+
}>, {
|
|
787
845
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
788
|
-
}
|
|
846
|
+
}>, "strip", z.ZodTypeAny, {
|
|
789
847
|
connected_account_id: string;
|
|
790
848
|
created_at: string;
|
|
791
849
|
device_id: string;
|
|
@@ -801,16 +859,18 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
801
859
|
event_id: string;
|
|
802
860
|
occurred_at: string;
|
|
803
861
|
event_type: "device.unmanaged.connected";
|
|
804
|
-
}>, z.ZodObject<{
|
|
805
|
-
connected_account_id: z.ZodString;
|
|
806
|
-
created_at: z.ZodString;
|
|
807
|
-
device_id: z.ZodString;
|
|
808
|
-
workspace_id: z.ZodString;
|
|
862
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
809
863
|
event_id: z.ZodString;
|
|
864
|
+
workspace_id: z.ZodString;
|
|
865
|
+
created_at: z.ZodString;
|
|
810
866
|
occurred_at: z.ZodString;
|
|
867
|
+
}, {
|
|
868
|
+
device_id: z.ZodString;
|
|
869
|
+
connected_account_id: z.ZodString;
|
|
870
|
+
}>, {
|
|
811
871
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
812
872
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
813
|
-
}
|
|
873
|
+
}>, "strip", z.ZodTypeAny, {
|
|
814
874
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
815
875
|
connected_account_id: string;
|
|
816
876
|
created_at: string;
|
|
@@ -828,16 +888,18 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
828
888
|
event_id: string;
|
|
829
889
|
occurred_at: string;
|
|
830
890
|
event_type: "device.disconnected";
|
|
831
|
-
}>, z.ZodObject<{
|
|
832
|
-
connected_account_id: z.ZodString;
|
|
833
|
-
created_at: z.ZodString;
|
|
834
|
-
device_id: z.ZodString;
|
|
835
|
-
workspace_id: z.ZodString;
|
|
891
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
836
892
|
event_id: z.ZodString;
|
|
893
|
+
workspace_id: z.ZodString;
|
|
894
|
+
created_at: z.ZodString;
|
|
837
895
|
occurred_at: z.ZodString;
|
|
896
|
+
}, {
|
|
897
|
+
device_id: z.ZodString;
|
|
898
|
+
connected_account_id: z.ZodString;
|
|
899
|
+
}>, {
|
|
838
900
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
839
901
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
840
|
-
}
|
|
902
|
+
}>, "strip", z.ZodTypeAny, {
|
|
841
903
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
842
904
|
connected_account_id: string;
|
|
843
905
|
created_at: string;
|
|
@@ -855,15 +917,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
855
917
|
event_id: string;
|
|
856
918
|
occurred_at: string;
|
|
857
919
|
event_type: "device.unmanaged.disconnected";
|
|
858
|
-
}>, z.ZodObject<{
|
|
859
|
-
connected_account_id: z.ZodString;
|
|
860
|
-
created_at: z.ZodString;
|
|
861
|
-
device_id: z.ZodString;
|
|
862
|
-
workspace_id: z.ZodString;
|
|
920
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
863
921
|
event_id: z.ZodString;
|
|
922
|
+
workspace_id: z.ZodString;
|
|
923
|
+
created_at: z.ZodString;
|
|
864
924
|
occurred_at: z.ZodString;
|
|
925
|
+
}, {
|
|
926
|
+
device_id: z.ZodString;
|
|
927
|
+
connected_account_id: z.ZodString;
|
|
928
|
+
}>, {
|
|
865
929
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
866
|
-
}
|
|
930
|
+
}>, "strip", z.ZodTypeAny, {
|
|
867
931
|
connected_account_id: string;
|
|
868
932
|
created_at: string;
|
|
869
933
|
device_id: string;
|
|
@@ -879,16 +943,18 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
879
943
|
event_id: string;
|
|
880
944
|
occurred_at: string;
|
|
881
945
|
event_type: "device.tampered";
|
|
882
|
-
}>, z.ZodObject<{
|
|
883
|
-
connected_account_id: z.ZodString;
|
|
884
|
-
created_at: z.ZodString;
|
|
885
|
-
device_id: z.ZodString;
|
|
886
|
-
workspace_id: z.ZodString;
|
|
946
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
887
947
|
event_id: z.ZodString;
|
|
948
|
+
workspace_id: z.ZodString;
|
|
949
|
+
created_at: z.ZodString;
|
|
888
950
|
occurred_at: z.ZodString;
|
|
951
|
+
}, {
|
|
952
|
+
device_id: z.ZodString;
|
|
953
|
+
connected_account_id: z.ZodString;
|
|
954
|
+
}>, {
|
|
889
955
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
890
956
|
battery_level: z.ZodNumber;
|
|
891
|
-
}
|
|
957
|
+
}>, "strip", z.ZodTypeAny, {
|
|
892
958
|
connected_account_id: string;
|
|
893
959
|
created_at: string;
|
|
894
960
|
device_id: string;
|
|
@@ -906,17 +972,19 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
906
972
|
event_id: string;
|
|
907
973
|
occurred_at: string;
|
|
908
974
|
event_type: "device.low_battery";
|
|
909
|
-
}>, z.ZodObject<{
|
|
910
|
-
connected_account_id: z.ZodString;
|
|
911
|
-
created_at: z.ZodString;
|
|
912
|
-
device_id: z.ZodString;
|
|
913
|
-
workspace_id: z.ZodString;
|
|
975
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
914
976
|
event_id: z.ZodString;
|
|
977
|
+
workspace_id: z.ZodString;
|
|
978
|
+
created_at: z.ZodString;
|
|
915
979
|
occurred_at: z.ZodString;
|
|
980
|
+
}, {
|
|
981
|
+
device_id: z.ZodString;
|
|
982
|
+
connected_account_id: z.ZodString;
|
|
983
|
+
}>, {
|
|
916
984
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
917
985
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
918
986
|
battery_level: z.ZodNumber;
|
|
919
|
-
}
|
|
987
|
+
}>, "strip", z.ZodTypeAny, {
|
|
920
988
|
connected_account_id: string;
|
|
921
989
|
created_at: string;
|
|
922
990
|
device_id: string;
|
|
@@ -936,15 +1004,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
936
1004
|
occurred_at: string;
|
|
937
1005
|
event_type: "device.battery_status_changed";
|
|
938
1006
|
battery_status: "low" | "full" | "critical" | "good";
|
|
939
|
-
}>, z.ZodObject<{
|
|
940
|
-
connected_account_id: z.ZodString;
|
|
941
|
-
created_at: z.ZodString;
|
|
942
|
-
device_id: z.ZodString;
|
|
943
|
-
workspace_id: z.ZodString;
|
|
1007
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
944
1008
|
event_id: z.ZodString;
|
|
1009
|
+
workspace_id: z.ZodString;
|
|
1010
|
+
created_at: z.ZodString;
|
|
945
1011
|
occurred_at: z.ZodString;
|
|
1012
|
+
}, {
|
|
1013
|
+
device_id: z.ZodString;
|
|
1014
|
+
connected_account_id: z.ZodString;
|
|
1015
|
+
}>, {
|
|
946
1016
|
event_type: z.ZodLiteral<"device.removed">;
|
|
947
|
-
}
|
|
1017
|
+
}>, "strip", z.ZodTypeAny, {
|
|
948
1018
|
connected_account_id: string;
|
|
949
1019
|
created_at: string;
|
|
950
1020
|
device_id: string;
|
|
@@ -960,15 +1030,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
960
1030
|
event_id: string;
|
|
961
1031
|
occurred_at: string;
|
|
962
1032
|
event_type: "device.removed";
|
|
963
|
-
}>, z.ZodObject<{
|
|
964
|
-
connected_account_id: z.ZodString;
|
|
965
|
-
created_at: z.ZodString;
|
|
966
|
-
device_id: z.ZodString;
|
|
967
|
-
workspace_id: z.ZodString;
|
|
1033
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
968
1034
|
event_id: z.ZodString;
|
|
1035
|
+
workspace_id: z.ZodString;
|
|
1036
|
+
created_at: z.ZodString;
|
|
969
1037
|
occurred_at: z.ZodString;
|
|
1038
|
+
}, {
|
|
1039
|
+
device_id: z.ZodString;
|
|
1040
|
+
connected_account_id: z.ZodString;
|
|
1041
|
+
}>, {
|
|
970
1042
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
971
|
-
}
|
|
1043
|
+
}>, "strip", z.ZodTypeAny, {
|
|
972
1044
|
connected_account_id: string;
|
|
973
1045
|
created_at: string;
|
|
974
1046
|
device_id: string;
|
|
@@ -984,15 +1056,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
984
1056
|
event_id: string;
|
|
985
1057
|
occurred_at: string;
|
|
986
1058
|
event_type: "device.deleted";
|
|
987
|
-
}>, z.ZodObject<{
|
|
988
|
-
connected_account_id: z.ZodString;
|
|
989
|
-
created_at: z.ZodString;
|
|
990
|
-
device_id: z.ZodString;
|
|
991
|
-
workspace_id: z.ZodString;
|
|
1059
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
992
1060
|
event_id: z.ZodString;
|
|
1061
|
+
workspace_id: z.ZodString;
|
|
1062
|
+
created_at: z.ZodString;
|
|
993
1063
|
occurred_at: z.ZodString;
|
|
1064
|
+
}, {
|
|
1065
|
+
device_id: z.ZodString;
|
|
1066
|
+
connected_account_id: z.ZodString;
|
|
1067
|
+
}>, {
|
|
994
1068
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
995
|
-
}
|
|
1069
|
+
}>, "strip", z.ZodTypeAny, {
|
|
996
1070
|
connected_account_id: string;
|
|
997
1071
|
created_at: string;
|
|
998
1072
|
device_id: string;
|
|
@@ -1008,15 +1082,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1008
1082
|
event_id: string;
|
|
1009
1083
|
occurred_at: string;
|
|
1010
1084
|
event_type: "device.third_party_integration_detected";
|
|
1011
|
-
}>, z.ZodObject<{
|
|
1012
|
-
connected_account_id: z.ZodString;
|
|
1013
|
-
created_at: z.ZodString;
|
|
1014
|
-
device_id: z.ZodString;
|
|
1015
|
-
workspace_id: z.ZodString;
|
|
1085
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1016
1086
|
event_id: z.ZodString;
|
|
1087
|
+
workspace_id: z.ZodString;
|
|
1088
|
+
created_at: z.ZodString;
|
|
1017
1089
|
occurred_at: z.ZodString;
|
|
1090
|
+
}, {
|
|
1091
|
+
device_id: z.ZodString;
|
|
1092
|
+
connected_account_id: z.ZodString;
|
|
1093
|
+
}>, {
|
|
1018
1094
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1019
|
-
}
|
|
1095
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1020
1096
|
connected_account_id: string;
|
|
1021
1097
|
created_at: string;
|
|
1022
1098
|
device_id: string;
|
|
@@ -1032,15 +1108,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1032
1108
|
event_id: string;
|
|
1033
1109
|
occurred_at: string;
|
|
1034
1110
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1035
|
-
}>, z.ZodObject<{
|
|
1036
|
-
connected_account_id: z.ZodString;
|
|
1037
|
-
created_at: z.ZodString;
|
|
1038
|
-
device_id: z.ZodString;
|
|
1039
|
-
workspace_id: z.ZodString;
|
|
1111
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1040
1112
|
event_id: z.ZodString;
|
|
1113
|
+
workspace_id: z.ZodString;
|
|
1114
|
+
created_at: z.ZodString;
|
|
1041
1115
|
occurred_at: z.ZodString;
|
|
1116
|
+
}, {
|
|
1117
|
+
device_id: z.ZodString;
|
|
1118
|
+
connected_account_id: z.ZodString;
|
|
1119
|
+
}>, {
|
|
1042
1120
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1043
|
-
}
|
|
1121
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1044
1122
|
connected_account_id: string;
|
|
1045
1123
|
created_at: string;
|
|
1046
1124
|
device_id: string;
|
|
@@ -1056,15 +1134,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1056
1134
|
event_id: string;
|
|
1057
1135
|
occurred_at: string;
|
|
1058
1136
|
event_type: "device.salto.privacy_mode_activated";
|
|
1059
|
-
}>, z.ZodObject<{
|
|
1060
|
-
connected_account_id: z.ZodString;
|
|
1061
|
-
created_at: z.ZodString;
|
|
1062
|
-
device_id: z.ZodString;
|
|
1063
|
-
workspace_id: z.ZodString;
|
|
1137
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1064
1138
|
event_id: z.ZodString;
|
|
1139
|
+
workspace_id: z.ZodString;
|
|
1140
|
+
created_at: z.ZodString;
|
|
1065
1141
|
occurred_at: z.ZodString;
|
|
1142
|
+
}, {
|
|
1143
|
+
device_id: z.ZodString;
|
|
1144
|
+
connected_account_id: z.ZodString;
|
|
1145
|
+
}>, {
|
|
1066
1146
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1067
|
-
}
|
|
1147
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1068
1148
|
connected_account_id: string;
|
|
1069
1149
|
created_at: string;
|
|
1070
1150
|
device_id: string;
|
|
@@ -1080,15 +1160,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1080
1160
|
event_id: string;
|
|
1081
1161
|
occurred_at: string;
|
|
1082
1162
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1083
|
-
}>, z.ZodObject<{
|
|
1084
|
-
connected_account_id: z.ZodString;
|
|
1085
|
-
created_at: z.ZodString;
|
|
1086
|
-
device_id: z.ZodString;
|
|
1087
|
-
workspace_id: z.ZodString;
|
|
1163
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1088
1164
|
event_id: z.ZodString;
|
|
1165
|
+
workspace_id: z.ZodString;
|
|
1166
|
+
created_at: z.ZodString;
|
|
1089
1167
|
occurred_at: z.ZodString;
|
|
1168
|
+
}, {
|
|
1169
|
+
device_id: z.ZodString;
|
|
1170
|
+
connected_account_id: z.ZodString;
|
|
1171
|
+
}>, {
|
|
1090
1172
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1091
|
-
}
|
|
1173
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1092
1174
|
connected_account_id: string;
|
|
1093
1175
|
created_at: string;
|
|
1094
1176
|
device_id: string;
|
|
@@ -1104,15 +1186,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1104
1186
|
event_id: string;
|
|
1105
1187
|
occurred_at: string;
|
|
1106
1188
|
event_type: "device.connection_became_flaky";
|
|
1107
|
-
}>, z.ZodObject<{
|
|
1108
|
-
connected_account_id: z.ZodString;
|
|
1109
|
-
created_at: z.ZodString;
|
|
1110
|
-
device_id: z.ZodString;
|
|
1111
|
-
workspace_id: z.ZodString;
|
|
1189
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1112
1190
|
event_id: z.ZodString;
|
|
1191
|
+
workspace_id: z.ZodString;
|
|
1192
|
+
created_at: z.ZodString;
|
|
1113
1193
|
occurred_at: z.ZodString;
|
|
1194
|
+
}, {
|
|
1195
|
+
device_id: z.ZodString;
|
|
1196
|
+
connected_account_id: z.ZodString;
|
|
1197
|
+
}>, {
|
|
1114
1198
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1115
|
-
}
|
|
1199
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1116
1200
|
connected_account_id: string;
|
|
1117
1201
|
created_at: string;
|
|
1118
1202
|
device_id: string;
|
|
@@ -1128,15 +1212,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1128
1212
|
event_id: string;
|
|
1129
1213
|
occurred_at: string;
|
|
1130
1214
|
event_type: "device.connection_stabilized";
|
|
1131
|
-
}>, z.ZodObject<{
|
|
1132
|
-
connected_account_id: z.ZodString;
|
|
1133
|
-
created_at: z.ZodString;
|
|
1134
|
-
device_id: z.ZodString;
|
|
1135
|
-
workspace_id: z.ZodString;
|
|
1215
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1136
1216
|
event_id: z.ZodString;
|
|
1217
|
+
workspace_id: z.ZodString;
|
|
1218
|
+
created_at: z.ZodString;
|
|
1137
1219
|
occurred_at: z.ZodString;
|
|
1220
|
+
}, {
|
|
1221
|
+
device_id: z.ZodString;
|
|
1222
|
+
connected_account_id: z.ZodString;
|
|
1223
|
+
}>, {
|
|
1138
1224
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1139
|
-
}
|
|
1225
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1140
1226
|
connected_account_id: string;
|
|
1141
1227
|
created_at: string;
|
|
1142
1228
|
device_id: string;
|
|
@@ -1152,15 +1238,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1152
1238
|
event_id: string;
|
|
1153
1239
|
occurred_at: string;
|
|
1154
1240
|
event_type: "device.error.subscription_required";
|
|
1155
|
-
}>, z.ZodObject<{
|
|
1156
|
-
connected_account_id: z.ZodString;
|
|
1157
|
-
created_at: z.ZodString;
|
|
1158
|
-
device_id: z.ZodString;
|
|
1159
|
-
workspace_id: z.ZodString;
|
|
1241
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1160
1242
|
event_id: z.ZodString;
|
|
1243
|
+
workspace_id: z.ZodString;
|
|
1244
|
+
created_at: z.ZodString;
|
|
1161
1245
|
occurred_at: z.ZodString;
|
|
1246
|
+
}, {
|
|
1247
|
+
device_id: z.ZodString;
|
|
1248
|
+
connected_account_id: z.ZodString;
|
|
1249
|
+
}>, {
|
|
1162
1250
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1163
|
-
}
|
|
1251
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1164
1252
|
connected_account_id: string;
|
|
1165
1253
|
created_at: string;
|
|
1166
1254
|
device_id: string;
|
|
@@ -1176,15 +1264,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1176
1264
|
event_id: string;
|
|
1177
1265
|
occurred_at: string;
|
|
1178
1266
|
event_type: "device.error.subscription_required.resolved";
|
|
1179
|
-
}>, z.ZodObject<{
|
|
1180
|
-
connected_account_id: z.ZodString;
|
|
1181
|
-
created_at: z.ZodString;
|
|
1182
|
-
device_id: z.ZodString;
|
|
1183
|
-
workspace_id: z.ZodString;
|
|
1267
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1184
1268
|
event_id: z.ZodString;
|
|
1269
|
+
workspace_id: z.ZodString;
|
|
1270
|
+
created_at: z.ZodString;
|
|
1185
1271
|
occurred_at: z.ZodString;
|
|
1272
|
+
}, {
|
|
1273
|
+
device_id: z.ZodString;
|
|
1274
|
+
connected_account_id: z.ZodString;
|
|
1275
|
+
}>, {
|
|
1186
1276
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1187
|
-
}
|
|
1277
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1188
1278
|
connected_account_id: string;
|
|
1189
1279
|
created_at: string;
|
|
1190
1280
|
device_id: string;
|
|
@@ -1200,15 +1290,17 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1200
1290
|
event_id: string;
|
|
1201
1291
|
occurred_at: string;
|
|
1202
1292
|
event_type: "device.accessory_keypad_connected";
|
|
1203
|
-
}>, z.ZodObject<{
|
|
1204
|
-
connected_account_id: z.ZodString;
|
|
1205
|
-
created_at: z.ZodString;
|
|
1206
|
-
device_id: z.ZodString;
|
|
1207
|
-
workspace_id: z.ZodString;
|
|
1293
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1208
1294
|
event_id: z.ZodString;
|
|
1295
|
+
workspace_id: z.ZodString;
|
|
1296
|
+
created_at: z.ZodString;
|
|
1209
1297
|
occurred_at: z.ZodString;
|
|
1298
|
+
}, {
|
|
1299
|
+
device_id: z.ZodString;
|
|
1300
|
+
connected_account_id: z.ZodString;
|
|
1301
|
+
}>, {
|
|
1210
1302
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1211
|
-
}
|
|
1303
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1212
1304
|
connected_account_id: string;
|
|
1213
1305
|
created_at: string;
|
|
1214
1306
|
device_id: string;
|
|
@@ -1224,13 +1316,15 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1224
1316
|
event_id: string;
|
|
1225
1317
|
occurred_at: string;
|
|
1226
1318
|
event_type: "device.accessory_keypad_disconnected";
|
|
1227
|
-
}>, z.ZodObject<{
|
|
1228
|
-
connected_account_id: z.ZodString;
|
|
1229
|
-
created_at: z.ZodString;
|
|
1230
|
-
device_id: z.ZodString;
|
|
1231
|
-
workspace_id: z.ZodString;
|
|
1319
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1232
1320
|
event_id: z.ZodString;
|
|
1321
|
+
workspace_id: z.ZodString;
|
|
1322
|
+
created_at: z.ZodString;
|
|
1233
1323
|
occurred_at: z.ZodString;
|
|
1324
|
+
}, {
|
|
1325
|
+
device_id: z.ZodString;
|
|
1326
|
+
connected_account_id: z.ZodString;
|
|
1327
|
+
}>, {
|
|
1234
1328
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
1235
1329
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
1236
1330
|
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1238,7 +1332,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1238
1332
|
noise_threshold_name: z.ZodOptional<z.ZodString>;
|
|
1239
1333
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1240
1334
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1241
|
-
}
|
|
1335
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1242
1336
|
connected_account_id: string;
|
|
1243
1337
|
created_at: string;
|
|
1244
1338
|
device_id: string;
|
|
@@ -1246,12 +1340,12 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1246
1340
|
event_id: string;
|
|
1247
1341
|
occurred_at: string;
|
|
1248
1342
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1249
|
-
|
|
1343
|
+
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1250
1344
|
noise_level_nrs?: number | undefined;
|
|
1345
|
+
minut_metadata?: Record<string, unknown> | undefined;
|
|
1346
|
+
noise_level_decibels?: number | undefined;
|
|
1251
1347
|
noise_threshold_id?: string | undefined;
|
|
1252
1348
|
noise_threshold_name?: string | undefined;
|
|
1253
|
-
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1254
|
-
minut_metadata?: Record<string, unknown> | undefined;
|
|
1255
1349
|
}, {
|
|
1256
1350
|
connected_account_id: string;
|
|
1257
1351
|
created_at: string;
|
|
@@ -1260,24 +1354,26 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1260
1354
|
event_id: string;
|
|
1261
1355
|
occurred_at: string;
|
|
1262
1356
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1263
|
-
|
|
1357
|
+
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1264
1358
|
noise_level_nrs?: number | undefined;
|
|
1359
|
+
minut_metadata?: Record<string, unknown> | undefined;
|
|
1360
|
+
noise_level_decibels?: number | undefined;
|
|
1265
1361
|
noise_threshold_id?: string | undefined;
|
|
1266
1362
|
noise_threshold_name?: string | undefined;
|
|
1267
|
-
|
|
1268
|
-
minut_metadata?: Record<string, unknown> | undefined;
|
|
1269
|
-
}>, z.ZodObject<{
|
|
1270
|
-
connected_account_id: z.ZodString;
|
|
1271
|
-
created_at: z.ZodString;
|
|
1272
|
-
device_id: z.ZodString;
|
|
1273
|
-
workspace_id: z.ZodString;
|
|
1363
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1274
1364
|
event_id: z.ZodString;
|
|
1365
|
+
workspace_id: z.ZodString;
|
|
1366
|
+
created_at: z.ZodString;
|
|
1275
1367
|
occurred_at: z.ZodString;
|
|
1368
|
+
}, {
|
|
1369
|
+
device_id: z.ZodString;
|
|
1370
|
+
connected_account_id: z.ZodString;
|
|
1371
|
+
}>, {
|
|
1276
1372
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
1277
1373
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1278
1374
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
1279
1375
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1280
|
-
}
|
|
1376
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1281
1377
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1282
1378
|
connected_account_id: string;
|
|
1283
1379
|
created_at: string;
|
|
@@ -1299,18 +1395,20 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1299
1395
|
event_type: "lock.locked";
|
|
1300
1396
|
access_code_id?: string | undefined;
|
|
1301
1397
|
action_attempt_id?: string | undefined;
|
|
1302
|
-
}>, z.ZodObject<{
|
|
1303
|
-
connected_account_id: z.ZodString;
|
|
1304
|
-
created_at: z.ZodString;
|
|
1305
|
-
device_id: z.ZodString;
|
|
1306
|
-
workspace_id: z.ZodString;
|
|
1398
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1307
1399
|
event_id: z.ZodString;
|
|
1400
|
+
workspace_id: z.ZodString;
|
|
1401
|
+
created_at: z.ZodString;
|
|
1308
1402
|
occurred_at: z.ZodString;
|
|
1403
|
+
}, {
|
|
1404
|
+
device_id: z.ZodString;
|
|
1405
|
+
connected_account_id: z.ZodString;
|
|
1406
|
+
}>, {
|
|
1309
1407
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
1310
1408
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1311
1409
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
1312
1410
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1313
|
-
}
|
|
1411
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1314
1412
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1315
1413
|
connected_account_id: string;
|
|
1316
1414
|
created_at: string;
|
|
@@ -1332,16 +1430,18 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1332
1430
|
event_type: "lock.unlocked";
|
|
1333
1431
|
access_code_id?: string | undefined;
|
|
1334
1432
|
action_attempt_id?: string | undefined;
|
|
1335
|
-
}>, z.ZodObject<{
|
|
1336
|
-
connected_account_id: z.ZodString;
|
|
1337
|
-
created_at: z.ZodString;
|
|
1338
|
-
device_id: z.ZodString;
|
|
1339
|
-
workspace_id: z.ZodString;
|
|
1433
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1340
1434
|
event_id: z.ZodString;
|
|
1435
|
+
workspace_id: z.ZodString;
|
|
1436
|
+
created_at: z.ZodString;
|
|
1341
1437
|
occurred_at: z.ZodString;
|
|
1438
|
+
}, {
|
|
1439
|
+
device_id: z.ZodString;
|
|
1440
|
+
connected_account_id: z.ZodString;
|
|
1441
|
+
}>, {
|
|
1342
1442
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1343
1443
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1344
|
-
}
|
|
1444
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1345
1445
|
connected_account_id: string;
|
|
1346
1446
|
created_at: string;
|
|
1347
1447
|
device_id: string;
|