@seamapi/types 1.358.0 → 1.360.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 +532 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2726 -1075
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +188 -128
- package/lib/seam/connect/models/events/devices.js +10 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
- package/lib/seam/connect/openapi.d.ts +482 -4
- package/lib/seam/connect/openapi.js +469 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +601 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/models/events/devices.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +502 -2
- package/src/lib/seam/connect/route-types.ts +633 -0
|
@@ -11,8 +11,8 @@ 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
|
-
connected_account_id: string;
|
|
15
14
|
created_at: string;
|
|
15
|
+
connected_account_id: string;
|
|
16
16
|
device_id: string;
|
|
17
17
|
workspace_id: string;
|
|
18
18
|
access_code_id: string;
|
|
@@ -20,8 +20,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
20
20
|
occurred_at: string;
|
|
21
21
|
event_type: "access_code.created";
|
|
22
22
|
}, {
|
|
23
|
-
connected_account_id: string;
|
|
24
23
|
created_at: string;
|
|
24
|
+
connected_account_id: string;
|
|
25
25
|
device_id: string;
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
access_code_id: string;
|
|
@@ -40,8 +40,8 @@ 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
|
-
connected_account_id: string;
|
|
44
43
|
created_at: string;
|
|
44
|
+
connected_account_id: string;
|
|
45
45
|
device_id: string;
|
|
46
46
|
workspace_id: string;
|
|
47
47
|
access_code_id: string;
|
|
@@ -49,8 +49,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
49
49
|
occurred_at: string;
|
|
50
50
|
event_type: "access_code.changed";
|
|
51
51
|
}, {
|
|
52
|
-
connected_account_id: string;
|
|
53
52
|
created_at: string;
|
|
53
|
+
connected_account_id: string;
|
|
54
54
|
device_id: string;
|
|
55
55
|
workspace_id: string;
|
|
56
56
|
access_code_id: string;
|
|
@@ -71,8 +71,8 @@ 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
|
-
connected_account_id: string;
|
|
75
74
|
created_at: string;
|
|
75
|
+
connected_account_id: string;
|
|
76
76
|
device_id: string;
|
|
77
77
|
workspace_id: string;
|
|
78
78
|
access_code_id: string;
|
|
@@ -81,8 +81,8 @@ 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
|
-
connected_account_id: string;
|
|
85
84
|
created_at: string;
|
|
85
|
+
connected_account_id: string;
|
|
86
86
|
device_id: string;
|
|
87
87
|
workspace_id: string;
|
|
88
88
|
access_code_id: string;
|
|
@@ -103,8 +103,8 @@ 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
|
-
connected_account_id: string;
|
|
107
106
|
created_at: string;
|
|
107
|
+
connected_account_id: string;
|
|
108
108
|
device_id: string;
|
|
109
109
|
workspace_id: string;
|
|
110
110
|
access_code_id: string;
|
|
@@ -113,8 +113,8 @@ 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
|
-
connected_account_id: string;
|
|
117
116
|
created_at: string;
|
|
117
|
+
connected_account_id: string;
|
|
118
118
|
device_id: string;
|
|
119
119
|
workspace_id: string;
|
|
120
120
|
access_code_id: string;
|
|
@@ -133,8 +133,8 @@ 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
|
-
connected_account_id: string;
|
|
137
136
|
created_at: string;
|
|
137
|
+
connected_account_id: string;
|
|
138
138
|
device_id: string;
|
|
139
139
|
workspace_id: string;
|
|
140
140
|
access_code_id: string;
|
|
@@ -142,8 +142,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
142
142
|
occurred_at: string;
|
|
143
143
|
event_type: "access_code.removed_from_device";
|
|
144
144
|
}, {
|
|
145
|
-
connected_account_id: string;
|
|
146
145
|
created_at: string;
|
|
146
|
+
connected_account_id: string;
|
|
147
147
|
device_id: string;
|
|
148
148
|
workspace_id: string;
|
|
149
149
|
access_code_id: string;
|
|
@@ -162,8 +162,8 @@ 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
|
-
connected_account_id: string;
|
|
166
165
|
created_at: string;
|
|
166
|
+
connected_account_id: string;
|
|
167
167
|
device_id: string;
|
|
168
168
|
workspace_id: string;
|
|
169
169
|
access_code_id: string;
|
|
@@ -171,8 +171,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
171
171
|
occurred_at: string;
|
|
172
172
|
event_type: "access_code.delay_in_setting_on_device";
|
|
173
173
|
}, {
|
|
174
|
-
connected_account_id: string;
|
|
175
174
|
created_at: string;
|
|
175
|
+
connected_account_id: string;
|
|
176
176
|
device_id: string;
|
|
177
177
|
workspace_id: string;
|
|
178
178
|
access_code_id: string;
|
|
@@ -191,8 +191,8 @@ 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
|
-
connected_account_id: string;
|
|
195
194
|
created_at: string;
|
|
195
|
+
connected_account_id: string;
|
|
196
196
|
device_id: string;
|
|
197
197
|
workspace_id: string;
|
|
198
198
|
access_code_id: string;
|
|
@@ -200,8 +200,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
200
200
|
occurred_at: string;
|
|
201
201
|
event_type: "access_code.failed_to_set_on_device";
|
|
202
202
|
}, {
|
|
203
|
-
connected_account_id: string;
|
|
204
203
|
created_at: string;
|
|
204
|
+
connected_account_id: string;
|
|
205
205
|
device_id: string;
|
|
206
206
|
workspace_id: string;
|
|
207
207
|
access_code_id: string;
|
|
@@ -222,8 +222,8 @@ 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
|
-
connected_account_id: string;
|
|
226
225
|
created_at: string;
|
|
226
|
+
connected_account_id: string;
|
|
227
227
|
device_id: string;
|
|
228
228
|
workspace_id: string;
|
|
229
229
|
access_code_id: string;
|
|
@@ -232,8 +232,8 @@ 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
|
-
connected_account_id: string;
|
|
236
235
|
created_at: string;
|
|
236
|
+
connected_account_id: string;
|
|
237
237
|
device_id: string;
|
|
238
238
|
workspace_id: string;
|
|
239
239
|
access_code_id: string;
|
|
@@ -252,8 +252,8 @@ 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
|
-
connected_account_id: string;
|
|
256
255
|
created_at: string;
|
|
256
|
+
connected_account_id: string;
|
|
257
257
|
device_id: string;
|
|
258
258
|
workspace_id: string;
|
|
259
259
|
access_code_id: string;
|
|
@@ -261,8 +261,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
261
261
|
occurred_at: string;
|
|
262
262
|
event_type: "access_code.delay_in_removing_from_device";
|
|
263
263
|
}, {
|
|
264
|
-
connected_account_id: string;
|
|
265
264
|
created_at: string;
|
|
265
|
+
connected_account_id: string;
|
|
266
266
|
device_id: string;
|
|
267
267
|
workspace_id: string;
|
|
268
268
|
access_code_id: string;
|
|
@@ -281,8 +281,8 @@ 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
|
-
connected_account_id: string;
|
|
285
284
|
created_at: string;
|
|
285
|
+
connected_account_id: string;
|
|
286
286
|
device_id: string;
|
|
287
287
|
workspace_id: string;
|
|
288
288
|
access_code_id: string;
|
|
@@ -290,8 +290,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
290
290
|
occurred_at: string;
|
|
291
291
|
event_type: "access_code.failed_to_remove_from_device";
|
|
292
292
|
}, {
|
|
293
|
-
connected_account_id: string;
|
|
294
293
|
created_at: string;
|
|
294
|
+
connected_account_id: string;
|
|
295
295
|
device_id: string;
|
|
296
296
|
workspace_id: string;
|
|
297
297
|
access_code_id: string;
|
|
@@ -310,8 +310,8 @@ 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
|
-
connected_account_id: string;
|
|
314
313
|
created_at: string;
|
|
314
|
+
connected_account_id: string;
|
|
315
315
|
device_id: string;
|
|
316
316
|
workspace_id: string;
|
|
317
317
|
access_code_id: string;
|
|
@@ -319,8 +319,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
319
319
|
occurred_at: string;
|
|
320
320
|
event_type: "access_code.modified_external_to_seam";
|
|
321
321
|
}, {
|
|
322
|
-
connected_account_id: string;
|
|
323
322
|
created_at: string;
|
|
323
|
+
connected_account_id: string;
|
|
324
324
|
device_id: string;
|
|
325
325
|
workspace_id: string;
|
|
326
326
|
access_code_id: string;
|
|
@@ -339,8 +339,8 @@ 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
|
-
connected_account_id: string;
|
|
343
342
|
created_at: string;
|
|
343
|
+
connected_account_id: string;
|
|
344
344
|
device_id: string;
|
|
345
345
|
workspace_id: string;
|
|
346
346
|
access_code_id: string;
|
|
@@ -348,8 +348,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
348
348
|
occurred_at: string;
|
|
349
349
|
event_type: "access_code.deleted_external_to_seam";
|
|
350
350
|
}, {
|
|
351
|
-
connected_account_id: string;
|
|
352
351
|
created_at: string;
|
|
352
|
+
connected_account_id: string;
|
|
353
353
|
device_id: string;
|
|
354
354
|
workspace_id: string;
|
|
355
355
|
access_code_id: string;
|
|
@@ -369,8 +369,8 @@ 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
|
-
connected_account_id: string;
|
|
373
372
|
created_at: string;
|
|
373
|
+
connected_account_id: string;
|
|
374
374
|
device_id: string;
|
|
375
375
|
workspace_id: string;
|
|
376
376
|
access_code_id: string;
|
|
@@ -379,8 +379,8 @@ 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
|
-
connected_account_id: string;
|
|
383
382
|
created_at: string;
|
|
383
|
+
connected_account_id: string;
|
|
384
384
|
device_id: string;
|
|
385
385
|
workspace_id: string;
|
|
386
386
|
access_code_id: string;
|
|
@@ -400,8 +400,8 @@ 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
|
-
connected_account_id: string;
|
|
404
403
|
created_at: string;
|
|
404
|
+
connected_account_id: string;
|
|
405
405
|
device_id: string;
|
|
406
406
|
workspace_id: string;
|
|
407
407
|
access_code_id: string;
|
|
@@ -409,8 +409,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
409
409
|
occurred_at: string;
|
|
410
410
|
event_type: "access_code.unmanaged.converted_to_managed";
|
|
411
411
|
}, {
|
|
412
|
-
connected_account_id: string;
|
|
413
412
|
created_at: string;
|
|
413
|
+
connected_account_id: string;
|
|
414
414
|
device_id: string;
|
|
415
415
|
workspace_id: string;
|
|
416
416
|
access_code_id: string;
|
|
@@ -429,8 +429,8 @@ 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
|
-
connected_account_id: string;
|
|
433
432
|
created_at: string;
|
|
433
|
+
connected_account_id: string;
|
|
434
434
|
device_id: string;
|
|
435
435
|
workspace_id: string;
|
|
436
436
|
access_code_id: string;
|
|
@@ -438,8 +438,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
438
438
|
occurred_at: string;
|
|
439
439
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
440
440
|
}, {
|
|
441
|
-
connected_account_id: string;
|
|
442
441
|
created_at: string;
|
|
442
|
+
connected_account_id: string;
|
|
443
443
|
device_id: string;
|
|
444
444
|
workspace_id: string;
|
|
445
445
|
access_code_id: string;
|
|
@@ -458,8 +458,8 @@ 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
|
-
connected_account_id: string;
|
|
462
461
|
created_at: string;
|
|
462
|
+
connected_account_id: string;
|
|
463
463
|
device_id: string;
|
|
464
464
|
workspace_id: string;
|
|
465
465
|
access_code_id: string;
|
|
@@ -467,8 +467,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
467
467
|
occurred_at: string;
|
|
468
468
|
event_type: "access_code.unmanaged.created";
|
|
469
469
|
}, {
|
|
470
|
-
connected_account_id: string;
|
|
471
470
|
created_at: string;
|
|
471
|
+
connected_account_id: string;
|
|
472
472
|
device_id: string;
|
|
473
473
|
workspace_id: string;
|
|
474
474
|
access_code_id: string;
|
|
@@ -487,8 +487,8 @@ 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
|
-
connected_account_id: string;
|
|
491
490
|
created_at: string;
|
|
491
|
+
connected_account_id: string;
|
|
492
492
|
device_id: string;
|
|
493
493
|
workspace_id: string;
|
|
494
494
|
access_code_id: string;
|
|
@@ -496,8 +496,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
496
496
|
occurred_at: string;
|
|
497
497
|
event_type: "access_code.unmanaged.removed";
|
|
498
498
|
}, {
|
|
499
|
-
connected_account_id: string;
|
|
500
499
|
created_at: string;
|
|
500
|
+
connected_account_id: string;
|
|
501
501
|
device_id: string;
|
|
502
502
|
workspace_id: string;
|
|
503
503
|
access_code_id: string;
|
|
@@ -826,16 +826,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
826
826
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
827
827
|
connect_webview_id: z.ZodString;
|
|
828
828
|
}>, "strip", z.ZodTypeAny, {
|
|
829
|
-
connected_account_id: string;
|
|
830
829
|
created_at: string;
|
|
830
|
+
connected_account_id: string;
|
|
831
831
|
workspace_id: string;
|
|
832
832
|
connect_webview_id: string;
|
|
833
833
|
event_id: string;
|
|
834
834
|
occurred_at: string;
|
|
835
835
|
event_type: "connected_account.connected";
|
|
836
836
|
}, {
|
|
837
|
-
connected_account_id: string;
|
|
838
837
|
created_at: string;
|
|
838
|
+
connected_account_id: string;
|
|
839
839
|
workspace_id: string;
|
|
840
840
|
connect_webview_id: string;
|
|
841
841
|
event_id: string;
|
|
@@ -852,16 +852,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
852
852
|
event_type: z.ZodLiteral<"connected_account.created">;
|
|
853
853
|
connect_webview_id: z.ZodString;
|
|
854
854
|
}>, "strip", z.ZodTypeAny, {
|
|
855
|
-
connected_account_id: string;
|
|
856
855
|
created_at: string;
|
|
856
|
+
connected_account_id: string;
|
|
857
857
|
workspace_id: string;
|
|
858
858
|
connect_webview_id: string;
|
|
859
859
|
event_id: string;
|
|
860
860
|
occurred_at: string;
|
|
861
861
|
event_type: "connected_account.created";
|
|
862
862
|
}, {
|
|
863
|
-
connected_account_id: string;
|
|
864
863
|
created_at: string;
|
|
864
|
+
connected_account_id: string;
|
|
865
865
|
workspace_id: string;
|
|
866
866
|
connect_webview_id: string;
|
|
867
867
|
event_id: string;
|
|
@@ -878,16 +878,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
878
878
|
event_type: z.ZodLiteral<"connected_account.successful_login">;
|
|
879
879
|
connect_webview_id: z.ZodString;
|
|
880
880
|
}>, "strip", z.ZodTypeAny, {
|
|
881
|
-
connected_account_id: string;
|
|
882
881
|
created_at: string;
|
|
882
|
+
connected_account_id: string;
|
|
883
883
|
workspace_id: string;
|
|
884
884
|
connect_webview_id: string;
|
|
885
885
|
event_id: string;
|
|
886
886
|
occurred_at: string;
|
|
887
887
|
event_type: "connected_account.successful_login";
|
|
888
888
|
}, {
|
|
889
|
-
connected_account_id: string;
|
|
890
889
|
created_at: string;
|
|
890
|
+
connected_account_id: string;
|
|
891
891
|
workspace_id: string;
|
|
892
892
|
connect_webview_id: string;
|
|
893
893
|
event_id: string;
|
|
@@ -903,15 +903,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
903
903
|
}>, {
|
|
904
904
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
905
905
|
}>, "strip", z.ZodTypeAny, {
|
|
906
|
-
connected_account_id: string;
|
|
907
906
|
created_at: string;
|
|
907
|
+
connected_account_id: string;
|
|
908
908
|
workspace_id: string;
|
|
909
909
|
event_id: string;
|
|
910
910
|
occurred_at: string;
|
|
911
911
|
event_type: "connected_account.disconnected";
|
|
912
912
|
}, {
|
|
913
|
-
connected_account_id: string;
|
|
914
913
|
created_at: string;
|
|
914
|
+
connected_account_id: string;
|
|
915
915
|
workspace_id: string;
|
|
916
916
|
event_id: string;
|
|
917
917
|
occurred_at: string;
|
|
@@ -926,15 +926,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
926
926
|
}>, {
|
|
927
927
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
928
928
|
}>, "strip", z.ZodTypeAny, {
|
|
929
|
-
connected_account_id: string;
|
|
930
929
|
created_at: string;
|
|
930
|
+
connected_account_id: string;
|
|
931
931
|
workspace_id: string;
|
|
932
932
|
event_id: string;
|
|
933
933
|
occurred_at: string;
|
|
934
934
|
event_type: "connected_account.completed_first_sync";
|
|
935
935
|
}, {
|
|
936
|
-
connected_account_id: string;
|
|
937
936
|
created_at: string;
|
|
937
|
+
connected_account_id: string;
|
|
938
938
|
workspace_id: string;
|
|
939
939
|
event_id: string;
|
|
940
940
|
occurred_at: string;
|
|
@@ -949,15 +949,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
949
949
|
}>, {
|
|
950
950
|
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
951
951
|
}>, "strip", z.ZodTypeAny, {
|
|
952
|
-
connected_account_id: string;
|
|
953
952
|
created_at: string;
|
|
953
|
+
connected_account_id: string;
|
|
954
954
|
workspace_id: string;
|
|
955
955
|
event_id: string;
|
|
956
956
|
occurred_at: string;
|
|
957
957
|
event_type: "connected_account.deleted";
|
|
958
958
|
}, {
|
|
959
|
-
connected_account_id: string;
|
|
960
959
|
created_at: string;
|
|
960
|
+
connected_account_id: string;
|
|
961
961
|
workspace_id: string;
|
|
962
962
|
event_id: string;
|
|
963
963
|
occurred_at: string;
|
|
@@ -972,15 +972,15 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
972
972
|
}>, {
|
|
973
973
|
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
974
974
|
}>, "strip", z.ZodTypeAny, {
|
|
975
|
-
connected_account_id: string;
|
|
976
975
|
created_at: string;
|
|
976
|
+
connected_account_id: string;
|
|
977
977
|
workspace_id: string;
|
|
978
978
|
event_id: string;
|
|
979
979
|
occurred_at: string;
|
|
980
980
|
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
981
981
|
}, {
|
|
982
|
-
connected_account_id: string;
|
|
983
982
|
created_at: string;
|
|
983
|
+
connected_account_id: string;
|
|
984
984
|
workspace_id: string;
|
|
985
985
|
event_id: string;
|
|
986
986
|
occurred_at: string;
|
|
@@ -1112,16 +1112,16 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1112
1112
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
1113
1113
|
connected_account_id: z.ZodString;
|
|
1114
1114
|
}>, "strip", z.ZodTypeAny, {
|
|
1115
|
-
connected_account_id: string;
|
|
1116
1115
|
created_at: string;
|
|
1116
|
+
connected_account_id: string;
|
|
1117
1117
|
workspace_id: string;
|
|
1118
1118
|
connect_webview_id: string;
|
|
1119
1119
|
event_id: string;
|
|
1120
1120
|
occurred_at: string;
|
|
1121
1121
|
event_type: "connect_webview.login_succeeded";
|
|
1122
1122
|
}, {
|
|
1123
|
-
connected_account_id: string;
|
|
1124
1123
|
created_at: string;
|
|
1124
|
+
connected_account_id: string;
|
|
1125
1125
|
workspace_id: string;
|
|
1126
1126
|
connect_webview_id: string;
|
|
1127
1127
|
event_id: string;
|
|
@@ -1161,16 +1161,16 @@ 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
|
-
connected_account_id: string;
|
|
1165
1164
|
created_at: string;
|
|
1165
|
+
connected_account_id: string;
|
|
1166
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
|
-
connected_account_id: string;
|
|
1173
1172
|
created_at: string;
|
|
1173
|
+
connected_account_id: string;
|
|
1174
1174
|
device_id: string;
|
|
1175
1175
|
workspace_id: string;
|
|
1176
1176
|
event_id: string;
|
|
@@ -1187,16 +1187,16 @@ 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
|
-
connected_account_id: string;
|
|
1191
1190
|
created_at: string;
|
|
1191
|
+
connected_account_id: string;
|
|
1192
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
|
-
connected_account_id: string;
|
|
1199
1198
|
created_at: string;
|
|
1199
|
+
connected_account_id: string;
|
|
1200
1200
|
device_id: string;
|
|
1201
1201
|
workspace_id: string;
|
|
1202
1202
|
event_id: string;
|
|
@@ -1213,16 +1213,16 @@ 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
|
-
connected_account_id: string;
|
|
1217
1216
|
created_at: string;
|
|
1217
|
+
connected_account_id: string;
|
|
1218
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
|
-
connected_account_id: string;
|
|
1225
1224
|
created_at: string;
|
|
1225
|
+
connected_account_id: string;
|
|
1226
1226
|
device_id: string;
|
|
1227
1227
|
workspace_id: string;
|
|
1228
1228
|
event_id: string;
|
|
@@ -1239,16 +1239,16 @@ 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
|
-
connected_account_id: string;
|
|
1243
1242
|
created_at: string;
|
|
1243
|
+
connected_account_id: string;
|
|
1244
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
|
-
connected_account_id: string;
|
|
1251
1250
|
created_at: string;
|
|
1251
|
+
connected_account_id: string;
|
|
1252
1252
|
device_id: string;
|
|
1253
1253
|
workspace_id: string;
|
|
1254
1254
|
event_id: string;
|
|
@@ -1265,16 +1265,16 @@ 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
|
-
connected_account_id: string;
|
|
1269
1268
|
created_at: string;
|
|
1269
|
+
connected_account_id: string;
|
|
1270
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
|
-
connected_account_id: string;
|
|
1277
1276
|
created_at: string;
|
|
1277
|
+
connected_account_id: string;
|
|
1278
1278
|
device_id: string;
|
|
1279
1279
|
workspace_id: string;
|
|
1280
1280
|
event_id: string;
|
|
@@ -1292,18 +1292,18 @@ 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
|
+
created_at: string;
|
|
1295
1296
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1296
1297
|
connected_account_id: string;
|
|
1297
|
-
created_at: string;
|
|
1298
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
|
+
created_at: string;
|
|
1304
1305
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1305
1306
|
connected_account_id: string;
|
|
1306
|
-
created_at: string;
|
|
1307
1307
|
device_id: string;
|
|
1308
1308
|
workspace_id: string;
|
|
1309
1309
|
event_id: string;
|
|
@@ -1321,18 +1321,18 @@ 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
|
+
created_at: string;
|
|
1324
1325
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1325
1326
|
connected_account_id: string;
|
|
1326
|
-
created_at: string;
|
|
1327
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
|
+
created_at: string;
|
|
1333
1334
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1334
1335
|
connected_account_id: string;
|
|
1335
|
-
created_at: string;
|
|
1336
1336
|
device_id: string;
|
|
1337
1337
|
workspace_id: string;
|
|
1338
1338
|
event_id: string;
|
|
@@ -1349,16 +1349,16 @@ 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
|
-
connected_account_id: string;
|
|
1353
1352
|
created_at: string;
|
|
1353
|
+
connected_account_id: string;
|
|
1354
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
|
-
connected_account_id: string;
|
|
1361
1360
|
created_at: string;
|
|
1361
|
+
connected_account_id: string;
|
|
1362
1362
|
device_id: string;
|
|
1363
1363
|
workspace_id: string;
|
|
1364
1364
|
event_id: string;
|
|
@@ -1376,8 +1376,8 @@ 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
|
-
connected_account_id: string;
|
|
1380
1379
|
created_at: string;
|
|
1380
|
+
connected_account_id: string;
|
|
1381
1381
|
device_id: string;
|
|
1382
1382
|
battery_level: number;
|
|
1383
1383
|
workspace_id: string;
|
|
@@ -1385,8 +1385,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1385
1385
|
occurred_at: string;
|
|
1386
1386
|
event_type: "device.low_battery";
|
|
1387
1387
|
}, {
|
|
1388
|
-
connected_account_id: string;
|
|
1389
1388
|
created_at: string;
|
|
1389
|
+
connected_account_id: string;
|
|
1390
1390
|
device_id: string;
|
|
1391
1391
|
battery_level: number;
|
|
1392
1392
|
workspace_id: string;
|
|
@@ -1406,8 +1406,8 @@ 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
|
-
connected_account_id: string;
|
|
1410
1409
|
created_at: string;
|
|
1410
|
+
connected_account_id: string;
|
|
1411
1411
|
device_id: string;
|
|
1412
1412
|
battery_level: number;
|
|
1413
1413
|
workspace_id: string;
|
|
@@ -1416,8 +1416,8 @@ 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
|
-
connected_account_id: string;
|
|
1420
1419
|
created_at: string;
|
|
1420
|
+
connected_account_id: string;
|
|
1421
1421
|
device_id: string;
|
|
1422
1422
|
battery_level: number;
|
|
1423
1423
|
workspace_id: string;
|
|
@@ -1436,16 +1436,16 @@ 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
|
-
connected_account_id: string;
|
|
1440
1439
|
created_at: string;
|
|
1440
|
+
connected_account_id: string;
|
|
1441
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
|
-
connected_account_id: string;
|
|
1448
1447
|
created_at: string;
|
|
1448
|
+
connected_account_id: string;
|
|
1449
1449
|
device_id: string;
|
|
1450
1450
|
workspace_id: string;
|
|
1451
1451
|
event_id: string;
|
|
@@ -1462,16 +1462,16 @@ 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
|
-
connected_account_id: string;
|
|
1466
1465
|
created_at: string;
|
|
1466
|
+
connected_account_id: string;
|
|
1467
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
|
-
connected_account_id: string;
|
|
1474
1473
|
created_at: string;
|
|
1474
|
+
connected_account_id: string;
|
|
1475
1475
|
device_id: string;
|
|
1476
1476
|
workspace_id: string;
|
|
1477
1477
|
event_id: string;
|
|
@@ -1488,16 +1488,16 @@ 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
|
-
connected_account_id: string;
|
|
1492
1491
|
created_at: string;
|
|
1492
|
+
connected_account_id: string;
|
|
1493
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
|
-
connected_account_id: string;
|
|
1500
1499
|
created_at: string;
|
|
1500
|
+
connected_account_id: string;
|
|
1501
1501
|
device_id: string;
|
|
1502
1502
|
workspace_id: string;
|
|
1503
1503
|
event_id: string;
|
|
@@ -1514,16 +1514,16 @@ 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
|
-
connected_account_id: string;
|
|
1518
1517
|
created_at: string;
|
|
1518
|
+
connected_account_id: string;
|
|
1519
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
|
-
connected_account_id: string;
|
|
1526
1525
|
created_at: string;
|
|
1526
|
+
connected_account_id: string;
|
|
1527
1527
|
device_id: string;
|
|
1528
1528
|
workspace_id: string;
|
|
1529
1529
|
event_id: string;
|
|
@@ -1540,16 +1540,16 @@ 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
|
-
connected_account_id: string;
|
|
1544
1543
|
created_at: string;
|
|
1544
|
+
connected_account_id: string;
|
|
1545
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
|
-
connected_account_id: string;
|
|
1552
1551
|
created_at: string;
|
|
1552
|
+
connected_account_id: string;
|
|
1553
1553
|
device_id: string;
|
|
1554
1554
|
workspace_id: string;
|
|
1555
1555
|
event_id: string;
|
|
@@ -1566,16 +1566,16 @@ 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
|
-
connected_account_id: string;
|
|
1570
1569
|
created_at: string;
|
|
1570
|
+
connected_account_id: string;
|
|
1571
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
|
-
connected_account_id: string;
|
|
1578
1577
|
created_at: string;
|
|
1578
|
+
connected_account_id: string;
|
|
1579
1579
|
device_id: string;
|
|
1580
1580
|
workspace_id: string;
|
|
1581
1581
|
event_id: string;
|
|
@@ -1592,16 +1592,16 @@ 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
|
-
connected_account_id: string;
|
|
1596
1595
|
created_at: string;
|
|
1596
|
+
connected_account_id: string;
|
|
1597
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
|
-
connected_account_id: string;
|
|
1604
1603
|
created_at: string;
|
|
1604
|
+
connected_account_id: string;
|
|
1605
1605
|
device_id: string;
|
|
1606
1606
|
workspace_id: string;
|
|
1607
1607
|
event_id: string;
|
|
@@ -1618,16 +1618,16 @@ 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
|
-
connected_account_id: string;
|
|
1622
1621
|
created_at: string;
|
|
1622
|
+
connected_account_id: string;
|
|
1623
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
|
-
connected_account_id: string;
|
|
1630
1629
|
created_at: string;
|
|
1630
|
+
connected_account_id: string;
|
|
1631
1631
|
device_id: string;
|
|
1632
1632
|
workspace_id: string;
|
|
1633
1633
|
event_id: string;
|
|
@@ -1644,16 +1644,16 @@ 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
|
-
connected_account_id: string;
|
|
1648
1647
|
created_at: string;
|
|
1648
|
+
connected_account_id: string;
|
|
1649
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
|
-
connected_account_id: string;
|
|
1656
1655
|
created_at: string;
|
|
1656
|
+
connected_account_id: string;
|
|
1657
1657
|
device_id: string;
|
|
1658
1658
|
workspace_id: string;
|
|
1659
1659
|
event_id: string;
|
|
@@ -1670,16 +1670,16 @@ 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
|
-
connected_account_id: string;
|
|
1674
1673
|
created_at: string;
|
|
1674
|
+
connected_account_id: string;
|
|
1675
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
|
-
connected_account_id: string;
|
|
1682
1681
|
created_at: string;
|
|
1682
|
+
connected_account_id: string;
|
|
1683
1683
|
device_id: string;
|
|
1684
1684
|
workspace_id: string;
|
|
1685
1685
|
event_id: string;
|
|
@@ -1696,16 +1696,16 @@ 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
|
-
connected_account_id: string;
|
|
1700
1699
|
created_at: string;
|
|
1700
|
+
connected_account_id: string;
|
|
1701
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
|
-
connected_account_id: string;
|
|
1708
1707
|
created_at: string;
|
|
1708
|
+
connected_account_id: string;
|
|
1709
1709
|
device_id: string;
|
|
1710
1710
|
workspace_id: string;
|
|
1711
1711
|
event_id: string;
|
|
@@ -1722,16 +1722,16 @@ 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
|
-
connected_account_id: string;
|
|
1726
1725
|
created_at: string;
|
|
1726
|
+
connected_account_id: string;
|
|
1727
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
|
-
connected_account_id: string;
|
|
1734
1733
|
created_at: string;
|
|
1734
|
+
connected_account_id: string;
|
|
1735
1735
|
device_id: string;
|
|
1736
1736
|
workspace_id: string;
|
|
1737
1737
|
event_id: string;
|
|
@@ -1754,8 +1754,8 @@ 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
|
-
connected_account_id: string;
|
|
1758
1757
|
created_at: string;
|
|
1758
|
+
connected_account_id: string;
|
|
1759
1759
|
device_id: string;
|
|
1760
1760
|
workspace_id: string;
|
|
1761
1761
|
event_id: string;
|
|
@@ -1768,8 +1768,8 @@ 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
|
-
connected_account_id: string;
|
|
1772
1771
|
created_at: string;
|
|
1772
|
+
connected_account_id: string;
|
|
1773
1773
|
device_id: string;
|
|
1774
1774
|
workspace_id: string;
|
|
1775
1775
|
event_id: string;
|
|
@@ -1796,8 +1796,8 @@ 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
|
-
connected_account_id: string;
|
|
1800
1799
|
created_at: string;
|
|
1800
|
+
connected_account_id: string;
|
|
1801
1801
|
device_id: string;
|
|
1802
1802
|
workspace_id: string;
|
|
1803
1803
|
event_id: string;
|
|
@@ -1807,8 +1807,8 @@ 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
|
-
connected_account_id: string;
|
|
1811
1810
|
created_at: string;
|
|
1811
|
+
connected_account_id: string;
|
|
1812
1812
|
device_id: string;
|
|
1813
1813
|
workspace_id: string;
|
|
1814
1814
|
event_id: string;
|
|
@@ -1831,8 +1831,8 @@ 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
|
-
connected_account_id: string;
|
|
1835
1834
|
created_at: string;
|
|
1835
|
+
connected_account_id: string;
|
|
1836
1836
|
device_id: string;
|
|
1837
1837
|
workspace_id: string;
|
|
1838
1838
|
event_id: string;
|
|
@@ -1842,8 +1842,8 @@ 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
|
-
connected_account_id: string;
|
|
1846
1845
|
created_at: string;
|
|
1846
|
+
connected_account_id: string;
|
|
1847
1847
|
device_id: string;
|
|
1848
1848
|
workspace_id: string;
|
|
1849
1849
|
event_id: string;
|
|
@@ -1863,8 +1863,8 @@ 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
|
-
connected_account_id: string;
|
|
1867
1866
|
created_at: string;
|
|
1867
|
+
connected_account_id: string;
|
|
1868
1868
|
device_id: string;
|
|
1869
1869
|
workspace_id: string;
|
|
1870
1870
|
event_id: string;
|
|
@@ -1872,8 +1872,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1872
1872
|
event_type: "lock.access_denied";
|
|
1873
1873
|
access_code_id?: string | undefined;
|
|
1874
1874
|
}, {
|
|
1875
|
-
connected_account_id: string;
|
|
1876
1875
|
created_at: string;
|
|
1876
|
+
connected_account_id: string;
|
|
1877
1877
|
device_id: string;
|
|
1878
1878
|
workspace_id: string;
|
|
1879
1879
|
event_id: string;
|
|
@@ -1894,8 +1894,8 @@ 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
|
-
connected_account_id: string;
|
|
1898
1897
|
created_at: string;
|
|
1898
|
+
connected_account_id: string;
|
|
1899
1899
|
climate_preset_key: string;
|
|
1900
1900
|
thermostat_schedule_id: string | null;
|
|
1901
1901
|
device_id: string;
|
|
@@ -1905,8 +1905,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1905
1905
|
event_type: "thermostat.climate_preset_activated";
|
|
1906
1906
|
is_fallback_climate_preset: boolean;
|
|
1907
1907
|
}, {
|
|
1908
|
-
connected_account_id: string;
|
|
1909
1908
|
created_at: string;
|
|
1909
|
+
connected_account_id: string;
|
|
1910
1910
|
climate_preset_key: string;
|
|
1911
1911
|
thermostat_schedule_id: string | null;
|
|
1912
1912
|
device_id: string;
|
|
@@ -1941,8 +1941,8 @@ 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
|
-
connected_account_id: string;
|
|
1945
1944
|
created_at: string;
|
|
1945
|
+
connected_account_id: string;
|
|
1946
1946
|
device_id: string;
|
|
1947
1947
|
workspace_id: string;
|
|
1948
1948
|
event_id: string;
|
|
@@ -1956,8 +1956,8 @@ 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
|
-
connected_account_id: string;
|
|
1960
1959
|
created_at: string;
|
|
1960
|
+
connected_account_id: string;
|
|
1961
1961
|
device_id: string;
|
|
1962
1962
|
workspace_id: string;
|
|
1963
1963
|
event_id: string;
|
|
@@ -1986,8 +1986,8 @@ 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
|
-
connected_account_id: string;
|
|
1990
1989
|
created_at: string;
|
|
1990
|
+
connected_account_id: string;
|
|
1991
1991
|
device_id: string;
|
|
1992
1992
|
temperature_fahrenheit: number;
|
|
1993
1993
|
temperature_celsius: number;
|
|
@@ -2000,8 +2000,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2000
2000
|
occurred_at: string;
|
|
2001
2001
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2002
2002
|
}, {
|
|
2003
|
-
connected_account_id: string;
|
|
2004
2003
|
created_at: string;
|
|
2004
|
+
connected_account_id: string;
|
|
2005
2005
|
device_id: string;
|
|
2006
2006
|
temperature_fahrenheit: number;
|
|
2007
2007
|
temperature_celsius: number;
|
|
@@ -2030,8 +2030,8 @@ 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
|
-
connected_account_id: string;
|
|
2034
2033
|
created_at: string;
|
|
2034
|
+
connected_account_id: string;
|
|
2035
2035
|
device_id: string;
|
|
2036
2036
|
temperature_fahrenheit: number;
|
|
2037
2037
|
temperature_celsius: number;
|
|
@@ -2044,8 +2044,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2044
2044
|
occurred_at: string;
|
|
2045
2045
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2046
2046
|
}, {
|
|
2047
|
-
connected_account_id: string;
|
|
2048
2047
|
created_at: string;
|
|
2048
|
+
connected_account_id: string;
|
|
2049
2049
|
device_id: string;
|
|
2050
2050
|
temperature_fahrenheit: number;
|
|
2051
2051
|
temperature_celsius: number;
|
|
@@ -2072,8 +2072,8 @@ 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
|
-
connected_account_id: string;
|
|
2076
2075
|
created_at: string;
|
|
2076
|
+
connected_account_id: string;
|
|
2077
2077
|
device_id: string;
|
|
2078
2078
|
temperature_fahrenheit: number;
|
|
2079
2079
|
temperature_celsius: number;
|
|
@@ -2084,8 +2084,8 @@ 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
|
-
connected_account_id: string;
|
|
2088
2087
|
created_at: string;
|
|
2088
|
+
connected_account_id: string;
|
|
2089
2089
|
device_id: string;
|
|
2090
2090
|
temperature_fahrenheit: number;
|
|
2091
2091
|
temperature_celsius: number;
|
|
@@ -2108,8 +2108,8 @@ 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
|
-
connected_account_id: string;
|
|
2112
2111
|
created_at: string;
|
|
2112
|
+
connected_account_id: string;
|
|
2113
2113
|
device_id: string;
|
|
2114
2114
|
temperature_fahrenheit: number;
|
|
2115
2115
|
temperature_celsius: number;
|
|
@@ -2118,8 +2118,8 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2118
2118
|
occurred_at: string;
|
|
2119
2119
|
event_type: "thermostat.temperature_changed";
|
|
2120
2120
|
}, {
|
|
2121
|
-
connected_account_id: string;
|
|
2122
2121
|
created_at: string;
|
|
2122
|
+
connected_account_id: string;
|
|
2123
2123
|
device_id: string;
|
|
2124
2124
|
temperature_fahrenheit: number;
|
|
2125
2125
|
temperature_celsius: number;
|
|
@@ -2132,6 +2132,35 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2132
2132
|
workspace_id: z.ZodString;
|
|
2133
2133
|
created_at: z.ZodString;
|
|
2134
2134
|
occurred_at: z.ZodString;
|
|
2135
|
+
}, {
|
|
2136
|
+
device_id: z.ZodString;
|
|
2137
|
+
connected_account_id: z.ZodString;
|
|
2138
|
+
}>, {
|
|
2139
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2140
|
+
new_name: z.ZodString;
|
|
2141
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2142
|
+
created_at: string;
|
|
2143
|
+
connected_account_id: string;
|
|
2144
|
+
device_id: string;
|
|
2145
|
+
workspace_id: string;
|
|
2146
|
+
event_id: string;
|
|
2147
|
+
occurred_at: string;
|
|
2148
|
+
event_type: "device.name_changed";
|
|
2149
|
+
new_name: string;
|
|
2150
|
+
}, {
|
|
2151
|
+
created_at: string;
|
|
2152
|
+
connected_account_id: string;
|
|
2153
|
+
device_id: string;
|
|
2154
|
+
workspace_id: string;
|
|
2155
|
+
event_id: string;
|
|
2156
|
+
occurred_at: string;
|
|
2157
|
+
event_type: "device.name_changed";
|
|
2158
|
+
new_name: string;
|
|
2159
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2160
|
+
event_id: z.ZodString;
|
|
2161
|
+
workspace_id: z.ZodString;
|
|
2162
|
+
created_at: z.ZodString;
|
|
2163
|
+
occurred_at: z.ZodString;
|
|
2135
2164
|
}, {
|
|
2136
2165
|
enrollment_automation_id: z.ZodString;
|
|
2137
2166
|
}>, {
|
|
@@ -2175,5 +2204,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2175
2204
|
event_type: "phone.deactivated";
|
|
2176
2205
|
}>]>;
|
|
2177
2206
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
2178
|
-
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2207
|
+
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_encoder.added" | "acs_encoder.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
|
|
2179
2208
|
export type SeamEventType = SeamEvent['event_type'];
|