@seamapi/types 1.437.0 → 1.438.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.
Files changed (35) hide show
  1. package/dist/connect.cjs +917 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1335 -0
  4. package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
  5. package/lib/seam/connect/models/events/access-codes.js +7 -0
  6. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  7. package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
  8. package/lib/seam/connect/models/events/connect-webviews.js +5 -0
  9. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  10. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
  11. package/lib/seam/connect/models/events/connected-accounts.js +4 -0
  12. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  13. package/lib/seam/connect/models/events/devices.d.ts +396 -0
  14. package/lib/seam/connect/models/events/devices.js +7 -0
  15. package/lib/seam/connect/models/events/devices.js.map +1 -1
  16. package/lib/seam/connect/models/events/phones.d.ts +6 -0
  17. package/lib/seam/connect/models/events/phones.js +4 -0
  18. package/lib/seam/connect/models/events/phones.js.map +1 -1
  19. package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
  20. package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
  21. package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
  22. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  23. package/lib/seam/connect/openapi.d.ts +537 -0
  24. package/lib/seam/connect/openapi.js +887 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +468 -0
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
  29. package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
  30. package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
  31. package/src/lib/seam/connect/models/events/devices.ts +11 -0
  32. package/src/lib/seam/connect/models/events/phones.ts +6 -0
  33. package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
  34. package/src/lib/seam/connect/openapi.ts +1003 -0
  35. package/src/lib/seam/connect/route-types.ts +904 -0
@@ -8,6 +8,8 @@ export declare const access_code_created_event: z.ZodObject<z.objectUtil.extendS
8
8
  access_code_id: z.ZodString;
9
9
  device_id: z.ZodString;
10
10
  connected_account_id: z.ZodString;
11
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
12
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
11
13
  }>, {
12
14
  event_type: z.ZodLiteral<"access_code.created">;
13
15
  }>, "strip", z.ZodTypeAny, {
@@ -19,6 +21,8 @@ export declare const access_code_created_event: z.ZodObject<z.objectUtil.extendS
19
21
  event_id: string;
20
22
  occurred_at: string;
21
23
  event_type: "access_code.created";
24
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
25
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
22
26
  }, {
23
27
  device_id: string;
24
28
  workspace_id: string;
@@ -28,6 +32,8 @@ export declare const access_code_created_event: z.ZodObject<z.objectUtil.extendS
28
32
  event_id: string;
29
33
  occurred_at: string;
30
34
  event_type: "access_code.created";
35
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
36
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
31
37
  }>;
32
38
  export type AccessCodeCreatedEvent = z.infer<typeof access_code_created_event>;
33
39
  export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -39,6 +45,8 @@ export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendS
39
45
  access_code_id: z.ZodString;
40
46
  device_id: z.ZodString;
41
47
  connected_account_id: z.ZodString;
48
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
49
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
42
50
  }>, {
43
51
  event_type: z.ZodLiteral<"access_code.changed">;
44
52
  }>, "strip", z.ZodTypeAny, {
@@ -50,6 +58,8 @@ export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendS
50
58
  event_id: string;
51
59
  occurred_at: string;
52
60
  event_type: "access_code.changed";
61
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
62
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
53
63
  }, {
54
64
  device_id: string;
55
65
  workspace_id: string;
@@ -59,6 +69,8 @@ export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendS
59
69
  event_id: string;
60
70
  occurred_at: string;
61
71
  event_type: "access_code.changed";
72
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
73
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
62
74
  }>;
63
75
  export type AccessCodeChangedEvent = z.infer<typeof access_code_changed_event>;
64
76
  export declare const access_code_scheduled_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -70,6 +82,8 @@ export declare const access_code_scheduled_on_device_event: z.ZodObject<z.object
70
82
  access_code_id: z.ZodString;
71
83
  device_id: z.ZodString;
72
84
  connected_account_id: z.ZodString;
