@seamapi/types 1.194.0 → 1.196.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.cjs +147 -48
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +280 -8
- package/lib/seam/connect/models/acs/acs-system.js +84 -29
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +102 -0
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -0
- package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/index.d.ts +9 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +6 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +6 -0
- package/lib/seam/connect/models/events/action-attempts.d.ts +6 -0
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -0
- package/lib/seam/connect/models/events/common.d.ts +3 -0
- package/lib/seam/connect/models/events/common.js +6 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
- package/lib/seam/connect/models/events/devices.d.ts +150 -0
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +165 -0
- package/lib/seam/connect/openapi.d.ts +22 -0
- package/lib/seam/connect/openapi.js +79 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +93 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +105 -26
- package/src/lib/seam/connect/models/events/common.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +98 -18
- package/src/lib/seam/connect/route-types.ts +93 -8
|
@@ -6,6 +6,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
6
6
|
created_at: z.ZodString;
|
|
7
7
|
workspace_id: z.ZodString;
|
|
8
8
|
connected_account_id: z.ZodString;
|
|
9
|
+
event_id: z.ZodString;
|
|
9
10
|
occurred_at: z.ZodString;
|
|
10
11
|
event_type: z.ZodLiteral<"device.connected">;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13,6 +14,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
13
14
|
created_at: string;
|
|
14
15
|
workspace_id: string;
|
|
15
16
|
connected_account_id: string;
|
|
17
|
+
event_id: string;
|
|
16
18
|
occurred_at: string;
|
|
17
19
|
event_type: "device.connected";
|
|
18
20
|
}, {
|
|
@@ -20,6 +22,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
20
22
|
created_at: string;
|
|
21
23
|
workspace_id: string;
|
|
22
24
|
connected_account_id: string;
|
|
25
|
+
event_id: string;
|
|
23
26
|
occurred_at: string;
|
|
24
27
|
event_type: "device.connected";
|
|
25
28
|
}>;
|
|
@@ -29,6 +32,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
29
32
|
created_at: z.ZodString;
|
|
30
33
|
workspace_id: z.ZodString;
|
|
31
34
|
connected_account_id: z.ZodString;
|
|
35
|
+
event_id: z.ZodString;
|
|
32
36
|
occurred_at: z.ZodString;
|
|
33
37
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
34
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -36,6 +40,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
36
40
|
created_at: string;
|
|
37
41
|
workspace_id: string;
|
|
38
42
|
connected_account_id: string;
|
|
43
|
+
event_id: string;
|
|
39
44
|
occurred_at: string;
|
|
40
45
|
event_type: "device.converted_to_unmanaged";
|
|
41
46
|
}, {
|
|
@@ -43,6 +48,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
43
48
|
created_at: string;
|
|
44
49
|
workspace_id: string;
|
|
45
50
|
connected_account_id: string;
|
|
51
|
+
event_id: string;
|
|
46
52
|
occurred_at: string;
|
|
47
53
|
event_type: "device.converted_to_unmanaged";
|
|
48
54
|
}>;
|
|
@@ -52,6 +58,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
52
58
|
created_at: z.ZodString;
|
|
53
59
|
workspace_id: z.ZodString;
|
|
54
60
|
connected_account_id: z.ZodString;
|
|
61
|
+
event_id: z.ZodString;
|
|
55
62
|
occurred_at: z.ZodString;
|
|
56
63
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
57
64
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -59,6 +66,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
59
66
|
created_at: string;
|
|
60
67
|
workspace_id: string;
|
|
61
68
|
connected_account_id: string;
|
|
69
|
+
event_id: string;
|
|
62
70
|
occurred_at: string;
|
|
63
71
|
event_type: "device.unmanaged.converted_to_managed";
|
|
64
72
|
}, {
|
|
@@ -66,6 +74,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
66
74
|
created_at: string;
|
|
67
75
|
workspace_id: string;
|
|
68
76
|
connected_account_id: string;
|
|
77
|
+
event_id: string;
|
|
69
78
|
occurred_at: string;
|
|
70
79
|
event_type: "device.unmanaged.converted_to_managed";
|
|
71
80
|
}>;
|
|
@@ -75,6 +84,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
75
84
|
created_at: z.ZodString;
|
|
76
85
|
workspace_id: z.ZodString;
|
|
77
86
|
connected_account_id: z.ZodString;
|
|
87
|
+
event_id: z.ZodString;
|
|
78
88
|
occurred_at: z.ZodString;
|
|
79
89
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
80
90
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -82,6 +92,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
82
92
|
created_at: string;
|
|
83
93
|
workspace_id: string;
|
|
84
94
|
connected_account_id: string;
|
|
95
|
+
event_id: string;
|
|
85
96
|
occurred_at: string;
|
|
86
97
|
event_type: "device.unmanaged.connected";
|
|
87
98
|
}, {
|
|
@@ -89,6 +100,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
89
100
|
created_at: string;
|
|
90
101
|
workspace_id: string;
|
|
91
102
|
connected_account_id: string;
|
|
103
|
+
event_id: string;
|
|
92
104
|
occurred_at: string;
|
|
93
105
|
event_type: "device.unmanaged.connected";
|
|
94
106
|
}>;
|
|
@@ -98,6 +110,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
98
110
|
created_at: z.ZodString;
|
|
99
111
|
workspace_id: z.ZodString;
|
|
100
112
|
connected_account_id: z.ZodString;
|
|
113
|
+
event_id: z.ZodString;
|
|
101
114
|
occurred_at: z.ZodString;
|
|
102
115
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
103
116
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -107,6 +120,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
107
120
|
workspace_id: string;
|
|
108
121
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
109
122
|
connected_account_id: string;
|
|
123
|
+
event_id: string;
|
|
110
124
|
occurred_at: string;
|
|
111
125
|
event_type: "device.disconnected";
|
|
112
126
|
}, {
|
|
@@ -115,6 +129,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
115
129
|
workspace_id: string;
|
|
116
130
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
117
131
|
connected_account_id: string;
|
|
132
|
+
event_id: string;
|
|
118
133
|
occurred_at: string;
|
|
119
134
|
event_type: "device.disconnected";
|
|
120
135
|
}>;
|
|
@@ -124,6 +139,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
124
139
|
created_at: z.ZodString;
|
|
125
140
|
workspace_id: z.ZodString;
|
|
126
141
|
connected_account_id: z.ZodString;
|
|
142
|
+
event_id: z.ZodString;
|
|
127
143
|
occurred_at: z.ZodString;
|
|
128
144
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
129
145
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -133,6 +149,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
133
149
|
workspace_id: string;
|
|
134
150
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
135
151
|
connected_account_id: string;
|
|
152
|
+
event_id: string;
|
|
136
153
|
occurred_at: string;
|
|
137
154
|
event_type: "device.unmanaged.disconnected";
|
|
138
155
|
}, {
|
|
@@ -141,6 +158,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
141
158
|
workspace_id: string;
|
|
142
159
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
143
160
|
connected_account_id: string;
|
|
161
|
+
event_id: string;
|
|
144
162
|
occurred_at: string;
|
|
145
163
|
event_type: "device.unmanaged.disconnected";
|
|
146
164
|
}>;
|
|
@@ -150,6 +168,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
150
168
|
created_at: z.ZodString;
|
|
151
169
|
workspace_id: z.ZodString;
|
|
152
170
|
connected_account_id: z.ZodString;
|
|
171
|
+
event_id: z.ZodString;
|
|
153
172
|
occurred_at: z.ZodString;
|
|
154
173
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
155
174
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -157,6 +176,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
157
176
|
created_at: string;
|
|
158
177
|
workspace_id: string;
|
|
159
178
|
connected_account_id: string;
|
|
179
|
+
event_id: string;
|
|
160
180
|
occurred_at: string;
|
|
161
181
|
event_type: "device.tampered";
|
|
162
182
|
}, {
|
|
@@ -164,6 +184,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
164
184
|
created_at: string;
|
|
165
185
|
workspace_id: string;
|
|
166
186
|
connected_account_id: string;
|
|
187
|
+
event_id: string;
|
|
167
188
|
occurred_at: string;
|
|
168
189
|
event_type: "device.tampered";
|
|
169
190
|
}>;
|
|
@@ -173,6 +194,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
173
194
|
created_at: z.ZodString;
|
|
174
195
|
workspace_id: z.ZodString;
|
|
175
196
|
connected_account_id: z.ZodString;
|
|
197
|
+
event_id: z.ZodString;
|
|
176
198
|
occurred_at: z.ZodString;
|
|
177
199
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
178
200
|
battery_level: z.ZodNumber;
|
|
@@ -182,6 +204,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
182
204
|
workspace_id: string;
|
|
183
205
|
connected_account_id: string;
|
|
184
206
|
battery_level: number;
|
|
207
|
+
event_id: string;
|
|
185
208
|
occurred_at: string;
|
|
186
209
|
event_type: "device.low_battery";
|
|
187
210
|
}, {
|
|
@@ -190,6 +213,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
190
213
|
workspace_id: string;
|
|
191
214
|
connected_account_id: string;
|
|
192
215
|
battery_level: number;
|
|
216
|
+
event_id: string;
|
|
193
217
|
occurred_at: string;
|
|
194
218
|
event_type: "device.low_battery";
|
|
195
219
|
}>;
|
|
@@ -199,6 +223,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
199
223
|
created_at: z.ZodString;
|
|
200
224
|
workspace_id: z.ZodString;
|
|
201
225
|
connected_account_id: z.ZodString;
|
|
226
|
+
event_id: z.ZodString;
|
|
202
227
|
occurred_at: z.ZodString;
|
|
203
228
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
204
229
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -209,6 +234,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
209
234
|
workspace_id: string;
|
|
210
235
|
connected_account_id: string;
|
|
211
236
|
battery_level: number;
|
|
237
|
+
event_id: string;
|
|
212
238
|
occurred_at: string;
|
|
213
239
|
event_type: "device.battery_status_changed";
|
|
214
240
|
battery_status: "low" | "full" | "critical" | "good";
|
|
@@ -218,6 +244,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
218
244
|
workspace_id: string;
|
|
219
245
|
connected_account_id: string;
|
|
220
246
|
battery_level: number;
|
|
247
|
+
event_id: string;
|
|
221
248
|
occurred_at: string;
|
|
222
249
|
event_type: "device.battery_status_changed";
|
|
223
250
|
battery_status: "low" | "full" | "critical" | "good";
|
|
@@ -228,6 +255,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
228
255
|
created_at: z.ZodString;
|
|
229
256
|
workspace_id: z.ZodString;
|
|
230
257
|
connected_account_id: z.ZodString;
|
|
258
|
+
event_id: z.ZodString;
|
|
231
259
|
occurred_at: z.ZodString;
|
|
232
260
|
event_type: z.ZodLiteral<"device.removed">;
|
|
233
261
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -235,6 +263,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
235
263
|
created_at: string;
|
|
236
264
|
workspace_id: string;
|
|
237
265
|
connected_account_id: string;
|
|
266
|
+
event_id: string;
|
|
238
267
|
occurred_at: string;
|
|
239
268
|
event_type: "device.removed";
|
|
240
269
|
}, {
|
|
@@ -242,6 +271,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
242
271
|
created_at: string;
|
|
243
272
|
workspace_id: string;
|
|
244
273
|
connected_account_id: string;
|
|
274
|
+
event_id: string;
|
|
245
275
|
occurred_at: string;
|
|
246
276
|
event_type: "device.removed";
|
|
247
277
|
}>;
|
|
@@ -251,6 +281,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
251
281
|
created_at: z.ZodString;
|
|
252
282
|
workspace_id: z.ZodString;
|
|
253
283
|
connected_account_id: z.ZodString;
|
|
284
|
+
event_id: z.ZodString;
|
|
254
285
|
occurred_at: z.ZodString;
|
|
255
286
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
256
287
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -258,6 +289,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
258
289
|
created_at: string;
|
|
259
290
|
workspace_id: string;
|
|
260
291
|
connected_account_id: string;
|
|
292
|
+
event_id: string;
|
|
261
293
|
occurred_at: string;
|
|
262
294
|
event_type: "device.deleted";
|
|
263
295
|
}, {
|
|
@@ -265,6 +297,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
265
297
|
created_at: string;
|
|
266
298
|
workspace_id: string;
|
|
267
299
|
connected_account_id: string;
|
|
300
|
+
event_id: string;
|
|
268
301
|
occurred_at: string;
|
|
269
302
|
event_type: "device.deleted";
|
|
270
303
|
}>;
|
|
@@ -274,6 +307,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
274
307
|
created_at: z.ZodString;
|
|
275
308
|
workspace_id: z.ZodString;
|
|
276
309
|
connected_account_id: z.ZodString;
|
|
310
|
+
event_id: z.ZodString;
|
|
277
311
|
occurred_at: z.ZodString;
|
|
278
312
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
279
313
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -281,6 +315,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
281
315
|
created_at: string;
|
|
282
316
|
workspace_id: string;
|
|
283
317
|
connected_account_id: string;
|
|
318
|
+
event_id: string;
|
|
284
319
|
occurred_at: string;
|
|
285
320
|
event_type: "device.third_party_integration_detected";
|
|
286
321
|
}, {
|
|
@@ -288,6 +323,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
288
323
|
created_at: string;
|
|
289
324
|
workspace_id: string;
|
|
290
325
|
connected_account_id: string;
|
|
326
|
+
event_id: string;
|
|
291
327
|
occurred_at: string;
|
|
292
328
|
event_type: "device.third_party_integration_detected";
|
|
293
329
|
}>;
|
|
@@ -297,6 +333,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
297
333
|
created_at: z.ZodString;
|
|
298
334
|
workspace_id: z.ZodString;
|
|
299
335
|
connected_account_id: z.ZodString;
|
|
336
|
+
event_id: z.ZodString;
|
|
300
337
|
occurred_at: z.ZodString;
|
|
301
338
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
302
339
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -304,6 +341,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
304
341
|
created_at: string;
|
|
305
342
|
workspace_id: string;
|
|
306
343
|
connected_account_id: string;
|
|
344
|
+
event_id: string;
|
|
307
345
|
occurred_at: string;
|
|
308
346
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
309
347
|
}, {
|
|
@@ -311,6 +349,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
311
349
|
created_at: string;
|
|
312
350
|
workspace_id: string;
|
|
313
351
|
connected_account_id: string;
|
|
352
|
+
event_id: string;
|
|
314
353
|
occurred_at: string;
|
|
315
354
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
316
355
|
}>;
|
|
@@ -320,6 +359,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
320
359
|
created_at: z.ZodString;
|
|
321
360
|
workspace_id: z.ZodString;
|
|
322
361
|
connected_account_id: z.ZodString;
|
|
362
|
+
event_id: z.ZodString;
|
|
323
363
|
occurred_at: z.ZodString;
|
|
324
364
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
325
365
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -327,6 +367,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
327
367
|
created_at: string;
|
|
328
368
|
workspace_id: string;
|
|
329
369
|
connected_account_id: string;
|
|
370
|
+
event_id: string;
|
|
330
371
|
occurred_at: string;
|
|
331
372
|
event_type: "device.salto.privacy_mode_activated";
|
|
332
373
|
}, {
|
|
@@ -334,6 +375,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
334
375
|
created_at: string;
|
|
335
376
|
workspace_id: string;
|
|
336
377
|
connected_account_id: string;
|
|
378
|
+
event_id: string;
|
|
337
379
|
occurred_at: string;
|
|
338
380
|
event_type: "device.salto.privacy_mode_activated";
|
|
339
381
|
}>;
|
|
@@ -343,6 +385,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
343
385
|
created_at: z.ZodString;
|
|
344
386
|
workspace_id: z.ZodString;
|
|
345
387
|
connected_account_id: z.ZodString;
|
|
388
|
+
event_id: z.ZodString;
|
|
346
389
|
occurred_at: z.ZodString;
|
|
347
390
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
348
391
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -350,6 +393,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
350
393
|
created_at: string;
|
|
351
394
|
workspace_id: string;
|
|
352
395
|
connected_account_id: string;
|
|
396
|
+
event_id: string;
|
|
353
397
|
occurred_at: string;
|
|
354
398
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
355
399
|
}, {
|
|
@@ -357,6 +401,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
357
401
|
created_at: string;
|
|
358
402
|
workspace_id: string;
|
|
359
403
|
connected_account_id: string;
|
|
404
|
+
event_id: string;
|
|
360
405
|
occurred_at: string;
|
|
361
406
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
362
407
|
}>;
|
|
@@ -366,6 +411,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
366
411
|
created_at: z.ZodString;
|
|
367
412
|
workspace_id: z.ZodString;
|
|
368
413
|
connected_account_id: z.ZodString;
|
|
414
|
+
event_id: z.ZodString;
|
|
369
415
|
occurred_at: z.ZodString;
|
|
370
416
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
371
417
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -373,6 +419,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
373
419
|
created_at: string;
|
|
374
420
|
workspace_id: string;
|
|
375
421
|
connected_account_id: string;
|
|
422
|
+
event_id: string;
|
|
376
423
|
occurred_at: string;
|
|
377
424
|
event_type: "device.connection_became_flaky";
|
|
378
425
|
}, {
|
|
@@ -380,6 +427,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
380
427
|
created_at: string;
|
|
381
428
|
workspace_id: string;
|
|
382
429
|
connected_account_id: string;
|
|
430
|
+
event_id: string;
|
|
383
431
|
occurred_at: string;
|
|
384
432
|
event_type: "device.connection_became_flaky";
|
|
385
433
|
}>;
|
|
@@ -389,6 +437,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
389
437
|
created_at: z.ZodString;
|
|
390
438
|
workspace_id: z.ZodString;
|
|
391
439
|
connected_account_id: z.ZodString;
|
|
440
|
+
event_id: z.ZodString;
|
|
392
441
|
occurred_at: z.ZodString;
|
|
393
442
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
394
443
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -396,6 +445,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
396
445
|
created_at: string;
|
|
397
446
|
workspace_id: string;
|
|
398
447
|
connected_account_id: string;
|
|
448
|
+
event_id: string;
|
|
399
449
|
occurred_at: string;
|
|
400
450
|
event_type: "device.connection_stabilized";
|
|
401
451
|
}, {
|
|
@@ -403,6 +453,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
403
453
|
created_at: string;
|
|
404
454
|
workspace_id: string;
|
|
405
455
|
connected_account_id: string;
|
|
456
|
+
event_id: string;
|
|
406
457
|
occurred_at: string;
|
|
407
458
|
event_type: "device.connection_stabilized";
|
|
408
459
|
}>;
|
|
@@ -412,6 +463,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
412
463
|
created_at: z.ZodString;
|
|
413
464
|
workspace_id: z.ZodString;
|
|
414
465
|
connected_account_id: z.ZodString;
|
|
466
|
+
event_id: z.ZodString;
|
|
415
467
|
occurred_at: z.ZodString;
|
|
416
468
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
417
469
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -419,6 +471,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
419
471
|
created_at: string;
|
|
420
472
|
workspace_id: string;
|
|
421
473
|
connected_account_id: string;
|
|
474
|
+
event_id: string;
|
|
422
475
|
occurred_at: string;
|
|
423
476
|
event_type: "device.error.subscription_required";
|
|
424
477
|
}, {
|
|
@@ -426,6 +479,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
426
479
|
created_at: string;
|
|
427
480
|
workspace_id: string;
|
|
428
481
|
connected_account_id: string;
|
|
482
|
+
event_id: string;
|
|
429
483
|
occurred_at: string;
|
|
430
484
|
event_type: "device.error.subscription_required";
|
|
431
485
|
}>;
|
|
@@ -435,6 +489,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
435
489
|
created_at: z.ZodString;
|
|
436
490
|
workspace_id: z.ZodString;
|
|
437
491
|
connected_account_id: z.ZodString;
|
|
492
|
+
event_id: z.ZodString;
|
|
438
493
|
occurred_at: z.ZodString;
|
|
439
494
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
440
495
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -442,6 +497,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
442
497
|
created_at: string;
|
|
443
498
|
workspace_id: string;
|
|
444
499
|
connected_account_id: string;
|
|
500
|
+
event_id: string;
|
|
445
501
|
occurred_at: string;
|
|
446
502
|
event_type: "device.error.subscription_required.resolved";
|
|
447
503
|
}, {
|
|
@@ -449,6 +505,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
449
505
|
created_at: string;
|
|
450
506
|
workspace_id: string;
|
|
451
507
|
connected_account_id: string;
|
|
508
|
+
event_id: string;
|
|
452
509
|
occurred_at: string;
|
|
453
510
|
event_type: "device.error.subscription_required.resolved";
|
|
454
511
|
}>;
|
|
@@ -458,6 +515,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
458
515
|
created_at: z.ZodString;
|
|
459
516
|
workspace_id: z.ZodString;
|
|
460
517
|
connected_account_id: z.ZodString;
|
|
518
|
+
event_id: z.ZodString;
|
|
461
519
|
occurred_at: z.ZodString;
|
|
462
520
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
463
521
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -465,6 +523,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
465
523
|
created_at: string;
|
|
466
524
|
workspace_id: string;
|
|
467
525
|
connected_account_id: string;
|
|
526
|
+
event_id: string;
|
|
468
527
|
occurred_at: string;
|
|
469
528
|
event_type: "device.accessory_keypad_connected";
|
|
470
529
|
}, {
|
|
@@ -472,6 +531,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
472
531
|
created_at: string;
|
|
473
532
|
workspace_id: string;
|
|
474
533
|
connected_account_id: string;
|
|
534
|
+
event_id: string;
|
|
475
535
|
occurred_at: string;
|
|
476
536
|
event_type: "device.accessory_keypad_connected";
|
|
477
537
|
}>;
|
|
@@ -481,6 +541,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
481
541
|
created_at: z.ZodString;
|
|
482
542
|
workspace_id: z.ZodString;
|
|
483
543
|
connected_account_id: z.ZodString;
|
|
544
|
+
event_id: z.ZodString;
|
|
484
545
|
occurred_at: z.ZodString;
|
|
485
546
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
486
547
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -488,6 +549,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
488
549
|
created_at: string;
|
|
489
550
|
workspace_id: string;
|
|
490
551
|
connected_account_id: string;
|
|
552
|
+
event_id: string;
|
|
491
553
|
occurred_at: string;
|
|
492
554
|
event_type: "device.accessory_keypad_disconnected";
|
|
493
555
|
}, {
|
|
@@ -495,6 +557,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
495
557
|
created_at: string;
|
|
496
558
|
workspace_id: string;
|
|
497
559
|
connected_account_id: string;
|
|
560
|
+
event_id: string;
|
|
498
561
|
occurred_at: string;
|
|
499
562
|
event_type: "device.accessory_keypad_disconnected";
|
|
500
563
|
}>;
|
|
@@ -504,6 +567,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
504
567
|
created_at: z.ZodString;
|
|
505
568
|
workspace_id: z.ZodString;
|
|
506
569
|
connected_account_id: z.ZodString;
|
|
570
|
+
event_id: z.ZodString;
|
|
507
571
|
occurred_at: z.ZodString;
|
|
508
572
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
509
573
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -513,6 +577,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
513
577
|
created_at: string;
|
|
514
578
|
workspace_id: string;
|
|
515
579
|
connected_account_id: string;
|
|
580
|
+
event_id: string;
|
|
516
581
|
occurred_at: string;
|
|
517
582
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
518
583
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -522,6 +587,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
522
587
|
created_at: string;
|
|
523
588
|
workspace_id: string;
|
|
524
589
|
connected_account_id: string;
|
|
590
|
+
event_id: string;
|
|
525
591
|
occurred_at: string;
|
|
526
592
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
527
593
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -533,6 +599,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
533
599
|
created_at: z.ZodString;
|
|
534
600
|
workspace_id: z.ZodString;
|
|
535
601
|
connected_account_id: z.ZodString;
|
|
602
|
+
event_id: z.ZodString;
|
|
536
603
|
occurred_at: z.ZodString;
|
|
537
604
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
538
605
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -544,6 +611,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
544
611
|
created_at: string;
|
|
545
612
|
workspace_id: string;
|
|
546
613
|
connected_account_id: string;
|
|
614
|
+
event_id: string;
|
|
547
615
|
occurred_at: string;
|
|
548
616
|
event_type: "lock.locked";
|
|
549
617
|
access_code_id?: string | undefined;
|
|
@@ -554,6 +622,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
554
622
|
created_at: string;
|
|
555
623
|
workspace_id: string;
|
|
556
624
|
connected_account_id: string;
|
|
625
|
+
event_id: string;
|
|
557
626
|
occurred_at: string;
|
|
558
627
|
event_type: "lock.locked";
|
|
559
628
|
access_code_id?: string | undefined;
|
|
@@ -565,6 +634,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
565
634
|
created_at: z.ZodString;
|
|
566
635
|
workspace_id: z.ZodString;
|
|
567
636
|
connected_account_id: z.ZodString;
|
|
637
|
+
event_id: z.ZodString;
|
|
568
638
|
occurred_at: z.ZodString;
|
|
569
639
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
570
640
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -576,6 +646,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
576
646
|
created_at: string;
|
|
577
647
|
workspace_id: string;
|
|
578
648
|
connected_account_id: string;
|
|
649
|
+
event_id: string;
|
|
579
650
|
occurred_at: string;
|
|
580
651
|
event_type: "lock.unlocked";
|
|
581
652
|
access_code_id?: string | undefined;
|
|
@@ -586,6 +657,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
586
657
|
created_at: string;
|
|
587
658
|
workspace_id: string;
|
|
588
659
|
connected_account_id: string;
|
|
660
|
+
event_id: string;
|
|
589
661
|
occurred_at: string;
|
|
590
662
|
event_type: "lock.unlocked";
|
|
591
663
|
access_code_id?: string | undefined;
|
|
@@ -597,6 +669,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
597
669
|
created_at: z.ZodString;
|
|
598
670
|
workspace_id: z.ZodString;
|
|
599
671
|
connected_account_id: z.ZodString;
|
|
672
|
+
event_id: z.ZodString;
|
|
600
673
|
occurred_at: z.ZodString;
|
|
601
674
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
602
675
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -605,6 +678,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
605
678
|
created_at: string;
|
|
606
679
|
workspace_id: string;
|
|
607
680
|
connected_account_id: string;
|
|
681
|
+
event_id: string;
|
|
608
682
|
occurred_at: string;
|
|
609
683
|
event_type: "lock.access_denied";
|
|
610
684
|
access_code_id?: string | undefined;
|
|
@@ -613,6 +687,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
613
687
|
created_at: string;
|
|
614
688
|
workspace_id: string;
|
|
615
689
|
connected_account_id: string;
|
|
690
|
+
event_id: string;
|
|
616
691
|
occurred_at: string;
|
|
617
692
|
event_type: "lock.access_denied";
|
|
618
693
|
access_code_id?: string | undefined;
|
|
@@ -623,6 +698,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
623
698
|
created_at: z.ZodString;
|
|
624
699
|
workspace_id: z.ZodString;
|
|
625
700
|
connected_account_id: z.ZodString;
|
|
701
|
+
event_id: z.ZodString;
|
|
626
702
|
occurred_at: z.ZodString;
|
|
627
703
|
event_type: z.ZodLiteral<"device.connected">;
|
|
628
704
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -630,6 +706,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
630
706
|
created_at: string;
|
|
631
707
|
workspace_id: string;
|
|
632
708
|
connected_account_id: string;
|
|
709
|
+
event_id: string;
|
|
633
710
|
occurred_at: string;
|
|
634
711
|
event_type: "device.connected";
|
|
635
712
|
}, {
|
|
@@ -637,6 +714,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
637
714
|
created_at: string;
|
|
638
715
|
workspace_id: string;
|
|
639
716
|
connected_account_id: string;
|
|
717
|
+
event_id: string;
|
|
640
718
|
occurred_at: string;
|
|
641
719
|
event_type: "device.connected";
|
|
642
720
|
}>, z.ZodObject<{
|
|
@@ -644,6 +722,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
644
722
|
created_at: z.ZodString;
|
|
645
723
|
workspace_id: z.ZodString;
|
|
646
724
|
connected_account_id: z.ZodString;
|
|
725
|
+
event_id: z.ZodString;
|
|
647
726
|
occurred_at: z.ZodString;
|
|
648
727
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
649
728
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -651,6 +730,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
651
730
|
created_at: string;
|
|
652
731
|
workspace_id: string;
|
|
653
732
|
connected_account_id: string;
|
|
733
|
+
event_id: string;
|
|
654
734
|
occurred_at: string;
|
|
655
735
|
event_type: "device.converted_to_unmanaged";
|
|
656
736
|
}, {
|
|
@@ -658,6 +738,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
658
738
|
created_at: string;
|
|
659
739
|
workspace_id: string;
|
|
660
740
|
connected_account_id: string;
|
|
741
|
+
event_id: string;
|
|
661
742
|
occurred_at: string;
|
|
662
743
|
event_type: "device.converted_to_unmanaged";
|
|
663
744
|
}>, z.ZodObject<{
|
|
@@ -665,6 +746,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
665
746
|
created_at: z.ZodString;
|
|
666
747
|
workspace_id: z.ZodString;
|
|
667
748
|
connected_account_id: z.ZodString;
|
|
749
|
+
event_id: z.ZodString;
|
|
668
750
|
occurred_at: z.ZodString;
|
|
669
751
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
670
752
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -672,6 +754,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
672
754
|
created_at: string;
|
|
673
755
|
workspace_id: string;
|
|
674
756
|
connected_account_id: string;
|
|
757
|
+
event_id: string;
|
|
675
758
|
occurred_at: string;
|
|
676
759
|
event_type: "device.unmanaged.converted_to_managed";
|
|
677
760
|
}, {
|
|
@@ -679,6 +762,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
679
762
|
created_at: string;
|
|
680
763
|
workspace_id: string;
|
|
681
764
|
connected_account_id: string;
|
|
765
|
+
event_id: string;
|
|
682
766
|
occurred_at: string;
|
|
683
767
|
event_type: "device.unmanaged.converted_to_managed";
|
|
684
768
|
}>, z.ZodObject<{
|
|
@@ -686,6 +770,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
686
770
|
created_at: z.ZodString;
|
|
687
771
|
workspace_id: z.ZodString;
|
|
688
772
|
connected_account_id: z.ZodString;
|
|
773
|
+
event_id: z.ZodString;
|
|
689
774
|
occurred_at: z.ZodString;
|
|
690
775
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
691
776
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -693,6 +778,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
693
778
|
created_at: string;
|
|
694
779
|
workspace_id: string;
|
|
695
780
|
connected_account_id: string;
|
|
781
|
+
event_id: string;
|
|
696
782
|
occurred_at: string;
|
|
697
783
|
event_type: "device.unmanaged.connected";
|
|
698
784
|
}, {
|
|
@@ -700,6 +786,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
700
786
|
created_at: string;
|
|
701
787
|
workspace_id: string;
|
|
702
788
|
connected_account_id: string;
|
|
789
|
+
event_id: string;
|
|
703
790
|
occurred_at: string;
|
|
704
791
|
event_type: "device.unmanaged.connected";
|
|
705
792
|
}>, z.ZodObject<{
|
|
@@ -707,6 +794,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
707
794
|
created_at: z.ZodString;
|
|
708
795
|
workspace_id: z.ZodString;
|
|
709
796
|
connected_account_id: z.ZodString;
|
|
797
|
+
event_id: z.ZodString;
|
|
710
798
|
occurred_at: z.ZodString;
|
|
711
799
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
712
800
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -716,6 +804,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
716
804
|
workspace_id: string;
|
|
717
805
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
718
806
|
connected_account_id: string;
|
|
807
|
+
event_id: string;
|
|
719
808
|
occurred_at: string;
|
|
720
809
|
event_type: "device.disconnected";
|
|
721
810
|
}, {
|
|
@@ -724,6 +813,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
724
813
|
workspace_id: string;
|
|
725
814
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
726
815
|
connected_account_id: string;
|
|
816
|
+
event_id: string;
|
|
727
817
|
occurred_at: string;
|
|
728
818
|
event_type: "device.disconnected";
|
|
729
819
|
}>, z.ZodObject<{
|
|
@@ -731,6 +821,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
731
821
|
created_at: z.ZodString;
|
|
732
822
|
workspace_id: z.ZodString;
|
|
733
823
|
connected_account_id: z.ZodString;
|
|
824
|
+
event_id: z.ZodString;
|
|
734
825
|
occurred_at: z.ZodString;
|
|
735
826
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
736
827
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -740,6 +831,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
740
831
|
workspace_id: string;
|
|
741
832
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
742
833
|
connected_account_id: string;
|
|
834
|
+
event_id: string;
|
|
743
835
|
occurred_at: string;
|
|
744
836
|
event_type: "device.unmanaged.disconnected";
|
|
745
837
|
}, {
|
|
@@ -748,6 +840,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
748
840
|
workspace_id: string;
|
|
749
841
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
750
842
|
connected_account_id: string;
|
|
843
|
+
event_id: string;
|
|
751
844
|
occurred_at: string;
|
|
752
845
|
event_type: "device.unmanaged.disconnected";
|
|
753
846
|
}>, z.ZodObject<{
|
|
@@ -755,6 +848,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
755
848
|
created_at: z.ZodString;
|
|
756
849
|
workspace_id: z.ZodString;
|
|
757
850
|
connected_account_id: z.ZodString;
|
|
851
|
+
event_id: z.ZodString;
|
|
758
852
|
occurred_at: z.ZodString;
|
|
759
853
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
760
854
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -762,6 +856,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
762
856
|
created_at: string;
|
|
763
857
|
workspace_id: string;
|
|
764
858
|
connected_account_id: string;
|
|
859
|
+
event_id: string;
|
|
765
860
|
occurred_at: string;
|
|
766
861
|
event_type: "device.tampered";
|
|
767
862
|
}, {
|
|
@@ -769,6 +864,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
769
864
|
created_at: string;
|
|
770
865
|
workspace_id: string;
|
|
771
866
|
connected_account_id: string;
|
|
867
|
+
event_id: string;
|
|
772
868
|
occurred_at: string;
|
|
773
869
|
event_type: "device.tampered";
|
|
774
870
|
}>, z.ZodObject<{
|
|
@@ -776,6 +872,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
776
872
|
created_at: z.ZodString;
|
|
777
873
|
workspace_id: z.ZodString;
|
|
778
874
|
connected_account_id: z.ZodString;
|
|
875
|
+
event_id: z.ZodString;
|
|
779
876
|
occurred_at: z.ZodString;
|
|
780
877
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
781
878
|
battery_level: z.ZodNumber;
|
|
@@ -785,6 +882,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
785
882
|
workspace_id: string;
|
|
786
883
|
connected_account_id: string;
|
|
787
884
|
battery_level: number;
|
|
885
|
+
event_id: string;
|
|
788
886
|
occurred_at: string;
|
|
789
887
|
event_type: "device.low_battery";
|
|
790
888
|
}, {
|
|
@@ -793,6 +891,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
793
891
|
workspace_id: string;
|
|
794
892
|
connected_account_id: string;
|
|
795
893
|
battery_level: number;
|
|
894
|
+
event_id: string;
|
|
796
895
|
occurred_at: string;
|
|
797
896
|
event_type: "device.low_battery";
|
|
798
897
|
}>, z.ZodObject<{
|
|
@@ -800,6 +899,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
800
899
|
created_at: z.ZodString;
|
|
801
900
|
workspace_id: z.ZodString;
|
|
802
901
|
connected_account_id: z.ZodString;
|
|
902
|
+
event_id: z.ZodString;
|
|
803
903
|
occurred_at: z.ZodString;
|
|
804
904
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
805
905
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -810,6 +910,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
810
910
|
workspace_id: string;
|
|
811
911
|
connected_account_id: string;
|
|
812
912
|
battery_level: number;
|
|
913
|
+
event_id: string;
|
|
813
914
|
occurred_at: string;
|
|
814
915
|
event_type: "device.battery_status_changed";
|
|
815
916
|
battery_status: "low" | "full" | "critical" | "good";
|
|
@@ -819,6 +920,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
819
920
|
workspace_id: string;
|
|
820
921
|
connected_account_id: string;
|
|
821
922
|
battery_level: number;
|
|
923
|
+
event_id: string;
|
|
822
924
|
occurred_at: string;
|
|
823
925
|
event_type: "device.battery_status_changed";
|
|
824
926
|
battery_status: "low" | "full" | "critical" | "good";
|
|
@@ -827,6 +929,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
827
929
|
created_at: z.ZodString;
|
|
828
930
|
workspace_id: z.ZodString;
|
|
829
931
|
connected_account_id: z.ZodString;
|
|
932
|
+
event_id: z.ZodString;
|
|
830
933
|
occurred_at: z.ZodString;
|
|
831
934
|
event_type: z.ZodLiteral<"device.removed">;
|
|
832
935
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -834,6 +937,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
834
937
|
created_at: string;
|
|
835
938
|
workspace_id: string;
|
|
836
939
|
connected_account_id: string;
|
|
940
|
+
event_id: string;
|
|
837
941
|
occurred_at: string;
|
|
838
942
|
event_type: "device.removed";
|
|
839
943
|
}, {
|
|
@@ -841,6 +945,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
841
945
|
created_at: string;
|
|
842
946
|
workspace_id: string;
|
|
843
947
|
connected_account_id: string;
|
|
948
|
+
event_id: string;
|
|
844
949
|
occurred_at: string;
|
|
845
950
|
event_type: "device.removed";
|
|
846
951
|
}>, z.ZodObject<{
|
|
@@ -848,6 +953,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
848
953
|
created_at: z.ZodString;
|
|
849
954
|
workspace_id: z.ZodString;
|
|
850
955
|
connected_account_id: z.ZodString;
|
|
956
|
+
event_id: z.ZodString;
|
|
851
957
|
occurred_at: z.ZodString;
|
|
852
958
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
853
959
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -855,6 +961,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
855
961
|
created_at: string;
|
|
856
962
|
workspace_id: string;
|
|
857
963
|
connected_account_id: string;
|
|
964
|
+
event_id: string;
|
|
858
965
|
occurred_at: string;
|
|
859
966
|
event_type: "device.deleted";
|
|
860
967
|
}, {
|
|
@@ -862,6 +969,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
862
969
|
created_at: string;
|
|
863
970
|
workspace_id: string;
|
|
864
971
|
connected_account_id: string;
|
|
972
|
+
event_id: string;
|
|
865
973
|
occurred_at: string;
|
|
866
974
|
event_type: "device.deleted";
|
|
867
975
|
}>, z.ZodObject<{
|
|
@@ -869,6 +977,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
869
977
|
created_at: z.ZodString;
|
|
870
978
|
workspace_id: z.ZodString;
|
|
871
979
|
connected_account_id: z.ZodString;
|
|
980
|
+
event_id: z.ZodString;
|
|
872
981
|
occurred_at: z.ZodString;
|
|
873
982
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
874
983
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -876,6 +985,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
876
985
|
created_at: string;
|
|
877
986
|
workspace_id: string;
|
|
878
987
|
connected_account_id: string;
|
|
988
|
+
event_id: string;
|
|
879
989
|
occurred_at: string;
|
|
880
990
|
event_type: "device.third_party_integration_detected";
|
|
881
991
|
}, {
|
|
@@ -883,6 +993,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
883
993
|
created_at: string;
|
|
884
994
|
workspace_id: string;
|
|
885
995
|
connected_account_id: string;
|
|
996
|
+
event_id: string;
|
|
886
997
|
occurred_at: string;
|
|
887
998
|
event_type: "device.third_party_integration_detected";
|
|
888
999
|
}>, z.ZodObject<{
|
|
@@ -890,6 +1001,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
890
1001
|
created_at: z.ZodString;
|
|
891
1002
|
workspace_id: z.ZodString;
|
|
892
1003
|
connected_account_id: z.ZodString;
|
|
1004
|
+
event_id: z.ZodString;
|
|
893
1005
|
occurred_at: z.ZodString;
|
|
894
1006
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
895
1007
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -897,6 +1009,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
897
1009
|
created_at: string;
|
|
898
1010
|
workspace_id: string;
|
|
899
1011
|
connected_account_id: string;
|
|
1012
|
+
event_id: string;
|
|
900
1013
|
occurred_at: string;
|
|
901
1014
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
902
1015
|
}, {
|
|
@@ -904,6 +1017,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
904
1017
|
created_at: string;
|
|
905
1018
|
workspace_id: string;
|
|
906
1019
|
connected_account_id: string;
|
|
1020
|
+
event_id: string;
|
|
907
1021
|
occurred_at: string;
|
|
908
1022
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
909
1023
|
}>, z.ZodObject<{
|
|
@@ -911,6 +1025,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
911
1025
|
created_at: z.ZodString;
|
|
912
1026
|
workspace_id: z.ZodString;
|
|
913
1027
|
connected_account_id: z.ZodString;
|
|
1028
|
+
event_id: z.ZodString;
|
|
914
1029
|
occurred_at: z.ZodString;
|
|
915
1030
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
916
1031
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -918,6 +1033,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
918
1033
|
created_at: string;
|
|
919
1034
|
workspace_id: string;
|
|
920
1035
|
connected_account_id: string;
|
|
1036
|
+
event_id: string;
|
|
921
1037
|
occurred_at: string;
|
|
922
1038
|
event_type: "device.salto.privacy_mode_activated";
|
|
923
1039
|
}, {
|
|
@@ -925,6 +1041,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
925
1041
|
created_at: string;
|
|
926
1042
|
workspace_id: string;
|
|
927
1043
|
connected_account_id: string;
|
|
1044
|
+
event_id: string;
|
|
928
1045
|
occurred_at: string;
|
|
929
1046
|
event_type: "device.salto.privacy_mode_activated";
|
|
930
1047
|
}>, z.ZodObject<{
|
|
@@ -932,6 +1049,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
932
1049
|
created_at: z.ZodString;
|
|
933
1050
|
workspace_id: z.ZodString;
|
|
934
1051
|
connected_account_id: z.ZodString;
|
|
1052
|
+
event_id: z.ZodString;
|
|
935
1053
|
occurred_at: z.ZodString;
|
|
936
1054
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
937
1055
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -939,6 +1057,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
939
1057
|
created_at: string;
|
|
940
1058
|
workspace_id: string;
|
|
941
1059
|
connected_account_id: string;
|
|
1060
|
+
event_id: string;
|
|
942
1061
|
occurred_at: string;
|
|
943
1062
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
944
1063
|
}, {
|
|
@@ -946,6 +1065,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
946
1065
|
created_at: string;
|
|
947
1066
|
workspace_id: string;
|
|
948
1067
|
connected_account_id: string;
|
|
1068
|
+
event_id: string;
|
|
949
1069
|
occurred_at: string;
|
|
950
1070
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
951
1071
|
}>, z.ZodObject<{
|
|
@@ -953,6 +1073,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
953
1073
|
created_at: z.ZodString;
|
|
954
1074
|
workspace_id: z.ZodString;
|
|
955
1075
|
connected_account_id: z.ZodString;
|
|
1076
|
+
event_id: z.ZodString;
|
|
956
1077
|
occurred_at: z.ZodString;
|
|
957
1078
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
958
1079
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -960,6 +1081,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
960
1081
|
created_at: string;
|
|
961
1082
|
workspace_id: string;
|
|
962
1083
|
connected_account_id: string;
|
|
1084
|
+
event_id: string;
|
|
963
1085
|
occurred_at: string;
|
|
964
1086
|
event_type: "device.connection_became_flaky";
|
|
965
1087
|
}, {
|
|
@@ -967,6 +1089,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
967
1089
|
created_at: string;
|
|
968
1090
|
workspace_id: string;
|
|
969
1091
|
connected_account_id: string;
|
|
1092
|
+
event_id: string;
|
|
970
1093
|
occurred_at: string;
|
|
971
1094
|
event_type: "device.connection_became_flaky";
|
|
972
1095
|
}>, z.ZodObject<{
|
|
@@ -974,6 +1097,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
974
1097
|
created_at: z.ZodString;
|
|
975
1098
|
workspace_id: z.ZodString;
|
|
976
1099
|
connected_account_id: z.ZodString;
|
|
1100
|
+
event_id: z.ZodString;
|
|
977
1101
|
occurred_at: z.ZodString;
|
|
978
1102
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
979
1103
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -981,6 +1105,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
981
1105
|
created_at: string;
|
|
982
1106
|
workspace_id: string;
|
|
983
1107
|
connected_account_id: string;
|
|
1108
|
+
event_id: string;
|
|
984
1109
|
occurred_at: string;
|
|
985
1110
|
event_type: "device.connection_stabilized";
|
|
986
1111
|
}, {
|
|
@@ -988,6 +1113,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
988
1113
|
created_at: string;
|
|
989
1114
|
workspace_id: string;
|
|
990
1115
|
connected_account_id: string;
|
|
1116
|
+
event_id: string;
|
|
991
1117
|
occurred_at: string;
|
|
992
1118
|
event_type: "device.connection_stabilized";
|
|
993
1119
|
}>, z.ZodObject<{
|
|
@@ -995,6 +1121,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
995
1121
|
created_at: z.ZodString;
|
|
996
1122
|
workspace_id: z.ZodString;
|
|
997
1123
|
connected_account_id: z.ZodString;
|
|
1124
|
+
event_id: z.ZodString;
|
|
998
1125
|
occurred_at: z.ZodString;
|
|
999
1126
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1000
1127
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1002,6 +1129,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1002
1129
|
created_at: string;
|
|
1003
1130
|
workspace_id: string;
|
|
1004
1131
|
connected_account_id: string;
|
|
1132
|
+
event_id: string;
|
|
1005
1133
|
occurred_at: string;
|
|
1006
1134
|
event_type: "device.error.subscription_required";
|
|
1007
1135
|
}, {
|
|
@@ -1009,6 +1137,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1009
1137
|
created_at: string;
|
|
1010
1138
|
workspace_id: string;
|
|
1011
1139
|
connected_account_id: string;
|
|
1140
|
+
event_id: string;
|
|
1012
1141
|
occurred_at: string;
|
|
1013
1142
|
event_type: "device.error.subscription_required";
|
|
1014
1143
|
}>, z.ZodObject<{
|
|
@@ -1016,6 +1145,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1016
1145
|
created_at: z.ZodString;
|
|
1017
1146
|
workspace_id: z.ZodString;
|
|
1018
1147
|
connected_account_id: z.ZodString;
|
|
1148
|
+
event_id: z.ZodString;
|
|
1019
1149
|
occurred_at: z.ZodString;
|
|
1020
1150
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1021
1151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1023,6 +1153,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1023
1153
|
created_at: string;
|
|
1024
1154
|
workspace_id: string;
|
|
1025
1155
|
connected_account_id: string;
|
|
1156
|
+
event_id: string;
|
|
1026
1157
|
occurred_at: string;
|
|
1027
1158
|
event_type: "device.error.subscription_required.resolved";
|
|
1028
1159
|
}, {
|
|
@@ -1030,6 +1161,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1030
1161
|
created_at: string;
|
|
1031
1162
|
workspace_id: string;
|
|
1032
1163
|
connected_account_id: string;
|
|
1164
|
+
event_id: string;
|
|
1033
1165
|
occurred_at: string;
|
|
1034
1166
|
event_type: "device.error.subscription_required.resolved";
|
|
1035
1167
|
}>, z.ZodObject<{
|
|
@@ -1037,6 +1169,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1037
1169
|
created_at: z.ZodString;
|
|
1038
1170
|
workspace_id: z.ZodString;
|
|
1039
1171
|
connected_account_id: z.ZodString;
|
|
1172
|
+
event_id: z.ZodString;
|
|
1040
1173
|
occurred_at: z.ZodString;
|
|
1041
1174
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1042
1175
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1044,6 +1177,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1044
1177
|
created_at: string;
|
|
1045
1178
|
workspace_id: string;
|
|
1046
1179
|
connected_account_id: string;
|
|
1180
|
+
event_id: string;
|
|
1047
1181
|
occurred_at: string;
|
|
1048
1182
|
event_type: "device.accessory_keypad_connected";
|
|
1049
1183
|
}, {
|
|
@@ -1051,6 +1185,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1051
1185
|
created_at: string;
|
|
1052
1186
|
workspace_id: string;
|
|
1053
1187
|
connected_account_id: string;
|
|
1188
|
+
event_id: string;
|
|
1054
1189
|
occurred_at: string;
|
|
1055
1190
|
event_type: "device.accessory_keypad_connected";
|
|
1056
1191
|
}>, z.ZodObject<{
|
|
@@ -1058,6 +1193,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1058
1193
|
created_at: z.ZodString;
|
|
1059
1194
|
workspace_id: z.ZodString;
|
|
1060
1195
|
connected_account_id: z.ZodString;
|
|
1196
|
+
event_id: z.ZodString;
|
|
1061
1197
|
occurred_at: z.ZodString;
|
|
1062
1198
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1063
1199
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1065,6 +1201,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1065
1201
|
created_at: string;
|
|
1066
1202
|
workspace_id: string;
|
|
1067
1203
|
connected_account_id: string;
|
|
1204
|
+
event_id: string;
|
|
1068
1205
|
occurred_at: string;
|
|
1069
1206
|
event_type: "device.accessory_keypad_disconnected";
|
|
1070
1207
|
}, {
|
|
@@ -1072,6 +1209,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1072
1209
|
created_at: string;
|
|
1073
1210
|
workspace_id: string;
|
|
1074
1211
|
connected_account_id: string;
|
|
1212
|
+
event_id: string;
|
|
1075
1213
|
occurred_at: string;
|
|
1076
1214
|
event_type: "device.accessory_keypad_disconnected";
|
|
1077
1215
|
}>, z.ZodObject<{
|
|
@@ -1079,6 +1217,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1079
1217
|
created_at: z.ZodString;
|
|
1080
1218
|
workspace_id: z.ZodString;
|
|
1081
1219
|
connected_account_id: z.ZodString;
|
|
1220
|
+
event_id: z.ZodString;
|
|
1082
1221
|
occurred_at: z.ZodString;
|
|
1083
1222
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
1084
1223
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1088,6 +1227,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1088
1227
|
created_at: string;
|
|
1089
1228
|
workspace_id: string;
|
|
1090
1229
|
connected_account_id: string;
|
|
1230
|
+
event_id: string;
|
|
1091
1231
|
occurred_at: string;
|
|
1092
1232
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1093
1233
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -1097,6 +1237,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1097
1237
|
created_at: string;
|
|
1098
1238
|
workspace_id: string;
|
|
1099
1239
|
connected_account_id: string;
|
|
1240
|
+
event_id: string;
|
|
1100
1241
|
occurred_at: string;
|
|
1101
1242
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1102
1243
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
@@ -1106,6 +1247,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1106
1247
|
created_at: z.ZodString;
|
|
1107
1248
|
workspace_id: z.ZodString;
|
|
1108
1249
|
connected_account_id: z.ZodString;
|
|
1250
|
+
event_id: z.ZodString;
|
|
1109
1251
|
occurred_at: z.ZodString;
|
|
1110
1252
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
1111
1253
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1117,6 +1259,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1117
1259
|
created_at: string;
|
|
1118
1260
|
workspace_id: string;
|
|
1119
1261
|
connected_account_id: string;
|
|
1262
|
+
event_id: string;
|
|
1120
1263
|
occurred_at: string;
|
|
1121
1264
|
event_type: "lock.locked";
|
|
1122
1265
|
access_code_id?: string | undefined;
|
|
@@ -1127,6 +1270,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1127
1270
|
created_at: string;
|
|
1128
1271
|
workspace_id: string;
|
|
1129
1272
|
connected_account_id: string;
|
|
1273
|
+
event_id: string;
|
|
1130
1274
|
occurred_at: string;
|
|
1131
1275
|
event_type: "lock.locked";
|
|
1132
1276
|
access_code_id?: string | undefined;
|
|
@@ -1136,6 +1280,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1136
1280
|
created_at: z.ZodString;
|
|
1137
1281
|
workspace_id: z.ZodString;
|
|
1138
1282
|
connected_account_id: z.ZodString;
|
|
1283
|
+
event_id: z.ZodString;
|
|
1139
1284
|
occurred_at: z.ZodString;
|
|
1140
1285
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
1141
1286
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1147,6 +1292,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1147
1292
|
created_at: string;
|
|
1148
1293
|
workspace_id: string;
|
|
1149
1294
|
connected_account_id: string;
|
|
1295
|
+
event_id: string;
|
|
1150
1296
|
occurred_at: string;
|
|
1151
1297
|
event_type: "lock.unlocked";
|
|
1152
1298
|
access_code_id?: string | undefined;
|
|
@@ -1157,6 +1303,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1157
1303
|
created_at: string;
|
|
1158
1304
|
workspace_id: string;
|
|
1159
1305
|
connected_account_id: string;
|
|
1306
|
+
event_id: string;
|
|
1160
1307
|
occurred_at: string;
|
|
1161
1308
|
event_type: "lock.unlocked";
|
|
1162
1309
|
access_code_id?: string | undefined;
|
|
@@ -1166,6 +1313,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1166
1313
|
created_at: z.ZodString;
|
|
1167
1314
|
workspace_id: z.ZodString;
|
|
1168
1315
|
connected_account_id: z.ZodString;
|
|
1316
|
+
event_id: z.ZodString;
|
|
1169
1317
|
occurred_at: z.ZodString;
|
|
1170
1318
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1171
1319
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1174,6 +1322,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1174
1322
|
created_at: string;
|
|
1175
1323
|
workspace_id: string;
|
|
1176
1324
|
connected_account_id: string;
|
|
1325
|
+
event_id: string;
|
|
1177
1326
|
occurred_at: string;
|
|
1178
1327
|
event_type: "lock.access_denied";
|
|
1179
1328
|
access_code_id?: string | undefined;
|
|
@@ -1182,6 +1331,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1182
1331
|
created_at: string;
|
|
1183
1332
|
workspace_id: string;
|
|
1184
1333
|
connected_account_id: string;
|
|
1334
|
+
event_id: string;
|
|
1185
1335
|
occurred_at: string;
|
|
1186
1336
|
event_type: "lock.access_denied";
|
|
1187
1337
|
access_code_id?: string | undefined;
|