@seamapi/types 1.210.0 → 1.211.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 (46) hide show
  1. package/dist/connect.d.cts +2793 -1343
  2. package/dist/devicedb.d.cts +199 -795
  3. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  4. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  5. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  9. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  11. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  12. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  14. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  21. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  22. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  25. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  26. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  28. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  29. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  30. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  31. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  32. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  33. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  34. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  35. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  37. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  38. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  39. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  40. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  42. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  43. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  46. package/package.json +5 -1
@@ -1,14 +1,16 @@
1
1
  import { z } from 'zod';
2
- export declare const access_code_created_event: z.ZodObject<{
3
- connected_account_id: z.ZodString;
4
- created_at: z.ZodString;
5
- device_id: z.ZodString;
6
- workspace_id: z.ZodString;
7
- access_code_id: z.ZodString;
2
+ export declare const access_code_created_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8
3
  event_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
9
6
  occurred_at: z.ZodString;
7
+ }, {
8
+ access_code_id: z.ZodString;
9
+ device_id: z.ZodString;
10
+ connected_account_id: z.ZodString;
11
+ }>, {
10
12
  event_type: z.ZodLiteral<"access_code.created">;
11
- }, "strip", z.ZodTypeAny, {
13
+ }>, "strip", z.ZodTypeAny, {
12
14
  connected_account_id: string;
13
15
  created_at: string;
14
16
  device_id: string;
@@ -28,16 +30,18 @@ export declare const access_code_created_event: z.ZodObject<{
28
30
  event_type: "access_code.created";
29
31
  }>;
30
32
  export type AccessCodeCreatedEvent = z.infer<typeof access_code_created_event>;
31
- export declare const access_code_changed_event: z.ZodObject<{
32
- connected_account_id: z.ZodString;
33
- created_at: z.ZodString;
34
- device_id: z.ZodString;
35
- workspace_id: z.ZodString;
36
- access_code_id: z.ZodString;
33
+ export declare const access_code_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
37
34
  event_id: z.ZodString;
35
+ workspace_id: z.ZodString;
36
+ created_at: z.ZodString;
38
37
  occurred_at: z.ZodString;
38
+ }, {
39
+ access_code_id: z.ZodString;
40
+ device_id: z.ZodString;
41
+ connected_account_id: z.ZodString;
42
+ }>, {
39
43
  event_type: z.ZodLiteral<"access_code.changed">;
40
- }, "strip", z.ZodTypeAny, {
44
+ }>, "strip", z.ZodTypeAny, {
41
45
  connected_account_id: string;
42
46
  created_at: string;
43
47
  device_id: string;
@@ -57,17 +61,19 @@ export declare const access_code_changed_event: z.ZodObject<{
57
61
  event_type: "access_code.changed";
58
62
  }>;
59
63
  export type AccessCodeChangedEvent = z.infer<typeof access_code_changed_event>;
60
- export declare const access_code_scheduled_on_device_event: z.ZodObject<{
61
- connected_account_id: z.ZodString;
62
- created_at: z.ZodString;
63
- device_id: z.ZodString;
64
- workspace_id: z.ZodString;
65
- access_code_id: z.ZodString;
64
+ export declare const access_code_scheduled_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
66
65
  event_id: z.ZodString;
66
+ workspace_id: z.ZodString;
67
+ created_at: z.ZodString;
67
68
  occurred_at: z.ZodString;
69
+ }, {
70
+ access_code_id: z.ZodString;
71
+ device_id: z.ZodString;
72
+ connected_account_id: z.ZodString;
73
+ }>, {
68
74
  event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
69
75
  code: z.ZodString;
70
- }, "strip", z.ZodTypeAny, {
76
+ }>, "strip", z.ZodTypeAny, {
71
77
  code: string;
72
78
  connected_account_id: string;
73
79
  created_at: string;
@@ -89,17 +95,19 @@ export declare const access_code_scheduled_on_device_event: z.ZodObject<{
89
95
  event_type: "access_code.scheduled_on_device";
90
96
  }>;
91
97
  export type AccessCodeScheduledOnDeviceEvent = z.infer<typeof access_code_scheduled_on_device_event>;
92
- export declare const access_code_set_on_device_event: z.ZodObject<{
93
- connected_account_id: z.ZodString;
94
- created_at: z.ZodString;
95
- device_id: z.ZodString;
96
- workspace_id: z.ZodString;
97
- access_code_id: z.ZodString;
98
+ export declare const access_code_set_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
98
99
  event_id: z.ZodString;
100
+ workspace_id: z.ZodString;
101
+ created_at: z.ZodString;
99
102
  occurred_at: z.ZodString;
103
+ }, {
104
+ access_code_id: z.ZodString;
105
+ device_id: z.ZodString;
106
+ connected_account_id: z.ZodString;
107
+ }>, {
100
108
  event_type: z.ZodLiteral<"access_code.set_on_device">;
101
109
  code: z.ZodString;
102
- }, "strip", z.ZodTypeAny, {
110
+ }>, "strip", z.ZodTypeAny, {
103
111
  code: string;
104
112
  connected_account_id: string;
105
113
  created_at: string;
@@ -121,16 +129,18 @@ export declare const access_code_set_on_device_event: z.ZodObject<{
121
129
  event_type: "access_code.set_on_device";
122
130
  }>;
123
131
  export type AccessCodeSetOnDeviceEvent = z.infer<typeof access_code_set_on_device_event>;
124
- export declare const access_code_removed_from_device_event: z.ZodObject<{
125
- connected_account_id: z.ZodString;
126
- created_at: z.ZodString;
127
- device_id: z.ZodString;
128
- workspace_id: z.ZodString;
129
- access_code_id: z.ZodString;
132
+ export declare const access_code_removed_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
130
133
  event_id: z.ZodString;
134
+ workspace_id: z.ZodString;
135
+ created_at: z.ZodString;
131
136
  occurred_at: z.ZodString;
137
+ }, {
138
+ access_code_id: z.ZodString;
139
+ device_id: z.ZodString;
140
+ connected_account_id: z.ZodString;
141
+ }>, {
132
142
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
133
- }, "strip", z.ZodTypeAny, {
143
+ }>, "strip", z.ZodTypeAny, {
134
144
  connected_account_id: string;
135
145
  created_at: string;
136
146
  device_id: string;
@@ -150,16 +160,18 @@ export declare const access_code_removed_from_device_event: z.ZodObject<{
150
160
  event_type: "access_code.removed_from_device";
151
161
  }>;
152
162
  export type AccessCodeRemovedFromDeviceEvent = z.infer<typeof access_code_removed_from_device_event>;
153
- export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<{
154
- connected_account_id: z.ZodString;
155
- created_at: z.ZodString;
156
- device_id: z.ZodString;
157
- workspace_id: z.ZodString;
158
- access_code_id: z.ZodString;
163
+ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
159
164
  event_id: z.ZodString;
165
+ workspace_id: z.ZodString;
166
+ created_at: z.ZodString;
160
167
  occurred_at: z.ZodString;
168
+ }, {
169
+ access_code_id: z.ZodString;
170
+ device_id: z.ZodString;
171
+ connected_account_id: z.ZodString;
172
+ }>, {
161
173
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
162
- }, "strip", z.ZodTypeAny, {
174
+ }>, "strip", z.ZodTypeAny, {
163
175
  connected_account_id: string;
164
176
  created_at: string;
165
177
  device_id: string;
@@ -179,16 +191,18 @@ export declare const access_code_delay_in_setting_on_device_event: z.ZodObject<{
179
191
  event_type: "access_code.delay_in_setting_on_device";
180
192
  }>;
181
193
  export type AccessCodeDelayInSettingOnDeviceEvent = z.infer<typeof access_code_delay_in_setting_on_device_event>;
182
- export declare const access_code_failed_to_set_on_device_event: z.ZodObject<{
183
- connected_account_id: z.ZodString;
184
- created_at: z.ZodString;
185
- device_id: z.ZodString;
186
- workspace_id: z.ZodString;
187
- access_code_id: z.ZodString;
194
+ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
188
195
  event_id: z.ZodString;
196
+ workspace_id: z.ZodString;
197
+ created_at: z.ZodString;
189
198
  occurred_at: z.ZodString;
199
+ }, {
200
+ access_code_id: z.ZodString;
201
+ device_id: z.ZodString;
202
+ connected_account_id: z.ZodString;
203
+ }>, {
190
204
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
191
- }, "strip", z.ZodTypeAny, {
205
+ }>, "strip", z.ZodTypeAny, {
192
206
  connected_account_id: string;
193
207
  created_at: string;
194
208
  device_id: string;
@@ -208,17 +222,19 @@ export declare const access_code_failed_to_set_on_device_event: z.ZodObject<{
208
222
  event_type: "access_code.failed_to_set_on_device";
209
223
  }>;
210
224
  export type AccessCodeFailedToSetOnDeviceEvent = z.infer<typeof access_code_failed_to_set_on_device_event>;
211
- export declare const access_code_deleted_event: z.ZodObject<{
212
- connected_account_id: z.ZodString;
213
- created_at: z.ZodString;
214
- device_id: z.ZodString;
215
- workspace_id: z.ZodString;
216
- access_code_id: z.ZodString;
225
+ export declare const access_code_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
217
226
  event_id: z.ZodString;
227
+ workspace_id: z.ZodString;
228
+ created_at: z.ZodString;
218
229
  occurred_at: z.ZodString;
230
+ }, {
231
+ access_code_id: z.ZodString;
232
+ device_id: z.ZodString;
233
+ connected_account_id: z.ZodString;
234
+ }>, {
219
235
  event_type: z.ZodLiteral<"access_code.deleted">;
220
236
  code: z.ZodNullable<z.ZodString>;
221
- }, "strip", z.ZodTypeAny, {
237
+ }>, "strip", z.ZodTypeAny, {
222
238
  code: string | null;
223
239
  connected_account_id: string;
224
240
  created_at: string;
@@ -240,16 +256,18 @@ export declare const access_code_deleted_event: z.ZodObject<{
240
256
  event_type: "access_code.deleted";
241
257
  }>;
242
258
  export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>;
243
- export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<{
244
- connected_account_id: z.ZodString;
245
- created_at: z.ZodString;
246
- device_id: z.ZodString;
247
- workspace_id: z.ZodString;
248
- access_code_id: z.ZodString;
259
+ export declare const access_code_delay_in_removing_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
249
260
  event_id: z.ZodString;
261
+ workspace_id: z.ZodString;
262
+ created_at: z.ZodString;
250
263
  occurred_at: z.ZodString;
264
+ }, {
265
+ access_code_id: z.ZodString;
266
+ device_id: z.ZodString;
267
+ connected_account_id: z.ZodString;
268
+ }>, {
251
269
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
252
- }, "strip", z.ZodTypeAny, {
270
+ }>, "strip", z.ZodTypeAny, {
253
271
  connected_account_id: string;
254
272
  created_at: string;
255
273
  device_id: string;
@@ -269,16 +287,18 @@ export declare const access_code_delay_in_removing_from_device_event: z.ZodObjec
269
287
  event_type: "access_code.delay_in_removing_from_device";
270
288
  }>;
271
289
  export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<typeof access_code_delay_in_removing_from_device_event>;
272
- export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<{
273
- connected_account_id: z.ZodString;
274
- created_at: z.ZodString;
275
- device_id: z.ZodString;
276
- workspace_id: z.ZodString;
277
- access_code_id: z.ZodString;
290
+ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
278
291
  event_id: z.ZodString;
292
+ workspace_id: z.ZodString;
293
+ created_at: z.ZodString;
279
294
  occurred_at: z.ZodString;
295
+ }, {
296
+ access_code_id: z.ZodString;
297
+ device_id: z.ZodString;
298
+ connected_account_id: z.ZodString;
299
+ }>, {
280
300
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
281
- }, "strip", z.ZodTypeAny, {
301
+ }>, "strip", z.ZodTypeAny, {
282
302
  connected_account_id: string;
283
303
  created_at: string;
284
304
  device_id: string;
@@ -298,16 +318,18 @@ export declare const access_code_failed_to_remove_from_device_event: z.ZodObject
298
318
  event_type: "access_code.failed_to_remove_from_device";
299
319
  }>;
300
320
  export type AccessCodeFailedToRemoveFromDeviceEvent = z.infer<typeof access_code_failed_to_remove_from_device_event>;
301
- export declare const access_code_modified_external_to_seam_event: z.ZodObject<{
302
- connected_account_id: z.ZodString;
303
- created_at: z.ZodString;
304
- device_id: z.ZodString;
305
- workspace_id: z.ZodString;
306
- access_code_id: z.ZodString;
321
+ export declare const access_code_modified_external_to_seam_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
307
322
  event_id: z.ZodString;
323
+ workspace_id: z.ZodString;
324
+ created_at: z.ZodString;
308
325
  occurred_at: z.ZodString;
326
+ }, {
327
+ access_code_id: z.ZodString;
328
+ device_id: z.ZodString;
329
+ connected_account_id: z.ZodString;
330
+ }>, {
309
331
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
310
- }, "strip", z.ZodTypeAny, {
332
+ }>, "strip", z.ZodTypeAny, {
311
333
  connected_account_id: string;
312
334
  created_at: string;
313
335
  device_id: string;
@@ -327,16 +349,18 @@ export declare const access_code_modified_external_to_seam_event: z.ZodObject<{
327
349
  event_type: "access_code.modified_external_to_seam";
328
350
  }>;
329
351
  export type AccessCodeModifiedExternalToSeamEvent = z.infer<typeof access_code_modified_external_to_seam_event>;
330
- export declare const access_code_deleted_external_to_seam_event: z.ZodObject<{
331
- connected_account_id: z.ZodString;
332
- created_at: z.ZodString;
333
- device_id: z.ZodString;
334
- workspace_id: z.ZodString;
335
- access_code_id: z.ZodString;
352
+ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
336
353
  event_id: z.ZodString;
354
+ workspace_id: z.ZodString;
355
+ created_at: z.ZodString;
337
356
  occurred_at: z.ZodString;
357
+ }, {
358
+ access_code_id: z.ZodString;
359
+ device_id: z.ZodString;
360
+ connected_account_id: z.ZodString;
361
+ }>, {
338
362
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
339
- }, "strip", z.ZodTypeAny, {
363
+ }>, "strip", z.ZodTypeAny, {
340
364
  connected_account_id: string;
341
365
  created_at: string;
342
366
  device_id: string;
@@ -356,17 +380,19 @@ export declare const access_code_deleted_external_to_seam_event: z.ZodObject<{
356
380
  event_type: "access_code.deleted_external_to_seam";
357
381
  }>;
358
382
  export type AccessCodeDeletedExternalToSeamEvent = z.infer<typeof access_code_deleted_external_to_seam_event>;
359
- export declare const access_code_backup_access_code_pulled_event: z.ZodObject<{
360
- connected_account_id: z.ZodString;
361
- created_at: z.ZodString;
362
- device_id: z.ZodString;
363
- workspace_id: z.ZodString;
364
- access_code_id: z.ZodString;
383
+ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
365
384
  event_id: z.ZodString;
385
+ workspace_id: z.ZodString;
386
+ created_at: z.ZodString;
366
387
  occurred_at: z.ZodString;
388
+ }, {
389
+ access_code_id: z.ZodString;
390
+ device_id: z.ZodString;
391
+ connected_account_id: z.ZodString;
392
+ }>, {
367
393
  event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
368
394
  backup_access_code_id: z.ZodString;
369
- }, "strip", z.ZodTypeAny, {
395
+ }>, "strip", z.ZodTypeAny, {
370
396
  connected_account_id: string;
371
397
  created_at: string;
372
398
  device_id: string;
@@ -388,16 +414,18 @@ export declare const access_code_backup_access_code_pulled_event: z.ZodObject<{
388
414
  backup_access_code_id: string;
389
415
  }>;
390
416
  export type AccessCodeBackupAccessCodePulledEvent = z.infer<typeof access_code_backup_access_code_pulled_event>;
391
- export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<{
392
- connected_account_id: z.ZodString;
393
- created_at: z.ZodString;
394
- device_id: z.ZodString;
395
- workspace_id: z.ZodString;
396
- access_code_id: z.ZodString;
417
+ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
397
418
  event_id: z.ZodString;
419
+ workspace_id: z.ZodString;
420
+ created_at: z.ZodString;
398
421
  occurred_at: z.ZodString;
422
+ }, {
423
+ access_code_id: z.ZodString;
424
+ device_id: z.ZodString;
425
+ connected_account_id: z.ZodString;
426
+ }>, {
399
427
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
400
- }, "strip", z.ZodTypeAny, {
428
+ }>, "strip", z.ZodTypeAny, {
401
429
  connected_account_id: string;
402
430
  created_at: string;
403
431
  device_id: string;
@@ -417,16 +445,18 @@ export declare const unmanaged_access_code_converted_to_managed_event: z.ZodObje
417
445
  event_type: "access_code.unmanaged.converted_to_managed";
418
446
  }>;
419
447
  export type UnmanagedAccessCodeConvertedToManagedEvent = z.infer<typeof unmanaged_access_code_converted_to_managed_event>;
420
- export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<{
421
- connected_account_id: z.ZodString;
422
- created_at: z.ZodString;
423
- device_id: z.ZodString;
424
- workspace_id: z.ZodString;
425
- access_code_id: z.ZodString;
448
+ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
426
449
  event_id: z.ZodString;
450
+ workspace_id: z.ZodString;
451
+ created_at: z.ZodString;
427
452
  occurred_at: z.ZodString;
453
+ }, {
454
+ access_code_id: z.ZodString;
455
+ device_id: z.ZodString;
456
+ connected_account_id: z.ZodString;
457
+ }>, {
428
458
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
429
- }, "strip", z.ZodTypeAny, {
459
+ }>, "strip", z.ZodTypeAny, {
430
460
  connected_account_id: string;
431
461
  created_at: string;
432
462
  device_id: string;
@@ -446,16 +476,18 @@ export declare const unmanaged_access_code_failed_to_convert_to_managed_event: z
446
476
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
447
477
  }>;
448
478
  export type UnmanagedAccessCodeFailedToConvertToManagedEvent = z.infer<typeof unmanaged_access_code_failed_to_convert_to_managed_event>;
449
- export declare const unmanaged_access_code_created_event: z.ZodObject<{
450
- connected_account_id: z.ZodString;
451
- created_at: z.ZodString;
452
- device_id: z.ZodString;
453
- workspace_id: z.ZodString;
454
- access_code_id: z.ZodString;
479
+ export declare const unmanaged_access_code_created_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
455
480
  event_id: z.ZodString;
481
+ workspace_id: z.ZodString;
482
+ created_at: z.ZodString;
456
483
  occurred_at: z.ZodString;
484
+ }, {
485
+ access_code_id: z.ZodString;
486
+ device_id: z.ZodString;
487
+ connected_account_id: z.ZodString;
488
+ }>, {
457
489
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
458
- }, "strip", z.ZodTypeAny, {
490
+ }>, "strip", z.ZodTypeAny, {
459
491
  connected_account_id: string;
460
492
  created_at: string;
461
493
  device_id: string;
@@ -475,16 +507,18 @@ export declare const unmanaged_access_code_created_event: z.ZodObject<{
475
507
  event_type: "access_code.unmanaged.created";
476
508
  }>;
477
509
  export type UnmanagedAccessCodeCreatedEvent = z.infer<typeof unmanaged_access_code_created_event>;
478
- export declare const unmanaged_access_code_removed_event: z.ZodObject<{
479
- connected_account_id: z.ZodString;
480
- created_at: z.ZodString;
481
- device_id: z.ZodString;
482
- workspace_id: z.ZodString;
483
- access_code_id: z.ZodString;
510
+ export declare const unmanaged_access_code_removed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
484
511
  event_id: z.ZodString;
512
+ workspace_id: z.ZodString;
513
+ created_at: z.ZodString;
485
514
  occurred_at: z.ZodString;
515
+ }, {
516
+ access_code_id: z.ZodString;
517
+ device_id: z.ZodString;
518
+ connected_account_id: z.ZodString;
519
+ }>, {
486
520
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
487
- }, "strip", z.ZodTypeAny, {
521
+ }>, "strip", z.ZodTypeAny, {
488
522
  connected_account_id: string;
489
523
  created_at: string;
490
524
  device_id: string;
@@ -504,16 +538,18 @@ export declare const unmanaged_access_code_removed_event: z.ZodObject<{
504
538
  event_type: "access_code.unmanaged.removed";
505
539
  }>;
506
540
  export type UnmanagedAccessCodeRemovedEvent = z.infer<typeof unmanaged_access_code_removed_event>;
507
- export declare const access_code_events: readonly [z.ZodObject<{
508
- connected_account_id: z.ZodString;
509
- created_at: z.ZodString;
510
- device_id: z.ZodString;
511
- workspace_id: z.ZodString;
512
- access_code_id: z.ZodString;
541
+ export declare const access_code_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
513
542
  event_id: z.ZodString;
543
+ workspace_id: z.ZodString;
544
+ created_at: z.ZodString;
514
545
  occurred_at: z.ZodString;
546
+ }, {
547
+ access_code_id: z.ZodString;
548
+ device_id: z.ZodString;
549
+ connected_account_id: z.ZodString;
550
+ }>, {
515
551
  event_type: z.ZodLiteral<"access_code.created">;
516
- }, "strip", z.ZodTypeAny, {
552
+ }>, "strip", z.ZodTypeAny, {
517
553
  connected_account_id: string;
518
554
  created_at: string;
519
555
  device_id: string;
@@ -531,16 +567,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
531
567
  event_id: string;
532
568
  occurred_at: string;
533
569
  event_type: "access_code.created";
534
- }>, z.ZodObject<{
535
- connected_account_id: z.ZodString;
536
- created_at: z.ZodString;
537
- device_id: z.ZodString;
538
- workspace_id: z.ZodString;
539
- access_code_id: z.ZodString;
570
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
540
571
  event_id: z.ZodString;
572
+ workspace_id: z.ZodString;
573
+ created_at: z.ZodString;
541
574
  occurred_at: z.ZodString;
575
+ }, {
576
+ access_code_id: z.ZodString;
577
+ device_id: z.ZodString;
578
+ connected_account_id: z.ZodString;
579
+ }>, {
542
580
  event_type: z.ZodLiteral<"access_code.changed">;
543
- }, "strip", z.ZodTypeAny, {
581
+ }>, "strip", z.ZodTypeAny, {
544
582
  connected_account_id: string;
545
583
  created_at: string;
546
584
  device_id: string;
@@ -558,17 +596,19 @@ export declare const access_code_events: readonly [z.ZodObject<{
558
596
  event_id: string;
559
597
  occurred_at: string;
560
598
  event_type: "access_code.changed";
561
- }>, z.ZodObject<{
562
- connected_account_id: z.ZodString;
563
- created_at: z.ZodString;
564
- device_id: z.ZodString;
565
- workspace_id: z.ZodString;
566
- access_code_id: z.ZodString;
599
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
567
600
  event_id: z.ZodString;
601
+ workspace_id: z.ZodString;
602
+ created_at: z.ZodString;
568
603
  occurred_at: z.ZodString;
604
+ }, {
605
+ access_code_id: z.ZodString;
606
+ device_id: z.ZodString;
607
+ connected_account_id: z.ZodString;
608
+ }>, {
569
609
  event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
570
610
  code: z.ZodString;
571
- }, "strip", z.ZodTypeAny, {
611
+ }>, "strip", z.ZodTypeAny, {
572
612
  code: string;
573
613
  connected_account_id: string;
574
614
  created_at: string;
@@ -588,17 +628,19 @@ export declare const access_code_events: readonly [z.ZodObject<{
588
628
  event_id: string;
589
629
  occurred_at: string;
590
630
  event_type: "access_code.scheduled_on_device";
591
- }>, z.ZodObject<{
592
- connected_account_id: z.ZodString;
593
- created_at: z.ZodString;
594
- device_id: z.ZodString;
595
- workspace_id: z.ZodString;
596
- access_code_id: z.ZodString;
631
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
597
632
  event_id: z.ZodString;
633
+ workspace_id: z.ZodString;
634
+ created_at: z.ZodString;
598
635
  occurred_at: z.ZodString;
636
+ }, {
637
+ access_code_id: z.ZodString;
638
+ device_id: z.ZodString;
639
+ connected_account_id: z.ZodString;
640
+ }>, {
599
641
  event_type: z.ZodLiteral<"access_code.set_on_device">;
600
642
  code: z.ZodString;
601
- }, "strip", z.ZodTypeAny, {
643
+ }>, "strip", z.ZodTypeAny, {
602
644
  code: string;
603
645
  connected_account_id: string;
604
646
  created_at: string;
@@ -618,16 +660,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
618
660
  event_id: string;
619
661
  occurred_at: string;
620
662
  event_type: "access_code.set_on_device";
621
- }>, z.ZodObject<{
622
- connected_account_id: z.ZodString;
623
- created_at: z.ZodString;
624
- device_id: z.ZodString;
625
- workspace_id: z.ZodString;
626
- access_code_id: z.ZodString;
663
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
627
664
  event_id: z.ZodString;
665
+ workspace_id: z.ZodString;
666
+ created_at: z.ZodString;
628
667
  occurred_at: z.ZodString;
668
+ }, {
669
+ access_code_id: z.ZodString;
670
+ device_id: z.ZodString;
671
+ connected_account_id: z.ZodString;
672
+ }>, {
629
673
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
630
- }, "strip", z.ZodTypeAny, {
674
+ }>, "strip", z.ZodTypeAny, {
631
675
  connected_account_id: string;
632
676
  created_at: string;
633
677
  device_id: string;
@@ -645,16 +689,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
645
689
  event_id: string;
646
690
  occurred_at: string;
647
691
  event_type: "access_code.removed_from_device";
648
- }>, z.ZodObject<{
649
- connected_account_id: z.ZodString;
650
- created_at: z.ZodString;
651
- device_id: z.ZodString;
652
- workspace_id: z.ZodString;
653
- access_code_id: z.ZodString;
692
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
654
693
  event_id: z.ZodString;
694
+ workspace_id: z.ZodString;
695
+ created_at: z.ZodString;
655
696
  occurred_at: z.ZodString;
697
+ }, {
698
+ access_code_id: z.ZodString;
699
+ device_id: z.ZodString;
700
+ connected_account_id: z.ZodString;
701
+ }>, {
656
702
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
657
- }, "strip", z.ZodTypeAny, {
703
+ }>, "strip", z.ZodTypeAny, {
658
704
  connected_account_id: string;
659
705
  created_at: string;
660
706
  device_id: string;
@@ -672,16 +718,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
672
718
  event_id: string;
673
719
  occurred_at: string;
674
720
  event_type: "access_code.delay_in_setting_on_device";
675
- }>, z.ZodObject<{
676
- connected_account_id: z.ZodString;
677
- created_at: z.ZodString;
678
- device_id: z.ZodString;
679
- workspace_id: z.ZodString;
680
- access_code_id: z.ZodString;
721
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
681
722
  event_id: z.ZodString;
723
+ workspace_id: z.ZodString;
724
+ created_at: z.ZodString;
682
725
  occurred_at: z.ZodString;
726
+ }, {
727
+ access_code_id: z.ZodString;
728
+ device_id: z.ZodString;
729
+ connected_account_id: z.ZodString;
730
+ }>, {
683
731
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
684
- }, "strip", z.ZodTypeAny, {
732
+ }>, "strip", z.ZodTypeAny, {
685
733
  connected_account_id: string;
686
734
  created_at: string;
687
735
  device_id: string;
@@ -699,17 +747,19 @@ export declare const access_code_events: readonly [z.ZodObject<{
699
747
  event_id: string;
700
748
  occurred_at: string;
701
749
  event_type: "access_code.failed_to_set_on_device";
702
- }>, z.ZodObject<{
703
- connected_account_id: z.ZodString;
704
- created_at: z.ZodString;
705
- device_id: z.ZodString;
706
- workspace_id: z.ZodString;
707
- access_code_id: z.ZodString;
750
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
708
751
  event_id: z.ZodString;
752
+ workspace_id: z.ZodString;
753
+ created_at: z.ZodString;
709
754
  occurred_at: z.ZodString;
755
+ }, {
756
+ access_code_id: z.ZodString;
757
+ device_id: z.ZodString;
758
+ connected_account_id: z.ZodString;
759
+ }>, {
710
760
  event_type: z.ZodLiteral<"access_code.deleted">;
711
761
  code: z.ZodNullable<z.ZodString>;
712
- }, "strip", z.ZodTypeAny, {
762
+ }>, "strip", z.ZodTypeAny, {
713
763
  code: string | null;
714
764
  connected_account_id: string;
715
765
  created_at: string;
@@ -729,16 +779,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
729
779
  event_id: string;
730
780
  occurred_at: string;
731
781
  event_type: "access_code.deleted";
732
- }>, z.ZodObject<{
733
- connected_account_id: z.ZodString;
734
- created_at: z.ZodString;
735
- device_id: z.ZodString;
736
- workspace_id: z.ZodString;
737
- access_code_id: z.ZodString;
782
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
738
783
  event_id: z.ZodString;
784
+ workspace_id: z.ZodString;
785
+ created_at: z.ZodString;
739
786
  occurred_at: z.ZodString;
787
+ }, {
788
+ access_code_id: z.ZodString;
789
+ device_id: z.ZodString;
790
+ connected_account_id: z.ZodString;
791
+ }>, {
740
792
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
741
- }, "strip", z.ZodTypeAny, {
793
+ }>, "strip", z.ZodTypeAny, {
742
794
  connected_account_id: string;
743
795
  created_at: string;
744
796
  device_id: string;
@@ -756,16 +808,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
756
808
  event_id: string;
757
809
  occurred_at: string;
758
810
  event_type: "access_code.delay_in_removing_from_device";
759
- }>, z.ZodObject<{
760
- connected_account_id: z.ZodString;
761
- created_at: z.ZodString;
762
- device_id: z.ZodString;
763
- workspace_id: z.ZodString;
764
- access_code_id: z.ZodString;
811
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
765
812
  event_id: z.ZodString;
813
+ workspace_id: z.ZodString;
814
+ created_at: z.ZodString;
766
815
  occurred_at: z.ZodString;
816
+ }, {
817
+ access_code_id: z.ZodString;
818
+ device_id: z.ZodString;
819
+ connected_account_id: z.ZodString;
820
+ }>, {
767
821
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
768
- }, "strip", z.ZodTypeAny, {
822
+ }>, "strip", z.ZodTypeAny, {
769
823
  connected_account_id: string;
770
824
  created_at: string;
771
825
  device_id: string;
@@ -783,16 +837,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
783
837
  event_id: string;
784
838
  occurred_at: string;
785
839
  event_type: "access_code.failed_to_remove_from_device";
786
- }>, z.ZodObject<{
787
- connected_account_id: z.ZodString;
788
- created_at: z.ZodString;
789
- device_id: z.ZodString;
790
- workspace_id: z.ZodString;
791
- access_code_id: z.ZodString;
840
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
792
841
  event_id: z.ZodString;
842
+ workspace_id: z.ZodString;
843
+ created_at: z.ZodString;
793
844
  occurred_at: z.ZodString;
845
+ }, {
846
+ access_code_id: z.ZodString;
847
+ device_id: z.ZodString;
848
+ connected_account_id: z.ZodString;
849
+ }>, {
794
850
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
795
- }, "strip", z.ZodTypeAny, {
851
+ }>, "strip", z.ZodTypeAny, {
796
852
  connected_account_id: string;
797
853
  created_at: string;
798
854
  device_id: string;
@@ -810,16 +866,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
810
866
  event_id: string;
811
867
  occurred_at: string;
812
868
  event_type: "access_code.modified_external_to_seam";
813
- }>, z.ZodObject<{
814
- connected_account_id: z.ZodString;
815
- created_at: z.ZodString;
816
- device_id: z.ZodString;
817
- workspace_id: z.ZodString;
818
- access_code_id: z.ZodString;
869
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
819
870
  event_id: z.ZodString;
871
+ workspace_id: z.ZodString;
872
+ created_at: z.ZodString;
820
873
  occurred_at: z.ZodString;
874
+ }, {
875
+ access_code_id: z.ZodString;
876
+ device_id: z.ZodString;
877
+ connected_account_id: z.ZodString;
878
+ }>, {
821
879
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
822
- }, "strip", z.ZodTypeAny, {
880
+ }>, "strip", z.ZodTypeAny, {
823
881
  connected_account_id: string;
824
882
  created_at: string;
825
883
  device_id: string;
@@ -837,17 +895,19 @@ export declare const access_code_events: readonly [z.ZodObject<{
837
895
  event_id: string;
838
896
  occurred_at: string;
839
897
  event_type: "access_code.deleted_external_to_seam";
840
- }>, z.ZodObject<{
841
- connected_account_id: z.ZodString;
842
- created_at: z.ZodString;
843
- device_id: z.ZodString;
844
- workspace_id: z.ZodString;
845
- access_code_id: z.ZodString;
898
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
846
899
  event_id: z.ZodString;
900
+ workspace_id: z.ZodString;
901
+ created_at: z.ZodString;
847
902
  occurred_at: z.ZodString;
903
+ }, {
904
+ access_code_id: z.ZodString;
905
+ device_id: z.ZodString;
906
+ connected_account_id: z.ZodString;
907
+ }>, {
848
908
  event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
849
909
  backup_access_code_id: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
910
+ }>, "strip", z.ZodTypeAny, {
851
911
  connected_account_id: string;
852
912
  created_at: string;
853
913
  device_id: string;
@@ -867,16 +927,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
867
927
  occurred_at: string;
868
928
  event_type: "access_code.backup_access_code_pulled";
869
929
  backup_access_code_id: string;
870
- }>, z.ZodObject<{
871
- connected_account_id: z.ZodString;
872
- created_at: z.ZodString;
873
- device_id: z.ZodString;
874
- workspace_id: z.ZodString;
875
- access_code_id: z.ZodString;
930
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
876
931
  event_id: z.ZodString;
932
+ workspace_id: z.ZodString;
933
+ created_at: z.ZodString;
877
934
  occurred_at: z.ZodString;
935
+ }, {
936
+ access_code_id: z.ZodString;
937
+ device_id: z.ZodString;
938
+ connected_account_id: z.ZodString;
939
+ }>, {
878
940
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
879
- }, "strip", z.ZodTypeAny, {
941
+ }>, "strip", z.ZodTypeAny, {
880
942
  connected_account_id: string;
881
943
  created_at: string;
882
944
  device_id: string;
@@ -894,16 +956,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
894
956
  event_id: string;
895
957
  occurred_at: string;
896
958
  event_type: "access_code.unmanaged.converted_to_managed";
897
- }>, z.ZodObject<{
898
- connected_account_id: z.ZodString;
899
- created_at: z.ZodString;
900
- device_id: z.ZodString;
901
- workspace_id: z.ZodString;
902
- access_code_id: z.ZodString;
959
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
903
960
  event_id: z.ZodString;
961
+ workspace_id: z.ZodString;
962
+ created_at: z.ZodString;
904
963
  occurred_at: z.ZodString;
964
+ }, {
965
+ access_code_id: z.ZodString;
966
+ device_id: z.ZodString;
967
+ connected_account_id: z.ZodString;
968
+ }>, {
905
969
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
906
- }, "strip", z.ZodTypeAny, {
970
+ }>, "strip", z.ZodTypeAny, {
907
971
  connected_account_id: string;
908
972
  created_at: string;
909
973
  device_id: string;
@@ -921,16 +985,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
921
985
  event_id: string;
922
986
  occurred_at: string;
923
987
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
924
- }>, z.ZodObject<{
925
- connected_account_id: z.ZodString;
926
- created_at: z.ZodString;
927
- device_id: z.ZodString;
928
- workspace_id: z.ZodString;
929
- access_code_id: z.ZodString;
988
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
930
989
  event_id: z.ZodString;
990
+ workspace_id: z.ZodString;
991
+ created_at: z.ZodString;
931
992
  occurred_at: z.ZodString;
993
+ }, {
994
+ access_code_id: z.ZodString;
995
+ device_id: z.ZodString;
996
+ connected_account_id: z.ZodString;
997
+ }>, {
932
998
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
933
- }, "strip", z.ZodTypeAny, {
999
+ }>, "strip", z.ZodTypeAny, {
934
1000
  connected_account_id: string;
935
1001
  created_at: string;
936
1002
  device_id: string;
@@ -948,16 +1014,18 @@ export declare const access_code_events: readonly [z.ZodObject<{
948
1014
  event_id: string;
949
1015
  occurred_at: string;
950
1016
  event_type: "access_code.unmanaged.created";
951
- }>, z.ZodObject<{
952
- connected_account_id: z.ZodString;
953
- created_at: z.ZodString;
954
- device_id: z.ZodString;
955
- workspace_id: z.ZodString;
956
- access_code_id: z.ZodString;
1017
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
957
1018
  event_id: z.ZodString;
1019
+ workspace_id: z.ZodString;
1020
+ created_at: z.ZodString;
958
1021
  occurred_at: z.ZodString;
1022
+ }, {
1023
+ access_code_id: z.ZodString;
1024
+ device_id: z.ZodString;
1025
+ connected_account_id: z.ZodString;
1026
+ }>, {
959
1027
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
960
- }, "strip", z.ZodTypeAny, {
1028
+ }>, "strip", z.ZodTypeAny, {
961
1029
  connected_account_id: string;
962
1030
  created_at: string;
963
1031
  device_id: string;