85
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
86
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
73
87
  }>, {
74
88
  event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
75
89
  code: z.ZodString;
@@ -83,6 +97,8 @@ export declare const access_code_scheduled_on_device_event: z.ZodObject<z.object
83
97
  event_id: string;
84
98
  occurred_at: string;
85
99
  event_type: "access_code.scheduled_on_device";
100
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
101
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
86
102
  }, {
87
103
  code: string;
88
104
  device_id: string;
@@ -93,6 +109,8 @@ export declare const access_code_scheduled_on_device_event: z.ZodObject<z.object
93
109
  event_id: string;
94
110
  occurred_at: string;
95
111
  event_type: "access_code.scheduled_on_device";
112
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
113
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96
114
  }>;
97
115
  export type AccessCodeScheduledOnDeviceEvent = z.infer<typeof access_code_scheduled_on_device_event>;
98
116
  export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -104,6 +122,8 @@ export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.e
104
122
  access_code_id: z.ZodString;
105
123
  device_id: z.ZodString;
106
124
  connected_account_id: z.ZodString;
125
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
126
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
107
127
  }>, {
108
128
  event_type: z.ZodLiteral<"access_code.set_on_device">;
109
129
  code: z.ZodString;
@@ -117,6 +137,8 @@ export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.e
117
137
  event_id: string;
118
138
  occurred_at: string;
119
139
  event_type: "access_code.set_on_device";
140
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
141
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
120
142
  }, {
121
143
  code: string;
122
144
  device_id: string;
@@ -127,6 +149,8 @@ export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.e
127
149
  event_id: string;
128
150
  occurred_at: string;
129
151
  event_type: "access_code.set_on_device";
152
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
153
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
130
154
  }>;
131
155
  export type AccessCodeSetOnDeviceEvent = z.infer<typeof access_code_set_on_device_event>;
132
156
  export declare const access_code_removed_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -138,6 +162,8 @@ export declare const access_code_removed_from_device_event: z.ZodObject<z.object
138
162
  access_code_id: z.ZodString;
139
163
  device_id: z.ZodString;
140
164
  connected_account_id: z.ZodString;
165
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
166
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
141
167
  }>, {
142
168
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
143
169
  }>, "strip", z.ZodTypeAny, {
@@ -149,6 +175,8 @@ export declare const access_code_removed_from_device_event: z.ZodObject<z.object
149
175
  event_id: string;
150
176
  occurred_at: string;
151
177
  event_type: "access_code.removed_from_device";
178
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
179
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
152
180
  }, {
153
181
  device_id: string;
154
182
  workspace_id: string;
@@ -158,6 +186,8 @@ export declare const access_code_removed_from_device_event: z.ZodObject<z.object
158
186
  event_id: string;
159
187
  occurred_at: string;
160
188
  event_type: "access_code.removed_from_device";
189
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
190
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
161
191
  }>;
162
192
  export type AccessCodeRemovedFromDeviceEvent = z.infer<typeof access_code_removed_from_device_event>;
163
193
  export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -169,6 +199,8 @@ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z
169
199
  access_code_id: z.ZodString;
170
200
  device_id: z.ZodString;
171
201
  connected_account_id: z.ZodString;
202
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
203
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
172
204
  }>, {
173
205
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
174
206
  }>, "strip", z.ZodTypeAny, {
@@ -180,6 +212,8 @@ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z
180
212
  event_id: string;
181
213
  occurred_at: string;
182
214
  event_type: "access_code.delay_in_setting_on_device";
215
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
216
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
183
217
  }, {
184
218
  device_id: string;
185
219
  workspace_id: string;
@@ -189,6 +223,8 @@ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z
189
223
  event_id: string;
190
224
  occurred_at: string;
191
225
  event_type: "access_code.delay_in_setting_on_device";
226
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
227
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
192
228
  }>;
193
229
  export type AccessCodeDelayInSettingOnDeviceEvent = z.infer<typeof access_code_delay_in_setting_on_device_event>;
194
230
  export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -200,6 +236,8 @@ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.ob
200
236
  access_code_id: z.ZodString;
201
237
  device_id: z.ZodString;
202
238
  connected_account_id: z.ZodString;
239
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
240
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
203
241
  }>, {
204
242
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
205
243
  }>, "strip", z.ZodTypeAny, {
@@ -211,6 +249,8 @@ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.ob
211
249
  event_id: string;
212
250
  occurred_at: string;
213
251
  event_type: "access_code.failed_to_set_on_device";
252
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
253
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
214
254
  }, {
215
255
  device_id: string;
216
256
  workspace_id: string;
@@ -220,6 +260,8 @@ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.ob
220
260
  event_id: string;
221
261
  occurred_at: string;
222
262
  event_type: "access_code.failed_to_set_on_device";
263
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
264
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
223
265
  }>;
