@seamapi/types 1.912.0 → 1.914.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.
@@ -45002,6 +45002,112 @@ export type Routes = {
45002
45002
  }[] | undefined;
45003
45003
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
45004
45004
  change_reason?: string | undefined;
45005
+ } | {
45006
+ /** ID of the event. */
45007
+ event_id: string;
45008
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
45009
+ workspace_id: string;
45010
+ /** Date and time at which the event was created. */
45011
+ created_at: string;
45012
+ /** Date and time at which the event occurred. */
45013
+ occurred_at: string;
45014
+ /** ID of the affected access code. */
45015
+ access_code_id: string;
45016
+ /** ID of the device associated with the affected access code. */
45017
+ device_id: string;
45018
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
45019
+ connected_account_id: string;
45020
+ /** Custom metadata of the device, present when device_id is provided. */
45021
+ device_custom_metadata?: {
45022
+ [x: string]: string | boolean;
45023
+ } | undefined;
45024
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
45025
+ connected_account_custom_metadata?: {
45026
+ [x: string]: string | boolean;
45027
+ } | undefined;
45028
+ event_type: 'access_code.name_changed';
45029
+ from: {
45030
+ /** Previous name of the access code. */
45031
+ name: string | null;
45032
+ };
45033
+ to: {
45034
+ /** New name of the access code. */
45035
+ name: string | null;
45036
+ };
45037
+ /** Human-readable description of the change and its source. */
45038
+ description: string;
45039
+ } | {
45040
+ /** ID of the event. */
45041
+ event_id: string;
45042
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
45043
+ workspace_id: string;
45044
+ /** Date and time at which the event was created. */
45045
+ created_at: string;
45046
+ /** Date and time at which the event occurred. */
45047
+ occurred_at: string;
45048
+ /** ID of the affected access code. */
45049
+ access_code_id: string;
45050
+ /** ID of the device associated with the affected access code. */
45051
+ device_id: string;
45052
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
45053
+ connected_account_id: string;
45054
+ /** Custom metadata of the device, present when device_id is provided. */
45055
+ device_custom_metadata?: {
45056
+ [x: string]: string | boolean;
45057
+ } | undefined;
45058
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
45059
+ connected_account_custom_metadata?: {
45060
+ [x: string]: string | boolean;
45061
+ } | undefined;
45062
+ event_type: 'access_code.code_changed';
45063
+ from: {
45064
+ /** Previous pin code. */
45065
+ code: string | null;
45066
+ };
45067
+ to: {
45068
+ /** New pin code. */
45069
+ code: string | null;
45070
+ };
45071
+ /** Human-readable description of the change and its source. */
45072
+ description: string;
45073
+ } | {
45074
+ /** ID of the event. */
45075
+ event_id: string;
45076
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
45077
+ workspace_id: string;
45078
+ /** Date and time at which the event was created. */
45079
+ created_at: string;
45080
+ /** Date and time at which the event occurred. */
45081
+ occurred_at: string;
45082
+ /** ID of the affected access code. */
45083
+ access_code_id: string;
45084
+ /** ID of the device associated with the affected access code. */
45085
+ device_id: string;
45086
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
45087
+ connected_account_id: string;
45088
+ /** Custom metadata of the device, present when device_id is provided. */
45089
+ device_custom_metadata?: {
45090
+ [x: string]: string | boolean;
45091
+ } | undefined;
45092
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
45093
+ connected_account_custom_metadata?: {
45094
+ [x: string]: string | boolean;
45095
+ } | undefined;
45096
+ event_type: 'access_code.time_frame_changed';
45097
+ from: {
45098
+ /** Previous start time. */
45099
+ starts_at: string | null;
45100
+ /** Previous end time. */
45101
+ ends_at: string | null;
45102
+ };
45103
+ to: {
45104
+ /** New start time. */
45105
+ starts_at: string | null;
45106
+ /** New end time. */
45107
+ ends_at: string | null;
45108
+ };
45109
+ /** Human-readable description of the change and its source. */
45110
+ description: string;
45005
45111
  } | {
45006
45112
  /** ID of the event. */
45007
45113
  event_id: string;
@@ -47764,9 +47870,9 @@ export type Routes = {
47764
47870
  /** IDs of the access codes for which you want to list events. */
47765
47871
  access_code_ids?: string[] | undefined;
47766
47872
  /** Type of the events that you want to list. */
47767
- 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;
47873
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_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;
47768
47874
  /** Types of the events that you want to list. */
47769
- 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;
47875
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_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;
47770
47876
  /** ID of the connected account for which you want to list events. */
47771
47877
  connected_account_id?: string | undefined;
47772
47878
  /** ID of the Connect Webview for which you want to list events. */
@@ -47861,6 +47967,112 @@ export type Routes = {
47861
47967
  }[] | undefined;
47862
47968
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
47863
47969
  change_reason?: string | undefined;
47970
+ } | {
47971
+ /** ID of the event. */
47972
+ event_id: string;
47973
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
47974
+ workspace_id: string;
47975
+ /** Date and time at which the event was created. */
47976
+ created_at: string;
47977
+ /** Date and time at which the event occurred. */
47978
+ occurred_at: string;
47979
+ /** ID of the affected access code. */
47980
+ access_code_id: string;
47981
+ /** ID of the device associated with the affected access code. */
47982
+ device_id: string;
47983
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
47984
+ connected_account_id: string;
47985
+ /** Custom metadata of the device, present when device_id is provided. */
47986
+ device_custom_metadata?: {
47987
+ [x: string]: string | boolean;
47988
+ } | undefined;
47989
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
47990
+ connected_account_custom_metadata?: {
47991
+ [x: string]: string | boolean;
47992
+ } | undefined;
47993
+ event_type: 'access_code.name_changed';
47994
+ from: {
47995
+ /** Previous name of the access code. */
47996
+ name: string | null;
47997
+ };
47998
+ to: {
47999
+ /** New name of the access code. */
48000
+ name: string | null;
48001
+ };
48002
+ /** Human-readable description of the change and its source. */
48003
+ description: string;
48004
+ } | {
48005
+ /** ID of the event. */
48006
+ event_id: string;
48007
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
48008
+ workspace_id: string;
48009
+ /** Date and time at which the event was created. */
48010
+ created_at: string;
48011
+ /** Date and time at which the event occurred. */
48012
+ occurred_at: string;
48013
+ /** ID of the affected access code. */
48014
+ access_code_id: string;
48015
+ /** ID of the device associated with the affected access code. */
48016
+ device_id: string;
48017
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
48018
+ connected_account_id: string;
48019
+ /** Custom metadata of the device, present when device_id is provided. */
48020
+ device_custom_metadata?: {
48021
+ [x: string]: string | boolean;
48022
+ } | undefined;
48023
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48024
+ connected_account_custom_metadata?: {
48025
+ [x: string]: string | boolean;
48026
+ } | undefined;
48027
+ event_type: 'access_code.code_changed';
48028
+ from: {
48029
+ /** Previous pin code. */
48030
+ code: string | null;
48031
+ };
48032
+ to: {
48033
+ /** New pin code. */
48034
+ code: string | null;
48035
+ };
48036
+ /** Human-readable description of the change and its source. */
48037
+ description: string;
48038
+ } | {
48039
+ /** ID of the event. */
48040
+ event_id: string;
48041
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
48042
+ workspace_id: string;
48043
+ /** Date and time at which the event was created. */
48044
+ created_at: string;
48045
+ /** Date and time at which the event occurred. */
48046
+ occurred_at: string;
48047
+ /** ID of the affected access code. */
48048
+ access_code_id: string;
48049
+ /** ID of the device associated with the affected access code. */
48050
+ device_id: string;
48051
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
48052
+ connected_account_id: string;
48053
+ /** Custom metadata of the device, present when device_id is provided. */
48054
+ device_custom_metadata?: {
48055
+ [x: string]: string | boolean;
48056
+ } | undefined;
48057
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48058
+ connected_account_custom_metadata?: {
48059
+ [x: string]: string | boolean;
48060
+ } | undefined;
48061
+ event_type: 'access_code.time_frame_changed';
48062
+ from: {
48063
+ /** Previous start time. */
48064
+ starts_at: string | null;
48065
+ /** Previous end time. */
48066
+ ends_at: string | null;
48067
+ };
48068
+ to: {
48069
+ /** New start time. */
48070
+ starts_at: string | null;
48071
+ /** New end time. */
48072
+ ends_at: string | null;
48073
+ };
48074
+ /** Human-readable description of the change and its source. */
48075
+ description: string;
47864
48076
  } | {
47865
48077
  /** ID of the event. */
47866
48078
  event_id: string;
@@ -76285,9 +76497,9 @@ export type Routes = {
76285
76497
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
76286
76498
  between?: (string | Date)[] | undefined;
76287
76499
  /** Type of the events that you want to list. */
76288
- 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;
76500
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_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;
76289
76501
  /** Types of the events that you want to list. */
76290
- 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;
76502
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_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;
76291
76503
  /** Numerical limit on the number of events to return. */
76292
76504
  limit?: number;
76293
76505
  };
@@ -76352,6 +76564,112 @@ export type Routes = {
76352
76564
  }[] | undefined;
76353
76565
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
76354
76566
  change_reason?: string | undefined;
76567
+ } | {
76568
+ /** ID of the event. */
76569
+ event_id: string;
76570
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
76571
+ workspace_id: string;
76572
+ /** Date and time at which the event was created. */
76573
+ created_at: string;
76574
+ /** Date and time at which the event occurred. */
76575
+ occurred_at: string;
76576
+ /** ID of the affected access code. */
76577
+ access_code_id: string;
76578
+ /** ID of the device associated with the affected access code. */
76579
+ device_id: string;
76580
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
76581
+ connected_account_id: string;
76582
+ /** Custom metadata of the device, present when device_id is provided. */
76583
+ device_custom_metadata?: {
76584
+ [x: string]: string | boolean;
76585
+ } | undefined;
76586
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
76587
+ connected_account_custom_metadata?: {
76588
+ [x: string]: string | boolean;
76589
+ } | undefined;
76590
+ event_type: 'access_code.name_changed';
76591
+ from: {
76592
+ /** Previous name of the access code. */
76593
+ name: string | null;
76594
+ };
76595
+ to: {
76596
+ /** New name of the access code. */
76597
+ name: string | null;
76598
+ };
76599
+ /** Human-readable description of the change and its source. */
76600
+ description: string;
76601
+ } | {
76602
+ /** ID of the event. */
76603
+ event_id: string;
76604
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
76605
+ workspace_id: string;
76606
+ /** Date and time at which the event was created. */
76607
+ created_at: string;
76608
+ /** Date and time at which the event occurred. */
76609
+ occurred_at: string;
76610
+ /** ID of the affected access code. */
76611
+ access_code_id: string;
76612
+ /** ID of the device associated with the affected access code. */
76613
+ device_id: string;
76614
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
76615
+ connected_account_id: string;
76616
+ /** Custom metadata of the device, present when device_id is provided. */
76617
+ device_custom_metadata?: {
76618
+ [x: string]: string | boolean;
76619
+ } | undefined;
76620
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
76621
+ connected_account_custom_metadata?: {
76622
+ [x: string]: string | boolean;
76623
+ } | undefined;
76624
+ event_type: 'access_code.code_changed';
76625
+ from: {
76626
+ /** Previous pin code. */
76627
+ code: string | null;
76628
+ };
76629
+ to: {
76630
+ /** New pin code. */
76631
+ code: string | null;
76632
+ };
76633
+ /** Human-readable description of the change and its source. */
76634
+ description: string;
76635
+ } | {
76636
+ /** ID of the event. */
76637
+ event_id: string;
76638
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
76639
+ workspace_id: string;
76640
+ /** Date and time at which the event was created. */
76641
+ created_at: string;
76642
+ /** Date and time at which the event occurred. */
76643
+ occurred_at: string;
76644
+ /** ID of the affected access code. */
76645
+ access_code_id: string;
76646
+ /** ID of the device associated with the affected access code. */
76647
+ device_id: string;
76648
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
76649
+ connected_account_id: string;
76650
+ /** Custom metadata of the device, present when device_id is provided. */
76651
+ device_custom_metadata?: {
76652
+ [x: string]: string | boolean;
76653
+ } | undefined;
76654
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
76655
+ connected_account_custom_metadata?: {
76656
+ [x: string]: string | boolean;
76657
+ } | undefined;
76658
+ event_type: 'access_code.time_frame_changed';
76659
+ from: {
76660
+ /** Previous start time. */
76661
+ starts_at: string | null;
76662
+ /** Previous end time. */
76663
+ ends_at: string | null;
76664
+ };
76665
+ to: {
76666
+ /** New start time. */
76667
+ starts_at: string | null;
76668
+ /** New end time. */
76669
+ ends_at: string | null;
76670
+ };
76671
+ /** Human-readable description of the change and its source. */
76672
+ description: string;
76355
76673
  } | {
76356
76674
  /** ID of the event. */
76357
76675
  event_id: string;
@@ -107513,6 +107831,8 @@ export type Routes = {
107513
107831
  publishable_key?: string | undefined;
107514
107832
  /** Indicates whether publishable key authentication is enabled for this workspace. */
107515
107833
  is_publishable_key_auth_enabled: boolean;
107834
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
107835
+ organization_id: string | null;
107516
107836
  };
107517
107837
  };
107518
107838
  maxDuration: undefined;
@@ -107767,6 +108087,8 @@ export type Routes = {
107767
108087
  publishable_key?: string | undefined;
107768
108088
  /** Indicates whether publishable key authentication is enabled for this workspace. */
107769
108089
  is_publishable_key_auth_enabled: boolean;
108090
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
108091
+ organization_id: string | null;
107770
108092
  }[] | undefined;
107771
108093
  devices?: {
107772
108094
  /** ID of the device. */
@@ -113071,6 +113393,112 @@ export type Routes = {
113071
113393
  }[] | undefined;
113072
113394
  /** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
113073
113395
  change_reason?: string | undefined;
113396
+ } | {
113397
+ /** ID of the event. */
113398
+ event_id: string;
113399
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
113400
+ workspace_id: string;
113401
+ /** Date and time at which the event was created. */
113402
+ created_at: string;
113403
+ /** Date and time at which the event occurred. */
113404
+ occurred_at: string;
113405
+ /** ID of the affected access code. */
113406
+ access_code_id: string;
113407
+ /** ID of the device associated with the affected access code. */
113408
+ device_id: string;
113409
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
113410
+ connected_account_id: string;
113411
+ /** Custom metadata of the device, present when device_id is provided. */
113412
+ device_custom_metadata?: {
113413
+ [x: string]: string | boolean;
113414
+ } | undefined;
113415
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
113416
+ connected_account_custom_metadata?: {
113417
+ [x: string]: string | boolean;
113418
+ } | undefined;
113419
+ event_type: 'access_code.name_changed';
113420
+ from: {
113421
+ /** Previous name of the access code. */
113422
+ name: string | null;
113423
+ };
113424
+ to: {
113425
+ /** New name of the access code. */
113426
+ name: string | null;
113427
+ };
113428
+ /** Human-readable description of the change and its source. */
113429
+ description: string;
113430
+ } | {
113431
+ /** ID of the event. */
113432
+ event_id: string;
113433
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
113434
+ workspace_id: string;
113435
+ /** Date and time at which the event was created. */
113436
+ created_at: string;
113437
+ /** Date and time at which the event occurred. */
113438
+ occurred_at: string;
113439
+ /** ID of the affected access code. */
113440
+ access_code_id: string;
113441
+ /** ID of the device associated with the affected access code. */
113442
+ device_id: string;
113443
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
113444
+ connected_account_id: string;
113445
+ /** Custom metadata of the device, present when device_id is provided. */
113446
+ device_custom_metadata?: {
113447
+ [x: string]: string | boolean;
113448
+ } | undefined;
113449
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
113450
+ connected_account_custom_metadata?: {
113451
+ [x: string]: string | boolean;
113452
+ } | undefined;
113453
+ event_type: 'access_code.code_changed';
113454
+ from: {
113455
+ /** Previous pin code. */
113456
+ code: string | null;
113457
+ };
113458
+ to: {
113459
+ /** New pin code. */
113460
+ code: string | null;
113461
+ };
113462
+ /** Human-readable description of the change and its source. */
113463
+ description: string;
113464
+ } | {
113465
+ /** ID of the event. */
113466
+ event_id: string;
113467
+ /** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
113468
+ workspace_id: string;
113469
+ /** Date and time at which the event was created. */
113470
+ created_at: string;
113471
+ /** Date and time at which the event occurred. */
113472
+ occurred_at: string;
113473
+ /** ID of the affected access code. */
113474
+ access_code_id: string;
113475
+ /** ID of the device associated with the affected access code. */
113476
+ device_id: string;
113477
+ /** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
113478
+ connected_account_id: string;
113479
+ /** Custom metadata of the device, present when device_id is provided. */
113480
+ device_custom_metadata?: {
113481
+ [x: string]: string | boolean;
113482
+ } | undefined;
113483
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
113484
+ connected_account_custom_metadata?: {
113485
+ [x: string]: string | boolean;
113486
+ } | undefined;
113487
+ event_type: 'access_code.time_frame_changed';
113488
+ from: {
113489
+ /** Previous start time. */
113490
+ starts_at: string | null;
113491
+ /** Previous end time. */
113492
+ ends_at: string | null;
113493
+ };
113494
+ to: {
113495
+ /** New start time. */
113496
+ starts_at: string | null;
113497
+ /** New end time. */
113498
+ ends_at: string | null;
113499
+ };
113500
+ /** Human-readable description of the change and its source. */
113501
+ description: string;
113074
113502
  } | {
113075
113503
  /** ID of the event. */
113076
113504
  event_id: string;
@@ -117156,6 +117584,8 @@ export type Routes = {
117156
117584
  publishable_key?: string | undefined;
117157
117585
  /** Indicates whether publishable key authentication is enabled for this workspace. */
117158
117586
  is_publishable_key_auth_enabled: boolean;
117587
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
117588
+ organization_id: string | null;
117159
117589
  };
117160
117590
  };
117161
117591
  maxDuration: undefined;
@@ -117198,6 +117628,8 @@ export type Routes = {
117198
117628
  publishable_key?: string | undefined;
117199
117629
  /** Indicates whether publishable key authentication is enabled for this workspace. */
117200
117630
  is_publishable_key_auth_enabled: boolean;
117631
+ /** ID of the organization to which the [workspace](https://docs.seam.co/core-concepts/workspaces) belongs, or `null` if the workspace is not assigned to an organization. */
117632
+ organization_id: string | null;
117201
117633
  }[];
117202
117634
  };
117203
117635
  maxDuration: undefined;
@@ -118877,6 +119309,8 @@ export type Routes = {
118877
119309
  jsonBody: {
118878
119310
  /** Name of the workspace. */
118879
119311
  name?: string | undefined;
119312
+ /** ID of the organization to assign the workspace to. The authenticated user must be the owner of the workspace and an admin of the target organization. */
119313
+ organization_id?: string | undefined;
118880
119314
  /** Connect partner name for the workspace. */
118881
119315
  connect_partner_name?: string | undefined;
118882
119316
  /** [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) customizations for the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.912.0",
3
+ "version": "1.914.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",