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