224
266
  export type AccessCodeFailedToSetOnDeviceEvent = z.infer<typeof access_code_failed_to_set_on_device_event>;
225
267
  export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -231,6 +273,8 @@ export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendS
231
273
  access_code_id: z.ZodString;
232
274
  device_id: z.ZodString;
233
275
  connected_account_id: z.ZodString;
276
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
277
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
234
278
  }>, {
235
279
  event_type: z.ZodLiteral<"access_code.deleted">;
236
280
  code: z.ZodNullable<z.ZodString>;
@@ -244,6 +288,8 @@ export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendS
244
288
  event_id: string;
245
289
  occurred_at: string;
246
290
  event_type: "access_code.deleted";
291
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
292
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
247
293
  }, {
248
294
  code: string | null;
249
295
  device_id: string;
@@ -254,6 +300,8 @@ export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendS
254
300
  event_id: string;
255
301
  occurred_at: string;
256
302
  event_type: "access_code.deleted";
303
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
304
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
257
305
  }>;
258
306
  export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>;
259
307
  export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -265,6 +313,8 @@ export declare const access_code_delay_in_removing_from_device_event: z.ZodObjec
265
313
  access_code_id: z.ZodString;
266
314
  device_id: z.ZodString;
267
315
  connected_account_id: z.ZodString;
316
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
317
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
268
318
  }>, {
269
319
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
270
320
  }>, "strip", z.ZodTypeAny, {
@@ -276,6 +326,8 @@ export declare const access_code_delay_in_removing_from_device_event: z.ZodObjec
276
326
  event_id: string;
277
327
  occurred_at: string;
278
328
  event_type: "access_code.delay_in_removing_from_device";
329
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
330
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
279
331
  }, {
280
332
  device_id: string;
281
333
  workspace_id: string;
@@ -285,6 +337,8 @@ export declare const access_code_delay_in_removing_from_device_event: z.ZodObjec
285
337
  event_id: string;
286
338
  occurred_at: string;
287
339
  event_type: "access_code.delay_in_removing_from_device";
340
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
341
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
288
342
  }>;
289
343
  export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<typeof access_code_delay_in_removing_from_device_event>;
290
344
  export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -296,6 +350,8 @@ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject
296
350
  access_code_id: z.ZodString;
297
351
  device_id: z.ZodString;
298
352
  connected_account_id: z.ZodString;
353
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
354
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
299
355
  }>, {
300
356
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
301
357
  }>, "strip", z.ZodTypeAny, {
@@ -307,6 +363,8 @@ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject
307
363
  event_id: string;
308
364
  occurred_at: string;
309
365
  event_type: "access_code.failed_to_remove_from_device";
366
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
367
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
310
368
  }, {
311
369
  device_id: string;
312
370
  workspace_id: string;
@@ -316,6 +374,8 @@ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject
316
374
  event_id: string;
317
375
  occurred_at: string;
318
376
  event_type: "access_code.failed_to_remove_from_device";
377
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
378
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
319
379
  }>;
320
380
  export type AccessCodeFailedToRemoveFromDeviceEvent = z.infer<typeof access_code_failed_to_remove_from_device_event>;
321
381
  export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -327,6 +387,8 @@ export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.
327
387
  access_code_id: z.ZodString;
328
388
  device_id: z.ZodString;
329
389
  connected_account_id: z.ZodString;
390
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
391
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
330
392
  }>, {
331
393
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
332
394
  }>, "strip", z.ZodTypeAny, {
@@ -338,6 +400,8 @@ export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.
338
400
  event_id: string;
339
401
  occurred_at: string;
340
402
  event_type: "access_code.modified_external_to_seam";
403
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
404
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
341
405
  }, {
342
406
  device_id: string;
343
407
  workspace_id: string;
@@ -347,6 +411,8 @@ export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.
347
411
  event_id: string;
348
412
  occurred_at: string;
349
413
  event_type: "access_code.modified_external_to_seam";
414
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
415
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
350
416
  }>;
