@seamapi/types 1.395.1 → 1.395.3
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 +57 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +694 -403
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +102 -12
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +37 -30
- package/lib/seam/connect/models/devices/phone.d.ts +2 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
- package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
- package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
- package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
- package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
- package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
- package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
- package/lib/seam/connect/models/events/common.d.ts +2 -2
- package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +132 -132
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
- package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +35 -8
- package/lib/seam/connect/openapi.js +43 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +136 -102
- package/package.json +2 -2
- package/src/lib/seam/connect/model-types.ts +2 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -0
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +47 -10
- package/src/lib/seam/connect/route-types.ts +617 -505
|
@@ -12,18 +12,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
12
12
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
13
13
|
}>, "strip", z.ZodTypeAny, {
|
|
14
14
|
device_id: string;
|
|
15
|
+
workspace_id: string;
|
|
15
16
|
created_at: string;
|
|
16
17
|
connected_account_id: string;
|
|
17
|
-
workspace_id: string;
|
|
18
18
|
access_code_id: string;
|
|
19
19
|
event_id: string;
|
|
20
20
|
occurred_at: string;
|
|
21
21
|
event_type: "access_code.created";
|
|
22
22
|
}, {
|
|
23
23
|
device_id: string;
|
|
24
|
+
workspace_id: string;
|
|
24
25
|
created_at: string;
|
|
25
26
|
connected_account_id: string;
|
|
26
|
-
workspace_id: string;
|
|
27
27
|
access_code_id: string;
|
|
28
28
|
event_id: string;
|
|
29
29
|
occurred_at: string;
|
|
@@ -41,18 +41,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
41
41
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
42
42
|
}>, "strip", z.ZodTypeAny, {
|
|
43
43
|
device_id: string;
|
|
44
|
+
workspace_id: string;
|
|
44
45
|
created_at: string;
|
|
45
46
|
connected_account_id: string;
|
|
46
|
-
workspace_id: string;
|
|
47
47
|
access_code_id: string;
|
|
48
48
|
event_id: string;
|
|
49
49
|
occurred_at: string;
|
|
50
50
|
event_type: "access_code.changed";
|
|
51
51
|
}, {
|
|
52
52
|
device_id: string;
|
|
53
|
+
workspace_id: string;
|
|
53
54
|
created_at: string;
|
|
54
55
|
connected_account_id: string;
|
|
55
|
-
workspace_id: string;
|
|
56
56
|
access_code_id: string;
|
|
57
57
|
event_id: string;
|
|
58
58
|
occurred_at: string;
|
|
@@ -72,9 +72,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
72
72
|
}>, "strip", z.ZodTypeAny, {
|
|
73
73
|
code: string;
|
|
74
74
|
device_id: string;
|
|
75
|
+
workspace_id: string;
|
|
75
76
|
created_at: string;
|
|
76
77
|
connected_account_id: string;
|
|
77
|
-
workspace_id: string;
|
|
78
78
|
access_code_id: string;
|
|
79
79
|
event_id: string;
|
|
80
80
|
occurred_at: string;
|
|
@@ -82,9 +82,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
82
82
|
}, {
|
|
83
83
|
code: string;
|
|
84
84
|
device_id: string;
|
|
85
|
+
workspace_id: string;
|
|
85
86
|
created_at: string;
|
|
86
87
|
connected_account_id: string;
|
|
87
|
-
workspace_id: string;
|
|
88
88
|
access_code_id: string;
|
|
89
89
|
event_id: string;
|
|
90
90
|
occurred_at: string;
|
|
@@ -104,9 +104,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
104
104
|
}>, "strip", z.ZodTypeAny, {
|
|
105
105
|
code: string;
|
|
106
106
|
device_id: string;
|
|
107
|
+
workspace_id: string;
|
|
107
108
|
created_at: string;
|
|
108
109
|
connected_account_id: string;
|
|
109
|
-
workspace_id: string;
|
|
110
110
|
access_code_id: string;
|
|
111
111
|
event_id: string;
|
|
112
112
|
occurred_at: string;
|
|
@@ -114,9 +114,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
114
114
|
}, {
|
|
115
115
|
code: string;
|
|
116
116
|
device_id: string;
|
|
117
|
+
workspace_id: string;
|
|
117
118
|
created_at: string;
|
|
118
119
|
connected_account_id: string;
|
|
119
|
-
workspace_id: string;
|
|
120
120
|
access_code_id: string;
|
|
121
121
|
event_id: string;
|
|
122
122
|
occurred_at: string;
|
|
@@ -134,18 +134,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
134
134
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
135
135
|
}>, "strip", z.ZodTypeAny, {
|
|
136
136
|
device_id: string;
|
|
137
|
+
workspace_id: string;
|
|
137
138
|
created_at: string;
|
|
138
139
|
connected_account_id: string;
|
|
139
|
-
workspace_id: string;
|
|
140
140
|
access_code_id: string;
|
|
141
141
|
event_id: string;
|
|
142
142
|
occurred_at: string;
|
|
143
143
|
event_type: "access_code.removed_from_device";
|
|
144
144
|
}, {
|
|
145
145
|
device_id: string;
|
|
146
|
+
workspace_id: string;
|
|
146
147
|
created_at: string;
|
|
147
148
|
connected_account_id: string;
|
|
148
|
-
workspace_id: string;
|
|
149
149
|
access_code_id: string;
|
|
150
150
|
event_id: string;
|
|
151
151
|
occurred_at: string;
|
|
@@ -163,18 +163,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
163
163
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
164
164
|
}>, "strip", z.ZodTypeAny, {
|
|
165
165
|
device_id: string;
|
|
166
|
+
workspace_id: string;
|
|
166
167
|
created_at: string;
|
|
167
168
|
connected_account_id: string;
|
|
168
|
-
workspace_id: string;
|
|
169
169
|
access_code_id: string;
|
|
170
170
|
event_id: string;
|
|
171
171
|
occurred_at: string;
|
|
172
172
|
event_type: "access_code.delay_in_setting_on_device";
|
|
173
173
|
}, {
|
|
174
174
|
device_id: string;
|
|
175
|
+
workspace_id: string;
|
|
175
176
|
created_at: string;
|
|
176
177
|
connected_account_id: string;
|
|
177
|
-
workspace_id: string;
|
|
178
178
|
access_code_id: string;
|
|
179
179
|
event_id: string;
|
|
180
180
|
occurred_at: string;
|
|
@@ -192,18 +192,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
192
192
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
193
193
|
}>, "strip", z.ZodTypeAny, {
|
|
194
194
|
device_id: string;
|
|
195
|
+
workspace_id: string;
|
|
195
196
|
created_at: string;
|
|
196
197
|
connected_account_id: string;
|
|
197
|
-
workspace_id: string;
|
|
198
198
|
access_code_id: string;
|
|
199
199
|
event_id: string;
|
|
200
200
|
occurred_at: string;
|
|
201
201
|
event_type: "access_code.failed_to_set_on_device";
|
|
202
202
|
}, {
|
|
203
203
|
device_id: string;
|
|
204
|
+
workspace_id: string;
|
|
204
205
|
created_at: string;
|
|
205
206
|
connected_account_id: string;
|
|
206
|
-
workspace_id: string;
|
|
207
207
|
access_code_id: string;
|
|
208
208
|
event_id: string;
|
|
209
209
|
occurred_at: string;
|
|
@@ -223,9 +223,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
223
223
|
}>, "strip", z.ZodTypeAny, {
|
|
224
224
|
code: string | null;
|
|
225
225
|
device_id: string;
|
|
226
|
+
workspace_id: string;
|
|
226
227
|
created_at: string;
|
|
227
228
|
connected_account_id: string;
|
|
228
|
-
workspace_id: string;
|
|
229
229
|
access_code_id: string;
|
|
230
230
|
event_id: string;
|
|
231
231
|
occurred_at: string;
|
|
@@ -233,9 +233,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
233
233
|
}, {
|
|
234
234
|
code: string | null;
|
|
235
235
|
device_id: string;
|
|
236
|
+
workspace_id: string;
|
|
236
237
|
created_at: string;
|
|
237
238
|
connected_account_id: string;
|
|
238
|
-
workspace_id: string;
|
|
239
239
|
access_code_id: string;
|
|
240
240
|
event_id: string;
|
|
241
241
|
occurred_at: string;
|
|
@@ -253,18 +253,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
253
253
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
254
254
|
}>, "strip", z.ZodTypeAny, {
|
|
255
255
|
device_id: string;
|
|
256
|
+
workspace_id: string;
|
|
256
257
|
created_at: string;
|
|
257
258
|
connected_account_id: string;
|
|
258
|
-
workspace_id: string;
|
|
259
259
|
access_code_id: string;
|
|
260
260
|
event_id: string;
|
|
261
261
|
occurred_at: string;
|
|
262
262
|
event_type: "access_code.delay_in_removing_from_device";
|
|
263
263
|
}, {
|
|
264
264
|
device_id: string;
|
|
265
|
+
workspace_id: string;
|
|
265
266
|
created_at: string;
|
|
266
267
|
connected_account_id: string;
|
|
267
|
-
workspace_id: string;
|
|
268
268
|
access_code_id: string;
|
|
269
269
|
event_id: string;
|
|
270
270
|
occurred_at: string;
|
|
@@ -282,18 +282,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
282
282
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
283
283
|
}>, "strip", z.ZodTypeAny, {
|
|
284
284
|
device_id: string;
|
|
285
|
+
workspace_id: string;
|
|
285
286
|
created_at: string;
|
|
286
287
|
connected_account_id: string;
|
|
287
|
-
workspace_id: string;
|
|
288
288
|
access_code_id: string;
|
|
289
289
|
event_id: string;
|
|
290
290
|
occurred_at: string;
|
|
291
291
|
event_type: "access_code.failed_to_remove_from_device";
|
|
292
292
|
}, {
|
|
293
293
|
device_id: string;
|
|
294
|
+
workspace_id: string;
|
|
294
295
|
created_at: string;
|
|
295
296
|
connected_account_id: string;
|
|
296
|
-
workspace_id: string;
|
|
297
297
|
access_code_id: string;
|
|
298
298
|
event_id: string;
|
|
299
299
|
occurred_at: string;
|
|
@@ -311,18 +311,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
311
311
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
312
312
|
}>, "strip", z.ZodTypeAny, {
|
|
313
313
|
device_id: string;
|
|
314
|
+
workspace_id: string;
|
|
314
315
|
created_at: string;
|
|
315
316
|
connected_account_id: string;
|
|
316
|
-
workspace_id: string;
|
|
317
317
|
access_code_id: string;
|
|
318
318
|
event_id: string;
|
|
319
319
|
occurred_at: string;
|
|
320
320
|
event_type: "access_code.modified_external_to_seam";
|
|
321
321
|
}, {
|
|
322
322
|
device_id: string;
|
|
323
|
+
workspace_id: string;
|
|
323
324
|
created_at: string;
|
|
324
325
|
connected_account_id: string;
|
|
325
|
-
workspace_id: string;
|
|
326
326
|
access_code_id: string;
|
|
327
327
|
event_id: string;
|
|
328
328
|
occurred_at: string;
|
|
@@ -340,18 +340,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
340
340
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
341
341
|
}>, "strip", z.ZodTypeAny, {
|
|
342
342
|
device_id: string;
|
|
343
|
+
workspace_id: string;
|
|
343
344
|
created_at: string;
|
|
344
345
|
connected_account_id: string;
|
|
345
|
-
workspace_id: string;
|
|
346
346
|
access_code_id: string;
|
|
347
347
|
event_id: string;
|
|
348
348
|
occurred_at: string;
|
|
349
349
|
event_type: "access_code.deleted_external_to_seam";
|
|
350
350
|
}, {
|
|
351
351
|
device_id: string;
|
|
352
|
+
workspace_id: string;
|
|
352
353
|
created_at: string;
|
|
353
354
|
connected_account_id: string;
|
|
354
|
-
workspace_id: string;
|
|
355
355
|
access_code_id: string;
|
|
356
356
|
event_id: string;
|
|
357
357
|
occurred_at: string;
|
|
@@ -370,9 +370,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
370
370
|
backup_access_code_id: z.ZodString;
|
|
371
371
|
}>, "strip", z.ZodTypeAny, {
|
|
372
372
|
device_id: string;
|
|
373
|
+
workspace_id: string;
|
|
373
374
|
created_at: string;
|
|
374
375
|
connected_account_id: string;
|
|
375
|
-
workspace_id: string;
|
|
376
376
|
access_code_id: string;
|
|
377
377
|
event_id: string;
|
|
378
378
|
occurred_at: string;
|
|
@@ -380,9 +380,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
380
380
|
backup_access_code_id: string;
|
|
381
381
|
}, {
|
|
382
382
|
device_id: string;
|
|
383
|
+
workspace_id: string;
|
|
383
384
|
created_at: string;
|
|
384
385
|
connected_account_id: string;
|
|
385
|
-
workspace_id: string;
|
|
386
386
|
access_code_id: string;
|
|
387
387
|
event_id: string;
|
|
388
388
|
occurred_at: string;
|
|
@@ -401,18 +401,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
401
401
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
402
402
|
}>, "strip", z.ZodTypeAny, {
|
|
403
403
|
device_id: string;
|
|
404
|
+
workspace_id: string;
|
|
404
405
|
created_at: string;
|
|
405
406
|
connected_account_id: string;
|
|
406
|
-
workspace_id: string;
|
|
407
407
|
access_code_id: string;
|
|
408
408
|
event_id: string;
|
|
409
409
|
occurred_at: string;
|
|
410
410
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
411
411
|
}, {
|
|
412
412
|
device_id: string;
|
|
413
|
+
workspace_id: string;
|
|
413
414
|
created_at: string;
|
|
414
415
|
connected_account_id: string;
|
|
415
|
-
workspace_id: string;
|
|
416
416
|
access_code_id: string;
|
|
417
417
|
event_id: string;
|
|
418
418
|
occurred_at: string;
|
|
@@ -430,18 +430,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
430
430
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
431
431
|
}>, "strip", z.ZodTypeAny, {
|
|
432
432
|
device_id: string;
|
|
433
|
+
workspace_id: string;
|
|
433
434
|
created_at: string;
|
|
434
435
|
connected_account_id: string;
|
|
435
|
-
workspace_id: string;
|
|
436
436
|
access_code_id: string;
|
|
437
437
|
event_id: string;
|
|
438
438
|
occurred_at: string;
|
|
439
439
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
440
440
|
}, {
|
|
441
441
|
device_id: string;
|
|
442
|
+
workspace_id: string;
|
|
442
443
|
created_at: string;
|
|
443
444
|
connected_account_id: string;
|
|
444
|
-
workspace_id: string;
|
|
445
445
|
access_code_id: string;
|
|
446
446
|
event_id: string;
|
|
447
447
|
occurred_at: string;
|
|
@@ -459,18 +459,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
459
459
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
460
460
|
}>, "strip", z.ZodTypeAny, {
|
|
461
461
|
device_id: string;
|
|
462
|
+
workspace_id: string;
|
|
462
463
|
created_at: string;
|
|
463
464
|
connected_account_id: string;
|
|
464
|
-
workspace_id: string;
|
|
465
465
|
access_code_id: string;
|
|
466
466
|
event_id: string;
|
|
467
467
|
occurred_at: string;
|
|
468
468
|
event_type: "access_code.unmanaged.created";
|
|
469
469
|
}, {
|
|
470
470
|
device_id: string;
|
|
471
|
+
workspace_id: string;
|
|
471
472
|
created_at: string;
|
|
472
473
|
connected_account_id: string;
|
|
473
|
-
workspace_id: string;
|
|
474
474
|
access_code_id: string;
|
|
475
475
|
event_id: string;
|
|
476
476
|
occurred_at: string;
|
|
@@ -488,18 +488,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
488
488
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
489
489
|
}>, "strip", z.ZodTypeAny, {
|
|
490
490
|
device_id: string;
|
|
491
|
+
workspace_id: string;
|
|
491
492
|
created_at: string;
|
|
492
493
|
connected_account_id: string;
|
|
493
|
-
workspace_id: string;
|
|
494
494
|
access_code_id: string;
|
|
495
495
|
event_id: string;
|
|
496
496
|
occurred_at: string;
|
|
497
497
|
event_type: "access_code.unmanaged.removed";
|
|
498
498
|
}, {
|
|
499
499
|
device_id: string;
|
|
500
|
+
workspace_id: string;
|
|
500
501
|
created_at: string;
|
|
501
502
|
connected_account_id: string;
|
|
502
|
-
workspace_id: string;
|
|
503
503
|
access_code_id: string;
|
|
504
504
|
event_id: string;
|
|
505
505
|
occurred_at: string;
|
|
@@ -514,15 +514,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
514
514
|
}>, {
|
|
515
515
|
event_type: z.ZodLiteral<"access_grant.created">;
|
|
516
516
|
}>, "strip", z.ZodTypeAny, {
|
|
517
|
-
created_at: string;
|
|
518
517
|
workspace_id: string;
|
|
518
|
+
created_at: string;
|
|
519
519
|
access_grant_id: string;
|
|
520
520
|
event_id: string;
|
|
521
521
|
occurred_at: string;
|
|
522
522
|
event_type: "access_grant.created";
|
|
523
523
|
}, {
|
|
524
|
-
created_at: string;
|
|
525
524
|
workspace_id: string;
|
|
525
|
+
created_at: string;
|
|
526
526
|
access_grant_id: string;
|
|
527
527
|
event_id: string;
|
|
528
528
|
occurred_at: string;
|
|
@@ -537,15 +537,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
537
537
|
}>, {
|
|
538
538
|
event_type: z.ZodLiteral<"access_grant.deleted">;
|
|
539
539
|
}>, "strip", z.ZodTypeAny, {
|
|
540
|
-
created_at: string;
|
|
541
540
|
workspace_id: string;
|
|
541
|
+
created_at: string;
|
|
542
542
|
access_grant_id: string;
|
|
543
543
|
event_id: string;
|
|
544
544
|
occurred_at: string;
|
|
545
545
|
event_type: "access_grant.deleted";
|
|
546
546
|
}, {
|
|
547
|
-
created_at: string;
|
|
548
547
|
workspace_id: string;
|
|
548
|
+
created_at: string;
|
|
549
549
|
access_grant_id: string;
|
|
550
550
|
event_id: string;
|
|
551
551
|
occurred_at: string;
|
|
@@ -560,15 +560,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
560
560
|
}>, {
|
|
561
561
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
|
|
562
562
|
}>, "strip", z.ZodTypeAny, {
|
|
563
|
-
created_at: string;
|
|
564
563
|
workspace_id: string;
|
|
564
|
+
created_at: string;
|
|
565
565
|
access_grant_id: string;
|
|
566
566
|
event_id: string;
|
|
567
567
|
occurred_at: string;
|
|
568
568
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
569
569
|
}, {
|
|
570
|
-
created_at: string;
|
|
571
570
|
workspace_id: string;
|
|
571
|
+
created_at: string;
|
|
572
572
|
access_grant_id: string;
|
|
573
573
|
event_id: string;
|
|
574
574
|
occurred_at: string;
|
|
@@ -584,16 +584,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
584
584
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
|
|
585
585
|
acs_entrance_id: z.ZodString;
|
|
586
586
|
}>, "strip", z.ZodTypeAny, {
|
|
587
|
-
created_at: string;
|
|
588
587
|
workspace_id: string;
|
|
588
|
+
created_at: string;
|
|
589
589
|
access_grant_id: string;
|
|
590
590
|
acs_entrance_id: string;
|
|
591
591
|
event_id: string;
|
|
592
592
|
occurred_at: string;
|
|
593
593
|
event_type: "access_grant.access_granted_to_door";
|
|
594
594
|
}, {
|
|
595
|
-
created_at: string;
|
|
596
595
|
workspace_id: string;
|
|
596
|
+
created_at: string;
|
|
597
597
|
access_grant_id: string;
|
|
598
598
|
acs_entrance_id: string;
|
|
599
599
|
event_id: string;
|
|
@@ -610,16 +610,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
610
610
|
event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
|
|
611
611
|
acs_entrance_id: z.ZodString;
|
|
612
612
|
}>, "strip", z.ZodTypeAny, {
|
|
613
|
-
created_at: string;
|
|
614
613
|
workspace_id: string;
|
|
614
|
+
created_at: string;
|
|
615
615
|
access_grant_id: string;
|
|
616
616
|
acs_entrance_id: string;
|
|
617
617
|
event_id: string;
|
|
618
618
|
occurred_at: string;
|
|
619
619
|
event_type: "access_grant.access_to_door_lost";
|
|
620
620
|
}, {
|
|
621
|
-
created_at: string;
|
|
622
621
|
workspace_id: string;
|
|
622
|
+
created_at: string;
|
|
623
623
|
access_grant_id: string;
|
|
624
624
|
acs_entrance_id: string;
|
|
625
625
|
event_id: string;
|
|
@@ -635,15 +635,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
635
635
|
}>, {
|
|
636
636
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
637
637
|
}>, "strip", z.ZodTypeAny, {
|
|
638
|
-
created_at: string;
|
|
639
638
|
workspace_id: string;
|
|
639
|
+
created_at: string;
|
|
640
640
|
access_method_id: string;
|
|
641
641
|
event_id: string;
|
|
642
642
|
occurred_at: string;
|
|
643
643
|
event_type: "access_method.issued";
|
|
644
644
|
}, {
|
|
645
|
-
created_at: string;
|
|
646
645
|
workspace_id: string;
|
|
646
|
+
created_at: string;
|
|
647
647
|
access_method_id: string;
|
|
648
648
|
event_id: string;
|
|
649
649
|
occurred_at: string;
|
|
@@ -658,15 +658,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
658
658
|
}>, {
|
|
659
659
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
660
660
|
}>, "strip", z.ZodTypeAny, {
|
|
661
|
-
created_at: string;
|
|
662
661
|
workspace_id: string;
|
|
662
|
+
created_at: string;
|
|
663
663
|
access_method_id: string;
|
|
664
664
|
event_id: string;
|
|
665
665
|
occurred_at: string;
|
|
666
666
|
event_type: "access_method.revoked";
|
|
667
667
|
}, {
|
|
668
|
-
created_at: string;
|
|
669
668
|
workspace_id: string;
|
|
669
|
+
created_at: string;
|
|
670
670
|
access_method_id: string;
|
|
671
671
|
event_id: string;
|
|
672
672
|
occurred_at: string;
|
|
@@ -681,15 +681,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
681
681
|
}>, {
|
|
682
682
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
683
683
|
}>, "strip", z.ZodTypeAny, {
|
|
684
|
-
created_at: string;
|
|
685
684
|
workspace_id: string;
|
|
685
|
+
created_at: string;
|
|
686
686
|
access_method_id: string;
|
|
687
687
|
event_id: string;
|
|
688
688
|
occurred_at: string;
|
|
689
689
|
event_type: "access_method.card_encoding_required";
|
|
690
690
|
}, {
|
|
691
|
-
created_at: string;
|
|
692
691
|
workspace_id: string;
|
|
692
|
+
created_at: string;
|
|
693
693
|
access_method_id: string;
|
|
694
694
|
event_id: string;
|
|
695
695
|
occurred_at: string;
|
|
@@ -705,16 +705,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
705
705
|
}>, {}>, {
|
|
706
706
|
event_type: z.ZodLiteral<"acs_system.connected">;
|
|
707
707
|
}>, "strip", z.ZodTypeAny, {
|
|
708
|
-
created_at: string;
|
|
709
708
|
workspace_id: string;
|
|
709
|
+
created_at: string;
|
|
710
710
|
acs_system_id: string;
|
|
711
711
|
event_id: string;
|
|
712
712
|
occurred_at: string;
|
|
713
713
|
event_type: "acs_system.connected";
|
|
714
714
|
connected_account_id?: string | undefined;
|
|
715
715
|
}, {
|
|
716
|
-
created_at: string;
|
|
717
716
|
workspace_id: string;
|
|
717
|
+
created_at: string;
|
|
718
718
|
acs_system_id: string;
|
|
719
719
|
event_id: string;
|
|
720
720
|
occurred_at: string;
|
|
@@ -731,16 +731,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
731
731
|
}>, {}>, {
|
|
732
732
|
event_type: z.ZodLiteral<"acs_system.added">;
|
|
733
733
|
}>, "strip", z.ZodTypeAny, {
|
|
734
|
-
created_at: string;
|
|
735
734
|
workspace_id: string;
|
|
735
|
+
created_at: string;
|
|
736
736
|
acs_system_id: string;
|
|
737
737
|
event_id: string;
|
|
738
738
|
occurred_at: string;
|
|
739
739
|
event_type: "acs_system.added";
|
|
740
740
|
connected_account_id?: string | undefined;
|
|
741
741
|
}, {
|
|
742
|
-
created_at: string;
|
|
743
742
|
workspace_id: string;
|
|
743
|
+
created_at: string;
|
|
744
744
|
acs_system_id: string;
|
|
745
745
|
event_id: string;
|
|
746
746
|
occurred_at: string;
|
|
@@ -757,16 +757,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
757
757
|
}>, {}>, {
|
|
758
758
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
759
759
|
}>, "strip", z.ZodTypeAny, {
|
|
760
|
-
created_at: string;
|
|
761
760
|
workspace_id: string;
|
|
761
|
+
created_at: string;
|
|
762
762
|
acs_system_id: string;
|
|
763
763
|
event_id: string;
|
|
764
764
|
occurred_at: string;
|
|
765
765
|
event_type: "acs_system.disconnected";
|
|
766
766
|
connected_account_id?: string | undefined;
|
|
767
767
|
}, {
|
|
768
|
-
created_at: string;
|
|
769
768
|
workspace_id: string;
|
|
769
|
+
created_at: string;
|
|
770
770
|
acs_system_id: string;
|
|
771
771
|
event_id: string;
|
|
772
772
|
occurred_at: string;
|
|
@@ -785,8 +785,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
785
785
|
}>, {
|
|
786
786
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
787
787
|
}>, "strip", z.ZodTypeAny, {
|
|
788
|
-
created_at: string;
|
|
789
788
|
workspace_id: string;
|
|
789
|
+
created_at: string;
|
|
790
790
|
acs_system_id: string;
|
|
791
791
|
acs_credential_id: string;
|
|
792
792
|
event_id: string;
|
|
@@ -794,8 +794,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
794
794
|
event_type: "acs_credential.deleted";
|
|
795
795
|
connected_account_id?: string | undefined;
|
|
796
796
|
}, {
|
|
797
|
-
created_at: string;
|
|
798
797
|
workspace_id: string;
|
|
798
|
+
created_at: string;
|
|
799
799
|
acs_system_id: string;
|
|
800
800
|
acs_credential_id: string;
|
|
801
801
|
event_id: string;
|
|
@@ -815,8 +815,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
815
815
|
}>, {
|
|
816
816
|
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
817
817
|
}>, "strip", z.ZodTypeAny, {
|
|
818
|
-
created_at: string;
|
|
819
818
|
workspace_id: string;
|
|
819
|
+
created_at: string;
|
|
820
820
|
acs_system_id: string;
|
|
821
821
|
acs_credential_id: string;
|
|
822
822
|
event_id: string;
|
|
@@ -824,8 +824,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
824
824
|
event_type: "acs_credential.issued";
|
|
825
825
|
connected_account_id?: string | undefined;
|
|
826
826
|
}, {
|
|
827
|
-
created_at: string;
|
|
828
827
|
workspace_id: string;
|
|
828
|
+
created_at: string;
|
|
829
829
|
acs_system_id: string;
|
|
830
830
|
acs_credential_id: string;
|
|
831
831
|
event_id: string;
|
|
@@ -845,8 +845,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
845
845
|
}>, {
|
|
846
846
|
event_type: z.ZodLiteral<"acs_credential.reissued">;
|
|
847
847
|
}>, "strip", z.ZodTypeAny, {
|
|
848
|
-
created_at: string;
|
|
849
848
|
workspace_id: string;
|
|
849
|
+
created_at: string;
|
|
850
850
|
acs_system_id: string;
|
|
851
851
|
acs_credential_id: string;
|
|
852
852
|
event_id: string;
|
|
@@ -854,8 +854,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
854
854
|
event_type: "acs_credential.reissued";
|
|
855
855
|
connected_account_id?: string | undefined;
|
|
856
856
|
}, {
|
|
857
|
-
created_at: string;
|
|
858
857
|
workspace_id: string;
|
|
858
|
+
created_at: string;
|
|
859
859
|
acs_system_id: string;
|
|
860
860
|
acs_credential_id: string;
|
|
861
861
|
event_id: string;
|
|
@@ -875,8 +875,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
875
875
|
}>, {
|
|
876
876
|
event_type: z.ZodLiteral<"acs_credential.invalidated">;
|
|
877
877
|
}>, "strip", z.ZodTypeAny, {
|
|
878
|
-
created_at: string;
|
|
879
878
|
workspace_id: string;
|
|
879
|
+
created_at: string;
|
|
880
880
|
acs_system_id: string;
|
|
881
881
|
acs_credential_id: string;
|
|
882
882
|
event_id: string;
|
|
@@ -884,8 +884,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
884
884
|
event_type: "acs_credential.invalidated";
|
|
885
885
|
connected_account_id?: string | undefined;
|
|
886
886
|
}, {
|
|
887
|
-
created_at: string;
|
|
888
887
|
workspace_id: string;
|
|
888
|
+
created_at: string;
|
|
889
889
|
acs_system_id: string;
|
|
890
890
|
acs_credential_id: string;
|
|
891
891
|
event_id: string;
|
|
@@ -905,8 +905,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
905
905
|
}>, {
|
|
906
906
|
event_type: z.ZodLiteral<"acs_user.created">;
|
|
907
907
|
}>, "strip", z.ZodTypeAny, {
|
|
908
|
-
created_at: string;
|
|
909
908
|
workspace_id: string;
|
|
909
|
+
created_at: string;
|
|
910
910
|
acs_system_id: string;
|
|
911
911
|
acs_user_id: string;
|
|
912
912
|
event_id: string;
|
|
@@ -914,8 +914,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
914
914
|
event_type: "acs_user.created";
|
|
915
915
|
connected_account_id?: string | undefined;
|
|
916
916
|
}, {
|
|
917
|
-
created_at: string;
|
|
918
917
|
workspace_id: string;
|
|
918
|
+
created_at: string;
|
|
919
919
|
acs_system_id: string;
|
|
920
920
|
acs_user_id: string;
|
|
921
921
|
event_id: string;
|
|
@@ -935,8 +935,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
935
935
|
}>, {
|
|
936
936
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
937
937
|
}>, "strip", z.ZodTypeAny, {
|
|
938
|
-
created_at: string;
|
|
939
938
|
workspace_id: string;
|
|
939
|
+
created_at: string;
|
|
940
940
|
acs_system_id: string;
|
|
941
941
|
acs_user_id: string;
|
|
942
942
|
event_id: string;
|
|
@@ -944,8 +944,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
944
944
|
event_type: "acs_user.deleted";
|
|
945
945
|
connected_account_id?: string | undefined;
|
|
946
946
|
}, {
|
|
947
|
-
created_at: string;
|
|
948
947
|
workspace_id: string;
|
|
948
|
+
created_at: string;
|
|
949
949
|
acs_system_id: string;
|
|
950
950
|
acs_user_id: string;
|
|
951
951
|
event_id: string;
|
|
@@ -965,8 +965,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
965
965
|
}>, {
|
|
966
966
|
event_type: z.ZodLiteral<"acs_encoder.added">;
|
|
967
967
|
}>, "strip", z.ZodTypeAny, {
|
|
968
|
-
created_at: string;
|
|
969
968
|
workspace_id: string;
|
|
969
|
+
created_at: string;
|
|
970
970
|
acs_system_id: string;
|
|
971
971
|
acs_encoder_id: string;
|
|
972
972
|
event_id: string;
|
|
@@ -974,8 +974,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
974
974
|
event_type: "acs_encoder.added";
|
|
975
975
|
connected_account_id?: string | undefined;
|
|
976
976
|
}, {
|
|
977
|
-
created_at: string;
|
|
978
977
|
workspace_id: string;
|
|
978
|
+
created_at: string;
|
|
979
979
|
acs_system_id: string;
|
|
980
980
|
acs_encoder_id: string;
|
|
981
981
|
event_id: string;
|
|
@@ -995,8 +995,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
995
995
|
}>, {
|
|
996
996
|
event_type: z.ZodLiteral<"acs_encoder.removed">;
|
|
997
997
|
}>, "strip", z.ZodTypeAny, {
|
|
998
|
-
created_at: string;
|
|
999
998
|
workspace_id: string;
|
|
999
|
+
created_at: string;
|
|
1000
1000
|
acs_system_id: string;
|
|
1001
1001
|
acs_encoder_id: string;
|
|
1002
1002
|
event_id: string;
|
|
@@ -1004,8 +1004,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1004
1004
|
event_type: "acs_encoder.removed";
|
|
1005
1005
|
connected_account_id?: string | undefined;
|
|
1006
1006
|
}, {
|
|
1007
|
-
created_at: string;
|
|
1008
1007
|
workspace_id: string;
|
|
1008
|
+
created_at: string;
|
|
1009
1009
|
acs_system_id: string;
|
|
1010
1010
|
acs_encoder_id: string;
|
|
1011
1011
|
event_id: string;
|
|
@@ -1025,8 +1025,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1025
1025
|
}>, {
|
|
1026
1026
|
event_type: z.ZodLiteral<"acs_access_group.deleted">;
|
|
1027
1027
|
}>, "strip", z.ZodTypeAny, {
|
|
1028
|
-
created_at: string;
|
|
1029
1028
|
workspace_id: string;
|
|
1029
|
+
created_at: string;
|
|
1030
1030
|
acs_access_group_id: string;
|
|
1031
1031
|
acs_system_id: string;
|
|
1032
1032
|
event_id: string;
|
|
@@ -1034,8 +1034,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1034
1034
|
event_type: "acs_access_group.deleted";
|
|
1035
1035
|
connected_account_id?: string | undefined;
|
|
1036
1036
|
}, {
|
|
1037
|
-
created_at: string;
|
|
1038
1037
|
workspace_id: string;
|
|
1038
|
+
created_at: string;
|
|
1039
1039
|
acs_access_group_id: string;
|
|
1040
1040
|
acs_system_id: string;
|
|
1041
1041
|
event_id: string;
|
|
@@ -1055,8 +1055,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1055
1055
|
}>, {
|
|
1056
1056
|
event_type: z.ZodLiteral<"acs_entrance.added">;
|
|
1057
1057
|
}>, "strip", z.ZodTypeAny, {
|
|
1058
|
-
created_at: string;
|
|
1059
1058
|
workspace_id: string;
|
|
1059
|
+
created_at: string;
|
|
1060
1060
|
acs_system_id: string;
|
|
1061
1061
|
acs_entrance_id: string;
|
|
1062
1062
|
event_id: string;
|
|
@@ -1064,8 +1064,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1064
1064
|
event_type: "acs_entrance.added";
|
|
1065
1065
|
connected_account_id?: string | undefined;
|
|
1066
1066
|
}, {
|
|
1067
|
-
created_at: string;
|
|
1068
1067
|
workspace_id: string;
|
|
1068
|
+
created_at: string;
|
|
1069
1069
|
acs_system_id: string;
|
|
1070
1070
|
acs_entrance_id: string;
|
|
1071
1071
|
event_id: string;
|
|
@@ -1085,8 +1085,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1085
1085
|
}>, {
|
|
1086
1086
|
event_type: z.ZodLiteral<"acs_entrance.removed">;
|
|
1087
1087
|
}>, "strip", z.ZodTypeAny, {
|
|
1088
|
-
created_at: string;
|
|
1089
1088
|
workspace_id: string;
|
|
1089
|
+
created_at: string;
|
|
1090
1090
|
acs_system_id: string;
|
|
1091
1091
|
acs_entrance_id: string;
|
|
1092
1092
|
event_id: string;
|
|
@@ -1094,8 +1094,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1094
1094
|
event_type: "acs_entrance.removed";
|
|
1095
1095
|
connected_account_id?: string | undefined;
|
|
1096
1096
|
}, {
|
|
1097
|
-
created_at: string;
|
|
1098
1097
|
workspace_id: string;
|
|
1098
|
+
created_at: string;
|
|
1099
1099
|
acs_system_id: string;
|
|
1100
1100
|
acs_entrance_id: string;
|
|
1101
1101
|
event_id: string;
|
|
@@ -1112,15 +1112,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1112
1112
|
}>, {
|
|
1113
1113
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
1114
1114
|
}>, "strip", z.ZodTypeAny, {
|
|
1115
|
-
created_at: string;
|
|
1116
1115
|
workspace_id: string;
|
|
1116
|
+
created_at: string;
|
|
1117
1117
|
client_session_id: string;
|
|
1118
1118
|
event_id: string;
|
|
1119
1119
|
occurred_at: string;
|
|
1120
1120
|
event_type: "client_session.deleted";
|
|
1121
1121
|
}, {
|
|
1122
|
-
created_at: string;
|
|
1123
1122
|
workspace_id: string;
|
|
1123
|
+
created_at: string;
|
|
1124
1124
|
client_session_id: string;
|
|
1125
1125
|
event_id: string;
|
|
1126
1126
|
occurred_at: string;
|
|
@@ -1136,17 +1136,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1136
1136
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
1137
1137
|
connect_webview_id: z.ZodString;
|
|
1138
1138
|
}>, "strip", z.ZodTypeAny, {
|
|
1139
|
+
workspace_id: string;
|
|
1139
1140
|
created_at: string;
|
|
1140
1141
|
connected_account_id: string;
|
|
1141
|
-
workspace_id: string;
|
|
1142
1142
|
connect_webview_id: string;
|
|
1143
1143
|
event_id: string;
|
|
1144
1144
|
occurred_at: string;
|
|
1145
1145
|
event_type: "connected_account.connected";
|
|
1146
1146
|
}, {
|
|
1147
|
+
workspace_id: string;
|
|
1147
1148
|
created_at: string;
|
|
1148
1149
|
connected_account_id: string;
|
|
1149
|
-
workspace_id: string;
|
|
1150
1150
|
connect_webview_id: string;
|
|
1151
1151
|
event_id: string;
|
|
1152
1152
|
occurred_at: string;
|
|
@@ -1162,17 +1162,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1162
1162
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
1163
1163
|
connect_webview_id: z.ZodString;
|
|
1164
1164
|
}>, "strip", z.ZodTypeAny, {
|
|
1165
|
+
workspace_id: string;
|
|
1165
1166
|
created_at: string;
|
|
1166
1167
|
connected_account_id: string;
|
|
1167
|
-
workspace_id: string;
|
|
1168
1168
|
connect_webview_id: string;
|
|
1169
1169
|
event_id: string;
|
|
1170
1170
|
occurred_at: string;
|
|
1171
1171
|
event_type: "connected_account.created";
|
|
1172
1172
|
}, {
|
|
1173
|
+
workspace_id: string;
|
|
1173
1174
|
created_at: string;
|
|
1174
1175
|
connected_account_id: string;
|
|
1175
|
-
workspace_id: string;
|
|
1176
1176
|
connect_webview_id: string;
|
|
1177
1177
|
event_id: string;
|
|
1178
1178
|
occurred_at: string;
|
|
@@ -1188,17 +1188,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1188
1188
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
1189
1189
|
connect_webview_id: z.ZodString;
|
|
1190
1190
|
}>, "strip", z.ZodTypeAny, {
|
|
1191
|
+
workspace_id: string;
|
|
1191
1192
|
created_at: string;
|
|
1192
1193
|
connected_account_id: string;
|
|
1193
|
-
workspace_id: string;
|
|
1194
1194
|
connect_webview_id: string;
|
|
1195
1195
|
event_id: string;
|
|
1196
1196
|
occurred_at: string;
|
|
1197
1197
|
event_type: "connected_account.successful_login";
|
|
1198
1198
|
}, {
|
|
1199
|
+
workspace_id: string;
|
|
1199
1200
|
created_at: string;
|
|
1200
1201
|
connected_account_id: string;
|
|
1201
|
-
workspace_id: string;
|
|
1202
1202
|
connect_webview_id: string;
|
|
1203
1203
|
event_id: string;
|
|
1204
1204
|
occurred_at: string;
|
|
@@ -1213,16 +1213,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1213
1213
|
}>, {
|
|
1214
1214
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
1215
1215
|
}>, "strip", z.ZodTypeAny, {
|
|
1216
|
+
workspace_id: string;
|
|
1216
1217
|
created_at: string;
|
|
1217
1218
|
connected_account_id: string;
|
|
1218
|
-
workspace_id: string;
|
|
1219
1219
|
event_id: string;
|
|
1220
1220
|
occurred_at: string;
|
|
1221
1221
|
event_type: "connected_account.disconnected";
|
|
1222
1222
|
}, {
|
|
1223
|
+
workspace_id: string;
|
|
1223
1224
|
created_at: string;
|
|
1224
1225
|
connected_account_id: string;
|
|
1225
|
-
workspace_id: string;
|
|
1226
1226
|
event_id: string;
|
|
1227
1227
|
occurred_at: string;
|
|
1228
1228
|
event_type: "connected_account.disconnected";
|
|
@@ -1236,16 +1236,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1236
1236
|
}>, {
|
|
1237
1237
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
1238
1238
|
}>, "strip", z.ZodTypeAny, {
|
|
1239
|
+
workspace_id: string;
|
|
1239
1240
|
created_at: string;
|
|
1240
1241
|
connected_account_id: string;
|
|
1241
|
-
workspace_id: string;
|
|
1242
1242
|
event_id: string;
|
|
1243
1243
|
occurred_at: string;
|
|
1244
1244
|
event_type: "connected_account.completed_first_sync";
|
|
1245
1245
|
}, {
|
|
1246
|
+
workspace_id: string;
|
|
1246
1247
|
created_at: string;
|
|
1247
1248
|
connected_account_id: string;
|
|
1248
|
-
workspace_id: string;
|
|
1249
1249
|
event_id: string;
|
|
1250
1250
|
occurred_at: string;
|
|
1251
1251
|
event_type: "connected_account.completed_first_sync";
|
|
@@ -1259,16 +1259,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1259
1259
|
}>, {
|
|
1260
1260
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
1261
1261
|
}>, "strip", z.ZodTypeAny, {
|
|
1262
|
+
workspace_id: string;
|
|
1262
1263
|
created_at: string;
|
|
1263
1264
|
connected_account_id: string;
|
|
1264
|
-
workspace_id: string;
|
|
1265
1265
|
event_id: string;
|
|
1266
1266
|
occurred_at: string;
|
|
1267
1267
|
event_type: "connected_account.deleted";
|
|
1268
1268
|
}, {
|
|
1269
|
+
workspace_id: string;
|
|
1269
1270
|
created_at: string;
|
|
1270
1271
|
connected_account_id: string;
|
|
1271
|
-
workspace_id: string;
|
|
1272
1272
|
event_id: string;
|
|
1273
1273
|
occurred_at: string;
|
|
1274
1274
|
event_type: "connected_account.deleted";
|
|
@@ -1282,16 +1282,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1282
1282
|
}>, {
|
|
1283
1283
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
1284
1284
|
}>, "strip", z.ZodTypeAny, {
|
|
1285
|
+
workspace_id: string;
|
|
1285
1286
|
created_at: string;
|
|
1286
1287
|
connected_account_id: string;
|
|
1287
|
-
workspace_id: string;
|
|
1288
1288
|
event_id: string;
|
|
1289
1289
|
occurred_at: string;
|
|
1290
1290
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
1291
1291
|
}, {
|
|
1292
|
+
workspace_id: string;
|
|
1292
1293
|
created_at: string;
|
|
1293
1294
|
connected_account_id: string;
|
|
1294
|
-
workspace_id: string;
|
|
1295
1295
|
event_id: string;
|
|
1296
1296
|
occurred_at: string;
|
|
1297
1297
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
@@ -1308,8 +1308,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1308
1308
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
1309
1309
|
}>, "strip", z.ZodTypeAny, {
|
|
1310
1310
|
status: string;
|
|
1311
|
-
created_at: string;
|
|
1312
1311
|
workspace_id: string;
|
|
1312
|
+
created_at: string;
|
|
1313
1313
|
action_attempt_id: string;
|
|
1314
1314
|
action_type: string;
|
|
1315
1315
|
event_id: string;
|
|
@@ -1317,8 +1317,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1317
1317
|
event_type: "action_attempt.lock_door.succeeded";
|
|
1318
1318
|
}, {
|
|
1319
1319
|
status: string;
|
|
1320
|
-
created_at: string;
|
|
1321
1320
|
workspace_id: string;
|
|
1321
|
+
created_at: string;
|
|
1322
1322
|
action_attempt_id: string;
|
|
1323
1323
|
action_type: string;
|
|
1324
1324
|
event_id: string;
|
|
@@ -1337,8 +1337,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1337
1337
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
1338
1338
|
}>, "strip", z.ZodTypeAny, {
|
|
1339
1339
|
status: string;
|
|
1340
|
-
created_at: string;
|
|
1341
1340
|
workspace_id: string;
|
|
1341
|
+
created_at: string;
|
|
1342
1342
|
action_attempt_id: string;
|
|
1343
1343
|
action_type: string;
|
|
1344
1344
|
event_id: string;
|
|
@@ -1346,8 +1346,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1346
1346
|
event_type: "action_attempt.lock_door.failed";
|
|
1347
1347
|
}, {
|
|
1348
1348
|
status: string;
|
|
1349
|
-
created_at: string;
|
|
1350
1349
|
workspace_id: string;
|
|
1350
|
+
created_at: string;
|
|
1351
1351
|
action_attempt_id: string;
|
|
1352
1352
|
action_type: string;
|
|
1353
1353
|
event_id: string;
|
|
@@ -1366,8 +1366,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1366
1366
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
1367
1367
|
}>, "strip", z.ZodTypeAny, {
|
|
1368
1368
|
status: string;
|
|
1369
|
-
created_at: string;
|
|
1370
1369
|
workspace_id: string;
|
|
1370
|
+
created_at: string;
|
|
1371
1371
|
action_attempt_id: string;
|
|
1372
1372
|
action_type: string;
|
|
1373
1373
|
event_id: string;
|
|
@@ -1375,8 +1375,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1375
1375
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
1376
1376
|
}, {
|
|
1377
1377
|
status: string;
|
|
1378
|
-
created_at: string;
|
|
1379
1378
|
workspace_id: string;
|
|
1379
|
+
created_at: string;
|
|
1380
1380
|
action_attempt_id: string;
|
|
1381
1381
|
action_type: string;
|
|
1382
1382
|
event_id: string;
|
|
@@ -1395,8 +1395,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1395
1395
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
1396
1396
|
}>, "strip", z.ZodTypeAny, {
|
|
1397
1397
|
status: string;
|
|
1398
|
-
created_at: string;
|
|
1399
1398
|
workspace_id: string;
|
|
1399
|
+
created_at: string;
|
|
1400
1400
|
action_attempt_id: string;
|
|
1401
1401
|
action_type: string;
|
|
1402
1402
|
event_id: string;
|
|
@@ -1404,8 +1404,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1404
1404
|
event_type: "action_attempt.unlock_door.failed";
|
|
1405
1405
|
}, {
|
|
1406
1406
|
status: string;
|
|
1407
|
-
created_at: string;
|
|
1408
1407
|
workspace_id: string;
|
|
1408
|
+
created_at: string;
|
|
1409
1409
|
action_attempt_id: string;
|
|
1410
1410
|
action_type: string;
|
|
1411
1411
|
event_id: string;
|
|
@@ -1422,17 +1422,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1422
1422
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
1423
1423
|
connected_account_id: z.ZodString;
|
|
1424
1424
|
}>, "strip", z.ZodTypeAny, {
|
|
1425
|
+
workspace_id: string;
|
|
1425
1426
|
created_at: string;
|
|
1426
1427
|
connected_account_id: string;
|
|
1427
|
-
workspace_id: string;
|
|
1428
1428
|
connect_webview_id: string;
|
|
1429
1429
|
event_id: string;
|
|
1430
1430
|
occurred_at: string;
|
|
1431
1431
|
event_type: "connect_webview.login_succeeded";
|
|
1432
1432
|
}, {
|
|
1433
|
+
workspace_id: string;
|
|
1433
1434
|
created_at: string;
|
|
1434
1435
|
connected_account_id: string;
|
|
1435
|
-
workspace_id: string;
|
|
1436
1436
|
connect_webview_id: string;
|
|
1437
1437
|
event_id: string;
|
|
1438
1438
|
occurred_at: string;
|
|
@@ -1447,15 +1447,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1447
1447
|
}>, {
|
|
1448
1448
|
event_type: z.ZodLiteral<"connect_webview.login_failed">;
|
|
1449
1449
|
}>, "strip", z.ZodTypeAny, {
|
|
1450
|
-
created_at: string;
|
|
1451
1450
|
workspace_id: string;
|
|
1451
|
+
created_at: string;
|
|
1452
1452
|
connect_webview_id: string;
|
|
1453
1453
|
event_id: string;
|
|
1454
1454
|
occurred_at: string;
|
|
1455
1455
|
event_type: "connect_webview.login_failed";
|
|
1456
1456
|
}, {
|
|
1457
|
-
created_at: string;
|
|
1458
1457
|
workspace_id: string;
|
|
1458
|
+
created_at: string;
|
|
1459
1459
|
connect_webview_id: string;
|
|
1460
1460
|
event_id: string;
|
|
1461
1461
|
occurred_at: string;
|
|
@@ -1472,17 +1472,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1472
1472
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1473
1473
|
}>, "strip", z.ZodTypeAny, {
|
|
1474
1474
|
device_id: string;
|
|
1475
|
+
workspace_id: string;
|
|
1475
1476
|
created_at: string;
|
|
1476
1477
|
connected_account_id: string;
|
|
1477
|
-
workspace_id: string;
|
|
1478
1478
|
event_id: string;
|
|
1479
1479
|
occurred_at: string;
|
|
1480
1480
|
event_type: "device.connected";
|
|
1481
1481
|
}, {
|
|
1482
1482
|
device_id: string;
|
|
1483
|
+
workspace_id: string;
|
|
1483
1484
|
created_at: string;
|
|
1484
1485
|
connected_account_id: string;
|
|
1485
|
-
workspace_id: string;
|
|
1486
1486
|
event_id: string;
|
|
1487
1487
|
occurred_at: string;
|
|
1488
1488
|
event_type: "device.connected";
|
|
@@ -1498,17 +1498,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1498
1498
|
event_type: z.ZodLiteral<"device.added">;
|
|
1499
1499
|
}>, "strip", z.ZodTypeAny, {
|
|
1500
1500
|
device_id: string;
|
|
1501
|
+
workspace_id: string;
|
|
1501
1502
|
created_at: string;
|
|
1502
1503
|
connected_account_id: string;
|
|
1503
|
-
workspace_id: string;
|
|
1504
1504
|
event_id: string;
|
|
1505
1505
|
occurred_at: string;
|
|
1506
1506
|
event_type: "device.added";
|
|
1507
1507
|
}, {
|
|
1508
1508
|
device_id: string;
|
|
1509
|
+
workspace_id: string;
|
|
1509
1510
|
created_at: string;
|
|
1510
1511
|
connected_account_id: string;
|
|
1511
|
-
workspace_id: string;
|
|
1512
1512
|
event_id: string;
|
|
1513
1513
|
occurred_at: string;
|
|
1514
1514
|
event_type: "device.added";
|
|
@@ -1524,17 +1524,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1524
1524
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1525
1525
|
}>, "strip", z.ZodTypeAny, {
|
|
1526
1526
|
device_id: string;
|
|
1527
|
+
workspace_id: string;
|
|
1527
1528
|
created_at: string;
|
|
1528
1529
|
connected_account_id: string;
|
|
1529
|
-
workspace_id: string;
|
|
1530
1530
|
event_id: string;
|
|
1531
1531
|
occurred_at: string;
|
|
1532
1532
|
event_type: "device.converted_to_unmanaged";
|
|
1533
1533
|
}, {
|
|
1534
1534
|
device_id: string;
|
|
1535
|
+
workspace_id: string;
|
|
1535
1536
|
created_at: string;
|
|
1536
1537
|
connected_account_id: string;
|
|
1537
|
-
workspace_id: string;
|
|
1538
1538
|
event_id: string;
|
|
1539
1539
|
occurred_at: string;
|
|
1540
1540
|
event_type: "device.converted_to_unmanaged";
|
|
@@ -1550,17 +1550,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1550
1550
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1551
1551
|
}>, "strip", z.ZodTypeAny, {
|
|
1552
1552
|
device_id: string;
|
|
1553
|
+
workspace_id: string;
|
|
1553
1554
|
created_at: string;
|
|
1554
1555
|
connected_account_id: string;
|
|
1555
|
-
workspace_id: string;
|
|
1556
1556
|
event_id: string;
|
|
1557
1557
|
occurred_at: string;
|
|
1558
1558
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1559
1559
|
}, {
|
|
1560
1560
|
device_id: string;
|
|
1561
|
+
workspace_id: string;
|
|
1561
1562
|
created_at: string;
|
|
1562
1563
|
connected_account_id: string;
|
|
1563
|
-
workspace_id: string;
|
|
1564
1564
|
event_id: string;
|
|
1565
1565
|
occurred_at: string;
|
|
1566
1566
|
event_type: "device.unmanaged.converted_to_managed";
|
|
@@ -1576,17 +1576,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1576
1576
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1577
1577
|
}>, "strip", z.ZodTypeAny, {
|
|
1578
1578
|
device_id: string;
|
|
1579
|
+
workspace_id: string;
|
|
1579
1580
|
created_at: string;
|
|
1580
1581
|
connected_account_id: string;
|
|
1581
|
-
workspace_id: string;
|
|
1582
1582
|
event_id: string;
|
|
1583
1583
|
occurred_at: string;
|
|
1584
1584
|
event_type: "device.unmanaged.connected";
|
|
1585
1585
|
}, {
|
|
1586
1586
|
device_id: string;
|
|
1587
|
+
workspace_id: string;
|
|
1587
1588
|
created_at: string;
|
|
1588
1589
|
connected_account_id: string;
|
|
1589
|
-
workspace_id: string;
|
|
1590
1590
|
event_id: string;
|
|
1591
1591
|
occurred_at: string;
|
|
1592
1592
|
event_type: "device.unmanaged.connected";
|
|
@@ -1603,19 +1603,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1603
1603
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1604
1604
|
}>, "strip", z.ZodTypeAny, {
|
|
1605
1605
|
device_id: string;
|
|
1606
|
+
workspace_id: string;
|
|
1606
1607
|
created_at: string;
|
|
1607
1608
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1608
1609
|
connected_account_id: string;
|
|
1609
|
-
workspace_id: string;
|
|
1610
1610
|
event_id: string;
|
|
1611
1611
|
occurred_at: string;
|
|
1612
1612
|
event_type: "device.disconnected";
|
|
1613
1613
|
}, {
|
|
1614
1614
|
device_id: string;
|
|
1615
|
+
workspace_id: string;
|
|
1615
1616
|
created_at: string;
|
|
1616
1617
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1617
1618
|
connected_account_id: string;
|
|
1618
|
-
workspace_id: string;
|
|
1619
1619
|
event_id: string;
|
|
1620
1620
|
occurred_at: string;
|
|
1621
1621
|
event_type: "device.disconnected";
|
|
@@ -1632,19 +1632,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1632
1632
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1633
1633
|
}>, "strip", z.ZodTypeAny, {
|
|
1634
1634
|
device_id: string;
|
|
1635
|
+
workspace_id: string;
|
|
1635
1636
|
created_at: string;
|
|
1636
1637
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1637
1638
|
connected_account_id: string;
|
|
1638
|
-
workspace_id: string;
|
|
1639
1639
|
event_id: string;
|
|
1640
1640
|
occurred_at: string;
|
|
1641
1641
|
event_type: "device.unmanaged.disconnected";
|
|
1642
1642
|
}, {
|
|
1643
1643
|
device_id: string;
|
|
1644
|
+
workspace_id: string;
|
|
1644
1645
|
created_at: string;
|
|
1645
1646
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1646
1647
|
connected_account_id: string;
|
|
1647
|
-
workspace_id: string;
|
|
1648
1648
|
event_id: string;
|
|
1649
1649
|
occurred_at: string;
|
|
1650
1650
|
event_type: "device.unmanaged.disconnected";
|
|
@@ -1660,17 +1660,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1660
1660
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1661
1661
|
}>, "strip", z.ZodTypeAny, {
|
|
1662
1662
|
device_id: string;
|
|
1663
|
+
workspace_id: string;
|
|
1663
1664
|
created_at: string;
|
|
1664
1665
|
connected_account_id: string;
|
|
1665
|
-
workspace_id: string;
|
|
1666
1666
|
event_id: string;
|
|
1667
1667
|
occurred_at: string;
|
|
1668
1668
|
event_type: "device.tampered";
|
|
1669
1669
|
}, {
|
|
1670
1670
|
device_id: string;
|
|
1671
|
+
workspace_id: string;
|
|
1671
1672
|
created_at: string;
|
|
1672
1673
|
connected_account_id: string;
|
|
1673
|
-
workspace_id: string;
|
|
1674
1674
|
event_id: string;
|
|
1675
1675
|
occurred_at: string;
|
|
1676
1676
|
event_type: "device.tampered";
|
|
@@ -1687,19 +1687,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1687
1687
|
battery_level: z.ZodNumber;
|
|
1688
1688
|
}>, "strip", z.ZodTypeAny, {
|
|
1689
1689
|
device_id: string;
|
|
1690
|
+
workspace_id: string;
|
|
1690
1691
|
created_at: string;
|
|
1691
1692
|
connected_account_id: string;
|
|
1692
1693
|
battery_level: number;
|
|
1693
|
-
workspace_id: string;
|
|
1694
1694
|
event_id: string;
|
|
1695
1695
|
occurred_at: string;
|
|
1696
1696
|
event_type: "device.low_battery";
|
|
1697
1697
|
}, {
|
|
1698
1698
|
device_id: string;
|
|
1699
|
+
workspace_id: string;
|
|
1699
1700
|
created_at: string;
|
|
1700
1701
|
connected_account_id: string;
|
|
1701
1702
|
battery_level: number;
|
|
1702
|
-
workspace_id: string;
|
|
1703
1703
|
event_id: string;
|
|
1704
1704
|
occurred_at: string;
|
|
1705
1705
|
event_type: "device.low_battery";
|
|
@@ -1717,20 +1717,20 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1717
1717
|
battery_level: z.ZodNumber;
|
|
1718
1718
|
}>, "strip", z.ZodTypeAny, {
|
|
1719
1719
|
device_id: string;
|
|
1720
|
+
workspace_id: string;
|
|
1720
1721
|
created_at: string;
|
|
1721
1722
|
connected_account_id: string;
|
|
1722
1723
|
battery_level: number;
|
|
1723
|
-
workspace_id: string;
|
|
1724
1724
|
event_id: string;
|
|
1725
1725
|
occurred_at: string;
|
|
1726
1726
|
event_type: "device.battery_status_changed";
|
|
1727
1727
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1728
1728
|
}, {
|
|
1729
1729
|
device_id: string;
|
|
1730
|
+
workspace_id: string;
|
|
1730
1731
|
created_at: string;
|
|
1731
1732
|
connected_account_id: string;
|
|
1732
1733
|
battery_level: number;
|
|
1733
|
-
workspace_id: string;
|
|
1734
1734
|
event_id: string;
|
|
1735
1735
|
occurred_at: string;
|
|
1736
1736
|
event_type: "device.battery_status_changed";
|
|
@@ -1747,17 +1747,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1747
1747
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1748
1748
|
}>, "strip", z.ZodTypeAny, {
|
|
1749
1749
|
device_id: string;
|
|
1750
|
+
workspace_id: string;
|
|
1750
1751
|
created_at: string;
|
|
1751
1752
|
connected_account_id: string;
|
|
1752
|
-
workspace_id: string;
|
|
1753
1753
|
event_id: string;
|
|
1754
1754
|
occurred_at: string;
|
|
1755
1755
|
event_type: "device.removed";
|
|
1756
1756
|
}, {
|
|
1757
1757
|
device_id: string;
|
|
1758
|
+
workspace_id: string;
|
|
1758
1759
|
created_at: string;
|
|
1759
1760
|
connected_account_id: string;
|
|
1760
|
-
workspace_id: string;
|
|
1761
1761
|
event_id: string;
|
|
1762
1762
|
occurred_at: string;
|
|
1763
1763
|
event_type: "device.removed";
|
|
@@ -1773,17 +1773,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1773
1773
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1774
1774
|
}>, "strip", z.ZodTypeAny, {
|
|
1775
1775
|
device_id: string;
|
|
1776
|
+
workspace_id: string;
|
|
1776
1777
|
created_at: string;
|
|
1777
1778
|
connected_account_id: string;
|
|
1778
|
-
workspace_id: string;
|
|
1779
1779
|
event_id: string;
|
|
1780
1780
|
occurred_at: string;
|
|
1781
1781
|
event_type: "device.deleted";
|
|
1782
1782
|
}, {
|
|
1783
1783
|
device_id: string;
|
|
1784
|
+
workspace_id: string;
|
|
1784
1785
|
created_at: string;
|
|
1785
1786
|
connected_account_id: string;
|
|
1786
|
-
workspace_id: string;
|
|
1787
1787
|
event_id: string;
|
|
1788
1788
|
occurred_at: string;
|
|
1789
1789
|
event_type: "device.deleted";
|
|
@@ -1799,17 +1799,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1799
1799
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1800
1800
|
}>, "strip", z.ZodTypeAny, {
|
|
1801
1801
|
device_id: string;
|
|
1802
|
+
workspace_id: string;
|
|
1802
1803
|
created_at: string;
|
|
1803
1804
|
connected_account_id: string;
|
|
1804
|
-
workspace_id: string;
|
|
1805
1805
|
event_id: string;
|
|
1806
1806
|
occurred_at: string;
|
|
1807
1807
|
event_type: "device.third_party_integration_detected";
|
|
1808
1808
|
}, {
|
|
1809
1809
|
device_id: string;
|
|
1810
|
+
workspace_id: string;
|
|
1810
1811
|
created_at: string;
|
|
1811
1812
|
connected_account_id: string;
|
|
1812
|
-
workspace_id: string;
|
|
1813
1813
|
event_id: string;
|
|
1814
1814
|
occurred_at: string;
|
|
1815
1815
|
event_type: "device.third_party_integration_detected";
|
|
@@ -1825,17 +1825,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1825
1825
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1826
1826
|
}>, "strip", z.ZodTypeAny, {
|
|
1827
1827
|
device_id: string;
|
|
1828
|
+
workspace_id: string;
|
|
1828
1829
|
created_at: string;
|
|
1829
1830
|
connected_account_id: string;
|
|
1830
|
-
workspace_id: string;
|
|
1831
1831
|
event_id: string;
|
|
1832
1832
|
occurred_at: string;
|
|
1833
1833
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1834
1834
|
}, {
|
|
1835
1835
|
device_id: string;
|
|
1836
|
+
workspace_id: string;
|
|
1836
1837
|
created_at: string;
|
|
1837
1838
|
connected_account_id: string;
|
|
1838
|
-
workspace_id: string;
|
|
1839
1839
|
event_id: string;
|
|
1840
1840
|
occurred_at: string;
|
|
1841
1841
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
@@ -1851,17 +1851,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1851
1851
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1852
1852
|
}>, "strip", z.ZodTypeAny, {
|
|
1853
1853
|
device_id: string;
|
|
1854
|
+
workspace_id: string;
|
|
1854
1855
|
created_at: string;
|
|
1855
1856
|
connected_account_id: string;
|
|
1856
|
-
workspace_id: string;
|
|
1857
1857
|
event_id: string;
|
|
1858
1858
|
occurred_at: string;
|
|
1859
1859
|
event_type: "device.salto.privacy_mode_activated";
|
|
1860
1860
|
}, {
|
|
1861
1861
|
device_id: string;
|
|
1862
|
+
workspace_id: string;
|
|
1862
1863
|
created_at: string;
|
|
1863
1864
|
connected_account_id: string;
|
|
1864
|
-
workspace_id: string;
|
|
1865
1865
|
event_id: string;
|
|
1866
1866
|
occurred_at: string;
|
|
1867
1867
|
event_type: "device.salto.privacy_mode_activated";
|
|
@@ -1877,17 +1877,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1877
1877
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1878
1878
|
}>, "strip", z.ZodTypeAny, {
|
|
1879
1879
|
device_id: string;
|
|
1880
|
+
workspace_id: string;
|
|
1880
1881
|
created_at: string;
|
|
1881
1882
|
connected_account_id: string;
|
|
1882
|
-
workspace_id: string;
|
|
1883
1883
|
event_id: string;
|
|
1884
1884
|
occurred_at: string;
|
|
1885
1885
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1886
1886
|
}, {
|
|
1887
1887
|
device_id: string;
|
|
1888
|
+
workspace_id: string;
|
|
1888
1889
|
created_at: string;
|
|
1889
1890
|
connected_account_id: string;
|
|
1890
|
-
workspace_id: string;
|
|
1891
1891
|
event_id: string;
|
|
1892
1892
|
occurred_at: string;
|
|
1893
1893
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
@@ -1903,17 +1903,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1903
1903
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1904
1904
|
}>, "strip", z.ZodTypeAny, {
|
|
1905
1905
|
device_id: string;
|
|
1906
|
+
workspace_id: string;
|
|
1906
1907
|
created_at: string;
|
|
1907
1908
|
connected_account_id: string;
|
|
1908
|
-
workspace_id: string;
|
|
1909
1909
|
event_id: string;
|
|
1910
1910
|
occurred_at: string;
|
|
1911
1911
|
event_type: "device.connection_became_flaky";
|
|
1912
1912
|
}, {
|
|
1913
1913
|
device_id: string;
|
|
1914
|
+
workspace_id: string;
|
|
1914
1915
|
created_at: string;
|
|
1915
1916
|
connected_account_id: string;
|
|
1916
|
-
workspace_id: string;
|
|
1917
1917
|
event_id: string;
|
|
1918
1918
|
occurred_at: string;
|
|
1919
1919
|
event_type: "device.connection_became_flaky";
|
|
@@ -1929,17 +1929,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1929
1929
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1930
1930
|
}>, "strip", z.ZodTypeAny, {
|
|
1931
1931
|
device_id: string;
|
|
1932
|
+
workspace_id: string;
|
|
1932
1933
|
created_at: string;
|
|
1933
1934
|
connected_account_id: string;
|
|
1934
|
-
workspace_id: string;
|
|
1935
1935
|
event_id: string;
|
|
1936
1936
|
occurred_at: string;
|
|
1937
1937
|
event_type: "device.connection_stabilized";
|
|
1938
1938
|
}, {
|
|
1939
1939
|
device_id: string;
|
|
1940
|
+
workspace_id: string;
|
|
1940
1941
|
created_at: string;
|
|
1941
1942
|
connected_account_id: string;
|
|
1942
|
-
workspace_id: string;
|
|
1943
1943
|
event_id: string;
|
|
1944
1944
|
occurred_at: string;
|
|
1945
1945
|
event_type: "device.connection_stabilized";
|
|
@@ -1955,17 +1955,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1955
1955
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1956
1956
|
}>, "strip", z.ZodTypeAny, {
|
|
1957
1957
|
device_id: string;
|
|
1958
|
+
workspace_id: string;
|
|
1958
1959
|
created_at: string;
|
|
1959
1960
|
connected_account_id: string;
|
|
1960
|
-
workspace_id: string;
|
|
1961
1961
|
event_id: string;
|
|
1962
1962
|
occurred_at: string;
|
|
1963
1963
|
event_type: "device.error.subscription_required";
|
|
1964
1964
|
}, {
|
|
1965
1965
|
device_id: string;
|
|
1966
|
+
workspace_id: string;
|
|
1966
1967
|
created_at: string;
|
|
1967
1968
|
connected_account_id: string;
|
|
1968
|
-
workspace_id: string;
|
|
1969
1969
|
event_id: string;
|
|
1970
1970
|
occurred_at: string;
|
|
1971
1971
|
event_type: "device.error.subscription_required";
|
|
@@ -1981,17 +1981,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1981
1981
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1982
1982
|
}>, "strip", z.ZodTypeAny, {
|
|
1983
1983
|
device_id: string;
|
|
1984
|
+
workspace_id: string;
|
|
1984
1985
|
created_at: string;
|
|
1985
1986
|
connected_account_id: string;
|
|
1986
|
-
workspace_id: string;
|
|
1987
1987
|
event_id: string;
|
|
1988
1988
|
occurred_at: string;
|
|
1989
1989
|
event_type: "device.error.subscription_required.resolved";
|
|
1990
1990
|
}, {
|
|
1991
1991
|
device_id: string;
|
|
1992
|
+
workspace_id: string;
|
|
1992
1993
|
created_at: string;
|
|
1993
1994
|
connected_account_id: string;
|
|
1994
|
-
workspace_id: string;
|
|
1995
1995
|
event_id: string;
|
|
1996
1996
|
occurred_at: string;
|
|
1997
1997
|
event_type: "device.error.subscription_required.resolved";
|
|
@@ -2007,17 +2007,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2007
2007
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
2008
2008
|
}>, "strip", z.ZodTypeAny, {
|
|
2009
2009
|
device_id: string;
|
|
2010
|
+
workspace_id: string;
|
|
2010
2011
|
created_at: string;
|
|
2011
2012
|
connected_account_id: string;
|
|
2012
|
-
workspace_id: string;
|
|
2013
2013
|
event_id: string;
|
|
2014
2014
|
occurred_at: string;
|
|
2015
2015
|
event_type: "device.accessory_keypad_connected";
|
|
2016
2016
|
}, {
|
|
2017
2017
|
device_id: string;
|
|
2018
|
+
workspace_id: string;
|
|
2018
2019
|
created_at: string;
|
|
2019
2020
|
connected_account_id: string;
|
|
2020
|
-
workspace_id: string;
|
|
2021
2021
|
event_id: string;
|
|
2022
2022
|
occurred_at: string;
|
|
2023
2023
|
event_type: "device.accessory_keypad_connected";
|
|
@@ -2033,17 +2033,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2033
2033
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
2034
2034
|
}>, "strip", z.ZodTypeAny, {
|
|
2035
2035
|
device_id: string;
|
|
2036
|
+
workspace_id: string;
|
|
2036
2037
|
created_at: string;
|
|
2037
2038
|
connected_account_id: string;
|
|
2038
|
-
workspace_id: string;
|
|
2039
2039
|
event_id: string;
|
|
2040
2040
|
occurred_at: string;
|
|
2041
2041
|
event_type: "device.accessory_keypad_disconnected";
|
|
2042
2042
|
}, {
|
|
2043
2043
|
device_id: string;
|
|
2044
|
+
workspace_id: string;
|
|
2044
2045
|
created_at: string;
|
|
2045
2046
|
connected_account_id: string;
|
|
2046
|
-
workspace_id: string;
|
|
2047
2047
|
event_id: string;
|
|
2048
2048
|
occurred_at: string;
|
|
2049
2049
|
event_type: "device.accessory_keypad_disconnected";
|
|
@@ -2065,9 +2065,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2065
2065
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2066
2066
|
}>, "strip", z.ZodTypeAny, {
|
|
2067
2067
|
device_id: string;
|
|
2068
|
+
workspace_id: string;
|
|
2068
2069
|
created_at: string;
|
|
2069
2070
|
connected_account_id: string;
|
|
2070
|
-
workspace_id: string;
|
|
2071
2071
|
event_id: string;
|
|
2072
2072
|
occurred_at: string;
|
|
2073
2073
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
@@ -2079,9 +2079,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2079
2079
|
noise_threshold_name?: string | undefined;
|
|
2080
2080
|
}, {
|
|
2081
2081
|
device_id: string;
|
|
2082
|
+
workspace_id: string;
|
|
2082
2083
|
created_at: string;
|
|
2083
2084
|
connected_account_id: string;
|
|
2084
|
-
workspace_id: string;
|
|
2085
2085
|
event_id: string;
|
|
2086
2086
|
occurred_at: string;
|
|
2087
2087
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
@@ -2107,9 +2107,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2107
2107
|
}>, "strip", z.ZodTypeAny, {
|
|
2108
2108
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2109
2109
|
device_id: string;
|
|
2110
|
+
workspace_id: string;
|
|
2110
2111
|
created_at: string;
|
|
2111
2112
|
connected_account_id: string;
|
|
2112
|
-
workspace_id: string;
|
|
2113
2113
|
event_id: string;
|
|
2114
2114
|
occurred_at: string;
|
|
2115
2115
|
event_type: "lock.locked";
|
|
@@ -2118,9 +2118,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2118
2118
|
}, {
|
|
2119
2119
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2120
2120
|
device_id: string;
|
|
2121
|
+
workspace_id: string;
|
|
2121
2122
|
created_at: string;
|
|
2122
2123
|
connected_account_id: string;
|
|
2123
|
-
workspace_id: string;
|
|
2124
2124
|
event_id: string;
|
|
2125
2125
|
occurred_at: string;
|
|
2126
2126
|
event_type: "lock.locked";
|
|
@@ -2142,9 +2142,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2142
2142
|
}>, "strip", z.ZodTypeAny, {
|
|
2143
2143
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2144
2144
|
device_id: string;
|
|
2145
|
+
workspace_id: string;
|
|
2145
2146
|
created_at: string;
|
|
2146
2147
|
connected_account_id: string;
|
|
2147
|
-
workspace_id: string;
|
|
2148
2148
|
event_id: string;
|
|
2149
2149
|
occurred_at: string;
|
|
2150
2150
|
event_type: "lock.unlocked";
|
|
@@ -2153,9 +2153,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2153
2153
|
}, {
|
|
2154
2154
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2155
2155
|
device_id: string;
|
|
2156
|
+
workspace_id: string;
|
|
2156
2157
|
created_at: string;
|
|
2157
2158
|
connected_account_id: string;
|
|
2158
|
-
workspace_id: string;
|
|
2159
2159
|
event_id: string;
|
|
2160
2160
|
occurred_at: string;
|
|
2161
2161
|
event_type: "lock.unlocked";
|
|
@@ -2174,18 +2174,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2174
2174
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2175
2175
|
}>, "strip", z.ZodTypeAny, {
|
|
2176
2176
|
device_id: string;
|
|
2177
|
+
workspace_id: string;
|
|
2177
2178
|
created_at: string;
|
|
2178
2179
|
connected_account_id: string;
|
|
2179
|
-
workspace_id: string;
|
|
2180
2180
|
event_id: string;
|
|
2181
2181
|
occurred_at: string;
|
|
2182
2182
|
event_type: "lock.access_denied";
|
|
2183
2183
|
access_code_id?: string | undefined;
|
|
2184
2184
|
}, {
|
|
2185
2185
|
device_id: string;
|
|
2186
|
+
workspace_id: string;
|
|
2186
2187
|
created_at: string;
|
|
2187
2188
|
connected_account_id: string;
|
|
2188
|
-
workspace_id: string;
|
|
2189
2189
|
event_id: string;
|
|
2190
2190
|
occurred_at: string;
|
|
2191
2191
|
event_type: "lock.access_denied";
|
|
@@ -2206,10 +2206,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2206
2206
|
}>, "strip", z.ZodTypeAny, {
|
|
2207
2207
|
climate_preset_key: string;
|
|
2208
2208
|
device_id: string;
|
|
2209
|
+
workspace_id: string;
|
|
2209
2210
|
created_at: string;
|
|
2210
2211
|
thermostat_schedule_id: string | null;
|
|
2211
2212
|
connected_account_id: string;
|
|
2212
|
-
workspace_id: string;
|
|
2213
2213
|
event_id: string;
|
|
2214
2214
|
occurred_at: string;
|
|
2215
2215
|
event_type: "thermostat.climate_preset_activated";
|
|
@@ -2217,10 +2217,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2217
2217
|
}, {
|
|
2218
2218
|
climate_preset_key: string;
|
|
2219
2219
|
device_id: string;
|
|
2220
|
+
workspace_id: string;
|
|
2220
2221
|
created_at: string;
|
|
2221
2222
|
thermostat_schedule_id: string | null;
|
|
2222
2223
|
connected_account_id: string;
|
|
2223
|
-
workspace_id: string;
|
|
2224
2224
|
event_id: string;
|
|
2225
2225
|
occurred_at: string;
|
|
2226
2226
|
event_type: "thermostat.climate_preset_activated";
|
|
@@ -2253,9 +2253,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2253
2253
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
2254
2254
|
method: "external" | "seam";
|
|
2255
2255
|
device_id: string;
|
|
2256
|
+
workspace_id: string;
|
|
2256
2257
|
created_at: string;
|
|
2257
2258
|
connected_account_id: string;
|
|
2258
|
-
workspace_id: string;
|
|
2259
2259
|
event_id: string;
|
|
2260
2260
|
occurred_at: string;
|
|
2261
2261
|
event_type: "thermostat.manually_adjusted";
|
|
@@ -2268,9 +2268,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2268
2268
|
}, {
|
|
2269
2269
|
method: "external" | "seam";
|
|
2270
2270
|
device_id: string;
|
|
2271
|
+
workspace_id: string;
|
|
2271
2272
|
created_at: string;
|
|
2272
2273
|
connected_account_id: string;
|
|
2273
|
-
workspace_id: string;
|
|
2274
2274
|
event_id: string;
|
|
2275
2275
|
occurred_at: string;
|
|
2276
2276
|
event_type: "thermostat.manually_adjusted";
|
|
@@ -2298,6 +2298,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2298
2298
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2299
2299
|
}>, "strip", z.ZodTypeAny, {
|
|
2300
2300
|
device_id: string;
|
|
2301
|
+
workspace_id: string;
|
|
2301
2302
|
created_at: string;
|
|
2302
2303
|
temperature_fahrenheit: number;
|
|
2303
2304
|
temperature_celsius: number;
|
|
@@ -2306,12 +2307,12 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2306
2307
|
upper_limit_celsius: number | null;
|
|
2307
2308
|
upper_limit_fahrenheit: number | null;
|
|
2308
2309
|
connected_account_id: string;
|
|
2309
|
-
workspace_id: string;
|
|
2310
2310
|
event_id: string;
|
|
2311
2311
|
occurred_at: string;
|
|
2312
2312
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2313
2313
|
}, {
|
|
2314
2314
|
device_id: string;
|
|
2315
|
+
workspace_id: string;
|
|
2315
2316
|
created_at: string;
|
|
2316
2317
|
temperature_fahrenheit: number;
|
|
2317
2318
|
temperature_celsius: number;
|
|
@@ -2320,7 +2321,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2320
2321
|
upper_limit_celsius: number | null;
|
|
2321
2322
|
upper_limit_fahrenheit: number | null;
|
|
2322
2323
|
connected_account_id: string;
|
|
2323
|
-
workspace_id: string;
|
|
2324
2324
|
event_id: string;
|
|
2325
2325
|
occurred_at: string;
|
|
2326
2326
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
@@ -2342,6 +2342,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2342
2342
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2343
2343
|
}>, "strip", z.ZodTypeAny, {
|
|
2344
2344
|
device_id: string;
|
|
2345
|
+
workspace_id: string;
|
|
2345
2346
|
created_at: string;
|
|
2346
2347
|
temperature_fahrenheit: number;
|
|
2347
2348
|
temperature_celsius: number;
|
|
@@ -2350,12 +2351,12 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2350
2351
|
upper_limit_celsius: number | null;
|
|
2351
2352
|
upper_limit_fahrenheit: number | null;
|
|
2352
2353
|
connected_account_id: string;
|
|
2353
|
-
workspace_id: string;
|
|
2354
2354
|
event_id: string;
|
|
2355
2355
|
occurred_at: string;
|
|
2356
2356
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2357
2357
|
}, {
|
|
2358
2358
|
device_id: string;
|
|
2359
|
+
workspace_id: string;
|
|
2359
2360
|
created_at: string;
|
|
2360
2361
|
temperature_fahrenheit: number;
|
|
2361
2362
|
temperature_celsius: number;
|
|
@@ -2364,7 +2365,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2364
2365
|
upper_limit_celsius: number | null;
|
|
2365
2366
|
upper_limit_fahrenheit: number | null;
|
|
2366
2367
|
connected_account_id: string;
|
|
2367
|
-
workspace_id: string;
|
|
2368
2368
|
event_id: string;
|
|
2369
2369
|
occurred_at: string;
|
|
2370
2370
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
@@ -2384,11 +2384,11 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2384
2384
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2385
2385
|
}>, "strip", z.ZodTypeAny, {
|
|
2386
2386
|
device_id: string;
|
|
2387
|
+
workspace_id: string;
|
|
2387
2388
|
created_at: string;
|
|
2388
2389
|
temperature_fahrenheit: number;
|
|
2389
2390
|
temperature_celsius: number;
|
|
2390
2391
|
connected_account_id: string;
|
|
2391
|
-
workspace_id: string;
|
|
2392
2392
|
event_id: string;
|
|
2393
2393
|
occurred_at: string;
|
|
2394
2394
|
event_type: "thermostat.temperature_reached_set_point";
|
|
@@ -2396,11 +2396,11 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2396
2396
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2397
2397
|
}, {
|
|
2398
2398
|
device_id: string;
|
|
2399
|
+
workspace_id: string;
|
|
2399
2400
|
created_at: string;
|
|
2400
2401
|
temperature_fahrenheit: number;
|
|
2401
2402
|
temperature_celsius: number;
|
|
2402
2403
|
connected_account_id: string;
|
|
2403
|
-
workspace_id: string;
|
|
2404
2404
|
event_id: string;
|
|
2405
2405
|
occurred_at: string;
|
|
2406
2406
|
event_type: "thermostat.temperature_reached_set_point";
|
|
@@ -2420,21 +2420,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2420
2420
|
temperature_fahrenheit: z.ZodNumber;
|
|
2421
2421
|
}>, "strip", z.ZodTypeAny, {
|
|
2422
2422
|
device_id: string;
|
|
2423
|
+
workspace_id: string;
|
|
2423
2424
|
created_at: string;
|
|
2424
2425
|
temperature_fahrenheit: number;
|
|
2425
2426
|
temperature_celsius: number;
|
|
2426
2427
|
connected_account_id: string;
|
|
2427
|
-
workspace_id: string;
|
|
2428
2428
|
event_id: string;
|
|
2429
2429
|
occurred_at: string;
|
|
2430
2430
|
event_type: "thermostat.temperature_changed";
|
|
2431
2431
|
}, {
|
|
2432
2432
|
device_id: string;
|
|
2433
|
+
workspace_id: string;
|
|
2433
2434
|
created_at: string;
|
|
2434
2435
|
temperature_fahrenheit: number;
|
|
2435
2436
|
temperature_celsius: number;
|
|
2436
2437
|
connected_account_id: string;
|
|
2437
|
-
workspace_id: string;
|
|
2438
2438
|
event_id: string;
|
|
2439
2439
|
occurred_at: string;
|
|
2440
2440
|
event_type: "thermostat.temperature_changed";
|
|
@@ -2451,19 +2451,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2451
2451
|
device_name: z.ZodString;
|
|
2452
2452
|
}>, "strip", z.ZodTypeAny, {
|
|
2453
2453
|
device_id: string;
|
|
2454
|
+
workspace_id: string;
|
|
2454
2455
|
created_at: string;
|
|
2455
2456
|
connected_account_id: string;
|
|
2456
2457
|
device_name: string;
|
|
2457
|
-
workspace_id: string;
|
|
2458
2458
|
event_id: string;
|
|
2459
2459
|
occurred_at: string;
|
|
2460
2460
|
event_type: "device.name_changed";
|
|
2461
2461
|
}, {
|
|
2462
2462
|
device_id: string;
|
|
2463
|
+
workspace_id: string;
|
|
2463
2464
|
created_at: string;
|
|
2464
2465
|
connected_account_id: string;
|
|
2465
2466
|
device_name: string;
|
|
2466
|
-
workspace_id: string;
|
|
2467
2467
|
event_id: string;
|
|
2468
2468
|
occurred_at: string;
|
|
2469
2469
|
event_type: "device.name_changed";
|
|
@@ -2477,15 +2477,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2477
2477
|
}>, {
|
|
2478
2478
|
event_type: z.ZodLiteral<"enrollment_automation.deleted">;
|
|
2479
2479
|
}>, "strip", z.ZodTypeAny, {
|
|
2480
|
-
created_at: string;
|
|
2481
2480
|
workspace_id: string;
|
|
2481
|
+
created_at: string;
|
|
2482
2482
|
enrollment_automation_id: string;
|
|
2483
2483
|
event_id: string;
|
|
2484
2484
|
occurred_at: string;
|
|
2485
2485
|
event_type: "enrollment_automation.deleted";
|
|
2486
2486
|
}, {
|
|
2487
|
-
created_at: string;
|
|
2488
2487
|
workspace_id: string;
|
|
2488
|
+
created_at: string;
|
|
2489
2489
|
enrollment_automation_id: string;
|
|
2490
2490
|
event_id: string;
|
|
2491
2491
|
occurred_at: string;
|
|
@@ -2501,15 +2501,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2501
2501
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
2502
2502
|
}>, "strip", z.ZodTypeAny, {
|
|
2503
2503
|
device_id: string;
|
|
2504
|
-
created_at: string;
|
|
2505
2504
|
workspace_id: string;
|
|
2505
|
+
created_at: string;
|
|
2506
2506
|
event_id: string;
|
|
2507
2507
|
occurred_at: string;
|
|
2508
2508
|
event_type: "phone.deactivated";
|
|
2509
2509
|
}, {
|
|
2510
2510
|
device_id: string;
|
|
2511
|
-
created_at: string;
|
|
2512
2511
|
workspace_id: string;
|
|
2512
|
+
created_at: string;
|
|
2513
2513
|
event_id: string;
|
|
2514
2514
|
occurred_at: string;
|
|
2515
2515
|
event_type: "phone.deactivated";
|