@seamapi/types 1.555.0 → 1.556.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.
@@ -17971,24 +17971,6 @@ export type Routes = {
17971
17971
  code?: string | undefined;
17972
17972
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
17973
17973
  is_backup_code?: boolean | undefined;
17974
- } | {
17975
- /** ID of the event. */
17976
- event_id: string;
17977
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
17978
- workspace_id: string;
17979
- /** Date and time at which the event was created. */
17980
- created_at: string;
17981
- /** Date and time at which the event occurred. */
17982
- occurred_at: string;
17983
- /** ID of the affected access method. */
17984
- access_method_id: string;
17985
- /** IDs of the access grants associated with this access method. */
17986
- access_grant_ids: string[];
17987
- /** Keys of the access grants associated with this access method (if present). */
17988
- access_grant_keys?: string[] | undefined;
17989
- event_type: 'access_method.code_changed';
17990
- /** The new PIN code for code access methods (only present when mode is 'code'). */
17991
- code: string;
17992
17974
  } | {
17993
17975
  /** ID of the event. */
17994
17976
  event_id: string;
@@ -35976,24 +35958,6 @@ export type Routes = {
35976
35958
  code?: string | undefined;
35977
35959
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
35978
35960
  is_backup_code?: boolean | undefined;
35979
- } | {
35980
- /** ID of the event. */
35981
- event_id: string;
35982
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
35983
- workspace_id: string;
35984
- /** Date and time at which the event was created. */
35985
- created_at: string;
35986
- /** Date and time at which the event occurred. */
35987
- occurred_at: string;
35988
- /** ID of the affected access method. */
35989
- access_method_id: string;
35990
- /** IDs of the access grants associated with this access method. */
35991
- access_grant_ids: string[];
35992
- /** Keys of the access grants associated with this access method (if present). */
35993
- access_grant_keys?: string[] | undefined;
35994
- event_type: 'access_method.code_changed';
35995
- /** The new PIN code for code access methods (only present when mode is 'code'). */
35996
- code: string;
35997
35961
  } | {
35998
35962
  /** ID of the event. */
35999
35963
  event_id: string;
@@ -37319,9 +37283,9 @@ export type Routes = {
37319
37283
  /** IDs of the access codes for which you want to list events. */
37320
37284
  access_code_ids?: string[] | undefined;
37321
37285
  /** Type of the events that you want to list. */
37322
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
37286
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
37323
37287
  /** Types of the events that you want to list. */
37324
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
37288
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
37325
37289
  /** ID of the connected account for which you want to list events. */
37326
37290
  connected_account_id?: string | undefined;
37327
37291
  /** ID of the Connect Webview for which you want to list events. */
@@ -37918,24 +37882,6 @@ export type Routes = {
37918
37882
  code?: string | undefined;
37919
37883
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
37920
37884
  is_backup_code?: boolean | undefined;
37921
- } | {
37922
- /** ID of the event. */
37923
- event_id: string;
37924
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
37925
- workspace_id: string;
37926
- /** Date and time at which the event was created. */
37927
- created_at: string;
37928
- /** Date and time at which the event occurred. */
37929
- occurred_at: string;
37930
- /** ID of the affected access method. */
37931
- access_method_id: string;
37932
- /** IDs of the access grants associated with this access method. */
37933
- access_grant_ids: string[];
37934
- /** Keys of the access grants associated with this access method (if present). */
37935
- access_grant_keys?: string[] | undefined;
37936
- event_type: 'access_method.code_changed';
37937
- /** The new PIN code for code access methods (only present when mode is 'code'). */
37938
- code: string;
37939
37885
  } | {
37940
37886
  /** ID of the event. */
37941
37887
  event_id: string;
@@ -56430,9 +56376,9 @@ export type Routes = {
56430
56376
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
56431
56377
  between?: (string | Date)[] | undefined;
56432
56378
  /** Type of the events that you want to list. */
56433
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
56379
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
56434
56380
  /** Types of the events that you want to list. */
56435
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
56381
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | '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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
56436
56382
  /** Numerical limit on the number of events to return. */
56437
56383
  limit?: number;
56438
56384
  };
@@ -57023,24 +56969,6 @@ export type Routes = {
57023
56969
  code?: string | undefined;
57024
56970
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
57025
56971
  is_backup_code?: boolean | undefined;
57026
- } | {
57027
- /** ID of the event. */
57028
- event_id: string;
57029
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
57030
- workspace_id: string;
57031
- /** Date and time at which the event was created. */
57032
- created_at: string;
57033
- /** Date and time at which the event occurred. */
57034
- occurred_at: string;
57035
- /** ID of the affected access method. */
57036
- access_method_id: string;
57037
- /** IDs of the access grants associated with this access method. */
57038
- access_grant_ids: string[];
57039
- /** Keys of the access grants associated with this access method (if present). */
57040
- access_grant_keys?: string[] | undefined;
57041
- event_type: 'access_method.code_changed';
57042
- /** The new PIN code for code access methods (only present when mode is 'code'). */
57043
- code: string;
57044
56972
  } | {
57045
56973
  /** ID of the event. */
57046
56974
  event_id: string;
@@ -84714,24 +84642,6 @@ export type Routes = {
84714
84642
  code?: string | undefined;
84715
84643
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
84716
84644
  is_backup_code?: boolean | undefined;
84717
- } | {
84718
- /** ID of the event. */
84719
- event_id: string;
84720
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
84721
- workspace_id: string;
84722
- /** Date and time at which the event was created. */
84723
- created_at: string;
84724
- /** Date and time at which the event occurred. */
84725
- occurred_at: string;
84726
- /** ID of the affected access method. */
84727
- access_method_id: string;
84728
- /** IDs of the access grants associated with this access method. */
84729
- access_grant_ids: string[];
84730
- /** Keys of the access grants associated with this access method (if present). */
84731
- access_grant_keys?: string[] | undefined;
84732
- event_type: 'access_method.code_changed';
84733
- /** The new PIN code for code access methods (only present when mode is 'code'). */
84734
- code: string;
84735
84645
  } | {
84736
84646
  /** ID of the event. */
84737
84647
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.555.0",
3
+ "version": "1.556.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -73,39 +73,13 @@ export const access_method_deleted_event = access_method_event.extend({
73
73
  An access method was deleted.
74
74
  `)
75
75
 
76
- export const access_method_reissued_event = access_method_event.extend({
76
+ export const access_method_reissued_event = access_method_issued_event.extend({
77
77
  event_type: z.literal('access_method.reissued'),
78
- code: z
79
- .string()
80
- .optional()
81
- .describe(
82
- "The actual PIN code for code access methods (only present when mode is 'code').",
83
- ),
84
- is_backup_code: z
85
- .boolean()
86
- .optional()
87
- .describe(
88
- "Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
89
- ),
90
- }).describe(`
91
- ---
92
- route_path: /access_methods
93
- ---
94
- An access method was reissued due to an Access Grant update.
95
- `)
96
-
97
- export const access_method_code_changed_event = access_method_event.extend({
98
- event_type: z.literal('access_method.code_changed'),
99
- code: z
100
- .string()
101
- .describe(
102
- "The new PIN code for code access methods (only present when mode is 'code').",
103
- ),
104
78
  }).describe(`
105
79
  ---
106
80
  route_path: /access_methods
107
81
  ---
108
- An access method's PIN code was changed.
82
+ An access method was reissued.
109
83
  `)
110
84
 
111
85
  export type AccessMethodRevokedEvent = z.infer<
@@ -118,5 +92,4 @@ export const access_method_events = [
118
92
  access_method_card_encoding_required_event,
119
93
  access_method_deleted_event,
120
94
  access_method_reissued_event,
121
- access_method_code_changed_event,
122
95
  ] as const
@@ -15104,8 +15104,7 @@ export default {
15104
15104
  'x-route-path': '/access_methods',
15105
15105
  },
15106
15106
  {
15107
- description:
15108
- 'An access method was reissued due to an Access Grant update.',
15107
+ description: 'An access method was reissued.',
15109
15108
  properties: {
15110
15109
  access_grant_ids: {
15111
15110
  description:
@@ -15169,70 +15168,6 @@ export default {
15169
15168
  type: 'object',
15170
15169
  'x-route-path': '/access_methods',
15171
15170
  },
15172
- {
15173
- description: "An access method's PIN code was changed.",
15174
- properties: {
15175
- access_grant_ids: {
15176
- description:
15177
- 'IDs of the access grants associated with this access method.',
15178
- items: { format: 'uuid', type: 'string' },
15179
- type: 'array',
15180
- },
15181
- access_grant_keys: {
15182
- description:
15183
- 'Keys of the access grants associated with this access method (if present).',
15184
- items: { type: 'string' },
15185
- type: 'array',
15186
- },
15187
- access_method_id: {
15188
- description: 'ID of the affected access method.',
15189
- format: 'uuid',
15190
- type: 'string',
15191
- },
15192
- code: {
15193
- description:
15194
- "The new PIN code for code access methods (only present when mode is 'code').",
15195
- type: 'string',
15196
- },
15197
- created_at: {
15198
- description: 'Date and time at which the event was created.',
15199
- format: 'date-time',
15200
- type: 'string',
15201
- },
15202
- event_id: {
15203
- description: 'ID of the event.',
15204
- format: 'uuid',
15205
- type: 'string',
15206
- },
15207
- event_type: {
15208
- enum: ['access_method.code_changed'],
15209
- type: 'string',
15210
- },
15211
- occurred_at: {
15212
- description: 'Date and time at which the event occurred.',
15213
- format: 'date-time',
15214
- type: 'string',
15215
- },
15216
- workspace_id: {
15217
- description:
15218
- 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
15219
- format: 'uuid',
15220
- type: 'string',
15221
- },
15222
- },
15223
- required: [
15224
- 'event_id',
15225
- 'workspace_id',
15226
- 'created_at',
15227
- 'occurred_at',
15228
- 'access_method_id',
15229
- 'access_grant_ids',
15230
- 'event_type',
15231
- 'code',
15232
- ],
15233
- type: 'object',
15234
- 'x-route-path': '/access_methods',
15235
- },
15236
15171
  {
15237
15172
  description:
15238
15173
  'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
@@ -43621,7 +43556,6 @@ export default {
43621
43556
  'access_method.card_encoding_required',
43622
43557
  'access_method.deleted',
43623
43558
  'access_method.reissued',
43624
- 'access_method.code_changed',
43625
43559
  'acs_system.connected',
43626
43560
  'acs_system.added',
43627
43561
  'acs_system.disconnected',
@@ -43724,7 +43658,6 @@ export default {
43724
43658
  'access_method.card_encoding_required',
43725
43659
  'access_method.deleted',
43726
43660
  'access_method.reissued',
43727
- 'access_method.code_changed',
43728
43661
  'acs_system.connected',
43729
43662
  'acs_system.added',
43730
43663
  'acs_system.disconnected',
@@ -43982,7 +43915,6 @@ export default {
43982
43915
  'access_method.card_encoding_required',
43983
43916
  'access_method.deleted',
43984
43917
  'access_method.reissued',
43985
- 'access_method.code_changed',
43986
43918
  'acs_system.connected',
43987
43919
  'acs_system.added',
43988
43920
  'acs_system.disconnected',
@@ -44081,7 +44013,6 @@ export default {
44081
44013
  'access_method.card_encoding_required',
44082
44014
  'access_method.deleted',
44083
44015
  'access_method.reissued',
44084
- 'access_method.code_changed',
44085
44016
  'acs_system.connected',
44086
44017
  'acs_system.added',
44087
44018
  'acs_system.disconnected',
@@ -49257,7 +49188,6 @@ export default {
49257
49188
  'access_method.card_encoding_required',
49258
49189
  'access_method.deleted',
49259
49190
  'access_method.reissued',
49260
- 'access_method.code_changed',
49261
49191
  'acs_system.connected',
49262
49192
  'acs_system.added',
49263
49193
  'acs_system.disconnected',
@@ -49361,7 +49291,6 @@ export default {
49361
49291
  'access_method.card_encoding_required',
49362
49292
  'access_method.deleted',
49363
49293
  'access_method.reissued',
49364
- 'access_method.code_changed',
49365
49294
  'acs_system.connected',
49366
49295
  'acs_system.added',
49367
49296
  'acs_system.disconnected',
@@ -49528,7 +49457,6 @@ export default {
49528
49457
  'access_method.card_encoding_required',
49529
49458
  'access_method.deleted',
49530
49459
  'access_method.reissued',
49531
- 'access_method.code_changed',
49532
49460
  'acs_system.connected',
49533
49461
  'acs_system.added',
49534
49462
  'acs_system.disconnected',
@@ -49627,7 +49555,6 @@ export default {
49627
49555
  'access_method.card_encoding_required',
49628
49556
  'access_method.deleted',
49629
49557
  'access_method.reissued',
49630
- 'access_method.code_changed',
49631
49558
  'acs_system.connected',
49632
49559
  'acs_system.added',
49633
49560
  'acs_system.disconnected',
@@ -20907,25 +20907,6 @@ export type Routes = {
20907
20907
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
20908
20908
  is_backup_code?: boolean | undefined
20909
20909
  }
20910
- | {
20911
- /** ID of the event. */
20912
- event_id: string
20913
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
20914
- workspace_id: string
20915
- /** Date and time at which the event was created. */
20916
- created_at: string
20917
- /** Date and time at which the event occurred. */
20918
- occurred_at: string
20919
- /** ID of the affected access method. */
20920
- access_method_id: string
20921
- /** IDs of the access grants associated with this access method. */
20922
- access_grant_ids: string[]
20923
- /** Keys of the access grants associated with this access method (if present). */
20924
- access_grant_keys?: string[] | undefined
20925
- event_type: 'access_method.code_changed'
20926
- /** The new PIN code for code access methods (only present when mode is 'code'). */
20927
- code: string
20928
- }
20929
20910
  | {
20930
20911
  /** ID of the event. */
20931
20912
  event_id: string
@@ -42408,25 +42389,6 @@ export type Routes = {
42408
42389
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
42409
42390
  is_backup_code?: boolean | undefined
42410
42391
  }
42411
- | {
42412
- /** ID of the event. */
42413
- event_id: string
42414
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
42415
- workspace_id: string
42416
- /** Date and time at which the event was created. */
42417
- created_at: string
42418
- /** Date and time at which the event occurred. */
42419
- occurred_at: string
42420
- /** ID of the affected access method. */
42421
- access_method_id: string
42422
- /** IDs of the access grants associated with this access method. */
42423
- access_grant_ids: string[]
42424
- /** Keys of the access grants associated with this access method (if present). */
42425
- access_grant_keys?: string[] | undefined
42426
- event_type: 'access_method.code_changed'
42427
- /** The new PIN code for code access methods (only present when mode is 'code'). */
42428
- code: string
42429
- }
42430
42392
  | {
42431
42393
  /** ID of the event. */
42432
42394
  event_id: string
@@ -44023,7 +43985,6 @@ export type Routes = {
44023
43985
  | 'access_method.card_encoding_required'
44024
43986
  | 'access_method.deleted'
44025
43987
  | 'access_method.reissued'
44026
- | 'access_method.code_changed'
44027
43988
  | 'acs_system.connected'
44028
43989
  | 'acs_system.added'
44029
43990
  | 'acs_system.disconnected'
@@ -44120,7 +44081,6 @@ export type Routes = {
44120
44081
  | 'access_method.card_encoding_required'
44121
44082
  | 'access_method.deleted'
44122
44083
  | 'access_method.reissued'
44123
- | 'access_method.code_changed'
44124
44084
  | 'acs_system.connected'
44125
44085
  | 'acs_system.added'
44126
44086
  | 'acs_system.disconnected'
@@ -44879,25 +44839,6 @@ export type Routes = {
44879
44839
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
44880
44840
  is_backup_code?: boolean | undefined
44881
44841
  }
44882
- | {
44883
- /** ID of the event. */
44884
- event_id: string
44885
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
44886
- workspace_id: string
44887
- /** Date and time at which the event was created. */
44888
- created_at: string
44889
- /** Date and time at which the event occurred. */
44890
- occurred_at: string
44891
- /** ID of the affected access method. */
44892
- access_method_id: string
44893
- /** IDs of the access grants associated with this access method. */
44894
- access_grant_ids: string[]
44895
- /** Keys of the access grants associated with this access method (if present). */
44896
- access_grant_keys?: string[] | undefined
44897
- event_type: 'access_method.code_changed'
44898
- /** The new PIN code for code access methods (only present when mode is 'code'). */
44899
- code: string
44900
- }
44901
44842
  | {
44902
44843
  /** ID of the event. */
44903
44844
  event_id: string
@@ -67039,7 +66980,6 @@ export type Routes = {
67039
66980
  | 'access_method.card_encoding_required'
67040
66981
  | 'access_method.deleted'
67041
66982
  | 'access_method.reissued'
67042
- | 'access_method.code_changed'
67043
66983
  | 'acs_system.connected'
67044
66984
  | 'acs_system.added'
67045
66985
  | 'acs_system.disconnected'
@@ -67136,7 +67076,6 @@ export type Routes = {
67136
67076
  | 'access_method.card_encoding_required'
67137
67077
  | 'access_method.deleted'
67138
67078
  | 'access_method.reissued'
67139
- | 'access_method.code_changed'
67140
67079
  | 'acs_system.connected'
67141
67080
  | 'acs_system.added'
67142
67081
  | 'acs_system.disconnected'
@@ -67889,25 +67828,6 @@ export type Routes = {
67889
67828
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
67890
67829
  is_backup_code?: boolean | undefined
67891
67830
  }
67892
- | {
67893
- /** ID of the event. */
67894
- event_id: string
67895
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
67896
- workspace_id: string
67897
- /** Date and time at which the event was created. */
67898
- created_at: string
67899
- /** Date and time at which the event occurred. */
67900
- occurred_at: string
67901
- /** ID of the affected access method. */
67902
- access_method_id: string
67903
- /** IDs of the access grants associated with this access method. */
67904
- access_grant_ids: string[]
67905
- /** Keys of the access grants associated with this access method (if present). */
67906
- access_grant_keys?: string[] | undefined
67907
- event_type: 'access_method.code_changed'
67908
- /** The new PIN code for code access methods (only present when mode is 'code'). */
67909
- code: string
67910
- }
67911
67831
  | {
67912
67832
  /** ID of the event. */
67913
67833
  event_id: string
@@ -100825,25 +100745,6 @@ export type Routes = {
100825
100745
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
100826
100746
  is_backup_code?: boolean | undefined
100827
100747
  }
100828
- | {
100829
- /** ID of the event. */
100830
- event_id: string
100831
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
100832
- workspace_id: string
100833
- /** Date and time at which the event was created. */
100834
- created_at: string
100835
- /** Date and time at which the event occurred. */
100836
- occurred_at: string
100837
- /** ID of the affected access method. */
100838
- access_method_id: string
100839
- /** IDs of the access grants associated with this access method. */
100840
- access_grant_ids: string[]
100841
- /** Keys of the access grants associated with this access method (if present). */
100842
- access_grant_keys?: string[] | undefined
100843
- event_type: 'access_method.code_changed'
100844
- /** The new PIN code for code access methods (only present when mode is 'code'). */
100845
- code: string
100846
- }
100847
100748
  | {
100848
100749
  /** ID of the event. */
100849
100750
  event_id: string