351
417
  export type AccessCodeModifiedExternalToSeamEvent = z.infer<typeof access_code_modified_external_to_seam_event>;
352
418
  export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -358,6 +424,8 @@ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.o
358
424
  access_code_id: z.ZodString;
359
425
  device_id: z.ZodString;
360
426
  connected_account_id: z.ZodString;
427
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
428
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
361
429
  }>, {
362
430
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
363
431
  }>, "strip", z.ZodTypeAny, {
@@ -369,6 +437,8 @@ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.o
369
437
  event_id: string;
370
438
  occurred_at: string;
371
439
  event_type: "access_code.deleted_external_to_seam";
440
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
441
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
372
442
  }, {
373
443
  device_id: string;
374
444
  workspace_id: string;
@@ -378,6 +448,8 @@ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.o
378
448
  event_id: string;
379
449
  occurred_at: string;
380
450
  event_type: "access_code.deleted_external_to_seam";
451
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
452
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
381
453
  }>;
382
454
  export type AccessCodeDeletedExternalToSeamEvent = z.infer<typeof access_code_deleted_external_to_seam_event>;
383
455
  export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -389,6 +461,8 @@ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.
389
461
  access_code_id: z.ZodString;
390
462
  device_id: z.ZodString;
391
463
  connected_account_id: z.ZodString;
464
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
465
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
392
466
  }>, {
393
467
  event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
394
468
  backup_access_code_id: z.ZodString;
@@ -402,6 +476,8 @@ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.
402
476
  occurred_at: string;
403
477
  event_type: "access_code.backup_access_code_pulled";
404
478
  backup_access_code_id: string;
479
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
480
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
405
481
  }, {
406
482
  device_id: string;
407
483
  workspace_id: string;
@@ -412,6 +488,8 @@ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.
412
488
  occurred_at: string;
413
489
  event_type: "access_code.backup_access_code_pulled";
414
490
  backup_access_code_id: string;
491
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
492
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
415
493
  }>;
416
494
  export type AccessCodeBackupAccessCodePulledEvent = z.infer<typeof access_code_backup_access_code_pulled_event>;
417
495
  export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -423,6 +501,8 @@ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObje
423
501
  access_code_id: z.ZodString;
424
502
  device_id: z.ZodString;
425
503
  connected_account_id: z.ZodString;
504
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
505
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
426
506
  }>, {
427
507
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
428
508
  }>, "strip", z.ZodTypeAny, {
@@ -434,6 +514,8 @@ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObje
434
514
  event_id: string;
435
515
  occurred_at: string;
436
516
  event_type: "access_code.unmanaged.converted_to_managed";
517
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
518
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
437
519
  }, {
438
520
  device_id: string;
439
521
  workspace_id: string;
@@ -443,6 +525,8 @@ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObje
443
525
  event_id: string;
444
526
  occurred_at: string;
445
527
  event_type: "access_code.unmanaged.converted_to_managed";
528
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
529
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
446
530
  }>;
447
531
  export type UnmanagedAccessCodeConvertedToManagedEvent = z.infer<typeof unmanaged_access_code_converted_to_managed_event>;
448
532
  export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -454,6 +538,8 @@ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z
454
538
  access_code_id: z.ZodString;
455
539
  device_id: z.ZodString;
456
540
  connected_account_id: z.ZodString;
541
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
542
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
457
543
  }>, {
458
544
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
459
545
  }>, "strip", z.ZodTypeAny, {
@@ -465,6 +551,8 @@ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z
465
551
  event_id: string;
466
552
  occurred_at: string;
467
553
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
554
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
555
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
468
556
  }, {
469
557
  device_id: string;
470
558
  workspace_id: string;
@@ -474,6 +562,8 @@ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z
474
562
  event_id: string;
475
563
  occurred_at: string;
476
564
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
565
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
566
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
477
567
  }>;
478
568
  export type UnmanagedAccessCodeFailedToConvertToManagedEvent = z.infer<typeof unmanaged_access_code_failed_to_convert_to_managed_event>;
479
569
  export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -485,6 +575,8 @@ export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUt
485
575
  access_code_id: z.ZodString;
