@seamapi/types 1.1077.0 → 1.1078.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.
@@ -196,15 +196,15 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
196
196
  is_access_code_error: z.ZodLiteral<true>;
197
197
  created_at: z.ZodOptional<z.ZodString>;
198
198
  } & {
199
- error_code: z.ZodLiteral<"failed_to_expire">;
199
+ error_code: z.ZodLiteral<"failed_to_remove">;
200
200
  }, "strip", z.ZodTypeAny, {
201
201
  message: string;
202
- error_code: "failed_to_expire";
202
+ error_code: "failed_to_remove";
203
203
  is_access_code_error: true;
204
204
  created_at?: string | undefined;
205
205
  }, {
206
206
  message: string;
207
- error_code: "failed_to_expire";
207
+ error_code: "failed_to_remove";
208
208
  is_access_code_error: true;
209
209
  created_at?: string | undefined;
210
210
  }>]>;
@@ -412,20 +412,20 @@ declare const _access_code_error_map: z.ZodObject<{
412
412
  is_access_code_error: true;
413
413
  created_at?: string | undefined;
414
414
  }>>>;
415
- failed_to_expire: z.ZodNullable<z.ZodOptional<z.ZodObject<{
415
+ failed_to_remove: z.ZodNullable<z.ZodOptional<z.ZodObject<{
416
416
  message: z.ZodString;
417
417
  is_access_code_error: z.ZodLiteral<true>;
418
418
  created_at: z.ZodOptional<z.ZodString>;
419
419
  } & {
420
- error_code: z.ZodLiteral<"failed_to_expire">;
420
+ error_code: z.ZodLiteral<"failed_to_remove">;
421
421
  }, "strip", z.ZodTypeAny, {
422
422
  message: string;
423
- error_code: "failed_to_expire";
423
+ error_code: "failed_to_remove";
424
424
  is_access_code_error: true;
425
425
  created_at?: string | undefined;
426
426
  }, {
427
427
  message: string;
428
- error_code: "failed_to_expire";
428
+ error_code: "failed_to_remove";
429
429
  is_access_code_error: true;
430
430
  created_at?: string | undefined;
431
431
  }>>>;
@@ -486,9 +486,9 @@ declare const _access_code_error_map: z.ZodObject<{
486
486
  is_access_code_error: true;
487
487
  created_at?: string | undefined;
488
488
  } | null | undefined;
489
- failed_to_expire?: {
489
+ failed_to_remove?: {
490
490
  message: string;
491
- error_code: "failed_to_expire";
491
+ error_code: "failed_to_remove";
492
492
  is_access_code_error: true;
493
493
  created_at?: string | undefined;
494
494
  } | null | undefined;
@@ -561,9 +561,9 @@ declare const _access_code_error_map: z.ZodObject<{
561
561
  is_access_code_error: true;
562
562
  created_at?: string | undefined;
563
563
  } | null | undefined;
564
- failed_to_expire?: {
564
+ failed_to_remove?: {
565
565
  message: string;
566
- error_code: "failed_to_expire";
566
+ error_code: "failed_to_remove";
567
567
  is_access_code_error: true;
568
568
  created_at?: string | undefined;
569
569
  } | null | undefined;
@@ -1332,15 +1332,15 @@ export declare const access_code: z.ZodObject<{
1332
1332
  is_access_code_error: z.ZodLiteral<true>;
1333
1333
  created_at: z.ZodOptional<z.ZodString>;
1334
1334
  } & {
1335
- error_code: z.ZodLiteral<"failed_to_expire">;
1335
+ error_code: z.ZodLiteral<"failed_to_remove">;
1336
1336
  }, "strip", z.ZodTypeAny, {
1337
1337
  message: string;
1338
- error_code: "failed_to_expire";
1338
+ error_code: "failed_to_remove";
1339
1339
  is_access_code_error: true;
1340
1340
  created_at?: string | undefined;
1341
1341
  }, {
1342
1342
  message: string;
1343
- error_code: "failed_to_expire";
1343
+ error_code: "failed_to_remove";
1344
1344
  is_access_code_error: true;
1345
1345
  created_at?: string | undefined;
1346
1346
  }>, ...(z.ZodObject<{
@@ -2239,7 +2239,7 @@ export declare const access_code: z.ZodObject<{
2239
2239
  created_at?: string | undefined;
2240
2240
  } | {
2241
2241
  message: string;
2242
- error_code: "failed_to_expire";
2242
+ error_code: "failed_to_remove";
2243
2243
  is_access_code_error: true;
2244
2244
  created_at?: string | undefined;
2245
2245
  } | {
@@ -2537,7 +2537,7 @@ export declare const access_code: z.ZodObject<{
2537
2537
  created_at?: string | undefined;
2538
2538
  } | {
2539
2539
  message: string;
2540
- error_code: "failed_to_expire";
2540
+ error_code: "failed_to_remove";
2541
2541
  is_access_code_error: true;
2542
2542
  created_at?: string | undefined;
2543
2543
  } | {
@@ -115,8 +115,8 @@ const failed_to_update = common_access_code_error.extend({
115
115
  ---
116
116
  Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.
117
117
  `);
118
- const failed_to_expire = common_access_code_error.extend({
119
- error_code: z.literal('failed_to_expire').describe(error_code_description),
118
+ const failed_to_remove = common_access_code_error.extend({
119
+ error_code: z.literal('failed_to_remove').describe(error_code_description),
120
120
  }).describe(`
121
121
  ---
122
122
  resource_type: access_code
@@ -156,7 +156,7 @@ const access_code_error = z
156
156
  code_constraints_violated,
157
157
  failed_to_issue,
158
158
  failed_to_update,
159
- failed_to_expire,
159
+ failed_to_remove,
160
160
  ])
161
161
  .describe('Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).');
162
162
  const _access_code_error_map = z.object({
@@ -176,7 +176,7 @@ const _access_code_error_map = z.object({
176
176
  code_constraints_violated: code_constraints_violated.optional().nullable(),
177
177
  failed_to_issue: failed_to_issue.optional().nullable(),
178
178
  failed_to_update: failed_to_update.optional().nullable(),
179
- failed_to_expire: failed_to_expire.optional().nullable(),
179
+ failed_to_remove: failed_to_remove.optional().nullable(),
180
180
  });
181
181
  const common_access_code_warning = z.object({
182
182
  message: z
@@ -205,15 +205,15 @@ export declare const unmanaged_access_code: z.ZodObject<{
205
205
  is_access_code_error: z.ZodLiteral<true>;
206
206
  created_at: z.ZodOptional<z.ZodString>;
207
207
  } & {
208
- error_code: z.ZodLiteral<"failed_to_expire">;
208
+ error_code: z.ZodLiteral<"failed_to_remove">;
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  message: string;
211
- error_code: "failed_to_expire";
211
+ error_code: "failed_to_remove";
212
212
  is_access_code_error: true;
213
213
  created_at?: string | undefined;
214
214
  }, {
215
215
  message: string;
216
- error_code: "failed_to_expire";
216
+ error_code: "failed_to_remove";
217
217
  is_access_code_error: true;
218
218
  created_at?: string | undefined;
219
219
  }>, ...(z.ZodObject<{
@@ -938,7 +938,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
938
938
  created_at?: string | undefined;
939
939
  } | {
940
940
  message: string;
941
- error_code: "failed_to_expire";
941
+ error_code: "failed_to_remove";
942
942
  is_access_code_error: true;
943
943
  created_at?: string | undefined;
944
944
  } | {
@@ -1183,7 +1183,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
1183
1183
  created_at?: string | undefined;
1184
1184
  } | {
1185
1185
  message: string;
1186
- error_code: "failed_to_expire";
1186
+ error_code: "failed_to_remove";
1187
1187
  is_access_code_error: true;
1188
1188
  created_at?: string | undefined;
1189
1189
  } | {
@@ -1449,7 +1449,7 @@ export declare const access_code_failed_to_update_event: z.ZodObject<{
1449
1449
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1450
1450
  }>;
1451
1451
  export type AccessCodeFailedToUpdateEvent = z.infer<typeof access_code_failed_to_update_event>;
1452
- export declare const access_code_failed_to_expire_event: z.ZodObject<{
1452
+ export declare const access_code_failed_to_remove_event: z.ZodObject<{
1453
1453
  event_id: z.ZodString;
1454
1454
  workspace_id: z.ZodString;
1455
1455
  created_at: z.ZodString;
@@ -1462,7 +1462,7 @@ export declare const access_code_failed_to_expire_event: z.ZodObject<{
1462
1462
  device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1463
1463
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1464
1464
  } & {
1465
- event_type: z.ZodLiteral<"access_code.failed_to_expire">;
1465
+ event_type: z.ZodLiteral<"access_code.failed_to_remove">;
1466
1466
  } & {
1467
1467
  connected_account_errors: z.ZodArray<z.ZodObject<{
1468
1468
  created_at: z.ZodString;
@@ -1550,7 +1550,7 @@ export declare const access_code_failed_to_expire_event: z.ZodObject<{
1550
1550
  access_code_id: string;
1551
1551
  event_id: string;
1552
1552
  occurred_at: string;
1553
- event_type: "access_code.failed_to_expire";
1553
+ event_type: "access_code.failed_to_remove";
1554
1554
  connected_account_errors: {
1555
1555
  message: string;
1556
1556
  created_at: string;
@@ -1592,7 +1592,7 @@ export declare const access_code_failed_to_expire_event: z.ZodObject<{
1592
1592
  access_code_id: string;
1593
1593
  event_id: string;
1594
1594
  occurred_at: string;
1595
- event_type: "access_code.failed_to_expire";
1595
+ event_type: "access_code.failed_to_remove";
1596
1596
  connected_account_errors: {
1597
1597
  message: string;
1598
1598
  created_at: string;
@@ -1627,7 +1627,7 @@ export declare const access_code_failed_to_expire_event: z.ZodObject<{
1627
1627
  device_custom_metadata?: Record<string, string | boolean> | undefined;
1628
1628
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
1629
1629
  }>;
1630
- export type AccessCodeFailedToExpireEvent = z.infer<typeof access_code_failed_to_expire_event>;
1630
+ export type AccessCodeFailedToRemoveEvent = z.infer<typeof access_code_failed_to_remove_event>;
1631
1631
  export declare const access_code_deleted_event: z.ZodObject<{
1632
1632
  event_id: z.ZodString;
1633
1633
  workspace_id: z.ZodString;
@@ -3886,7 +3886,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
3886
3886
  device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
3887
3887
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
3888
3888
  } & {
3889
- event_type: z.ZodLiteral<"access_code.failed_to_expire">;
3889
+ event_type: z.ZodLiteral<"access_code.failed_to_remove">;
3890
3890
  } & {
3891
3891
  connected_account_errors: z.ZodArray<z.ZodObject<{
3892
3892
  created_at: z.ZodString;
@@ -3974,7 +3974,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
3974
3974
  access_code_id: string;
3975
3975
  event_id: string;
3976
3976
  occurred_at: string;
3977
- event_type: "access_code.failed_to_expire";
3977
+ event_type: "access_code.failed_to_remove";
3978
3978
  connected_account_errors: {
3979
3979
  message: string;
3980
3980
  created_at: string;
@@ -4016,7 +4016,7 @@ export declare const access_code_events: readonly [z.ZodObject<{
4016
4016
  access_code_id: string;
4017
4017
  event_id: string;
4018
4018
  occurred_at: string;
4019
- event_type: "access_code.failed_to_expire";
4019
+ event_type: "access_code.failed_to_remove";
4020
4020
  connected_account_errors: {
4021
4021
  message: string;
4022
4022
  created_at: string;
@@ -264,16 +264,16 @@ export const access_code_failed_to_update_event = access_code_event
264
264
  ---
265
265
  Seam was unable to apply this [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)'s requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and the accompanying \`failed_to_update\` error clears automatically once the update is applied.
266
266
  `);
267
- export const access_code_failed_to_expire_event = access_code_event
267
+ export const access_code_failed_to_remove_event = access_code_event
268
268
  .extend({
269
- event_type: z.literal('access_code.failed_to_expire'),
269
+ event_type: z.literal('access_code.failed_to_remove'),
270
270
  })
271
271
  .extend(access_code_event_issue_properties).describe(`
272
272
  ---
273
273
  route_path: /access_codes
274
274
  undocumented: Unreleased.
275
275
  ---
276
- An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying \`failed_to_expire\` error clears automatically once the access code is no longer active.
276
+ An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying \`failed_to_remove\` error clears automatically once the access code is no longer active.
277
277
  `);
278
278
  export const access_code_deleted_event = access_code_event.extend({
279
279
  event_type: z.literal('access_code.deleted'),
@@ -383,7 +383,7 @@ export const access_code_events = [
383
383
  access_code_delay_in_issuing_event,
384
384
  access_code_failed_to_issue_event,
385
385
  access_code_failed_to_update_event,
386
- access_code_failed_to_expire_event,
386
+ access_code_failed_to_remove_event,
387
387
  access_code_deleted_event,
388
388
  access_code_delay_in_removing_from_device_event,
389
389
  access_code_failed_to_remove_from_device_event,
@@ -1432,7 +1432,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1432
1432
  device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1433
1433
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
1434
1434
  } & {
1435
- event_type: z.ZodLiteral<"access_code.failed_to_expire">;
1435
+ event_type: z.ZodLiteral<"access_code.failed_to_remove">;
1436
1436
  } & {
1437
1437
  connected_account_errors: z.ZodArray<z.ZodObject<{
1438
1438
  created_at: z.ZodString;
@@ -1520,7 +1520,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1520
1520
  access_code_id: string;
1521
1521
  event_id: string;
1522
1522
  occurred_at: string;
1523
- event_type: "access_code.failed_to_expire";
1523
+ event_type: "access_code.failed_to_remove";
1524
1524
  connected_account_errors: {
1525
1525
  message: string;
1526
1526
  created_at: string;
@@ -1562,7 +1562,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1562
1562
  access_code_id: string;
1563
1563
  event_id: string;
1564
1564
  occurred_at: string;
1565
- event_type: "access_code.failed_to_expire";
1565
+ event_type: "access_code.failed_to_remove";
1566
1566
  connected_account_errors: {
1567
1567
  message: string;
1568
1568
  created_at: string;
@@ -6370,5 +6370,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
6370
6370
  space_key?: string | undefined;
6371
6371
  }>]>;
6372
6372
  export type SeamEvent = z.infer<typeof seam_event>;
6373
- export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_expire" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_expire" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
6373
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_remove" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_remove" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
6374
6374
  export type SeamEventType = SeamEvent['event_type'];
@@ -406,7 +406,7 @@ const openapi = {
406
406
  },
407
407
  error_code: {
408
408
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
409
- enum: ['failed_to_expire'],
409
+ enum: ['failed_to_remove'],
410
410
  type: 'string',
411
411
  },
412
412
  is_access_code_error: {
@@ -18200,7 +18200,7 @@ const openapi = {
18200
18200
  'x-undocumented': 'Unreleased.',
18201
18201
  },
18202
18202
  {
18203
- description: 'An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying `failed_to_expire` error clears automatically once the access code is no longer active.',
18203
+ description: 'An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying `failed_to_remove` error clears automatically once the access code is no longer active.',
18204
18204
  properties: {
18205
18205
  access_code_errors: {
18206
18206
  description: 'Errors associated with the access code.',
@@ -18390,7 +18390,7 @@ const openapi = {
18390
18390
  type: 'string',
18391
18391
  },
18392
18392
  event_type: {
18393
- enum: ['access_code.failed_to_expire'],
18393
+ enum: ['access_code.failed_to_remove'],
18394
18394
  type: 'string',
18395
18395
  },
18396
18396
  occurred_at: {
@@ -28665,7 +28665,7 @@ const openapi = {
28665
28665
  },
28666
28666
  error_code: {
28667
28667
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
28668
- enum: ['failed_to_expire'],
28668
+ enum: ['failed_to_remove'],
28669
28669
  type: 'string',
28670
28670
  },
28671
28671
  is_access_code_error: {
@@ -34869,7 +34869,7 @@ const openapi = {
34869
34869
  'access_code.delay_in_issuing',
34870
34870
  'access_code.failed_to_issue',
34871
34871
  'access_code.failed_to_update',
34872
- 'access_code.failed_to_expire',
34872
+ 'access_code.failed_to_remove',
34873
34873
  'access_code.scheduled_on_device',
34874
34874
  'access_code.set_on_device',
34875
34875
  'access_code.removed_from_device',
@@ -34963,7 +34963,7 @@ const openapi = {
34963
34963
  'access_code.delay_in_issuing',
34964
34964
  'access_code.failed_to_issue',
34965
34965
  'access_code.failed_to_update',
34966
- 'access_code.failed_to_expire',
34966
+ 'access_code.failed_to_remove',
34967
34967
  'access_code.scheduled_on_device',
34968
34968
  'access_code.set_on_device',
34969
34969
  'access_code.removed_from_device',
@@ -48800,7 +48800,7 @@ const openapi = {
48800
48800
  'access_code.delay_in_issuing',
48801
48801
  'access_code.failed_to_issue',
48802
48802
  'access_code.failed_to_update',
48803
- 'access_code.failed_to_expire',
48803
+ 'access_code.failed_to_remove',
48804
48804
  'access_code.deleted',
48805
48805
  'access_code.delay_in_removing_from_device',
48806
48806
  'access_code.failed_to_remove_from_device',
@@ -48925,7 +48925,7 @@ const openapi = {
48925
48925
  'access_code.delay_in_issuing',
48926
48926
  'access_code.failed_to_issue',
48927
48927
  'access_code.failed_to_update',
48928
- 'access_code.failed_to_expire',
48928
+ 'access_code.failed_to_remove',
48929
48929
  'access_code.deleted',
48930
48930
  'access_code.delay_in_removing_from_device',
48931
48931
  'access_code.failed_to_remove_from_device',
@@ -56535,7 +56535,7 @@ const openapi = {
56535
56535
  'access_code.delay_in_issuing',
56536
56536
  'access_code.failed_to_issue',
56537
56537
  'access_code.failed_to_update',
56538
- 'access_code.failed_to_expire',
56538
+ 'access_code.failed_to_remove',
56539
56539
  'access_code.deleted',
56540
56540
  'access_code.delay_in_removing_from_device',
56541
56541
  'access_code.failed_to_remove_from_device',
@@ -56661,7 +56661,7 @@ const openapi = {
56661
56661
  'access_code.delay_in_issuing',
56662
56662
  'access_code.failed_to_issue',
56663
56663
  'access_code.failed_to_update',
56664
- 'access_code.failed_to_expire',
56664
+ 'access_code.failed_to_remove',
56665
56665
  'access_code.deleted',
56666
56666
  'access_code.delay_in_removing_from_device',
56667
56667
  'access_code.failed_to_remove_from_device',
@@ -59940,7 +59940,7 @@ const openapi = {
59940
59940
  'access_code.delay_in_issuing',
59941
59941
  'access_code.failed_to_issue',
59942
59942
  'access_code.failed_to_update',
59943
- 'access_code.failed_to_expire',
59943
+ 'access_code.failed_to_remove',
59944
59944
  'access_code.deleted',
59945
59945
  'access_code.delay_in_removing_from_device',
59946
59946
  'access_code.failed_to_remove_from_device',
@@ -60143,7 +60143,7 @@ const openapi = {
60143
60143
  'access_code.delay_in_issuing',
60144
60144
  'access_code.failed_to_issue',
60145
60145
  'access_code.failed_to_update',
60146
- 'access_code.failed_to_expire',
60146
+ 'access_code.failed_to_remove',
60147
60147
  'access_code.deleted',
60148
60148
  'access_code.delay_in_removing_from_device',
60149
60149
  'access_code.failed_to_remove_from_device',
@@ -1988,7 +1988,7 @@ export type Routes = {
1988
1988
  /** Date and time at which Seam created the error. */
1989
1989
  created_at?: string | undefined;
1990
1990
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1991
- error_code: 'failed_to_expire';
1991
+ error_code: 'failed_to_remove';
1992
1992
  } | {
1993
1993
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1994
1994
  message: string;
@@ -2522,7 +2522,7 @@ export type Routes = {
2522
2522
  /** Date and time at which Seam created the error. */
2523
2523
  created_at?: string | undefined;
2524
2524
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2525
- error_code: 'failed_to_expire';
2525
+ error_code: 'failed_to_remove';
2526
2526
  } | {
2527
2527
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2528
2528
  message: string;
@@ -4874,7 +4874,7 @@ export type Routes = {
4874
4874
  /** Date and time at which Seam created the error. */
4875
4875
  created_at?: string | undefined;
4876
4876
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4877
- error_code: 'failed_to_expire';
4877
+ error_code: 'failed_to_remove';
4878
4878
  } | {
4879
4879
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4880
4880
  message: string;
@@ -5250,7 +5250,7 @@ export type Routes = {
5250
5250
  /** Only return events that occurred after this timestamp (ISO 8601 format). */
5251
5251
  after?: string | undefined;
5252
5252
  /** Filter to only return specific event types. */
5253
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed')[] | undefined;
5253
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed')[] | undefined;
5254
5254
  };
5255
5255
  formData: {};
5256
5256
  jsonResponse: {
@@ -5258,7 +5258,7 @@ export type Routes = {
5258
5258
  /** Unique identifier for this timeline event. */
5259
5259
  timeline_event_id: string;
5260
5260
  /** The type of timeline event. */
5261
- event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed';
5261
+ event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed';
5262
5262
  /** ISO 8601 timestamp when the event occurred. */
5263
5263
  occurred_at: string;
5264
5264
  /** Human-readable description of what happened. */
@@ -5456,7 +5456,7 @@ export type Routes = {
5456
5456
  /** Date and time at which Seam created the error. */
5457
5457
  created_at?: string | undefined;
5458
5458
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5459
- error_code: 'failed_to_expire';
5459
+ error_code: 'failed_to_remove';
5460
5460
  } | {
5461
5461
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5462
5462
  message: string;
@@ -5981,7 +5981,7 @@ export type Routes = {
5981
5981
  /** Date and time at which Seam created the error. */
5982
5982
  created_at?: string | undefined;
5983
5983
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5984
- error_code: 'failed_to_expire';
5984
+ error_code: 'failed_to_remove';
5985
5985
  } | {
5986
5986
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5987
5987
  message: string;
@@ -6483,7 +6483,7 @@ export type Routes = {
6483
6483
  /** Date and time at which Seam created the error. */
6484
6484
  created_at?: string | undefined;
6485
6485
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6486
- error_code: 'failed_to_expire';
6486
+ error_code: 'failed_to_remove';
6487
6487
  } | {
6488
6488
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6489
6489
  message: string;
@@ -7018,7 +7018,7 @@ export type Routes = {
7018
7018
  /** Date and time at which Seam created the error. */
7019
7019
  created_at?: string | undefined;
7020
7020
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7021
- error_code: 'failed_to_expire';
7021
+ error_code: 'failed_to_remove';
7022
7022
  } | {
7023
7023
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7024
7024
  message: string;
@@ -9279,7 +9279,7 @@ export type Routes = {
9279
9279
  /** Date and time at which Seam created the error. */
9280
9280
  created_at?: string | undefined;
9281
9281
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9282
- error_code: 'failed_to_expire';
9282
+ error_code: 'failed_to_remove';
9283
9283
  } | {
9284
9284
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9285
9285
  message: string;
@@ -9700,7 +9700,7 @@ export type Routes = {
9700
9700
  /** Date and time at which Seam created the error. */
9701
9701
  created_at?: string | undefined;
9702
9702
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9703
- error_code: 'failed_to_expire';
9703
+ error_code: 'failed_to_remove';
9704
9704
  } | {
9705
9705
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9706
9706
  message: string;
@@ -48768,7 +48768,7 @@ export type Routes = {
48768
48768
  connected_account_custom_metadata?: {
48769
48769
  [x: string]: string | boolean;
48770
48770
  } | undefined;
48771
- event_type: 'access_code.failed_to_expire';
48771
+ event_type: 'access_code.failed_to_remove';
48772
48772
  /** Errors associated with the connected account. */
48773
48773
  connected_account_errors: {
48774
48774
  /** Date and time at which Seam created the error. */
@@ -51606,9 +51606,9 @@ export type Routes = {
51606
51606
  /** IDs of the access codes for which you want to list events. */
51607
51607
  access_code_ids?: string[] | undefined;
51608
51608
  /** Type of the events that you want to list. */
51609
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
51609
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
51610
51610
  /** Types of the events that you want to list. */
51611
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
51611
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
51612
51612
  /** ID of the connected account for which you want to list events. */
51613
51613
  connected_account_id?: string | undefined;
51614
51614
  /** ID of the Connect Webview for which you want to list events. */
@@ -52399,7 +52399,7 @@ export type Routes = {
52399
52399
  connected_account_custom_metadata?: {
52400
52400
  [x: string]: string | boolean;
52401
52401
  } | undefined;
52402
- event_type: 'access_code.failed_to_expire';
52402
+ event_type: 'access_code.failed_to_remove';
52403
52403
  /** Errors associated with the connected account. */
52404
52404
  connected_account_errors: {
52405
52405
  /** Date and time at which Seam created the error. */
@@ -83593,9 +83593,9 @@ export type Routes = {
83593
83593
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
83594
83594
  between?: string[] | undefined;
83595
83595
  /** Type of the events that you want to list. */
83596
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
83596
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
83597
83597
  /** Types of the events that you want to list. */
83598
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
83598
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
83599
83599
  /** Numerical limit on the number of events to return. */
83600
83600
  limit?: number;
83601
83601
  };
@@ -84356,7 +84356,7 @@ export type Routes = {
84356
84356
  connected_account_custom_metadata?: {
84357
84357
  [x: string]: string | boolean;
84358
84358
  } | undefined;
84359
- event_type: 'access_code.failed_to_expire';
84359
+ event_type: 'access_code.failed_to_remove';
84360
84360
  /** Errors associated with the connected account. */
84361
84361
  connected_account_errors: {
84362
84362
  /** Date and time at which Seam created the error. */
@@ -89212,7 +89212,7 @@ export type Routes = {
89212
89212
  queryParams: {};
89213
89213
  jsonBody: {
89214
89214
  /** Type of the event that you want to preview. */
89215
- event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
89215
+ event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
89216
89216
  /** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
89217
89217
  payload?: {
89218
89218
  [x: string]: unknown;
@@ -89240,7 +89240,7 @@ export type Routes = {
89240
89240
  queryParams: {};
89241
89241
  jsonBody: {
89242
89242
  /** Type of the event that you want to send to your webhooks. */
89243
- event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
89243
+ event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_remove' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
89244
89244
  /** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
89245
89245
  payload?: {
89246
89246
  [x: string]: unknown;
@@ -90007,7 +90007,7 @@ export type Routes = {
90007
90007
  connected_account_custom_metadata?: {
90008
90008
  [x: string]: string | boolean;
90009
90009
  } | undefined;
90010
- event_type: 'access_code.failed_to_expire';
90010
+ event_type: 'access_code.failed_to_remove';
90011
90011
  /** Errors associated with the connected account. */
90012
90012
  connected_account_errors: {
90013
90013
  /** Date and time at which Seam created the error. */
@@ -128344,7 +128344,7 @@ export type Routes = {
128344
128344
  connected_account_custom_metadata?: {
128345
128345
  [x: string]: string | boolean;
128346
128346
  } | undefined;
128347
- event_type: 'access_code.failed_to_expire';
128347
+ event_type: 'access_code.failed_to_remove';
128348
128348
  /** Errors associated with the connected account. */
128349
128349
  connected_account_errors: {
128350
128350
  /** Date and time at which Seam created the error. */
@@ -131608,7 +131608,7 @@ export type Routes = {
131608
131608
  /** Date and time at which Seam created the error. */
131609
131609
  created_at?: string | undefined;
131610
131610
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
131611
- error_code: 'failed_to_expire';
131611
+ error_code: 'failed_to_remove';
131612
131612
  } | {
131613
131613
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
131614
131614
  message: string;
@@ -132013,7 +132013,7 @@ export type Routes = {
132013
132013
  /** Date and time at which Seam created the error. */
132014
132014
  created_at?: string | undefined;
132015
132015
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
132016
- error_code: 'failed_to_expire';
132016
+ error_code: 'failed_to_remove';
132017
132017
  } | {
132018
132018
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132019
132019
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1077.0",
3
+ "version": "1.1078.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -143,8 +143,8 @@ const failed_to_update = common_access_code_error.extend({
143
143
  Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.
144
144
  `)
145
145
 
146
- const failed_to_expire = common_access_code_error.extend({
147
- error_code: z.literal('failed_to_expire').describe(error_code_description),
146
+ const failed_to_remove = common_access_code_error.extend({
147
+ error_code: z.literal('failed_to_remove').describe(error_code_description),
148
148
  }).describe(`
149
149
  ---
150
150
  resource_type: access_code
@@ -187,7 +187,7 @@ const access_code_error = z
187
187
  code_constraints_violated,
188
188
  failed_to_issue,
189
189
  failed_to_update,
190
- failed_to_expire,
190
+ failed_to_remove,
191
191
  ])
192
192
  .describe(
193
193
  'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
@@ -212,7 +212,7 @@ const _access_code_error_map = z.object({
212
212
  code_constraints_violated: code_constraints_violated.optional().nullable(),
213
213
  failed_to_issue: failed_to_issue.optional().nullable(),
214
214
  failed_to_update: failed_to_update.optional().nullable(),
215
- failed_to_expire: failed_to_expire.optional().nullable(),
215
+ failed_to_remove: failed_to_remove.optional().nullable(),
216
216
  })
217
217
 
218
218
  export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
@@ -361,20 +361,20 @@ export type AccessCodeFailedToUpdateEvent = z.infer<
361
361
  typeof access_code_failed_to_update_event
362
362
  >
363
363
 
364
- export const access_code_failed_to_expire_event = access_code_event
364
+ export const access_code_failed_to_remove_event = access_code_event
365
365
  .extend({
366
- event_type: z.literal('access_code.failed_to_expire'),
366
+ event_type: z.literal('access_code.failed_to_remove'),
367
367
  })
368
368
  .extend(access_code_event_issue_properties).describe(`
369
369
  ---
370
370
  route_path: /access_codes
371
371
  undocumented: Unreleased.
372
372
  ---
373
- An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying \`failed_to_expire\` error clears automatically once the access code is no longer active.
373
+ An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying \`failed_to_remove\` error clears automatically once the access code is no longer active.
374
374
  `)
375
375
 
376
- export type AccessCodeFailedToExpireEvent = z.infer<
377
- typeof access_code_failed_to_expire_event
376
+ export type AccessCodeFailedToRemoveEvent = z.infer<
377
+ typeof access_code_failed_to_remove_event
378
378
  >
379
379
 
380
380
  export const access_code_deleted_event = access_code_event.extend({
@@ -541,7 +541,7 @@ export const access_code_events = [
541
541
  access_code_delay_in_issuing_event,
542
542
  access_code_failed_to_issue_event,
543
543
  access_code_failed_to_update_event,
544
- access_code_failed_to_expire_event,
544
+ access_code_failed_to_remove_event,
545
545
  access_code_deleted_event,
546
546
  access_code_delay_in_removing_from_device_event,
547
547
  access_code_failed_to_remove_from_device_event,
@@ -478,7 +478,7 @@ const openapi: OpenAPISpec = {
478
478
  error_code: {
479
479
  description:
480
480
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
481
- enum: ['failed_to_expire'],
481
+ enum: ['failed_to_remove'],
482
482
  type: 'string',
483
483
  },
484
484
  is_access_code_error: {
@@ -20556,7 +20556,7 @@ const openapi: OpenAPISpec = {
20556
20556
  },
20557
20557
  {
20558
20558
  description:
20559
- 'An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying `failed_to_expire` error clears automatically once the access code is no longer active.',
20559
+ 'An [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) is still active on the device even though its `ends_at` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to remove it, and the accompanying `failed_to_remove` error clears automatically once the access code is no longer active.',
20560
20560
  properties: {
20561
20561
  access_code_errors: {
20562
20562
  description: 'Errors associated with the access code.',
@@ -20775,7 +20775,7 @@ const openapi: OpenAPISpec = {
20775
20775
  type: 'string',
20776
20776
  },
20777
20777
  event_type: {
20778
- enum: ['access_code.failed_to_expire'],
20778
+ enum: ['access_code.failed_to_remove'],
20779
20779
  type: 'string',
20780
20780
  },
20781
20781
  occurred_at: {
@@ -32045,7 +32045,7 @@ const openapi: OpenAPISpec = {
32045
32045
  error_code: {
32046
32046
  description:
32047
32047
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
32048
- enum: ['failed_to_expire'],
32048
+ enum: ['failed_to_remove'],
32049
32049
  type: 'string',
32050
32050
  },
32051
32051
  is_access_code_error: {
@@ -39039,7 +39039,7 @@ const openapi: OpenAPISpec = {
39039
39039
  'access_code.delay_in_issuing',
39040
39040
  'access_code.failed_to_issue',
39041
39041
  'access_code.failed_to_update',
39042
- 'access_code.failed_to_expire',
39042
+ 'access_code.failed_to_remove',
39043
39043
  'access_code.scheduled_on_device',
39044
39044
  'access_code.set_on_device',
39045
39045
  'access_code.removed_from_device',
@@ -39140,7 +39140,7 @@ const openapi: OpenAPISpec = {
39140
39140
  'access_code.delay_in_issuing',
39141
39141
  'access_code.failed_to_issue',
39142
39142
  'access_code.failed_to_update',
39143
- 'access_code.failed_to_expire',
39143
+ 'access_code.failed_to_remove',
39144
39144
  'access_code.scheduled_on_device',
39145
39145
  'access_code.set_on_device',
39146
39146
  'access_code.removed_from_device',
@@ -53779,7 +53779,7 @@ const openapi: OpenAPISpec = {
53779
53779
  'access_code.delay_in_issuing',
53780
53780
  'access_code.failed_to_issue',
53781
53781
  'access_code.failed_to_update',
53782
- 'access_code.failed_to_expire',
53782
+ 'access_code.failed_to_remove',
53783
53783
  'access_code.deleted',
53784
53784
  'access_code.delay_in_removing_from_device',
53785
53785
  'access_code.failed_to_remove_from_device',
@@ -53904,7 +53904,7 @@ const openapi: OpenAPISpec = {
53904
53904
  'access_code.delay_in_issuing',
53905
53905
  'access_code.failed_to_issue',
53906
53906
  'access_code.failed_to_update',
53907
- 'access_code.failed_to_expire',
53907
+ 'access_code.failed_to_remove',
53908
53908
  'access_code.deleted',
53909
53909
  'access_code.delay_in_removing_from_device',
53910
53910
  'access_code.failed_to_remove_from_device',
@@ -61716,7 +61716,7 @@ const openapi: OpenAPISpec = {
61716
61716
  'access_code.delay_in_issuing',
61717
61717
  'access_code.failed_to_issue',
61718
61718
  'access_code.failed_to_update',
61719
- 'access_code.failed_to_expire',
61719
+ 'access_code.failed_to_remove',
61720
61720
  'access_code.deleted',
61721
61721
  'access_code.delay_in_removing_from_device',
61722
61722
  'access_code.failed_to_remove_from_device',
@@ -61842,7 +61842,7 @@ const openapi: OpenAPISpec = {
61842
61842
  'access_code.delay_in_issuing',
61843
61843
  'access_code.failed_to_issue',
61844
61844
  'access_code.failed_to_update',
61845
- 'access_code.failed_to_expire',
61845
+ 'access_code.failed_to_remove',
61846
61846
  'access_code.deleted',
61847
61847
  'access_code.delay_in_removing_from_device',
61848
61848
  'access_code.failed_to_remove_from_device',
@@ -65280,7 +65280,7 @@ const openapi: OpenAPISpec = {
65280
65280
  'access_code.delay_in_issuing',
65281
65281
  'access_code.failed_to_issue',
65282
65282
  'access_code.failed_to_update',
65283
- 'access_code.failed_to_expire',
65283
+ 'access_code.failed_to_remove',
65284
65284
  'access_code.deleted',
65285
65285
  'access_code.delay_in_removing_from_device',
65286
65286
  'access_code.failed_to_remove_from_device',
@@ -65491,7 +65491,7 @@ const openapi: OpenAPISpec = {
65491
65491
  'access_code.delay_in_issuing',
65492
65492
  'access_code.failed_to_issue',
65493
65493
  'access_code.failed_to_update',
65494
- 'access_code.failed_to_expire',
65494
+ 'access_code.failed_to_remove',
65495
65495
  'access_code.deleted',
65496
65496
  'access_code.delay_in_removing_from_device',
65497
65497
  'access_code.failed_to_remove_from_device',
@@ -2307,7 +2307,7 @@ export type Routes = {
2307
2307
  /** Date and time at which Seam created the error. */
2308
2308
  created_at?: string | undefined
2309
2309
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2310
- error_code: 'failed_to_expire'
2310
+ error_code: 'failed_to_remove'
2311
2311
  }
2312
2312
  | {
2313
2313
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -2893,7 +2893,7 @@ export type Routes = {
2893
2893
  /** Date and time at which Seam created the error. */
2894
2894
  created_at?: string | undefined
2895
2895
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2896
- error_code: 'failed_to_expire'
2896
+ error_code: 'failed_to_remove'
2897
2897
  }
2898
2898
  | {
2899
2899
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -5603,7 +5603,7 @@ export type Routes = {
5603
5603
  /** Date and time at which Seam created the error. */
5604
5604
  created_at?: string | undefined
5605
5605
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5606
- error_code: 'failed_to_expire'
5606
+ error_code: 'failed_to_remove'
5607
5607
  }
5608
5608
  | {
5609
5609
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -6033,7 +6033,7 @@ export type Routes = {
6033
6033
  | 'access_code.delay_in_issuing'
6034
6034
  | 'access_code.failed_to_issue'
6035
6035
  | 'access_code.failed_to_update'
6036
- | 'access_code.failed_to_expire'
6036
+ | 'access_code.failed_to_remove'
6037
6037
  | 'access_code.scheduled_on_device'
6038
6038
  | 'access_code.set_on_device'
6039
6039
  | 'access_code.removed_from_device'
@@ -6071,7 +6071,7 @@ export type Routes = {
6071
6071
  | 'access_code.delay_in_issuing'
6072
6072
  | 'access_code.failed_to_issue'
6073
6073
  | 'access_code.failed_to_update'
6074
- | 'access_code.failed_to_expire'
6074
+ | 'access_code.failed_to_remove'
6075
6075
  | 'access_code.scheduled_on_device'
6076
6076
  | 'access_code.set_on_device'
6077
6077
  | 'access_code.removed_from_device'
@@ -6300,7 +6300,7 @@ export type Routes = {
6300
6300
  /** Date and time at which Seam created the error. */
6301
6301
  created_at?: string | undefined
6302
6302
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6303
- error_code: 'failed_to_expire'
6303
+ error_code: 'failed_to_remove'
6304
6304
  }
6305
6305
  | {
6306
6306
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -6877,7 +6877,7 @@ export type Routes = {
6877
6877
  /** Date and time at which Seam created the error. */
6878
6878
  created_at?: string | undefined
6879
6879
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6880
- error_code: 'failed_to_expire'
6880
+ error_code: 'failed_to_remove'
6881
6881
  }
6882
6882
  | {
6883
6883
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -7431,7 +7431,7 @@ export type Routes = {
7431
7431
  /** Date and time at which Seam created the error. */
7432
7432
  created_at?: string | undefined
7433
7433
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7434
- error_code: 'failed_to_expire'
7434
+ error_code: 'failed_to_remove'
7435
7435
  }
7436
7436
  | {
7437
7437
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -8018,7 +8018,7 @@ export type Routes = {
8018
8018
  /** Date and time at which Seam created the error. */
8019
8019
  created_at?: string | undefined
8020
8020
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8021
- error_code: 'failed_to_expire'
8021
+ error_code: 'failed_to_remove'
8022
8022
  }
8023
8023
  | {
8024
8024
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -10630,7 +10630,7 @@ export type Routes = {
10630
10630
  /** Date and time at which Seam created the error. */
10631
10631
  created_at?: string | undefined
10632
10632
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10633
- error_code: 'failed_to_expire'
10633
+ error_code: 'failed_to_remove'
10634
10634
  }
10635
10635
  | {
10636
10636
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -11096,7 +11096,7 @@ export type Routes = {
11096
11096
  /** Date and time at which Seam created the error. */
11097
11097
  created_at?: string | undefined
11098
11098
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11099
- error_code: 'failed_to_expire'
11099
+ error_code: 'failed_to_remove'
11100
11100
  }
11101
11101
  | {
11102
11102
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -59119,7 +59119,7 @@ export type Routes = {
59119
59119
  [x: string]: string | boolean
59120
59120
  }
59121
59121
  | undefined
59122
- event_type: 'access_code.failed_to_expire'
59122
+ event_type: 'access_code.failed_to_remove'
59123
59123
  /** Errors associated with the connected account. */
59124
59124
  connected_account_errors: {
59125
59125
  /** Date and time at which Seam created the error. */
@@ -62313,7 +62313,7 @@ export type Routes = {
62313
62313
  | 'access_code.delay_in_issuing'
62314
62314
  | 'access_code.failed_to_issue'
62315
62315
  | 'access_code.failed_to_update'
62316
- | 'access_code.failed_to_expire'
62316
+ | 'access_code.failed_to_remove'
62317
62317
  | 'access_code.deleted'
62318
62318
  | 'access_code.delay_in_removing_from_device'
62319
62319
  | 'access_code.failed_to_remove_from_device'
@@ -62432,7 +62432,7 @@ export type Routes = {
62432
62432
  | 'access_code.delay_in_issuing'
62433
62433
  | 'access_code.failed_to_issue'
62434
62434
  | 'access_code.failed_to_update'
62435
- | 'access_code.failed_to_expire'
62435
+ | 'access_code.failed_to_remove'
62436
62436
  | 'access_code.deleted'
62437
62437
  | 'access_code.delay_in_removing_from_device'
62438
62438
  | 'access_code.failed_to_remove_from_device'
@@ -63415,7 +63415,7 @@ export type Routes = {
63415
63415
  [x: string]: string | boolean
63416
63416
  }
63417
63417
  | undefined
63418
- event_type: 'access_code.failed_to_expire'
63418
+ event_type: 'access_code.failed_to_remove'
63419
63419
  /** Errors associated with the connected account. */
63420
63420
  connected_account_errors: {
63421
63421
  /** Date and time at which Seam created the error. */
@@ -100405,7 +100405,7 @@ export type Routes = {
100405
100405
  | 'access_code.delay_in_issuing'
100406
100406
  | 'access_code.failed_to_issue'
100407
100407
  | 'access_code.failed_to_update'
100408
- | 'access_code.failed_to_expire'
100408
+ | 'access_code.failed_to_remove'
100409
100409
  | 'access_code.deleted'
100410
100410
  | 'access_code.delay_in_removing_from_device'
100411
100411
  | 'access_code.failed_to_remove_from_device'
@@ -100524,7 +100524,7 @@ export type Routes = {
100524
100524
  | 'access_code.delay_in_issuing'
100525
100525
  | 'access_code.failed_to_issue'
100526
100526
  | 'access_code.failed_to_update'
100527
- | 'access_code.failed_to_expire'
100527
+ | 'access_code.failed_to_remove'
100528
100528
  | 'access_code.deleted'
100529
100529
  | 'access_code.delay_in_removing_from_device'
100530
100530
  | 'access_code.failed_to_remove_from_device'
@@ -101477,7 +101477,7 @@ export type Routes = {
101477
101477
  [x: string]: string | boolean
101478
101478
  }
101479
101479
  | undefined
101480
- event_type: 'access_code.failed_to_expire'
101480
+ event_type: 'access_code.failed_to_remove'
101481
101481
  /** Errors associated with the connected account. */
101482
101482
  connected_account_errors: {
101483
101483
  /** Date and time at which Seam created the error. */
@@ -107016,7 +107016,7 @@ export type Routes = {
107016
107016
  | 'access_code.delay_in_issuing'
107017
107017
  | 'access_code.failed_to_issue'
107018
107018
  | 'access_code.failed_to_update'
107019
- | 'access_code.failed_to_expire'
107019
+ | 'access_code.failed_to_remove'
107020
107020
  | 'access_code.deleted'
107021
107021
  | 'access_code.delay_in_removing_from_device'
107022
107022
  | 'access_code.failed_to_remove_from_device'
@@ -107158,7 +107158,7 @@ export type Routes = {
107158
107158
  | 'access_code.delay_in_issuing'
107159
107159
  | 'access_code.failed_to_issue'
107160
107160
  | 'access_code.failed_to_update'
107161
- | 'access_code.failed_to_expire'
107161
+ | 'access_code.failed_to_remove'
107162
107162
  | 'access_code.deleted'
107163
107163
  | 'access_code.delay_in_removing_from_device'
107164
107164
  | 'access_code.failed_to_remove_from_device'
@@ -108115,7 +108115,7 @@ export type Routes = {
108115
108115
  [x: string]: string | boolean
108116
108116
  }
108117
108117
  | undefined
108118
- event_type: 'access_code.failed_to_expire'
108118
+ event_type: 'access_code.failed_to_remove'
108119
108119
  /** Errors associated with the connected account. */
108120
108120
  connected_account_errors: {
108121
108121
  /** Date and time at which Seam created the error. */
@@ -153742,7 +153742,7 @@ export type Routes = {
153742
153742
  [x: string]: string | boolean
153743
153743
  }
153744
153744
  | undefined
153745
- event_type: 'access_code.failed_to_expire'
153745
+ event_type: 'access_code.failed_to_remove'
153746
153746
  /** Errors associated with the connected account. */
153747
153747
  connected_account_errors: {
153748
153748
  /** Date and time at which Seam created the error. */
@@ -157441,7 +157441,7 @@ export type Routes = {
157441
157441
  /** Date and time at which Seam created the error. */
157442
157442
  created_at?: string | undefined
157443
157443
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
157444
- error_code: 'failed_to_expire'
157444
+ error_code: 'failed_to_remove'
157445
157445
  }
157446
157446
  | {
157447
157447
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -157893,7 +157893,7 @@ export type Routes = {
157893
157893
  /** Date and time at which Seam created the error. */
157894
157894
  created_at?: string | undefined
157895
157895
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
157896
- error_code: 'failed_to_expire'
157896
+ error_code: 'failed_to_remove'
157897
157897
  }
157898
157898
  | {
157899
157899
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */