@seamapi/types 1.360.0 → 1.361.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 +1645 -1159
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5946 -4573
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
- 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.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-credential.js +94 -51
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +12 -7
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-entrance.js +37 -14
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.js +48 -41
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-user.js +45 -32
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
- package/lib/seam/connect/models/devices/device.d.ts +1760 -389
- package/lib/seam/connect/models/devices/device.js +82 -4
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +4 -4
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/devices.d.ts +152 -152
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
- package/lib/seam/connect/models/thermostats/climate-preset.js +12 -10
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +19 -12
- 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 +103 -171
- package/lib/seam/connect/openapi.js +1120 -864
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4421 -3576
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
- package/src/lib/seam/connect/models/acs/acs-credential.ts +162 -51
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +22 -7
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +65 -18
- package/src/lib/seam/connect/models/acs/acs-system.ts +81 -52
- package/src/lib/seam/connect/models/acs/acs-user.ts +69 -32
- package/src/lib/seam/connect/models/devices/device.ts +103 -4
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +28 -10
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +31 -12
- package/src/lib/seam/connect/openapi.ts +1259 -878
- package/src/lib/seam/connect/route-types.ts +4469 -3648
|
@@ -11,18 +11,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
11
11
|
}>, {
|
|
12
12
|
event_type: z.ZodLiteral<"access_code.created">;
|
|
13
13
|
}>, "strip", z.ZodTypeAny, {
|
|
14
|
+
device_id: string;
|
|
14
15
|
created_at: string;
|
|
15
16
|
connected_account_id: string;
|
|
16
|
-
device_id: string;
|
|
17
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
|
+
device_id: string;
|
|
23
24
|
created_at: string;
|
|
24
25
|
connected_account_id: string;
|
|
25
|
-
device_id: string;
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
access_code_id: string;
|
|
28
28
|
event_id: string;
|
|
@@ -40,18 +40,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
40
40
|
}>, {
|
|
41
41
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
42
42
|
}>, "strip", z.ZodTypeAny, {
|
|
43
|
+
device_id: string;
|
|
43
44
|
created_at: string;
|
|
44
45
|
connected_account_id: string;
|
|
45
|
-
device_id: string;
|
|
46
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
|
+
device_id: string;
|
|
52
53
|
created_at: string;
|
|
53
54
|
connected_account_id: string;
|
|
54
|
-
device_id: string;
|
|
55
55
|
workspace_id: string;
|
|
56
56
|
access_code_id: string;
|
|
57
57
|
event_id: string;
|
|
@@ -71,9 +71,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
71
71
|
code: z.ZodString;
|
|
72
72
|
}>, "strip", z.ZodTypeAny, {
|
|
73
73
|
code: string;
|
|
74
|
+
device_id: string;
|
|
74
75
|
created_at: string;
|
|
75
76
|
connected_account_id: string;
|
|
76
|
-
device_id: string;
|
|
77
77
|
workspace_id: string;
|
|
78
78
|
access_code_id: string;
|
|
79
79
|
event_id: string;
|
|
@@ -81,9 +81,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
81
81
|
event_type: "access_code.scheduled_on_device";
|
|
82
82
|
}, {
|
|
83
83
|
code: string;
|
|
84
|
+
device_id: string;
|
|
84
85
|
created_at: string;
|
|
85
86
|
connected_account_id: string;
|
|
86
|
-
device_id: string;
|
|
87
87
|
workspace_id: string;
|
|
88
88
|
access_code_id: string;
|
|
89
89
|
event_id: string;
|
|
@@ -103,9 +103,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
103
103
|
code: z.ZodString;
|
|
104
104
|
}>, "strip", z.ZodTypeAny, {
|
|
105
105
|
code: string;
|
|
106
|
+
device_id: string;
|
|
106
107
|
created_at: string;
|
|
107
108
|
connected_account_id: string;
|
|
108
|
-
device_id: string;
|
|
109
109
|
workspace_id: string;
|
|
110
110
|
access_code_id: string;
|
|
111
111
|
event_id: string;
|
|
@@ -113,9 +113,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
113
113
|
event_type: "access_code.set_on_device";
|
|
114
114
|
}, {
|
|
115
115
|
code: string;
|
|
116
|
+
device_id: string;
|
|
116
117
|
created_at: string;
|
|
117
118
|
connected_account_id: string;
|
|
118
|
-
device_id: string;
|
|
119
119
|
workspace_id: string;
|
|
120
120
|
access_code_id: string;
|
|
121
121
|
event_id: string;
|
|
@@ -133,18 +133,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
133
133
|
}>, {
|
|
134
134
|
event_type: z.ZodLiteral<"access_code.removed_from_device">;
|
|
135
135
|
}>, "strip", z.ZodTypeAny, {
|
|
136
|
+
device_id: string;
|
|
136
137
|
created_at: string;
|
|
137
138
|
connected_account_id: string;
|
|
138
|
-
device_id: string;
|
|
139
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
|
+
device_id: string;
|
|
145
146
|
created_at: string;
|
|
146
147
|
connected_account_id: string;
|
|
147
|
-
device_id: string;
|
|
148
148
|
workspace_id: string;
|
|
149
149
|
access_code_id: string;
|
|
150
150
|
event_id: string;
|
|
@@ -162,18 +162,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
162
162
|
}>, {
|
|
163
163
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
164
164
|
}>, "strip", z.ZodTypeAny, {
|
|
165
|
+
device_id: string;
|
|
165
166
|
created_at: string;
|
|
166
167
|
connected_account_id: string;
|
|
167
|
-
device_id: string;
|
|
168
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
|
+
device_id: string;
|
|
174
175
|
created_at: string;
|
|
175
176
|
connected_account_id: string;
|
|
176
|
-
device_id: string;
|
|
177
177
|
workspace_id: string;
|
|
178
178
|
access_code_id: string;
|
|
179
179
|
event_id: string;
|
|
@@ -191,18 +191,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
191
191
|
}>, {
|
|
192
192
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
193
193
|
}>, "strip", z.ZodTypeAny, {
|
|
194
|
+
device_id: string;
|
|
194
195
|
created_at: string;
|
|
195
196
|
connected_account_id: string;
|
|
196
|
-
device_id: string;
|
|
197
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
|
+
device_id: string;
|
|
203
204
|
created_at: string;
|
|
204
205
|
connected_account_id: string;
|
|
205
|
-
device_id: string;
|
|
206
206
|
workspace_id: string;
|
|
207
207
|
access_code_id: string;
|
|
208
208
|
event_id: string;
|
|
@@ -222,9 +222,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
222
222
|
code: z.ZodNullable<z.ZodString>;
|
|
223
223
|
}>, "strip", z.ZodTypeAny, {
|
|
224
224
|
code: string | null;
|
|
225
|
+
device_id: string;
|
|
225
226
|
created_at: string;
|
|
226
227
|
connected_account_id: string;
|
|
227
|
-
device_id: string;
|
|
228
228
|
workspace_id: string;
|
|
229
229
|
access_code_id: string;
|
|
230
230
|
event_id: string;
|
|
@@ -232,9 +232,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
232
232
|
event_type: "access_code.deleted";
|
|
233
233
|
}, {
|
|
234
234
|
code: string | null;
|
|
235
|
+
device_id: string;
|
|
235
236
|
created_at: string;
|
|
236
237
|
connected_account_id: string;
|
|
237
|
-
device_id: string;
|
|
238
238
|
workspace_id: string;
|
|
239
239
|
access_code_id: string;
|
|
240
240
|
event_id: string;
|
|
@@ -252,18 +252,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
252
252
|
}>, {
|
|
253
253
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
254
254
|
}>, "strip", z.ZodTypeAny, {
|
|
255
|
+
device_id: string;
|
|
255
256
|
created_at: string;
|
|
256
257
|
connected_account_id: string;
|
|
257
|
-
device_id: string;
|
|
258
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
|
+
device_id: string;
|
|
264
265
|
created_at: string;
|
|
265
266
|
connected_account_id: string;
|
|
266
|
-
device_id: string;
|
|
267
267
|
workspace_id: string;
|
|
268
268
|
access_code_id: string;
|
|
269
269
|
event_id: string;
|
|
@@ -281,18 +281,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
281
281
|
}>, {
|
|
282
282
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
283
283
|
}>, "strip", z.ZodTypeAny, {
|
|
284
|
+
device_id: string;
|
|
284
285
|
created_at: string;
|
|
285
286
|
connected_account_id: string;
|
|
286
|
-
device_id: string;
|
|
287
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
|
+
device_id: string;
|
|
293
294
|
created_at: string;
|
|
294
295
|
connected_account_id: string;
|
|
295
|
-
device_id: string;
|
|
296
296
|
workspace_id: string;
|
|
297
297
|
access_code_id: string;
|
|
298
298
|
event_id: string;
|
|
@@ -310,18 +310,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
310
310
|
}>, {
|
|
311
311
|
event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
|
|
312
312
|
}>, "strip", z.ZodTypeAny, {
|
|
313
|
+
device_id: string;
|
|
313
314
|
created_at: string;
|
|
314
315
|
connected_account_id: string;
|
|
315
|
-
device_id: string;
|
|
316
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
|
+
device_id: string;
|
|
322
323
|
created_at: string;
|
|
323
324
|
connected_account_id: string;
|
|
324
|
-
device_id: string;
|
|
325
325
|
workspace_id: string;
|
|
326
326
|
access_code_id: string;
|
|
327
327
|
event_id: string;
|
|
@@ -339,18 +339,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
339
339
|
}>, {
|
|
340
340
|
event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
|
|
341
341
|
}>, "strip", z.ZodTypeAny, {
|
|
342
|
+
device_id: string;
|
|
342
343
|
created_at: string;
|
|
343
344
|
connected_account_id: string;
|
|
344
|
-
device_id: string;
|
|
345
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
|
+
device_id: string;
|
|
351
352
|
created_at: string;
|
|
352
353
|
connected_account_id: string;
|
|
353
|
-
device_id: string;
|
|
354
354
|
workspace_id: string;
|
|
355
355
|
access_code_id: string;
|
|
356
356
|
event_id: string;
|
|
@@ -369,9 +369,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
369
369
|
event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
|
|
370
370
|
backup_access_code_id: z.ZodString;
|
|
371
371
|
}>, "strip", z.ZodTypeAny, {
|
|
372
|
+
device_id: string;
|
|
372
373
|
created_at: string;
|
|
373
374
|
connected_account_id: string;
|
|
374
|
-
device_id: string;
|
|
375
375
|
workspace_id: string;
|
|
376
376
|
access_code_id: string;
|
|
377
377
|
event_id: string;
|
|
@@ -379,9 +379,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
379
379
|
event_type: "access_code.backup_access_code_pulled";
|
|
380
380
|
backup_access_code_id: string;
|
|
381
381
|
}, {
|
|
382
|
+
device_id: string;
|
|
382
383
|
created_at: string;
|
|
383
384
|
connected_account_id: string;
|
|
384
|
-
device_id: string;
|
|
385
385
|
workspace_id: string;
|
|
386
386
|
access_code_id: string;
|
|
387
387
|
event_id: string;
|
|
@@ -400,18 +400,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
400
400
|
}>, {
|
|
401
401
|
event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
|
|
402
402
|
}>, "strip", z.ZodTypeAny, {
|
|
403
|
+
device_id: string;
|
|
403
404
|
created_at: string;
|
|
404
405
|
connected_account_id: string;
|
|
405
|
-
device_id: string;
|
|
406
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
|
+
device_id: string;
|
|
412
413
|
created_at: string;
|
|
413
414
|
connected_account_id: string;
|
|
414
|
-
device_id: string;
|
|
415
415
|
workspace_id: string;
|
|
416
416
|
access_code_id: string;
|
|
417
417
|
event_id: string;
|
|
@@ -429,18 +429,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
429
429
|
}>, {
|
|
430
430
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
431
431
|
}>, "strip", z.ZodTypeAny, {
|
|
432
|
+
device_id: string;
|
|
432
433
|
created_at: string;
|
|
433
434
|
connected_account_id: string;
|
|
434
|
-
device_id: string;
|
|
435
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
|
+
device_id: string;
|
|
441
442
|
created_at: string;
|
|
442
443
|
connected_account_id: string;
|
|
443
|
-
device_id: string;
|
|
444
444
|
workspace_id: string;
|
|
445
445
|
access_code_id: string;
|
|
446
446
|
event_id: string;
|
|
@@ -458,18 +458,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
458
458
|
}>, {
|
|
459
459
|
event_type: z.ZodLiteral<"access_code.unmanaged.created">;
|
|
460
460
|
}>, "strip", z.ZodTypeAny, {
|
|
461
|
+
device_id: string;
|
|
461
462
|
created_at: string;
|
|
462
463
|
connected_account_id: string;
|
|
463
|
-
device_id: string;
|
|
464
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
|
+
device_id: string;
|
|
470
471
|
created_at: string;
|
|
471
472
|
connected_account_id: string;
|
|
472
|
-
device_id: string;
|
|
473
473
|
workspace_id: string;
|
|
474
474
|
access_code_id: string;
|
|
475
475
|
event_id: string;
|
|
@@ -487,18 +487,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
487
487
|
}>, {
|
|
488
488
|
event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
|
|
489
489
|
}>, "strip", z.ZodTypeAny, {
|
|
490
|
+
device_id: string;
|
|
490
491
|
created_at: string;
|
|
491
492
|
connected_account_id: string;
|
|
492
|
-
device_id: string;
|
|
493
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
|
+
device_id: string;
|
|
499
500
|
created_at: string;
|
|
500
501
|
connected_account_id: string;
|
|
501
|
-
device_id: string;
|
|
502
502
|
workspace_id: string;
|
|
503
503
|
access_code_id: string;
|
|
504
504
|
event_id: string;
|
|
@@ -1161,17 +1161,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1161
1161
|
}>, {
|
|
1162
1162
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1163
1163
|
}>, "strip", z.ZodTypeAny, {
|
|
1164
|
+
device_id: string;
|
|
1164
1165
|
created_at: string;
|
|
1165
1166
|
connected_account_id: string;
|
|
1166
|
-
device_id: string;
|
|
1167
1167
|
workspace_id: string;
|
|
1168
1168
|
event_id: string;
|
|
1169
1169
|
occurred_at: string;
|
|
1170
1170
|
event_type: "device.connected";
|
|
1171
1171
|
}, {
|
|
1172
|
+
device_id: string;
|
|
1172
1173
|
created_at: string;
|
|
1173
1174
|
connected_account_id: string;
|
|
1174
|
-
device_id: string;
|
|
1175
1175
|
workspace_id: string;
|
|
1176
1176
|
event_id: string;
|
|
1177
1177
|
occurred_at: string;
|
|
@@ -1187,17 +1187,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1187
1187
|
}>, {
|
|
1188
1188
|
event_type: z.ZodLiteral<"device.added">;
|
|
1189
1189
|
}>, "strip", z.ZodTypeAny, {
|
|
1190
|
+
device_id: string;
|
|
1190
1191
|
created_at: string;
|
|
1191
1192
|
connected_account_id: string;
|
|
1192
|
-
device_id: string;
|
|
1193
1193
|
workspace_id: string;
|
|
1194
1194
|
event_id: string;
|
|
1195
1195
|
occurred_at: string;
|
|
1196
1196
|
event_type: "device.added";
|
|
1197
1197
|
}, {
|
|
1198
|
+
device_id: string;
|
|
1198
1199
|
created_at: string;
|
|
1199
1200
|
connected_account_id: string;
|
|
1200
|
-
device_id: string;
|
|
1201
1201
|
workspace_id: string;
|
|
1202
1202
|
event_id: string;
|
|
1203
1203
|
occurred_at: string;
|
|
@@ -1213,17 +1213,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1213
1213
|
}>, {
|
|
1214
1214
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1215
1215
|
}>, "strip", z.ZodTypeAny, {
|
|
1216
|
+
device_id: string;
|
|
1216
1217
|
created_at: string;
|
|
1217
1218
|
connected_account_id: string;
|
|
1218
|
-
device_id: string;
|
|
1219
1219
|
workspace_id: string;
|
|
1220
1220
|
event_id: string;
|
|
1221
1221
|
occurred_at: string;
|
|
1222
1222
|
event_type: "device.converted_to_unmanaged";
|
|
1223
1223
|
}, {
|
|
1224
|
+
device_id: string;
|
|
1224
1225
|
created_at: string;
|
|
1225
1226
|
connected_account_id: string;
|
|
1226
|
-
device_id: string;
|
|
1227
1227
|
workspace_id: string;
|
|
1228
1228
|
event_id: string;
|
|
1229
1229
|
occurred_at: string;
|
|
@@ -1239,17 +1239,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1239
1239
|
}>, {
|
|
1240
1240
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1241
1241
|
}>, "strip", z.ZodTypeAny, {
|
|
1242
|
+
device_id: string;
|
|
1242
1243
|
created_at: string;
|
|
1243
1244
|
connected_account_id: string;
|
|
1244
|
-
device_id: string;
|
|
1245
1245
|
workspace_id: string;
|
|
1246
1246
|
event_id: string;
|
|
1247
1247
|
occurred_at: string;
|
|
1248
1248
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1249
1249
|
}, {
|
|
1250
|
+
device_id: string;
|
|
1250
1251
|
created_at: string;
|
|
1251
1252
|
connected_account_id: string;
|
|
1252
|
-
device_id: string;
|
|
1253
1253
|
workspace_id: string;
|
|
1254
1254
|
event_id: string;
|
|
1255
1255
|
occurred_at: string;
|
|
@@ -1265,17 +1265,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1265
1265
|
}>, {
|
|
1266
1266
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1267
1267
|
}>, "strip", z.ZodTypeAny, {
|
|
1268
|
+
device_id: string;
|
|
1268
1269
|
created_at: string;
|
|
1269
1270
|
connected_account_id: string;
|
|
1270
|
-
device_id: string;
|
|
1271
1271
|
workspace_id: string;
|
|
1272
1272
|
event_id: string;
|
|
1273
1273
|
occurred_at: string;
|
|
1274
1274
|
event_type: "device.unmanaged.connected";
|
|
1275
1275
|
}, {
|
|
1276
|
+
device_id: string;
|
|
1276
1277
|
created_at: string;
|
|
1277
1278
|
connected_account_id: string;
|
|
1278
|
-
device_id: string;
|
|
1279
1279
|
workspace_id: string;
|
|
1280
1280
|
event_id: string;
|
|
1281
1281
|
occurred_at: string;
|
|
@@ -1292,19 +1292,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1292
1292
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1293
1293
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1294
1294
|
}>, "strip", z.ZodTypeAny, {
|
|
1295
|
+
device_id: string;
|
|
1295
1296
|
created_at: string;
|
|
1296
1297
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1297
1298
|
connected_account_id: string;
|
|
1298
|
-
device_id: string;
|
|
1299
1299
|
workspace_id: string;
|
|
1300
1300
|
event_id: string;
|
|
1301
1301
|
occurred_at: string;
|
|
1302
1302
|
event_type: "device.disconnected";
|
|
1303
1303
|
}, {
|
|
1304
|
+
device_id: string;
|
|
1304
1305
|
created_at: string;
|
|
1305
1306
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1306
1307
|
connected_account_id: string;
|
|
1307
|
-
device_id: string;
|
|
1308
1308
|
workspace_id: string;
|
|
1309
1309
|
event_id: string;
|
|
1310
1310
|
occurred_at: string;
|
|
@@ -1321,19 +1321,19 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1321
1321
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1322
1322
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1323
1323
|
}>, "strip", z.ZodTypeAny, {
|
|
1324
|
+
device_id: string;
|
|
1324
1325
|
created_at: string;
|
|
1325
1326
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1326
1327
|
connected_account_id: string;
|
|
1327
|
-
device_id: string;
|
|
1328
1328
|
workspace_id: string;
|
|
1329
1329
|
event_id: string;
|
|
1330
1330
|
occurred_at: string;
|
|
1331
1331
|
event_type: "device.unmanaged.disconnected";
|
|
1332
1332
|
}, {
|
|
1333
|
+
device_id: string;
|
|
1333
1334
|
created_at: string;
|
|
1334
1335
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1335
1336
|
connected_account_id: string;
|
|
1336
|
-
device_id: string;
|
|
1337
1337
|
workspace_id: string;
|
|
1338
1338
|
event_id: string;
|
|
1339
1339
|
occurred_at: string;
|
|
@@ -1349,17 +1349,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1349
1349
|
}>, {
|
|
1350
1350
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1351
1351
|
}>, "strip", z.ZodTypeAny, {
|
|
1352
|
+
device_id: string;
|
|
1352
1353
|
created_at: string;
|
|
1353
1354
|
connected_account_id: string;
|
|
1354
|
-
device_id: string;
|
|
1355
1355
|
workspace_id: string;
|
|
1356
1356
|
event_id: string;
|
|
1357
1357
|
occurred_at: string;
|
|
1358
1358
|
event_type: "device.tampered";
|
|
1359
1359
|
}, {
|
|
1360
|
+
device_id: string;
|
|
1360
1361
|
created_at: string;
|
|
1361
1362
|
connected_account_id: string;
|
|
1362
|
-
device_id: string;
|
|
1363
1363
|
workspace_id: string;
|
|
1364
1364
|
event_id: string;
|
|
1365
1365
|
occurred_at: string;
|
|
@@ -1376,18 +1376,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1376
1376
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1377
1377
|
battery_level: z.ZodNumber;
|
|
1378
1378
|
}>, "strip", z.ZodTypeAny, {
|
|
1379
|
+
device_id: string;
|
|
1379
1380
|
created_at: string;
|
|
1380
1381
|
connected_account_id: string;
|
|
1381
|
-
device_id: string;
|
|
1382
1382
|
battery_level: number;
|
|
1383
1383
|
workspace_id: string;
|
|
1384
1384
|
event_id: string;
|
|
1385
1385
|
occurred_at: string;
|
|
1386
1386
|
event_type: "device.low_battery";
|
|
1387
1387
|
}, {
|
|
1388
|
+
device_id: string;
|
|
1388
1389
|
created_at: string;
|
|
1389
1390
|
connected_account_id: string;
|
|
1390
|
-
device_id: string;
|
|
1391
1391
|
battery_level: number;
|
|
1392
1392
|
workspace_id: string;
|
|
1393
1393
|
event_id: string;
|
|
@@ -1406,9 +1406,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1406
1406
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1407
1407
|
battery_level: z.ZodNumber;
|
|
1408
1408
|
}>, "strip", z.ZodTypeAny, {
|
|
1409
|
+
device_id: string;
|
|
1409
1410
|
created_at: string;
|
|
1410
1411
|
connected_account_id: string;
|
|
1411
|
-
device_id: string;
|
|
1412
1412
|
battery_level: number;
|
|
1413
1413
|
workspace_id: string;
|
|
1414
1414
|
event_id: string;
|
|
@@ -1416,9 +1416,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1416
1416
|
event_type: "device.battery_status_changed";
|
|
1417
1417
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1418
1418
|
}, {
|
|
1419
|
+
device_id: string;
|
|
1419
1420
|
created_at: string;
|
|
1420
1421
|
connected_account_id: string;
|
|
1421
|
-
device_id: string;
|
|
1422
1422
|
battery_level: number;
|
|
1423
1423
|
workspace_id: string;
|
|
1424
1424
|
event_id: string;
|
|
@@ -1436,17 +1436,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1436
1436
|
}>, {
|
|
1437
1437
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1438
1438
|
}>, "strip", z.ZodTypeAny, {
|
|
1439
|
+
device_id: string;
|
|
1439
1440
|
created_at: string;
|
|
1440
1441
|
connected_account_id: string;
|
|
1441
|
-
device_id: string;
|
|
1442
1442
|
workspace_id: string;
|
|
1443
1443
|
event_id: string;
|
|
1444
1444
|
occurred_at: string;
|
|
1445
1445
|
event_type: "device.removed";
|
|
1446
1446
|
}, {
|
|
1447
|
+
device_id: string;
|
|
1447
1448
|
created_at: string;
|
|
1448
1449
|
connected_account_id: string;
|
|
1449
|
-
device_id: string;
|
|
1450
1450
|
workspace_id: string;
|
|
1451
1451
|
event_id: string;
|
|
1452
1452
|
occurred_at: string;
|
|
@@ -1462,17 +1462,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1462
1462
|
}>, {
|
|
1463
1463
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1464
1464
|
}>, "strip", z.ZodTypeAny, {
|
|
1465
|
+
device_id: string;
|
|
1465
1466
|
created_at: string;
|
|
1466
1467
|
connected_account_id: string;
|
|
1467
|
-
device_id: string;
|
|
1468
1468
|
workspace_id: string;
|
|
1469
1469
|
event_id: string;
|
|
1470
1470
|
occurred_at: string;
|
|
1471
1471
|
event_type: "device.deleted";
|
|
1472
1472
|
}, {
|
|
1473
|
+
device_id: string;
|
|
1473
1474
|
created_at: string;
|
|
1474
1475
|
connected_account_id: string;
|
|
1475
|
-
device_id: string;
|
|
1476
1476
|
workspace_id: string;
|
|
1477
1477
|
event_id: string;
|
|
1478
1478
|
occurred_at: string;
|
|
@@ -1488,17 +1488,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1488
1488
|
}>, {
|
|
1489
1489
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1490
1490
|
}>, "strip", z.ZodTypeAny, {
|
|
1491
|
+
device_id: string;
|
|
1491
1492
|
created_at: string;
|
|
1492
1493
|
connected_account_id: string;
|
|
1493
|
-
device_id: string;
|
|
1494
1494
|
workspace_id: string;
|
|
1495
1495
|
event_id: string;
|
|
1496
1496
|
occurred_at: string;
|
|
1497
1497
|
event_type: "device.third_party_integration_detected";
|
|
1498
1498
|
}, {
|
|
1499
|
+
device_id: string;
|
|
1499
1500
|
created_at: string;
|
|
1500
1501
|
connected_account_id: string;
|
|
1501
|
-
device_id: string;
|
|
1502
1502
|
workspace_id: string;
|
|
1503
1503
|
event_id: string;
|
|
1504
1504
|
occurred_at: string;
|
|
@@ -1514,17 +1514,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1514
1514
|
}>, {
|
|
1515
1515
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1516
1516
|
}>, "strip", z.ZodTypeAny, {
|
|
1517
|
+
device_id: string;
|
|
1517
1518
|
created_at: string;
|
|
1518
1519
|
connected_account_id: string;
|
|
1519
|
-
device_id: string;
|
|
1520
1520
|
workspace_id: string;
|
|
1521
1521
|
event_id: string;
|
|
1522
1522
|
occurred_at: string;
|
|
1523
1523
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1524
1524
|
}, {
|
|
1525
|
+
device_id: string;
|
|
1525
1526
|
created_at: string;
|
|
1526
1527
|
connected_account_id: string;
|
|
1527
|
-
device_id: string;
|
|
1528
1528
|
workspace_id: string;
|
|
1529
1529
|
event_id: string;
|
|
1530
1530
|
occurred_at: string;
|
|
@@ -1540,17 +1540,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1540
1540
|
}>, {
|
|
1541
1541
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1542
1542
|
}>, "strip", z.ZodTypeAny, {
|
|
1543
|
+
device_id: string;
|
|
1543
1544
|
created_at: string;
|
|
1544
1545
|
connected_account_id: string;
|
|
1545
|
-
device_id: string;
|
|
1546
1546
|
workspace_id: string;
|
|
1547
1547
|
event_id: string;
|
|
1548
1548
|
occurred_at: string;
|
|
1549
1549
|
event_type: "device.salto.privacy_mode_activated";
|
|
1550
1550
|
}, {
|
|
1551
|
+
device_id: string;
|
|
1551
1552
|
created_at: string;
|
|
1552
1553
|
connected_account_id: string;
|
|
1553
|
-
device_id: string;
|
|
1554
1554
|
workspace_id: string;
|
|
1555
1555
|
event_id: string;
|
|
1556
1556
|
occurred_at: string;
|
|
@@ -1566,17 +1566,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1566
1566
|
}>, {
|
|
1567
1567
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1568
1568
|
}>, "strip", z.ZodTypeAny, {
|
|
1569
|
+
device_id: string;
|
|
1569
1570
|
created_at: string;
|
|
1570
1571
|
connected_account_id: string;
|
|
1571
|
-
device_id: string;
|
|
1572
1572
|
workspace_id: string;
|
|
1573
1573
|
event_id: string;
|
|
1574
1574
|
occurred_at: string;
|
|
1575
1575
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1576
1576
|
}, {
|
|
1577
|
+
device_id: string;
|
|
1577
1578
|
created_at: string;
|
|
1578
1579
|
connected_account_id: string;
|
|
1579
|
-
device_id: string;
|
|
1580
1580
|
workspace_id: string;
|
|
1581
1581
|
event_id: string;
|
|
1582
1582
|
occurred_at: string;
|
|
@@ -1592,17 +1592,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1592
1592
|
}>, {
|
|
1593
1593
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1594
1594
|
}>, "strip", z.ZodTypeAny, {
|
|
1595
|
+
device_id: string;
|
|
1595
1596
|
created_at: string;
|
|
1596
1597
|
connected_account_id: string;
|
|
1597
|
-
device_id: string;
|
|
1598
1598
|
workspace_id: string;
|
|
1599
1599
|
event_id: string;
|
|
1600
1600
|
occurred_at: string;
|
|
1601
1601
|
event_type: "device.connection_became_flaky";
|
|
1602
1602
|
}, {
|
|
1603
|
+
device_id: string;
|
|
1603
1604
|
created_at: string;
|
|
1604
1605
|
connected_account_id: string;
|
|
1605
|
-
device_id: string;
|
|
1606
1606
|
workspace_id: string;
|
|
1607
1607
|
event_id: string;
|
|
1608
1608
|
occurred_at: string;
|
|
@@ -1618,17 +1618,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1618
1618
|
}>, {
|
|
1619
1619
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1620
1620
|
}>, "strip", z.ZodTypeAny, {
|
|
1621
|
+
device_id: string;
|
|
1621
1622
|
created_at: string;
|
|
1622
1623
|
connected_account_id: string;
|
|
1623
|
-
device_id: string;
|
|
1624
1624
|
workspace_id: string;
|
|
1625
1625
|
event_id: string;
|
|
1626
1626
|
occurred_at: string;
|
|
1627
1627
|
event_type: "device.connection_stabilized";
|
|
1628
1628
|
}, {
|
|
1629
|
+
device_id: string;
|
|
1629
1630
|
created_at: string;
|
|
1630
1631
|
connected_account_id: string;
|
|
1631
|
-
device_id: string;
|
|
1632
1632
|
workspace_id: string;
|
|
1633
1633
|
event_id: string;
|
|
1634
1634
|
occurred_at: string;
|
|
@@ -1644,17 +1644,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1644
1644
|
}>, {
|
|
1645
1645
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1646
1646
|
}>, "strip", z.ZodTypeAny, {
|
|
1647
|
+
device_id: string;
|
|
1647
1648
|
created_at: string;
|
|
1648
1649
|
connected_account_id: string;
|
|
1649
|
-
device_id: string;
|
|
1650
1650
|
workspace_id: string;
|
|
1651
1651
|
event_id: string;
|
|
1652
1652
|
occurred_at: string;
|
|
1653
1653
|
event_type: "device.error.subscription_required";
|
|
1654
1654
|
}, {
|
|
1655
|
+
device_id: string;
|
|
1655
1656
|
created_at: string;
|
|
1656
1657
|
connected_account_id: string;
|
|
1657
|
-
device_id: string;
|
|
1658
1658
|
workspace_id: string;
|
|
1659
1659
|
event_id: string;
|
|
1660
1660
|
occurred_at: string;
|
|
@@ -1670,17 +1670,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1670
1670
|
}>, {
|
|
1671
1671
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1672
1672
|
}>, "strip", z.ZodTypeAny, {
|
|
1673
|
+
device_id: string;
|
|
1673
1674
|
created_at: string;
|
|
1674
1675
|
connected_account_id: string;
|
|
1675
|
-
device_id: string;
|
|
1676
1676
|
workspace_id: string;
|
|
1677
1677
|
event_id: string;
|
|
1678
1678
|
occurred_at: string;
|
|
1679
1679
|
event_type: "device.error.subscription_required.resolved";
|
|
1680
1680
|
}, {
|
|
1681
|
+
device_id: string;
|
|
1681
1682
|
created_at: string;
|
|
1682
1683
|
connected_account_id: string;
|
|
1683
|
-
device_id: string;
|
|
1684
1684
|
workspace_id: string;
|
|
1685
1685
|
event_id: string;
|
|
1686
1686
|
occurred_at: string;
|
|
@@ -1696,17 +1696,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1696
1696
|
}>, {
|
|
1697
1697
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1698
1698
|
}>, "strip", z.ZodTypeAny, {
|
|
1699
|
+
device_id: string;
|
|
1699
1700
|
created_at: string;
|
|
1700
1701
|
connected_account_id: string;
|
|
1701
|
-
device_id: string;
|
|
1702
1702
|
workspace_id: string;
|
|
1703
1703
|
event_id: string;
|
|
1704
1704
|
occurred_at: string;
|
|
1705
1705
|
event_type: "device.accessory_keypad_connected";
|
|
1706
1706
|
}, {
|
|
1707
|
+
device_id: string;
|
|
1707
1708
|
created_at: string;
|
|
1708
1709
|
connected_account_id: string;
|
|
1709
|
-
device_id: string;
|
|
1710
1710
|
workspace_id: string;
|
|
1711
1711
|
event_id: string;
|
|
1712
1712
|
occurred_at: string;
|
|
@@ -1722,17 +1722,17 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1722
1722
|
}>, {
|
|
1723
1723
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1724
1724
|
}>, "strip", z.ZodTypeAny, {
|
|
1725
|
+
device_id: string;
|
|
1725
1726
|
created_at: string;
|
|
1726
1727
|
connected_account_id: string;
|
|
1727
|
-
device_id: string;
|
|
1728
1728
|
workspace_id: string;
|
|
1729
1729
|
event_id: string;
|
|
1730
1730
|
occurred_at: string;
|
|
1731
1731
|
event_type: "device.accessory_keypad_disconnected";
|
|
1732
1732
|
}, {
|
|
1733
|
+
device_id: string;
|
|
1733
1734
|
created_at: string;
|
|
1734
1735
|
connected_account_id: string;
|
|
1735
|
-
device_id: string;
|
|
1736
1736
|
workspace_id: string;
|
|
1737
1737
|
event_id: string;
|
|
1738
1738
|
occurred_at: string;
|
|
@@ -1754,9 +1754,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1754
1754
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1755
1755
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1756
1756
|
}>, "strip", z.ZodTypeAny, {
|
|
1757
|
+
device_id: string;
|
|
1757
1758
|
created_at: string;
|
|
1758
1759
|
connected_account_id: string;
|
|
1759
|
-
device_id: string;
|
|
1760
1760
|
workspace_id: string;
|
|
1761
1761
|
event_id: string;
|
|
1762
1762
|
occurred_at: string;
|
|
@@ -1768,9 +1768,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1768
1768
|
noise_threshold_id?: string | undefined;
|
|
1769
1769
|
noise_threshold_name?: string | undefined;
|
|
1770
1770
|
}, {
|
|
1771
|
+
device_id: string;
|
|
1771
1772
|
created_at: string;
|
|
1772
1773
|
connected_account_id: string;
|
|
1773
|
-
device_id: string;
|
|
1774
1774
|
workspace_id: string;
|
|
1775
1775
|
event_id: string;
|
|
1776
1776
|
occurred_at: string;
|
|
@@ -1796,9 +1796,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1796
1796
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1797
1797
|
}>, "strip", z.ZodTypeAny, {
|
|
1798
1798
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1799
|
+
device_id: string;
|
|
1799
1800
|
created_at: string;
|
|
1800
1801
|
connected_account_id: string;
|
|
1801
|
-
device_id: string;
|
|
1802
1802
|
workspace_id: string;
|
|
1803
1803
|
event_id: string;
|
|
1804
1804
|
occurred_at: string;
|
|
@@ -1807,9 +1807,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1807
1807
|
action_attempt_id?: string | undefined;
|
|
1808
1808
|
}, {
|
|
1809
1809
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1810
|
+
device_id: string;
|
|
1810
1811
|
created_at: string;
|
|
1811
1812
|
connected_account_id: string;
|
|
1812
|
-
device_id: string;
|
|
1813
1813
|
workspace_id: string;
|
|
1814
1814
|
event_id: string;
|
|
1815
1815
|
occurred_at: string;
|
|
@@ -1831,9 +1831,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1831
1831
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1832
1832
|
}>, "strip", z.ZodTypeAny, {
|
|
1833
1833
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1834
|
+
device_id: string;
|
|
1834
1835
|
created_at: string;
|
|
1835
1836
|
connected_account_id: string;
|
|
1836
|
-
device_id: string;
|
|
1837
1837
|
workspace_id: string;
|
|
1838
1838
|
event_id: string;
|
|
1839
1839
|
occurred_at: string;
|
|
@@ -1842,9 +1842,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1842
1842
|
action_attempt_id?: string | undefined;
|
|
1843
1843
|
}, {
|
|
1844
1844
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1845
|
+
device_id: string;
|
|
1845
1846
|
created_at: string;
|
|
1846
1847
|
connected_account_id: string;
|
|
1847
|
-
device_id: string;
|
|
1848
1848
|
workspace_id: string;
|
|
1849
1849
|
event_id: string;
|
|
1850
1850
|
occurred_at: string;
|
|
@@ -1863,18 +1863,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1863
1863
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1864
1864
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1865
1865
|
}>, "strip", z.ZodTypeAny, {
|
|
1866
|
+
device_id: string;
|
|
1866
1867
|
created_at: string;
|
|
1867
1868
|
connected_account_id: string;
|
|
1868
|
-
device_id: string;
|
|
1869
1869
|
workspace_id: string;
|
|
1870
1870
|
event_id: string;
|
|
1871
1871
|
occurred_at: string;
|
|
1872
1872
|
event_type: "lock.access_denied";
|
|
1873
1873
|
access_code_id?: string | undefined;
|
|
1874
1874
|
}, {
|
|
1875
|
+
device_id: string;
|
|
1875
1876
|
created_at: string;
|
|
1876
1877
|
connected_account_id: string;
|
|
1877
|
-
device_id: string;
|
|
1878
1878
|
workspace_id: string;
|
|
1879
1879
|
event_id: string;
|
|
1880
1880
|
occurred_at: string;
|
|
@@ -1894,22 +1894,22 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1894
1894
|
climate_preset_key: z.ZodString;
|
|
1895
1895
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
1896
1896
|
}>, "strip", z.ZodTypeAny, {
|
|
1897
|
-
created_at: string;
|
|
1898
|
-
connected_account_id: string;
|
|
1899
1897
|
climate_preset_key: string;
|
|
1900
1898
|
thermostat_schedule_id: string | null;
|
|
1901
1899
|
device_id: string;
|
|
1900
|
+
created_at: string;
|
|
1901
|
+
connected_account_id: string;
|
|
1902
1902
|
workspace_id: string;
|
|
1903
1903
|
event_id: string;
|
|
1904
1904
|
occurred_at: string;
|
|
1905
1905
|
event_type: "thermostat.climate_preset_activated";
|
|
1906
1906
|
is_fallback_climate_preset: boolean;
|
|
1907
1907
|
}, {
|
|
1908
|
-
created_at: string;
|
|
1909
|
-
connected_account_id: string;
|
|
1910
1908
|
climate_preset_key: string;
|
|
1911
1909
|
thermostat_schedule_id: string | null;
|
|
1912
1910
|
device_id: string;
|
|
1911
|
+
created_at: string;
|
|
1912
|
+
connected_account_id: string;
|
|
1913
1913
|
workspace_id: string;
|
|
1914
1914
|
event_id: string;
|
|
1915
1915
|
occurred_at: string;
|
|
@@ -1941,9 +1941,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1941
1941
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1942
1942
|
}, "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, {
|
|
1943
1943
|
method: "external" | "seam";
|
|
1944
|
+
device_id: string;
|
|
1944
1945
|
created_at: string;
|
|
1945
1946
|
connected_account_id: string;
|
|
1946
|
-
device_id: string;
|
|
1947
1947
|
workspace_id: string;
|
|
1948
1948
|
event_id: string;
|
|
1949
1949
|
occurred_at: string;
|
|
@@ -1956,9 +1956,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1956
1956
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1957
1957
|
}, {
|
|
1958
1958
|
method: "external" | "seam";
|
|
1959
|
+
device_id: string;
|
|
1959
1960
|
created_at: string;
|
|
1960
1961
|
connected_account_id: string;
|
|
1961
|
-
device_id: string;
|
|
1962
1962
|
workspace_id: string;
|
|
1963
1963
|
event_id: string;
|
|
1964
1964
|
occurred_at: string;
|
|
@@ -1986,29 +1986,29 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1986
1986
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1987
1987
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1988
1988
|
}>, "strip", z.ZodTypeAny, {
|
|
1989
|
-
created_at: string;
|
|
1990
|
-
connected_account_id: string;
|
|
1991
1989
|
device_id: string;
|
|
1990
|
+
created_at: string;
|
|
1992
1991
|
temperature_fahrenheit: number;
|
|
1993
1992
|
temperature_celsius: number;
|
|
1994
1993
|
lower_limit_celsius: number | null;
|
|
1995
1994
|
lower_limit_fahrenheit: number | null;
|
|
1996
1995
|
upper_limit_celsius: number | null;
|
|
1997
1996
|
upper_limit_fahrenheit: number | null;
|
|
1997
|
+
connected_account_id: string;
|
|
1998
1998
|
workspace_id: string;
|
|
1999
1999
|
event_id: string;
|
|
2000
2000
|
occurred_at: string;
|
|
2001
2001
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2002
2002
|
}, {
|
|
2003
|
-
created_at: string;
|
|
2004
|
-
connected_account_id: string;
|
|
2005
2003
|
device_id: string;
|
|
2004
|
+
created_at: string;
|
|
2006
2005
|
temperature_fahrenheit: number;
|
|
2007
2006
|
temperature_celsius: number;
|
|
2008
2007
|
lower_limit_celsius: number | null;
|
|
2009
2008
|
lower_limit_fahrenheit: number | null;
|
|
2010
2009
|
upper_limit_celsius: number | null;
|
|
2011
2010
|
upper_limit_fahrenheit: number | null;
|
|
2011
|
+
connected_account_id: string;
|
|
2012
2012
|
workspace_id: string;
|
|
2013
2013
|
event_id: string;
|
|
2014
2014
|
occurred_at: string;
|
|
@@ -2030,29 +2030,29 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2030
2030
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
2031
2031
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2032
2032
|
}>, "strip", z.ZodTypeAny, {
|
|
2033
|
-
created_at: string;
|
|
2034
|
-
connected_account_id: string;
|
|
2035
2033
|
device_id: string;
|
|
2034
|
+
created_at: string;
|
|
2036
2035
|
temperature_fahrenheit: number;
|
|
2037
2036
|
temperature_celsius: number;
|
|
2038
2037
|
lower_limit_celsius: number | null;
|
|
2039
2038
|
lower_limit_fahrenheit: number | null;
|
|
2040
2039
|
upper_limit_celsius: number | null;
|
|
2041
2040
|
upper_limit_fahrenheit: number | null;
|
|
2041
|
+
connected_account_id: string;
|
|
2042
2042
|
workspace_id: string;
|
|
2043
2043
|
event_id: string;
|
|
2044
2044
|
occurred_at: string;
|
|
2045
2045
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2046
2046
|
}, {
|
|
2047
|
-
created_at: string;
|
|
2048
|
-
connected_account_id: string;
|
|
2049
2047
|
device_id: string;
|
|
2048
|
+
created_at: string;
|
|
2050
2049
|
temperature_fahrenheit: number;
|
|
2051
2050
|
temperature_celsius: number;
|
|
2052
2051
|
lower_limit_celsius: number | null;
|
|
2053
2052
|
lower_limit_fahrenheit: number | null;
|
|
2054
2053
|
upper_limit_celsius: number | null;
|
|
2055
2054
|
upper_limit_fahrenheit: number | null;
|
|
2055
|
+
connected_account_id: string;
|
|
2056
2056
|
workspace_id: string;
|
|
2057
2057
|
event_id: string;
|
|
2058
2058
|
occurred_at: string;
|
|
@@ -2072,11 +2072,11 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2072
2072
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2073
2073
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2074
2074
|
}>, "strip", z.ZodTypeAny, {
|
|
2075
|
-
created_at: string;
|
|
2076
|
-
connected_account_id: string;
|
|
2077
2075
|
device_id: string;
|
|
2076
|
+
created_at: string;
|
|
2078
2077
|
temperature_fahrenheit: number;
|
|
2079
2078
|
temperature_celsius: number;
|
|
2079
|
+
connected_account_id: string;
|
|
2080
2080
|
workspace_id: string;
|
|
2081
2081
|
event_id: string;
|
|
2082
2082
|
occurred_at: string;
|
|
@@ -2084,11 +2084,11 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2084
2084
|
desired_temperature_celsius?: number | undefined;
|
|
2085
2085
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2086
2086
|
}, {
|
|
2087
|
-
created_at: string;
|
|
2088
|
-
connected_account_id: string;
|
|
2089
2087
|
device_id: string;
|
|
2088
|
+
created_at: string;
|
|
2090
2089
|
temperature_fahrenheit: number;
|
|
2091
2090
|
temperature_celsius: number;
|
|
2091
|
+
connected_account_id: string;
|
|
2092
2092
|
workspace_id: string;
|
|
2093
2093
|
event_id: string;
|
|
2094
2094
|
occurred_at: string;
|
|
@@ -2108,21 +2108,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2108
2108
|
temperature_celsius: z.ZodNumber;
|
|
2109
2109
|
temperature_fahrenheit: z.ZodNumber;
|
|
2110
2110
|
}>, "strip", z.ZodTypeAny, {
|
|
2111
|
-
created_at: string;
|
|
2112
|
-
connected_account_id: string;
|
|
2113
2111
|
device_id: string;
|
|
2112
|
+
created_at: string;
|
|
2114
2113
|
temperature_fahrenheit: number;
|
|
2115
2114
|
temperature_celsius: number;
|
|
2115
|
+
connected_account_id: string;
|
|
2116
2116
|
workspace_id: string;
|
|
2117
2117
|
event_id: string;
|
|
2118
2118
|
occurred_at: string;
|
|
2119
2119
|
event_type: "thermostat.temperature_changed";
|
|
2120
2120
|
}, {
|
|
2121
|
-
created_at: string;
|
|
2122
|
-
connected_account_id: string;
|
|
2123
2121
|
device_id: string;
|
|
2122
|
+
created_at: string;
|
|
2124
2123
|
temperature_fahrenheit: number;
|
|
2125
2124
|
temperature_celsius: number;
|
|
2125
|
+
connected_account_id: string;
|
|
2126
2126
|
workspace_id: string;
|
|
2127
2127
|
event_id: string;
|
|
2128
2128
|
occurred_at: string;
|
|
@@ -2139,18 +2139,18 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2139
2139
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2140
2140
|
new_name: z.ZodString;
|
|
2141
2141
|
}>, "strip", z.ZodTypeAny, {
|
|
2142
|
+
device_id: string;
|
|
2142
2143
|
created_at: string;
|
|
2143
2144
|
connected_account_id: string;
|
|
2144
|
-
device_id: string;
|
|
2145
2145
|
workspace_id: string;
|
|
2146
2146
|
event_id: string;
|
|
2147
2147
|
occurred_at: string;
|
|
2148
2148
|
event_type: "device.name_changed";
|
|
2149
2149
|
new_name: string;
|
|
2150
2150
|
}, {
|
|
2151
|
+
device_id: string;
|
|
2151
2152
|
created_at: string;
|
|
2152
2153
|
connected_account_id: string;
|
|
2153
|
-
device_id: string;
|
|
2154
2154
|
workspace_id: string;
|
|
2155
2155
|
event_id: string;
|
|
2156
2156
|
occurred_at: string;
|
|
@@ -2189,15 +2189,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2189
2189
|
}>, {
|
|
2190
2190
|
event_type: z.ZodLiteral<"phone.deactivated">;
|
|
2191
2191
|
}>, "strip", z.ZodTypeAny, {
|
|
2192
|
-
created_at: string;
|
|
2193
2192
|
device_id: string;
|
|
2193
|
+
created_at: string;
|
|
2194
2194
|
workspace_id: string;
|
|
2195
2195
|
event_id: string;
|
|
2196
2196
|
occurred_at: string;
|
|
2197
2197
|
event_type: "phone.deactivated";
|
|
2198
2198
|
}, {
|
|
2199
|
-
created_at: string;
|
|
2200
2199
|
device_id: string;
|
|
2200
|
+
created_at: string;
|
|
2201
2201
|
workspace_id: string;
|
|
2202
2202
|
event_id: string;
|
|
2203
2203
|
occurred_at: string;
|