486
576
  device_id: z.ZodString;
487
577
  connected_account_id: z.ZodString;
578
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
579
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
488
580
  }>, {
489
581
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
490
582
  }>, "strip", z.ZodTypeAny, {
@@ -496,6 +588,8 @@ export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUt
496
588
  event_id: string;
497
589
  occurred_at: string;
498
590
  event_type: "access_code.unmanaged.created";
591
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
592
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
499
593
  }, {
500
594
  device_id: string;
501
595
  workspace_id: string;
@@ -505,6 +599,8 @@ export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUt
505
599
  event_id: string;
506
600
  occurred_at: string;
507
601
  event_type: "access_code.unmanaged.created";
602
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
603
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
508
604
  }>;
509
605
  export type UnmanagedAccessCodeCreatedEvent = z.infer<typeof unmanaged_access_code_created_event>;
510
606
  export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -516,6 +612,8 @@ export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUt
516
612
  access_code_id: z.ZodString;
517
613
  device_id: z.ZodString;
518
614
  connected_account_id: z.ZodString;
615
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
616
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
519
617
  }>, {
520
618
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
521
619
  }>, "strip", z.ZodTypeAny, {
@@ -527,6 +625,8 @@ export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUt
527
625
  event_id: string;
528
626
  occurred_at: string;
529
627
  event_type: "access_code.unmanaged.removed";
628
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
629
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
530
630
  }, {
531
631
  device_id: string;
532
632
  workspace_id: string;
@@ -536,6 +636,8 @@ export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUt
536
636
  event_id: string;
537
637
  occurred_at: string;
538
638
  event_type: "access_code.unmanaged.removed";
639
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
640
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
539
641
  }>;
540
642
  export type UnmanagedAccessCodeRemovedEvent = z.infer<typeof unmanaged_access_code_removed_event>;
541
643
  export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -547,6 +649,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
547
649
  access_code_id: z.ZodString;
548
650
  device_id: z.ZodString;
549
651
  connected_account_id: z.ZodString;
