@seamapi/types 1.913.0 → 1.915.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.
- package/dist/connect.cjs +387 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +654 -4
- package/dist/index.cjs +387 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +410 -0
- package/lib/seam/connect/models/events/access-codes.js +68 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +203 -1
- package/lib/seam/connect/openapi.js +337 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +452 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +83 -0
- package/src/lib/seam/connect/openapi.ts +358 -0
- package/src/lib/seam/connect/route-types.ts +520 -0
|
@@ -45002,6 +45002,118 @@ 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
|
+
/** Previous access code name configuration. */
|
|
45030
|
+
from: {
|
|
45031
|
+
/** Previous name of the access code. */
|
|
45032
|
+
name: string | null;
|
|
45033
|
+
};
|
|
45034
|
+
/** New access code name configuration. */
|
|
45035
|
+
to: {
|
|
45036
|
+
/** New name of the access code. */
|
|
45037
|
+
name: string | null;
|
|
45038
|
+
};
|
|
45039
|
+
/** Human-readable description of the change and its source. */
|
|
45040
|
+
description: string;
|
|
45041
|
+
} | {
|
|
45042
|
+
/** ID of the event. */
|
|
45043
|
+
event_id: string;
|
|
45044
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
45045
|
+
workspace_id: string;
|
|
45046
|
+
/** Date and time at which the event was created. */
|
|
45047
|
+
created_at: string;
|
|
45048
|
+
/** Date and time at which the event occurred. */
|
|
45049
|
+
occurred_at: string;
|
|
45050
|
+
/** ID of the affected access code. */
|
|
45051
|
+
access_code_id: string;
|
|
45052
|
+
/** ID of the device associated with the affected access code. */
|
|
45053
|
+
device_id: string;
|
|
45054
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
45055
|
+
connected_account_id: string;
|
|
45056
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
45057
|
+
device_custom_metadata?: {
|
|
45058
|
+
[x: string]: string | boolean;
|
|
45059
|
+
} | undefined;
|
|
45060
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
45061
|
+
connected_account_custom_metadata?: {
|
|
45062
|
+
[x: string]: string | boolean;
|
|
45063
|
+
} | undefined;
|
|
45064
|
+
event_type: 'access_code.code_changed';
|
|
45065
|
+
/** Previous pin code configuration. */
|
|
45066
|
+
from: {
|
|
45067
|
+
/** Previous pin code. */
|
|
45068
|
+
code: string | null;
|
|
45069
|
+
};
|
|
45070
|
+
/** New pin code configuration. */
|
|
45071
|
+
to: {
|
|
45072
|
+
/** New pin code. */
|
|
45073
|
+
code: string | null;
|
|
45074
|
+
};
|
|
45075
|
+
/** Human-readable description of the change and its source. */
|
|
45076
|
+
description: string;
|
|
45077
|
+
} | {
|
|
45078
|
+
/** ID of the event. */
|
|
45079
|
+
event_id: string;
|
|
45080
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
45081
|
+
workspace_id: string;
|
|
45082
|
+
/** Date and time at which the event was created. */
|
|
45083
|
+
created_at: string;
|
|
45084
|
+
/** Date and time at which the event occurred. */
|
|
45085
|
+
occurred_at: string;
|
|
45086
|
+
/** ID of the affected access code. */
|
|
45087
|
+
access_code_id: string;
|
|
45088
|
+
/** ID of the device associated with the affected access code. */
|
|
45089
|
+
device_id: string;
|
|
45090
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
45091
|
+
connected_account_id: string;
|
|
45092
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
45093
|
+
device_custom_metadata?: {
|
|
45094
|
+
[x: string]: string | boolean;
|
|
45095
|
+
} | undefined;
|
|
45096
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
45097
|
+
connected_account_custom_metadata?: {
|
|
45098
|
+
[x: string]: string | boolean;
|
|
45099
|
+
} | undefined;
|
|
45100
|
+
event_type: 'access_code.time_frame_changed';
|
|
45101
|
+
/** Previous time frame configuration. */
|
|
45102
|
+
from: {
|
|
45103
|
+
/** Previous start time. */
|
|
45104
|
+
starts_at: string | null;
|
|
45105
|
+
/** Previous end time. */
|
|
45106
|
+
ends_at: string | null;
|
|
45107
|
+
};
|
|
45108
|
+
/** New time frame configuration. */
|
|
45109
|
+
to: {
|
|
45110
|
+
/** New start time. */
|
|
45111
|
+
starts_at: string | null;
|
|
45112
|
+
/** New end time. */
|
|
45113
|
+
ends_at: string | null;
|
|
45114
|
+
};
|
|
45115
|
+
/** Human-readable description of the change and its source. */
|
|
45116
|
+
description: string;
|
|
45005
45117
|
} | {
|
|
45006
45118
|
/** ID of the event. */
|
|
45007
45119
|
event_id: string;
|
|
@@ -47764,9 +47876,9 @@ export type Routes = {
|
|
|
47764
47876
|
/** IDs of the access codes for which you want to list events. */
|
|
47765
47877
|
access_code_ids?: string[] | undefined;
|
|
47766
47878
|
/** 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;
|
|
47879
|
+
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
47880
|
/** 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;
|
|
47881
|
+
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
47882
|
/** ID of the connected account for which you want to list events. */
|
|
47771
47883
|
connected_account_id?: string | undefined;
|
|
47772
47884
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -47861,6 +47973,118 @@ export type Routes = {
|
|
|
47861
47973
|
}[] | undefined;
|
|
47862
47974
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
47863
47975
|
change_reason?: string | undefined;
|
|
47976
|
+
} | {
|
|
47977
|
+
/** ID of the event. */
|
|
47978
|
+
event_id: string;
|
|
47979
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
47980
|
+
workspace_id: string;
|
|
47981
|
+
/** Date and time at which the event was created. */
|
|
47982
|
+
created_at: string;
|
|
47983
|
+
/** Date and time at which the event occurred. */
|
|
47984
|
+
occurred_at: string;
|
|
47985
|
+
/** ID of the affected access code. */
|
|
47986
|
+
access_code_id: string;
|
|
47987
|
+
/** ID of the device associated with the affected access code. */
|
|
47988
|
+
device_id: string;
|
|
47989
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
47990
|
+
connected_account_id: string;
|
|
47991
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
47992
|
+
device_custom_metadata?: {
|
|
47993
|
+
[x: string]: string | boolean;
|
|
47994
|
+
} | undefined;
|
|
47995
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
47996
|
+
connected_account_custom_metadata?: {
|
|
47997
|
+
[x: string]: string | boolean;
|
|
47998
|
+
} | undefined;
|
|
47999
|
+
event_type: 'access_code.name_changed';
|
|
48000
|
+
/** Previous access code name configuration. */
|
|
48001
|
+
from: {
|
|
48002
|
+
/** Previous name of the access code. */
|
|
48003
|
+
name: string | null;
|
|
48004
|
+
};
|
|
48005
|
+
/** New access code name configuration. */
|
|
48006
|
+
to: {
|
|
48007
|
+
/** New name of the access code. */
|
|
48008
|
+
name: string | null;
|
|
48009
|
+
};
|
|
48010
|
+
/** Human-readable description of the change and its source. */
|
|
48011
|
+
description: string;
|
|
48012
|
+
} | {
|
|
48013
|
+
/** ID of the event. */
|
|
48014
|
+
event_id: string;
|
|
48015
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
48016
|
+
workspace_id: string;
|
|
48017
|
+
/** Date and time at which the event was created. */
|
|
48018
|
+
created_at: string;
|
|
48019
|
+
/** Date and time at which the event occurred. */
|
|
48020
|
+
occurred_at: string;
|
|
48021
|
+
/** ID of the affected access code. */
|
|
48022
|
+
access_code_id: string;
|
|
48023
|
+
/** ID of the device associated with the affected access code. */
|
|
48024
|
+
device_id: string;
|
|
48025
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
48026
|
+
connected_account_id: string;
|
|
48027
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
48028
|
+
device_custom_metadata?: {
|
|
48029
|
+
[x: string]: string | boolean;
|
|
48030
|
+
} | undefined;
|
|
48031
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
48032
|
+
connected_account_custom_metadata?: {
|
|
48033
|
+
[x: string]: string | boolean;
|
|
48034
|
+
} | undefined;
|
|
48035
|
+
event_type: 'access_code.code_changed';
|
|
48036
|
+
/** Previous pin code configuration. */
|
|
48037
|
+
from: {
|
|
48038
|
+
/** Previous pin code. */
|
|
48039
|
+
code: string | null;
|
|
48040
|
+
};
|
|
48041
|
+
/** New pin code configuration. */
|
|
48042
|
+
to: {
|
|
48043
|
+
/** New pin code. */
|
|
48044
|
+
code: string | null;
|
|
48045
|
+
};
|
|
48046
|
+
/** Human-readable description of the change and its source. */
|
|
48047
|
+
description: string;
|
|
48048
|
+
} | {
|
|
48049
|
+
/** ID of the event. */
|
|
48050
|
+
event_id: string;
|
|
48051
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
48052
|
+
workspace_id: string;
|
|
48053
|
+
/** Date and time at which the event was created. */
|
|
48054
|
+
created_at: string;
|
|
48055
|
+
/** Date and time at which the event occurred. */
|
|
48056
|
+
occurred_at: string;
|
|
48057
|
+
/** ID of the affected access code. */
|
|
48058
|
+
access_code_id: string;
|
|
48059
|
+
/** ID of the device associated with the affected access code. */
|
|
48060
|
+
device_id: string;
|
|
48061
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
48062
|
+
connected_account_id: string;
|
|
48063
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
48064
|
+
device_custom_metadata?: {
|
|
48065
|
+
[x: string]: string | boolean;
|
|
48066
|
+
} | undefined;
|
|
48067
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
48068
|
+
connected_account_custom_metadata?: {
|
|
48069
|
+
[x: string]: string | boolean;
|
|
48070
|
+
} | undefined;
|
|
48071
|
+
event_type: 'access_code.time_frame_changed';
|
|
48072
|
+
/** Previous time frame configuration. */
|
|
48073
|
+
from: {
|
|
48074
|
+
/** Previous start time. */
|
|
48075
|
+
starts_at: string | null;
|
|
48076
|
+
/** Previous end time. */
|
|
48077
|
+
ends_at: string | null;
|
|
48078
|
+
};
|
|
48079
|
+
/** New time frame configuration. */
|
|
48080
|
+
to: {
|
|
48081
|
+
/** New start time. */
|
|
48082
|
+
starts_at: string | null;
|
|
48083
|
+
/** New end time. */
|
|
48084
|
+
ends_at: string | null;
|
|
48085
|
+
};
|
|
48086
|
+
/** Human-readable description of the change and its source. */
|
|
48087
|
+
description: string;
|
|
47864
48088
|
} | {
|
|
47865
48089
|
/** ID of the event. */
|
|
47866
48090
|
event_id: string;
|
|
@@ -76285,9 +76509,9 @@ export type Routes = {
|
|
|
76285
76509
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
76286
76510
|
between?: (string | Date)[] | undefined;
|
|
76287
76511
|
/** 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;
|
|
76512
|
+
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
76513
|
/** 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;
|
|
76514
|
+
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
76515
|
/** Numerical limit on the number of events to return. */
|
|
76292
76516
|
limit?: number;
|
|
76293
76517
|
};
|
|
@@ -76352,6 +76576,118 @@ export type Routes = {
|
|
|
76352
76576
|
}[] | undefined;
|
|
76353
76577
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
76354
76578
|
change_reason?: string | undefined;
|
|
76579
|
+
} | {
|
|
76580
|
+
/** ID of the event. */
|
|
76581
|
+
event_id: string;
|
|
76582
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
76583
|
+
workspace_id: string;
|
|
76584
|
+
/** Date and time at which the event was created. */
|
|
76585
|
+
created_at: string;
|
|
76586
|
+
/** Date and time at which the event occurred. */
|
|
76587
|
+
occurred_at: string;
|
|
76588
|
+
/** ID of the affected access code. */
|
|
76589
|
+
access_code_id: string;
|
|
76590
|
+
/** ID of the device associated with the affected access code. */
|
|
76591
|
+
device_id: string;
|
|
76592
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
76593
|
+
connected_account_id: string;
|
|
76594
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
76595
|
+
device_custom_metadata?: {
|
|
76596
|
+
[x: string]: string | boolean;
|
|
76597
|
+
} | undefined;
|
|
76598
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
76599
|
+
connected_account_custom_metadata?: {
|
|
76600
|
+
[x: string]: string | boolean;
|
|
76601
|
+
} | undefined;
|
|
76602
|
+
event_type: 'access_code.name_changed';
|
|
76603
|
+
/** Previous access code name configuration. */
|
|
76604
|
+
from: {
|
|
76605
|
+
/** Previous name of the access code. */
|
|
76606
|
+
name: string | null;
|
|
76607
|
+
};
|
|
76608
|
+
/** New access code name configuration. */
|
|
76609
|
+
to: {
|
|
76610
|
+
/** New name of the access code. */
|
|
76611
|
+
name: string | null;
|
|
76612
|
+
};
|
|
76613
|
+
/** Human-readable description of the change and its source. */
|
|
76614
|
+
description: string;
|
|
76615
|
+
} | {
|
|
76616
|
+
/** ID of the event. */
|
|
76617
|
+
event_id: string;
|
|
76618
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
76619
|
+
workspace_id: string;
|
|
76620
|
+
/** Date and time at which the event was created. */
|
|
76621
|
+
created_at: string;
|
|
76622
|
+
/** Date and time at which the event occurred. */
|
|
76623
|
+
occurred_at: string;
|
|
76624
|
+
/** ID of the affected access code. */
|
|
76625
|
+
access_code_id: string;
|
|
76626
|
+
/** ID of the device associated with the affected access code. */
|
|
76627
|
+
device_id: string;
|
|
76628
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
76629
|
+
connected_account_id: string;
|
|
76630
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
76631
|
+
device_custom_metadata?: {
|
|
76632
|
+
[x: string]: string | boolean;
|
|
76633
|
+
} | undefined;
|
|
76634
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
76635
|
+
connected_account_custom_metadata?: {
|
|
76636
|
+
[x: string]: string | boolean;
|
|
76637
|
+
} | undefined;
|
|
76638
|
+
event_type: 'access_code.code_changed';
|
|
76639
|
+
/** Previous pin code configuration. */
|
|
76640
|
+
from: {
|
|
76641
|
+
/** Previous pin code. */
|
|
76642
|
+
code: string | null;
|
|
76643
|
+
};
|
|
76644
|
+
/** New pin code configuration. */
|
|
76645
|
+
to: {
|
|
76646
|
+
/** New pin code. */
|
|
76647
|
+
code: string | null;
|
|
76648
|
+
};
|
|
76649
|
+
/** Human-readable description of the change and its source. */
|
|
76650
|
+
description: string;
|
|
76651
|
+
} | {
|
|
76652
|
+
/** ID of the event. */
|
|
76653
|
+
event_id: string;
|
|
76654
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
76655
|
+
workspace_id: string;
|
|
76656
|
+
/** Date and time at which the event was created. */
|
|
76657
|
+
created_at: string;
|
|
76658
|
+
/** Date and time at which the event occurred. */
|
|
76659
|
+
occurred_at: string;
|
|
76660
|
+
/** ID of the affected access code. */
|
|
76661
|
+
access_code_id: string;
|
|
76662
|
+
/** ID of the device associated with the affected access code. */
|
|
76663
|
+
device_id: string;
|
|
76664
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
76665
|
+
connected_account_id: string;
|
|
76666
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
76667
|
+
device_custom_metadata?: {
|
|
76668
|
+
[x: string]: string | boolean;
|
|
76669
|
+
} | undefined;
|
|
76670
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
76671
|
+
connected_account_custom_metadata?: {
|
|
76672
|
+
[x: string]: string | boolean;
|
|
76673
|
+
} | undefined;
|
|
76674
|
+
event_type: 'access_code.time_frame_changed';
|
|
76675
|
+
/** Previous time frame configuration. */
|
|
76676
|
+
from: {
|
|
76677
|
+
/** Previous start time. */
|
|
76678
|
+
starts_at: string | null;
|
|
76679
|
+
/** Previous end time. */
|
|
76680
|
+
ends_at: string | null;
|
|
76681
|
+
};
|
|
76682
|
+
/** New time frame configuration. */
|
|
76683
|
+
to: {
|
|
76684
|
+
/** New start time. */
|
|
76685
|
+
starts_at: string | null;
|
|
76686
|
+
/** New end time. */
|
|
76687
|
+
ends_at: string | null;
|
|
76688
|
+
};
|
|
76689
|
+
/** Human-readable description of the change and its source. */
|
|
76690
|
+
description: string;
|
|
76355
76691
|
} | {
|
|
76356
76692
|
/** ID of the event. */
|
|
76357
76693
|
event_id: string;
|
|
@@ -113075,6 +113411,118 @@ export type Routes = {
|
|
|
113075
113411
|
}[] | undefined;
|
|
113076
113412
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
113077
113413
|
change_reason?: string | undefined;
|
|
113414
|
+
} | {
|
|
113415
|
+
/** ID of the event. */
|
|
113416
|
+
event_id: string;
|
|
113417
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
113418
|
+
workspace_id: string;
|
|
113419
|
+
/** Date and time at which the event was created. */
|
|
113420
|
+
created_at: string;
|
|
113421
|
+
/** Date and time at which the event occurred. */
|
|
113422
|
+
occurred_at: string;
|
|
113423
|
+
/** ID of the affected access code. */
|
|
113424
|
+
access_code_id: string;
|
|
113425
|
+
/** ID of the device associated with the affected access code. */
|
|
113426
|
+
device_id: string;
|
|
113427
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
113428
|
+
connected_account_id: string;
|
|
113429
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
113430
|
+
device_custom_metadata?: {
|
|
113431
|
+
[x: string]: string | boolean;
|
|
113432
|
+
} | undefined;
|
|
113433
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
113434
|
+
connected_account_custom_metadata?: {
|
|
113435
|
+
[x: string]: string | boolean;
|
|
113436
|
+
} | undefined;
|
|
113437
|
+
event_type: 'access_code.name_changed';
|
|
113438
|
+
/** Previous access code name configuration. */
|
|
113439
|
+
from: {
|
|
113440
|
+
/** Previous name of the access code. */
|
|
113441
|
+
name: string | null;
|
|
113442
|
+
};
|
|
113443
|
+
/** New access code name configuration. */
|
|
113444
|
+
to: {
|
|
113445
|
+
/** New name of the access code. */
|
|
113446
|
+
name: string | null;
|
|
113447
|
+
};
|
|
113448
|
+
/** Human-readable description of the change and its source. */
|
|
113449
|
+
description: string;
|
|
113450
|
+
} | {
|
|
113451
|
+
/** ID of the event. */
|
|
113452
|
+
event_id: string;
|
|
113453
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
113454
|
+
workspace_id: string;
|
|
113455
|
+
/** Date and time at which the event was created. */
|
|
113456
|
+
created_at: string;
|
|
113457
|
+
/** Date and time at which the event occurred. */
|
|
113458
|
+
occurred_at: string;
|
|
113459
|
+
/** ID of the affected access code. */
|
|
113460
|
+
access_code_id: string;
|
|
113461
|
+
/** ID of the device associated with the affected access code. */
|
|
113462
|
+
device_id: string;
|
|
113463
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
113464
|
+
connected_account_id: string;
|
|
113465
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
113466
|
+
device_custom_metadata?: {
|
|
113467
|
+
[x: string]: string | boolean;
|
|
113468
|
+
} | undefined;
|
|
113469
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
113470
|
+
connected_account_custom_metadata?: {
|
|
113471
|
+
[x: string]: string | boolean;
|
|
113472
|
+
} | undefined;
|
|
113473
|
+
event_type: 'access_code.code_changed';
|
|
113474
|
+
/** Previous pin code configuration. */
|
|
113475
|
+
from: {
|
|
113476
|
+
/** Previous pin code. */
|
|
113477
|
+
code: string | null;
|
|
113478
|
+
};
|
|
113479
|
+
/** New pin code configuration. */
|
|
113480
|
+
to: {
|
|
113481
|
+
/** New pin code. */
|
|
113482
|
+
code: string | null;
|
|
113483
|
+
};
|
|
113484
|
+
/** Human-readable description of the change and its source. */
|
|
113485
|
+
description: string;
|
|
113486
|
+
} | {
|
|
113487
|
+
/** ID of the event. */
|
|
113488
|
+
event_id: string;
|
|
113489
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the event. */
|
|
113490
|
+
workspace_id: string;
|
|
113491
|
+
/** Date and time at which the event was created. */
|
|
113492
|
+
created_at: string;
|
|
113493
|
+
/** Date and time at which the event occurred. */
|
|
113494
|
+
occurred_at: string;
|
|
113495
|
+
/** ID of the affected access code. */
|
|
113496
|
+
access_code_id: string;
|
|
113497
|
+
/** ID of the device associated with the affected access code. */
|
|
113498
|
+
device_id: string;
|
|
113499
|
+
/** ID of the [connected account](https://docs.seam.co/core-concepts/connected-accounts) associated with the affected access code. */
|
|
113500
|
+
connected_account_id: string;
|
|
113501
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
113502
|
+
device_custom_metadata?: {
|
|
113503
|
+
[x: string]: string | boolean;
|
|
113504
|
+
} | undefined;
|
|
113505
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
113506
|
+
connected_account_custom_metadata?: {
|
|
113507
|
+
[x: string]: string | boolean;
|
|
113508
|
+
} | undefined;
|
|
113509
|
+
event_type: 'access_code.time_frame_changed';
|
|
113510
|
+
/** Previous time frame configuration. */
|
|
113511
|
+
from: {
|
|
113512
|
+
/** Previous start time. */
|
|
113513
|
+
starts_at: string | null;
|
|
113514
|
+
/** Previous end time. */
|
|
113515
|
+
ends_at: string | null;
|
|
113516
|
+
};
|
|
113517
|
+
/** New time frame configuration. */
|
|
113518
|
+
to: {
|
|
113519
|
+
/** New start time. */
|
|
113520
|
+
starts_at: string | null;
|
|
113521
|
+
/** New end time. */
|
|
113522
|
+
ends_at: string | null;
|
|
113523
|
+
};
|
|
113524
|
+
/** Human-readable description of the change and its source. */
|
|
113525
|
+
description: string;
|
|
113078
113526
|
} | {
|
|
113079
113527
|
/** ID of the event. */
|
|
113080
113528
|
event_id: string;
|