@seamapi/types 1.740.0 → 1.741.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.
@@ -35861,6 +35861,58 @@ export type Routes = {
35861
35861
  event_type: 'device.name_changed';
35862
35862
  /** The new name of the affected device. */
35863
35863
  device_name: string;
35864
+ } | {
35865
+ /** ID of the event. */
35866
+ event_id: string;
35867
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
35868
+ workspace_id: string;
35869
+ /** Date and time at which the event was created. */
35870
+ created_at: string;
35871
+ /** Date and time at which the event occurred. */
35872
+ occurred_at: string;
35873
+ /** ID of the affected device. */
35874
+ device_id: string;
35875
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
35876
+ connected_account_id: string;
35877
+ /** The customer key associated with the device, if any. */
35878
+ customer_key?: string | undefined;
35879
+ /** Custom metadata of the device, present when device_id is provided. */
35880
+ device_custom_metadata?: {
35881
+ [x: string]: string | boolean;
35882
+ } | undefined;
35883
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
35884
+ connected_account_custom_metadata?: {
35885
+ [x: string]: string | boolean;
35886
+ } | undefined;
35887
+ event_type: 'camera.activated';
35888
+ /** The reason the camera was activated. */
35889
+ activation_reason: 'motion_detected';
35890
+ /** Sub-type of motion detected, if available. */
35891
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
35892
+ } | {
35893
+ /** ID of the event. */
35894
+ event_id: string;
35895
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
35896
+ workspace_id: string;
35897
+ /** Date and time at which the event was created. */
35898
+ created_at: string;
35899
+ /** Date and time at which the event occurred. */
35900
+ occurred_at: string;
35901
+ /** ID of the affected device. */
35902
+ device_id: string;
35903
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
35904
+ connected_account_id: string;
35905
+ /** The customer key associated with the device, if any. */
35906
+ customer_key?: string | undefined;
35907
+ /** Custom metadata of the device, present when device_id is provided. */
35908
+ device_custom_metadata?: {
35909
+ [x: string]: string | boolean;
35910
+ } | undefined;
35911
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
35912
+ connected_account_custom_metadata?: {
35913
+ [x: string]: string | boolean;
35914
+ } | undefined;
35915
+ event_type: 'device.doorbell_rang';
35864
35916
  } | {
35865
35917
  /** ID of the event. */
35866
35918
  event_id: string;
@@ -35978,9 +36030,9 @@ export type Routes = {
35978
36030
  /** IDs of the access codes for which you want to list events. */
35979
36031
  access_code_ids?: string[] | undefined;
35980
36032
  /** Type of the events that you want to list. */
35981
- 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_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' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
36033
+ 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_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' | '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;
35982
36034
  /** Types of the events that you want to list. */
35983
- 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_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' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
36035
+ 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_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' | '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;
35984
36036
  /** ID of the connected account for which you want to list events. */
35985
36037
  connected_account_id?: string | undefined;
35986
36038
  /** ID of the Connect Webview for which you want to list events. */
@@ -38629,6 +38681,58 @@ export type Routes = {
38629
38681
  event_type: 'device.name_changed';
38630
38682
  /** The new name of the affected device. */
38631
38683
  device_name: string;
38684
+ } | {
38685
+ /** ID of the event. */
38686
+ event_id: string;
38687
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
38688
+ workspace_id: string;
38689
+ /** Date and time at which the event was created. */
38690
+ created_at: string;
38691
+ /** Date and time at which the event occurred. */
38692
+ occurred_at: string;
38693
+ /** ID of the affected device. */
38694
+ device_id: string;
38695
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
38696
+ connected_account_id: string;
38697
+ /** The customer key associated with the device, if any. */
38698
+ customer_key?: string | undefined;
38699
+ /** Custom metadata of the device, present when device_id is provided. */
38700
+ device_custom_metadata?: {
38701
+ [x: string]: string | boolean;
38702
+ } | undefined;
38703
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
38704
+ connected_account_custom_metadata?: {
38705
+ [x: string]: string | boolean;
38706
+ } | undefined;
38707
+ event_type: 'camera.activated';
38708
+ /** The reason the camera was activated. */
38709
+ activation_reason: 'motion_detected';
38710
+ /** Sub-type of motion detected, if available. */
38711
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
38712
+ } | {
38713
+ /** ID of the event. */
38714
+ event_id: string;
38715
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
38716
+ workspace_id: string;
38717
+ /** Date and time at which the event was created. */
38718
+ created_at: string;
38719
+ /** Date and time at which the event occurred. */
38720
+ occurred_at: string;
38721
+ /** ID of the affected device. */
38722
+ device_id: string;
38723
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
38724
+ connected_account_id: string;
38725
+ /** The customer key associated with the device, if any. */
38726
+ customer_key?: string | undefined;
38727
+ /** Custom metadata of the device, present when device_id is provided. */
38728
+ device_custom_metadata?: {
38729
+ [x: string]: string | boolean;
38730
+ } | undefined;
38731
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
38732
+ connected_account_custom_metadata?: {
38733
+ [x: string]: string | boolean;
38734
+ } | undefined;
38735
+ event_type: 'device.doorbell_rang';
38632
38736
  } | {
38633
38737
  /** ID of the event. */
38634
38738
  event_id: string;
@@ -58779,9 +58883,9 @@ export type Routes = {
58779
58883
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
58780
58884
  between?: (string | Date)[] | undefined;
58781
58885
  /** Type of the events that you want to list. */
58782
- 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_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' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
58886
+ 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_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' | '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;
58783
58887
  /** Types of the events that you want to list. */
58784
- 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_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' | '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' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
58888
+ 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_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' | '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;
58785
58889
  /** Numerical limit on the number of events to return. */
58786
58890
  limit?: number;
58787
58891
  };
@@ -61400,6 +61504,58 @@ export type Routes = {
61400
61504
  event_type: 'device.name_changed';
61401
61505
  /** The new name of the affected device. */
61402
61506
  device_name: string;
61507
+ } | {
61508
+ /** ID of the event. */
61509
+ event_id: string;
61510
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
61511
+ workspace_id: string;
61512
+ /** Date and time at which the event was created. */
61513
+ created_at: string;
61514
+ /** Date and time at which the event occurred. */
61515
+ occurred_at: string;
61516
+ /** ID of the affected device. */
61517
+ device_id: string;
61518
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
61519
+ connected_account_id: string;
61520
+ /** The customer key associated with the device, if any. */
61521
+ customer_key?: string | undefined;
61522
+ /** Custom metadata of the device, present when device_id is provided. */
61523
+ device_custom_metadata?: {
61524
+ [x: string]: string | boolean;
61525
+ } | undefined;
61526
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
61527
+ connected_account_custom_metadata?: {
61528
+ [x: string]: string | boolean;
61529
+ } | undefined;
61530
+ event_type: 'camera.activated';
61531
+ /** The reason the camera was activated. */
61532
+ activation_reason: 'motion_detected';
61533
+ /** Sub-type of motion detected, if available. */
61534
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
61535
+ } | {
61536
+ /** ID of the event. */
61537
+ event_id: string;
61538
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
61539
+ workspace_id: string;
61540
+ /** Date and time at which the event was created. */
61541
+ created_at: string;
61542
+ /** Date and time at which the event occurred. */
61543
+ occurred_at: string;
61544
+ /** ID of the affected device. */
61545
+ device_id: string;
61546
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
61547
+ connected_account_id: string;
61548
+ /** The customer key associated with the device, if any. */
61549
+ customer_key?: string | undefined;
61550
+ /** Custom metadata of the device, present when device_id is provided. */
61551
+ device_custom_metadata?: {
61552
+ [x: string]: string | boolean;
61553
+ } | undefined;
61554
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
61555
+ connected_account_custom_metadata?: {
61556
+ [x: string]: string | boolean;
61557
+ } | undefined;
61558
+ event_type: 'device.doorbell_rang';
61403
61559
  } | {
61404
61560
  /** ID of the event. */
61405
61561
  event_id: string;
@@ -92198,6 +92354,58 @@ export type Routes = {
92198
92354
  event_type: 'device.name_changed';
92199
92355
  /** The new name of the affected device. */
92200
92356
  device_name: string;
92357
+ } | {
92358
+ /** ID of the event. */
92359
+ event_id: string;
92360
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
92361
+ workspace_id: string;
92362
+ /** Date and time at which the event was created. */
92363
+ created_at: string;
92364
+ /** Date and time at which the event occurred. */
92365
+ occurred_at: string;
92366
+ /** ID of the affected device. */
92367
+ device_id: string;
92368
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
92369
+ connected_account_id: string;
92370
+ /** The customer key associated with the device, if any. */
92371
+ customer_key?: string | undefined;
92372
+ /** Custom metadata of the device, present when device_id is provided. */
92373
+ device_custom_metadata?: {
92374
+ [x: string]: string | boolean;
92375
+ } | undefined;
92376
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
92377
+ connected_account_custom_metadata?: {
92378
+ [x: string]: string | boolean;
92379
+ } | undefined;
92380
+ event_type: 'camera.activated';
92381
+ /** The reason the camera was activated. */
92382
+ activation_reason: 'motion_detected';
92383
+ /** Sub-type of motion detected, if available. */
92384
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
92385
+ } | {
92386
+ /** ID of the event. */
92387
+ event_id: string;
92388
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
92389
+ workspace_id: string;
92390
+ /** Date and time at which the event was created. */
92391
+ created_at: string;
92392
+ /** Date and time at which the event occurred. */
92393
+ occurred_at: string;
92394
+ /** ID of the affected device. */
92395
+ device_id: string;
92396
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
92397
+ connected_account_id: string;
92398
+ /** The customer key associated with the device, if any. */
92399
+ customer_key?: string | undefined;
92400
+ /** Custom metadata of the device, present when device_id is provided. */
92401
+ device_custom_metadata?: {
92402
+ [x: string]: string | boolean;
92403
+ } | undefined;
92404
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
92405
+ connected_account_custom_metadata?: {
92406
+ [x: string]: string | boolean;
92407
+ } | undefined;
92408
+ event_type: 'device.doorbell_rang';
92201
92409
  } | {
92202
92410
  /** ID of the event. */
92203
92411
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.740.0",
3
+ "version": "1.741.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -706,6 +706,35 @@ export const device_name_changed_event = device_event.extend({
706
706
 
707
707
  export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>
708
708
 
709
+ export const camera_activated_event = device_event.extend({
710
+ event_type: z.literal('camera.activated'),
711
+ activation_reason: z
712
+ .enum(['motion_detected'])
713
+ .describe('The reason the camera was activated.'),
714
+ motion_sub_type: z
715
+ .enum(['human', 'vehicle', 'package', 'other'])
716
+ .optional()
717
+ .describe('Sub-type of motion detected, if available.'),
718
+ }).describe(`
719
+ ---
720
+ route_path: /devices
721
+ ---
722
+ A [camera](https://docs.seam.co/latest/core-concepts/devices) was activated, for example, by motion detection.
723
+ `)
724
+
725
+ export type CameraActivatedEvent = z.infer<typeof camera_activated_event>
726
+
727
+ export const device_doorbell_rang_event = device_event.extend({
728
+ event_type: z.literal('device.doorbell_rang'),
729
+ }).describe(`
730
+ ---
731
+ route_path: /devices
732
+ ---
733
+ A doorbell button was pressed on a [device](https://docs.seam.co/latest/core-concepts/devices).
734
+ `)
735
+
736
+ export type DeviceDoorbellRangEvent = z.infer<typeof device_doorbell_rang_event>
737
+
709
738
  export const device_events = [
710
739
  device_connected_event,
711
740
  device_added_event,
@@ -740,4 +769,6 @@ export const device_events = [
740
769
  temperature_reached_set_point_event,
741
770
  temperature_changed_event,
742
771
  device_name_changed_event,
772
+ camera_activated_event,
773
+ device_doorbell_rang_event,
743
774
  ] as const
@@ -23086,6 +23086,159 @@ export default {
23086
23086
  type: 'object',
23087
23087
  'x-route-path': '/devices',
23088
23088
  },
23089
+ {
23090
+ description:
23091
+ 'A [camera](https://docs.seam.co/latest/core-concepts/devices) was activated, for example, by motion detection.',
23092
+ properties: {
23093
+ activation_reason: {
23094
+ description: 'The reason the camera was activated.',
23095
+ enum: ['motion_detected'],
23096
+ type: 'string',
23097
+ },
23098
+ connected_account_custom_metadata: {
23099
+ additionalProperties: {
23100
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
23101
+ },
23102
+ description:
23103
+ 'Custom metadata of the connected account, present when connected_account_id is provided.',
23104
+ type: 'object',
23105
+ },
23106
+ connected_account_id: {
23107
+ description:
23108
+ 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.',
23109
+ format: 'uuid',
23110
+ type: 'string',
23111
+ },
23112
+ created_at: {
23113
+ description: 'Date and time at which the event was created.',
23114
+ format: 'date-time',
23115
+ type: 'string',
23116
+ },
23117
+ customer_key: {
23118
+ description:
23119
+ 'The customer key associated with the device, if any.',
23120
+ type: 'string',
23121
+ },
23122
+ device_custom_metadata: {
23123
+ additionalProperties: {
23124
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
23125
+ },
23126
+ description:
23127
+ 'Custom metadata of the device, present when device_id is provided.',
23128
+ type: 'object',
23129
+ },
23130
+ device_id: {
23131
+ description: 'ID of the affected device.',
23132
+ format: 'uuid',
23133
+ type: 'string',
23134
+ },
23135
+ event_id: {
23136
+ description: 'ID of the event.',
23137
+ format: 'uuid',
23138
+ type: 'string',
23139
+ },
23140
+ event_type: { enum: ['camera.activated'], type: 'string' },
23141
+ motion_sub_type: {
23142
+ description: 'Sub-type of motion detected, if available.',
23143
+ enum: ['human', 'vehicle', 'package', 'other'],
23144
+ type: 'string',
23145
+ },
23146
+ occurred_at: {
23147
+ description: 'Date and time at which the event occurred.',
23148
+ format: 'date-time',
23149
+ type: 'string',
23150
+ },
23151
+ workspace_id: {
23152
+ description:
23153
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
23154
+ format: 'uuid',
23155
+ type: 'string',
23156
+ },
23157
+ },
23158
+ required: [
23159
+ 'event_id',
23160
+ 'workspace_id',
23161
+ 'created_at',
23162
+ 'occurred_at',
23163
+ 'device_id',
23164
+ 'connected_account_id',
23165
+ 'event_type',
23166
+ 'activation_reason',
23167
+ ],
23168
+ type: 'object',
23169
+ 'x-route-path': '/devices',
23170
+ },
23171
+ {
23172
+ description:
23173
+ 'A doorbell button was pressed on a [device](https://docs.seam.co/latest/core-concepts/devices).',
23174
+ properties: {
23175
+ connected_account_custom_metadata: {
23176
+ additionalProperties: {
23177
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
23178
+ },
23179
+ description:
23180
+ 'Custom metadata of the connected account, present when connected_account_id is provided.',
23181
+ type: 'object',
23182
+ },
23183
+ connected_account_id: {
23184
+ description:
23185
+ 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.',
23186
+ format: 'uuid',
23187
+ type: 'string',
23188
+ },
23189
+ created_at: {
23190
+ description: 'Date and time at which the event was created.',
23191
+ format: 'date-time',
23192
+ type: 'string',
23193
+ },
23194
+ customer_key: {
23195
+ description:
23196
+ 'The customer key associated with the device, if any.',
23197
+ type: 'string',
23198
+ },
23199
+ device_custom_metadata: {
23200
+ additionalProperties: {
23201
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
23202
+ },
23203
+ description:
23204
+ 'Custom metadata of the device, present when device_id is provided.',
23205
+ type: 'object',
23206
+ },
23207
+ device_id: {
23208
+ description: 'ID of the affected device.',
23209
+ format: 'uuid',
23210
+ type: 'string',
23211
+ },
23212
+ event_id: {
23213
+ description: 'ID of the event.',
23214
+ format: 'uuid',
23215
+ type: 'string',
23216
+ },
23217
+ event_type: { enum: ['device.doorbell_rang'], type: 'string' },
23218
+ occurred_at: {
23219
+ description: 'Date and time at which the event occurred.',
23220
+ format: 'date-time',
23221
+ type: 'string',
23222
+ },
23223
+ workspace_id: {
23224
+ description:
23225
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
23226
+ format: 'uuid',
23227
+ type: 'string',
23228
+ },
23229
+ },
23230
+ required: [
23231
+ 'event_id',
23232
+ 'workspace_id',
23233
+ 'created_at',
23234
+ 'occurred_at',
23235
+ 'device_id',
23236
+ 'connected_account_id',
23237
+ 'event_type',
23238
+ ],
23239
+ type: 'object',
23240
+ 'x-route-path': '/devices',
23241
+ },
23089
23242
  {
23090
23243
  description:
23091
23244
  'An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.',
@@ -54914,6 +55067,8 @@ export default {
54914
55067
  'thermostat.temperature_reached_set_point',
54915
55068
  'thermostat.temperature_changed',
54916
55069
  'device.name_changed',
55070
+ 'camera.activated',
55071
+ 'device.doorbell_rang',
54917
55072
  'enrollment_automation.deleted',
54918
55073
  'phone.deactivated',
54919
55074
  'space.device_membership_changed',
@@ -55026,6 +55181,8 @@ export default {
55026
55181
  'thermostat.temperature_reached_set_point',
55027
55182
  'thermostat.temperature_changed',
55028
55183
  'device.name_changed',
55184
+ 'camera.activated',
55185
+ 'device.doorbell_rang',
55029
55186
  'enrollment_automation.deleted',
55030
55187
  'phone.deactivated',
55031
55188
  'space.device_membership_changed',
@@ -55471,6 +55628,8 @@ export default {
55471
55628
  'thermostat.temperature_reached_set_point',
55472
55629
  'thermostat.temperature_changed',
55473
55630
  'device.name_changed',
55631
+ 'camera.activated',
55632
+ 'device.doorbell_rang',
55474
55633
  'enrollment_automation.deleted',
55475
55634
  'phone.deactivated',
55476
55635
  'space.device_membership_changed',
@@ -55579,6 +55738,8 @@ export default {
55579
55738
  'thermostat.temperature_reached_set_point',
55580
55739
  'thermostat.temperature_changed',
55581
55740
  'device.name_changed',
55741
+ 'camera.activated',
55742
+ 'device.doorbell_rang',
55582
55743
  'enrollment_automation.deleted',
55583
55744
  'phone.deactivated',
55584
55745
  'space.device_membership_changed',
@@ -64693,6 +64854,8 @@ export default {
64693
64854
  'thermostat.temperature_reached_set_point',
64694
64855
  'thermostat.temperature_changed',
64695
64856
  'device.name_changed',
64857
+ 'camera.activated',
64858
+ 'device.doorbell_rang',
64696
64859
  'enrollment_automation.deleted',
64697
64860
  'phone.deactivated',
64698
64861
  'space.device_membership_changed',
@@ -64806,6 +64969,8 @@ export default {
64806
64969
  'thermostat.temperature_reached_set_point',
64807
64970
  'thermostat.temperature_changed',
64808
64971
  'device.name_changed',
64972
+ 'camera.activated',
64973
+ 'device.doorbell_rang',
64809
64974
  'enrollment_automation.deleted',
64810
64975
  'phone.deactivated',
64811
64976
  'space.device_membership_changed',
@@ -64982,6 +65147,8 @@ export default {
64982
65147
  'thermostat.temperature_reached_set_point',
64983
65148
  'thermostat.temperature_changed',
64984
65149
  'device.name_changed',
65150
+ 'camera.activated',
65151
+ 'device.doorbell_rang',
64985
65152
  'enrollment_automation.deleted',
64986
65153
  'phone.deactivated',
64987
65154
  'space.device_membership_changed',
@@ -65090,6 +65257,8 @@ export default {
65090
65257
  'thermostat.temperature_reached_set_point',
65091
65258
  'thermostat.temperature_changed',
65092
65259
  'device.name_changed',
65260
+ 'camera.activated',
65261
+ 'device.doorbell_rang',
65093
65262
  'enrollment_automation.deleted',
65094
65263
  'phone.deactivated',
65095
65264
  'space.device_membership_changed',