652
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
653
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
550
654
  }>, {
551
655
  event_type: z.ZodLiteral<"access_code.created">;
552
656
  }>, "strip", z.ZodTypeAny, {
@@ -558,6 +662,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
558
662
  event_id: string;
559
663
  occurred_at: string;
560
664
  event_type: "access_code.created";
665
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
666
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
561
667
  }, {
562
668
  device_id: string;
563
669
  workspace_id: string;
@@ -567,6 +673,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
567
673
  event_id: string;
568
674
  occurred_at: string;
569
675
  event_type: "access_code.created";
676
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
677
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
570
678
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
571
679
  event_id: z.ZodString;
572
680
  workspace_id: z.ZodString;
@@ -576,6 +684,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
576
684
  access_code_id: z.ZodString;
577
685
  device_id: z.ZodString;
578
686
  connected_account_id: z.ZodString;
687
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
688
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
579
689
  }>, {
580
690
  event_type: z.ZodLiteral<"access_code.changed">;
581
691
  }>, "strip", z.ZodTypeAny, {
@@ -587,6 +697,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
587
697
  event_id: string;
588
698
  occurred_at: string;
589
699
  event_type: "access_code.changed";
700
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
701
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
590
702
  }, {
591
703
  device_id: string;
592
704
  workspace_id: string;
@@ -596,6 +708,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
596
708
  event_id: string;
597
709
  occurred_at: string;
598
710
  event_type: "access_code.changed";
711
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
712
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
599
713
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
600
714
  event_id: z.ZodString;
601
715
  workspace_id: z.ZodString;
@@ -605,6 +719,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
605
719
  access_code_id: z.ZodString;
606
720
  device_id: z.ZodString;
607
721
  connected_account_id: z.ZodString;
722
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
723
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
608
724
  }>, {
609
725
  event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
610
726
  code: z.ZodString;
@@ -618,6 +734,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
618
734
  event_id: string;
619
735
  occurred_at: string;
620
736
  event_type: "access_code.scheduled_on_device";
737
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
738
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
621
739
  }, {
622
740
  code: string;
623
741
  device_id: string;
@@ -628,6 +746,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
628
746
  event_id: string;
629
747
  occurred_at: string;
630
748
  event_type: "access_code.scheduled_on_device";
749
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
750
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
631
751
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
632
752
  event_id: z.ZodString;
633
753
  workspace_id: z.ZodString;
@@ -637,6 +757,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
637
757
  access_code_id: z.ZodString;
638
758
  device_id: z.ZodString;
639
759
  connected_account_id: z.ZodString;
760
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
761
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
640
762
  }>, {
641
763
  event_type: z.ZodLiteral<"access_code.set_on_device">;
642
764
  code: z.ZodString;
@@ -650,6 +772,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
650
772
  event_id: string;
651
773
  occurred_at: string;
652
774
  event_type: "access_code.set_on_device";
775
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
776
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
653
777
  }, {
654
778
  code: string;
655
779
  device_id: string;
@@ -660,6 +784,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
660
784
  event_id: string;
661
785
  occurred_at: string;
662
786
  event_type: "access_code.set_on_device";
787
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
788
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
663
789
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
664
790
  event_id: z.ZodString;
665
791
  workspace_id: z.ZodString;
@@ -669,6 +795,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
669
795
  access_code_id: z.ZodString;
670
796
  device_id: z.ZodString;
671
797
  connected_account_id: z.ZodString;
798
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
799
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
672
800
  }>, {
673
801
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
674
802
  }>, "strip", z.ZodTypeAny, {
@@ -680,6 +808,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
680
808
  event_id: string;
681
809
  occurred_at: string;
682
810
  event_type: "access_code.removed_from_device";
811
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
812
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
683
813
  }, {
684
814
  device_id: string;
685
815
  workspace_id: string;
@@ -689,6 +819,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
689
819
  event_id: string;
690
820
  occurred_at: string;
691
821
  event_type: "access_code.removed_from_device";
822
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
823
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
692
824
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
693
825
  event_id: z.ZodString;
694
826
  workspace_id: z.ZodString;
@@ -698,6 +830,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
698
830
  access_code_id: z.ZodString;
699
831
  device_id: z.ZodString;
700
832
  connected_account_id: z.ZodString;
833
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
834
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
701
835
  }>, {
702
836
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
703
837
  }>, "strip", z.ZodTypeAny, {
@@ -709,6 +843,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
709
843
  event_id: string;
710
844
  occurred_at: string;
711
845
  event_type: "access_code.delay_in_setting_on_device";
846
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
847
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
712
848
  }, {
713
849
  device_id: string;
714
850
  workspace_id: string;
@@ -718,6 +854,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
718
854
  event_id: string;
719
855
  occurred_at: string;
720
856
  event_type: "access_code.delay_in_setting_on_device";
857
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
858
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
721
859
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
722
860
  event_id: z.ZodString;
723
861
  workspace_id: z.ZodString;
@@ -727,6 +865,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
727
865
  access_code_id: z.ZodString;
728
866
  device_id: z.ZodString;
729
867
  connected_account_id: z.ZodString;
868
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
869
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
730
870
  }>, {
731
871
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
732
872
  }>, "strip", z.ZodTypeAny, {
@@ -738,6 +878,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
738
878
  event_id: string;
739
879
  occurred_at: string;
740
880
  event_type: "access_code.failed_to_set_on_device";
881
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
882
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
741
883
  }, {
742
884
  device_id: string;
743
885
  workspace_id: string;
@@ -747,6 +889,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
747
889
  event_id: string;
748
890
  occurred_at: string;
749
891
  event_type: "access_code.failed_to_set_on_device";
892
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
893
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
750
894
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
751
895
  event_id: z.ZodString;
752
896
  workspace_id: z.ZodString;
@@ -756,6 +900,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
756
900
  access_code_id: z.ZodString;
757
901
  device_id: z.ZodString;
758
902
  connected_account_id: z.ZodString;
903
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
904
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
759
905
  }>, {
760
906
  event_type: z.ZodLiteral<"access_code.deleted">;
761
907
  code: z.ZodNullable<z.ZodString>;
@@ -769,6 +915,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
769
915
  event_id: string;
770
916
  occurred_at: string;
771
917
  event_type: "access_code.deleted";
918
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
919
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
772
920
  }, {
773
921
  code: string | null;
774
922
  device_id: string;
@@ -779,6 +927,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
779
927
  event_id: string;
780
928
  occurred_at: string;
781
929
  event_type: "access_code.deleted";
930
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
931
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
782
932
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
783
933
  event_id: z.ZodString;
784
934
  workspace_id: z.ZodString;
@@ -788,6 +938,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
788
938
  access_code_id: z.ZodString;
789
939
  device_id: z.ZodString;
790
940
  connected_account_id: z.ZodString;
941
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
942
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
791
943
  }>, {
792
944
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
793
945
  }>, "strip", z.ZodTypeAny, {
@@ -799,6 +951,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
799
951
  event_id: string;
800
952
  occurred_at: string;
801
953
  event_type: "access_code.delay_in_removing_from_device";
954
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
955
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
802
956
  }, {
803
957
  device_id: string;
804
958
  workspace_id: string;
@@ -808,6 +962,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
808
962
  event_id: string;
809
963
  occurred_at: string;
810
964
  event_type: "access_code.delay_in_removing_from_device";
965
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
966
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
811
967
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
812
968
  event_id: z.ZodString;
813
969
  workspace_id: z.ZodString;
@@ -817,6 +973,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
817
973
  access_code_id: z.ZodString;
818
974
  device_id: z.ZodString;
819
975
  connected_account_id: z.ZodString;
976
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
977
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
820
978
  }>, {
821
979
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
822
980
  }>, "strip", z.ZodTypeAny, {
@@ -828,6 +986,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
828
986
  event_id: string;
829
987
  occurred_at: string;
830
988
  event_type: "access_code.failed_to_remove_from_device";
989
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
990
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
831
991
  }, {
832
992
  device_id: string;
833
993
  workspace_id: string;
@@ -837,6 +997,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
837
997
  event_id: string;
838
998
  occurred_at: string;
839
999
  event_type: "access_code.failed_to_remove_from_device";
1000
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1001
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
840
1002
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
841
1003
  event_id: z.ZodString;
842
1004
  workspace_id: z.ZodString;
@@ -846,6 +1008,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
846
1008
  access_code_id: z.ZodString;
847
1009
  device_id: z.ZodString;
848
1010
  connected_account_id: z.ZodString;
1011
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1012
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
849
1013
  }>, {
850
1014
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
851
1015
  }>, "strip", z.ZodTypeAny, {
@@ -857,6 +1021,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
857
1021
  event_id: string;
858
1022
  occurred_at: string;
859
1023
  event_type: "access_code.modified_external_to_seam";
1024
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1025
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
860
1026
  }, {
861
1027
  device_id: string;
862
1028
  workspace_id: string;
@@ -866,6 +1032,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
866
1032
  event_id: string;
867
1033
  occurred_at: string;
868
1034
  event_type: "access_code.modified_external_to_seam";
1035
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1036
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
869
1037
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
870
1038
  event_id: z.ZodString;
871
1039
  workspace_id: z.ZodString;
@@ -875,6 +1043,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
875
1043
  access_code_id: z.ZodString;
876
1044
  device_id: z.ZodString;
877
1045
  connected_account_id: z.ZodString;
1046
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1047
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
878
1048
  }>, {
879
1049
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
880
1050
  }>, "strip", z.ZodTypeAny, {
@@ -886,6 +1056,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
886
1056
  event_id: string;
887
1057
  occurred_at: string;
888
1058
  event_type: "access_code.deleted_external_to_seam";
1059
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1060
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
889
1061
  }, {
890
1062
  device_id: string;
891
1063
  workspace_id: string;
@@ -895,6 +1067,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
895
1067
  event_id: string;
896
1068
  occurred_at: string;
897
1069
  event_type: "access_code.deleted_external_to_seam";
1070
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1071
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
898
1072
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
899
1073
  event_id: z.ZodString;
900
1074
  workspace_id: z.ZodString;
@@ -904,6 +1078,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
904
1078
  access_code_id: z.ZodString;
905
1079
  device_id: z.ZodString;
906
1080
  connected_account_id: z.ZodString;
1081
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1082
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
907
1083
  }>, {
908
1084
  event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
909
1085
  backup_access_code_id: z.ZodString;
@@ -917,6 +1093,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
917
1093
  occurred_at: string;
918
1094
  event_type: "access_code.backup_access_code_pulled";
919
1095
  backup_access_code_id: string;
1096
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1097
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
920
1098
  }, {
921
1099
  device_id: string;
922
1100
  workspace_id: string;
@@ -927,6 +1105,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
927
1105
  occurred_at: string;
928
1106
  event_type: "access_code.backup_access_code_pulled";
929
1107
  backup_access_code_id: string;
1108
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1109
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
930
1110
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
931
1111
  event_id: z.ZodString;
932
1112
  workspace_id: z.ZodString;
@@ -936,6 +1116,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
936
1116
  access_code_id: z.ZodString;
937
1117
  device_id: z.ZodString;
938
1118
  connected_account_id: z.ZodString;
1119
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1120
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
939
1121
  }>, {
940
1122
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
941
1123
  }>, "strip", z.ZodTypeAny, {
@@ -947,6 +1129,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
947
1129
  event_id: string;
948
1130
  occurred_at: string;
949
1131
  event_type: "access_code.unmanaged.converted_to_managed";
1132
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1133
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
950
1134
  }, {
951
1135
  device_id: string;
952
1136
  workspace_id: string;
@@ -956,6 +1140,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
956
1140
  event_id: string;
957
1141
  occurred_at: string;
958
1142
  event_type: "access_code.unmanaged.converted_to_managed";
1143
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1144
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
959
1145
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
960
1146
  event_id: z.ZodString;
961
1147
  workspace_id: z.ZodString;
@@ -965,6 +1151,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
965
1151
  access_code_id: z.ZodString;
966
1152
  device_id: z.ZodString;
967
1153
  connected_account_id: z.ZodString;
1154
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1155
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
968
1156
  }>, {
969
1157
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
970
1158
  }>, "strip", z.ZodTypeAny, {
@@ -976,6 +1164,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
976
1164
  event_id: string;
977
1165
  occurred_at: string;
978
1166
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
1167
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1168
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
979
1169
  }, {
980
1170
  device_id: string;
981
1171
  workspace_id: string;
@@ -985,6 +1175,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
985
1175
  event_id: string;
986
1176
  occurred_at: string;
987
1177
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
1178
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1179
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
988
1180
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
989
1181
  event_id: z.ZodString;
990
1182
  workspace_id: z.ZodString;
@@ -994,6 +1186,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
994
1186
  access_code_id: z.ZodString;
995
1187
  device_id: z.ZodString;
996
1188
  connected_account_id: z.ZodString;
1189
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1190
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
997
1191
  }>, {
998
1192
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
999
1193
  }>, "strip", z.ZodTypeAny, {
@@ -1005,6 +1199,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
1005
1199
  event_id: string;
1006
1200
  occurred_at: string;
1007
1201
  event_type: "access_code.unmanaged.created";
1202
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1203
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1008
1204
  }, {
1009
1205
  device_id: string;
1010
1206
  workspace_id: string;
@@ -1014,6 +1210,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
1014
1210
  event_id: string;
1015
1211
  occurred_at: string;
1016
1212
  event_type: "access_code.unmanaged.created";
1213
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1214
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1017
1215
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1018
1216
  event_id: z.ZodString;
1019
1217
  workspace_id: z.ZodString;
@@ -1023,6 +1221,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
1023
1221
  access_code_id: z.ZodString;
1024
1222
  device_id: z.ZodString;
1025
1223
  connected_account_id: z.ZodString;
1224
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1225
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1026
1226
  }>, {
1027
1227
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
1028
1228
  }>, "strip", z.ZodTypeAny, {
@@ -1034,6 +1234,8 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
1034
1234
  event_id: string;
1035
1235
  occurred_at: string;
1036
1236
  event_type: "access_code.unmanaged.removed";
1237
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1238
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1037
1239
  }, {
1038
1240
  device_id: string;
1039
1241
  workspace_id: string;
@@ -1043,4 +1245,6 @@ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.exte
1043
1245
  event_id: string;
1044
1246
  occurred_at: string;
1045
1247
  event_type: "access_code.unmanaged.removed";
1248
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
1249
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1046
1250
  }>];