@seamapi/types 1.1181.0 → 1.1183.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/lib/seam/connect/models/events/devices.d.ts +234 -0
- package/lib/seam/connect/models/events/devices.js +27 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +115 -1
- package/lib/seam/connect/openapi.js +321 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +423 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +36 -0
- package/src/lib/seam/connect/openapi.ts +340 -0
- package/src/lib/seam/connect/route-types.ts +510 -0
|
@@ -57728,6 +57728,84 @@ export type Routes = {
|
|
|
57728
57728
|
/** Human-readable explanation of why access was denied. */
|
|
57729
57729
|
message: string;
|
|
57730
57730
|
} | undefined;
|
|
57731
|
+
} | {
|
|
57732
|
+
/** ID of the event. */
|
|
57733
|
+
event_id: string;
|
|
57734
|
+
/** ID of the workspace associated with the event. */
|
|
57735
|
+
workspace_id: string;
|
|
57736
|
+
/** Date and time at which the event was created. */
|
|
57737
|
+
created_at: string;
|
|
57738
|
+
/** Date and time at which the event occurred. */
|
|
57739
|
+
occurred_at: string;
|
|
57740
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
57741
|
+
event_description?: string | undefined;
|
|
57742
|
+
/** ID of the affected device. */
|
|
57743
|
+
device_id: string;
|
|
57744
|
+
/** ID of the connected account associated with the event. */
|
|
57745
|
+
connected_account_id: string;
|
|
57746
|
+
/** The customer key associated with the device, if any. */
|
|
57747
|
+
customer_key?: string | undefined;
|
|
57748
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57749
|
+
device_custom_metadata?: {
|
|
57750
|
+
[x: string]: string | boolean;
|
|
57751
|
+
} | undefined;
|
|
57752
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57753
|
+
connected_account_custom_metadata?: {
|
|
57754
|
+
[x: string]: string | boolean;
|
|
57755
|
+
} | undefined;
|
|
57756
|
+
event_type: 'lock.jammed';
|
|
57757
|
+
} | {
|
|
57758
|
+
/** ID of the event. */
|
|
57759
|
+
event_id: string;
|
|
57760
|
+
/** ID of the workspace associated with the event. */
|
|
57761
|
+
workspace_id: string;
|
|
57762
|
+
/** Date and time at which the event was created. */
|
|
57763
|
+
created_at: string;
|
|
57764
|
+
/** Date and time at which the event occurred. */
|
|
57765
|
+
occurred_at: string;
|
|
57766
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
57767
|
+
event_description?: string | undefined;
|
|
57768
|
+
/** ID of the affected device. */
|
|
57769
|
+
device_id: string;
|
|
57770
|
+
/** ID of the connected account associated with the event. */
|
|
57771
|
+
connected_account_id: string;
|
|
57772
|
+
/** The customer key associated with the device, if any. */
|
|
57773
|
+
customer_key?: string | undefined;
|
|
57774
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57775
|
+
device_custom_metadata?: {
|
|
57776
|
+
[x: string]: string | boolean;
|
|
57777
|
+
} | undefined;
|
|
57778
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57779
|
+
connected_account_custom_metadata?: {
|
|
57780
|
+
[x: string]: string | boolean;
|
|
57781
|
+
} | undefined;
|
|
57782
|
+
event_type: 'lock.door_opened';
|
|
57783
|
+
} | {
|
|
57784
|
+
/** ID of the event. */
|
|
57785
|
+
event_id: string;
|
|
57786
|
+
/** ID of the workspace associated with the event. */
|
|
57787
|
+
workspace_id: string;
|
|
57788
|
+
/** Date and time at which the event was created. */
|
|
57789
|
+
created_at: string;
|
|
57790
|
+
/** Date and time at which the event occurred. */
|
|
57791
|
+
occurred_at: string;
|
|
57792
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
57793
|
+
event_description?: string | undefined;
|
|
57794
|
+
/** ID of the affected device. */
|
|
57795
|
+
device_id: string;
|
|
57796
|
+
/** ID of the connected account associated with the event. */
|
|
57797
|
+
connected_account_id: string;
|
|
57798
|
+
/** The customer key associated with the device, if any. */
|
|
57799
|
+
customer_key?: string | undefined;
|
|
57800
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
57801
|
+
device_custom_metadata?: {
|
|
57802
|
+
[x: string]: string | boolean;
|
|
57803
|
+
} | undefined;
|
|
57804
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
57805
|
+
connected_account_custom_metadata?: {
|
|
57806
|
+
[x: string]: string | boolean;
|
|
57807
|
+
} | undefined;
|
|
57808
|
+
event_type: 'lock.door_closed';
|
|
57731
57809
|
} | {
|
|
57732
57810
|
/** ID of the event. */
|
|
57733
57811
|
event_id: string;
|
|
@@ -58163,9 +58241,9 @@ export type Routes = {
|
|
|
58163
58241
|
/** IDs of the access codes for which you want to list events. */
|
|
58164
58242
|
access_code_ids?: string[] | undefined;
|
|
58165
58243
|
/** Type of the events that you want to list. */
|
|
58166
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
58244
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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;
|
|
58167
58245
|
/** Types of the events that you want to list. */
|
|
58168
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
58246
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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;
|
|
58169
58247
|
/** ID of the connected account for which you want to list events. */
|
|
58170
58248
|
connected_account_id?: string | undefined;
|
|
58171
58249
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -61363,6 +61441,84 @@ export type Routes = {
|
|
|
61363
61441
|
/** Human-readable explanation of why access was denied. */
|
|
61364
61442
|
message: string;
|
|
61365
61443
|
} | undefined;
|
|
61444
|
+
} | {
|
|
61445
|
+
/** ID of the event. */
|
|
61446
|
+
event_id: string;
|
|
61447
|
+
/** ID of the workspace associated with the event. */
|
|
61448
|
+
workspace_id: string;
|
|
61449
|
+
/** Date and time at which the event was created. */
|
|
61450
|
+
created_at: string;
|
|
61451
|
+
/** Date and time at which the event occurred. */
|
|
61452
|
+
occurred_at: string;
|
|
61453
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
61454
|
+
event_description?: string | undefined;
|
|
61455
|
+
/** ID of the affected device. */
|
|
61456
|
+
device_id: string;
|
|
61457
|
+
/** ID of the connected account associated with the event. */
|
|
61458
|
+
connected_account_id: string;
|
|
61459
|
+
/** The customer key associated with the device, if any. */
|
|
61460
|
+
customer_key?: string | undefined;
|
|
61461
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
61462
|
+
device_custom_metadata?: {
|
|
61463
|
+
[x: string]: string | boolean;
|
|
61464
|
+
} | undefined;
|
|
61465
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
61466
|
+
connected_account_custom_metadata?: {
|
|
61467
|
+
[x: string]: string | boolean;
|
|
61468
|
+
} | undefined;
|
|
61469
|
+
event_type: 'lock.jammed';
|
|
61470
|
+
} | {
|
|
61471
|
+
/** ID of the event. */
|
|
61472
|
+
event_id: string;
|
|
61473
|
+
/** ID of the workspace associated with the event. */
|
|
61474
|
+
workspace_id: string;
|
|
61475
|
+
/** Date and time at which the event was created. */
|
|
61476
|
+
created_at: string;
|
|
61477
|
+
/** Date and time at which the event occurred. */
|
|
61478
|
+
occurred_at: string;
|
|
61479
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
61480
|
+
event_description?: string | undefined;
|
|
61481
|
+
/** ID of the affected device. */
|
|
61482
|
+
device_id: string;
|
|
61483
|
+
/** ID of the connected account associated with the event. */
|
|
61484
|
+
connected_account_id: string;
|
|
61485
|
+
/** The customer key associated with the device, if any. */
|
|
61486
|
+
customer_key?: string | undefined;
|
|
61487
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
61488
|
+
device_custom_metadata?: {
|
|
61489
|
+
[x: string]: string | boolean;
|
|
61490
|
+
} | undefined;
|
|
61491
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
61492
|
+
connected_account_custom_metadata?: {
|
|
61493
|
+
[x: string]: string | boolean;
|
|
61494
|
+
} | undefined;
|
|
61495
|
+
event_type: 'lock.door_opened';
|
|
61496
|
+
} | {
|
|
61497
|
+
/** ID of the event. */
|
|
61498
|
+
event_id: string;
|
|
61499
|
+
/** ID of the workspace associated with the event. */
|
|
61500
|
+
workspace_id: string;
|
|
61501
|
+
/** Date and time at which the event was created. */
|
|
61502
|
+
created_at: string;
|
|
61503
|
+
/** Date and time at which the event occurred. */
|
|
61504
|
+
occurred_at: string;
|
|
61505
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
61506
|
+
event_description?: string | undefined;
|
|
61507
|
+
/** ID of the affected device. */
|
|
61508
|
+
device_id: string;
|
|
61509
|
+
/** ID of the connected account associated with the event. */
|
|
61510
|
+
connected_account_id: string;
|
|
61511
|
+
/** The customer key associated with the device, if any. */
|
|
61512
|
+
customer_key?: string | undefined;
|
|
61513
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
61514
|
+
device_custom_metadata?: {
|
|
61515
|
+
[x: string]: string | boolean;
|
|
61516
|
+
} | undefined;
|
|
61517
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
61518
|
+
connected_account_custom_metadata?: {
|
|
61519
|
+
[x: string]: string | boolean;
|
|
61520
|
+
} | undefined;
|
|
61521
|
+
event_type: 'lock.door_closed';
|
|
61366
61522
|
} | {
|
|
61367
61523
|
/** ID of the event. */
|
|
61368
61524
|
event_id: string;
|
|
@@ -91733,6 +91889,8 @@ export type Routes = {
|
|
|
91733
91889
|
used_credits: number | null;
|
|
91734
91890
|
remaining_credits: number | null;
|
|
91735
91891
|
is_credits_used_up: boolean;
|
|
91892
|
+
can_extend_trial: boolean;
|
|
91893
|
+
extended_trial_ends_at: string | null;
|
|
91736
91894
|
} | null;
|
|
91737
91895
|
usage: {
|
|
91738
91896
|
as_of: string;
|
|
@@ -92038,6 +92196,31 @@ export type Routes = {
|
|
|
92038
92196
|
};
|
|
92039
92197
|
maxDuration: undefined;
|
|
92040
92198
|
};
|
|
92199
|
+
'/seam/console/v1/credits/trial/extend': {
|
|
92200
|
+
route: '/seam/console/v1/credits/trial/extend';
|
|
92201
|
+
method: 'POST';
|
|
92202
|
+
queryParams: {};
|
|
92203
|
+
jsonBody: {
|
|
92204
|
+
organization_id: string;
|
|
92205
|
+
};
|
|
92206
|
+
commonParams: {};
|
|
92207
|
+
formData: {};
|
|
92208
|
+
jsonResponse: {
|
|
92209
|
+
trial: {
|
|
92210
|
+
trial_started_at: string;
|
|
92211
|
+
trial_ends_at: string;
|
|
92212
|
+
is_active: boolean;
|
|
92213
|
+
is_suspended: boolean;
|
|
92214
|
+
trial_credits: number;
|
|
92215
|
+
used_credits: number | null;
|
|
92216
|
+
remaining_credits: number | null;
|
|
92217
|
+
is_credits_used_up: boolean;
|
|
92218
|
+
can_extend_trial: boolean;
|
|
92219
|
+
extended_trial_ends_at: string | null;
|
|
92220
|
+
};
|
|
92221
|
+
};
|
|
92222
|
+
maxDuration: undefined;
|
|
92223
|
+
};
|
|
92041
92224
|
'/seam/console/v1/credits/usage/get': {
|
|
92042
92225
|
route: '/seam/console/v1/credits/usage/get';
|
|
92043
92226
|
method: 'POST';
|
|
@@ -97151,9 +97334,9 @@ export type Routes = {
|
|
|
97151
97334
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago. */
|
|
97152
97335
|
between?: string[] | undefined;
|
|
97153
97336
|
/** Type of the events that you want to list. */
|
|
97154
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
97337
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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;
|
|
97155
97338
|
/** Types of the events that you want to list. */
|
|
97156
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
97339
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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;
|
|
97157
97340
|
/** Numerical limit on the number of events to return. */
|
|
97158
97341
|
limit?: number;
|
|
97159
97342
|
};
|
|
@@ -100321,6 +100504,84 @@ export type Routes = {
|
|
|
100321
100504
|
/** Human-readable explanation of why access was denied. */
|
|
100322
100505
|
message: string;
|
|
100323
100506
|
} | undefined;
|
|
100507
|
+
} | {
|
|
100508
|
+
/** ID of the event. */
|
|
100509
|
+
event_id: string;
|
|
100510
|
+
/** ID of the workspace associated with the event. */
|
|
100511
|
+
workspace_id: string;
|
|
100512
|
+
/** Date and time at which the event was created. */
|
|
100513
|
+
created_at: string;
|
|
100514
|
+
/** Date and time at which the event occurred. */
|
|
100515
|
+
occurred_at: string;
|
|
100516
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
100517
|
+
event_description?: string | undefined;
|
|
100518
|
+
/** ID of the affected device. */
|
|
100519
|
+
device_id: string;
|
|
100520
|
+
/** ID of the connected account associated with the event. */
|
|
100521
|
+
connected_account_id: string;
|
|
100522
|
+
/** The customer key associated with the device, if any. */
|
|
100523
|
+
customer_key?: string | undefined;
|
|
100524
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
100525
|
+
device_custom_metadata?: {
|
|
100526
|
+
[x: string]: string | boolean;
|
|
100527
|
+
} | undefined;
|
|
100528
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
100529
|
+
connected_account_custom_metadata?: {
|
|
100530
|
+
[x: string]: string | boolean;
|
|
100531
|
+
} | undefined;
|
|
100532
|
+
event_type: 'lock.jammed';
|
|
100533
|
+
} | {
|
|
100534
|
+
/** ID of the event. */
|
|
100535
|
+
event_id: string;
|
|
100536
|
+
/** ID of the workspace associated with the event. */
|
|
100537
|
+
workspace_id: string;
|
|
100538
|
+
/** Date and time at which the event was created. */
|
|
100539
|
+
created_at: string;
|
|
100540
|
+
/** Date and time at which the event occurred. */
|
|
100541
|
+
occurred_at: string;
|
|
100542
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
100543
|
+
event_description?: string | undefined;
|
|
100544
|
+
/** ID of the affected device. */
|
|
100545
|
+
device_id: string;
|
|
100546
|
+
/** ID of the connected account associated with the event. */
|
|
100547
|
+
connected_account_id: string;
|
|
100548
|
+
/** The customer key associated with the device, if any. */
|
|
100549
|
+
customer_key?: string | undefined;
|
|
100550
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
100551
|
+
device_custom_metadata?: {
|
|
100552
|
+
[x: string]: string | boolean;
|
|
100553
|
+
} | undefined;
|
|
100554
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
100555
|
+
connected_account_custom_metadata?: {
|
|
100556
|
+
[x: string]: string | boolean;
|
|
100557
|
+
} | undefined;
|
|
100558
|
+
event_type: 'lock.door_opened';
|
|
100559
|
+
} | {
|
|
100560
|
+
/** ID of the event. */
|
|
100561
|
+
event_id: string;
|
|
100562
|
+
/** ID of the workspace associated with the event. */
|
|
100563
|
+
workspace_id: string;
|
|
100564
|
+
/** Date and time at which the event was created. */
|
|
100565
|
+
created_at: string;
|
|
100566
|
+
/** Date and time at which the event occurred. */
|
|
100567
|
+
occurred_at: string;
|
|
100568
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
100569
|
+
event_description?: string | undefined;
|
|
100570
|
+
/** ID of the affected device. */
|
|
100571
|
+
device_id: string;
|
|
100572
|
+
/** ID of the connected account associated with the event. */
|
|
100573
|
+
connected_account_id: string;
|
|
100574
|
+
/** The customer key associated with the device, if any. */
|
|
100575
|
+
customer_key?: string | undefined;
|
|
100576
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
100577
|
+
device_custom_metadata?: {
|
|
100578
|
+
[x: string]: string | boolean;
|
|
100579
|
+
} | undefined;
|
|
100580
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
100581
|
+
connected_account_custom_metadata?: {
|
|
100582
|
+
[x: string]: string | boolean;
|
|
100583
|
+
} | undefined;
|
|
100584
|
+
event_type: 'lock.door_closed';
|
|
100324
100585
|
} | {
|
|
100325
100586
|
/** ID of the event. */
|
|
100326
100587
|
event_id: string;
|
|
@@ -102939,7 +103200,7 @@ export type Routes = {
|
|
|
102939
103200
|
queryParams: {};
|
|
102940
103201
|
jsonBody: {
|
|
102941
103202
|
/** Type of the event that you want to preview. */
|
|
102942
|
-
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
103203
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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';
|
|
102943
103204
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
102944
103205
|
payload?: {
|
|
102945
103206
|
[x: string]: unknown;
|
|
@@ -102967,7 +103228,7 @@ export type Routes = {
|
|
|
102967
103228
|
queryParams: {};
|
|
102968
103229
|
jsonBody: {
|
|
102969
103230
|
/** Type of the event that you want to send to your webhooks. */
|
|
102970
|
-
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
103231
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'lock.jammed' | 'lock.door_opened' | 'lock.door_closed' | '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';
|
|
102971
103232
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
102972
103233
|
payload?: {
|
|
102973
103234
|
[x: string]: unknown;
|
|
@@ -106141,6 +106402,84 @@ export type Routes = {
|
|
|
106141
106402
|
/** Human-readable explanation of why access was denied. */
|
|
106142
106403
|
message: string;
|
|
106143
106404
|
} | undefined;
|
|
106405
|
+
} | {
|
|
106406
|
+
/** ID of the event. */
|
|
106407
|
+
event_id: string;
|
|
106408
|
+
/** ID of the workspace associated with the event. */
|
|
106409
|
+
workspace_id: string;
|
|
106410
|
+
/** Date and time at which the event was created. */
|
|
106411
|
+
created_at: string;
|
|
106412
|
+
/** Date and time at which the event occurred. */
|
|
106413
|
+
occurred_at: string;
|
|
106414
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
106415
|
+
event_description?: string | undefined;
|
|
106416
|
+
/** ID of the affected device. */
|
|
106417
|
+
device_id: string;
|
|
106418
|
+
/** ID of the connected account associated with the event. */
|
|
106419
|
+
connected_account_id: string;
|
|
106420
|
+
/** The customer key associated with the device, if any. */
|
|
106421
|
+
customer_key?: string | undefined;
|
|
106422
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
106423
|
+
device_custom_metadata?: {
|
|
106424
|
+
[x: string]: string | boolean;
|
|
106425
|
+
} | undefined;
|
|
106426
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
106427
|
+
connected_account_custom_metadata?: {
|
|
106428
|
+
[x: string]: string | boolean;
|
|
106429
|
+
} | undefined;
|
|
106430
|
+
event_type: 'lock.jammed';
|
|
106431
|
+
} | {
|
|
106432
|
+
/** ID of the event. */
|
|
106433
|
+
event_id: string;
|
|
106434
|
+
/** ID of the workspace associated with the event. */
|
|
106435
|
+
workspace_id: string;
|
|
106436
|
+
/** Date and time at which the event was created. */
|
|
106437
|
+
created_at: string;
|
|
106438
|
+
/** Date and time at which the event occurred. */
|
|
106439
|
+
occurred_at: string;
|
|
106440
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
106441
|
+
event_description?: string | undefined;
|
|
106442
|
+
/** ID of the affected device. */
|
|
106443
|
+
device_id: string;
|
|
106444
|
+
/** ID of the connected account associated with the event. */
|
|
106445
|
+
connected_account_id: string;
|
|
106446
|
+
/** The customer key associated with the device, if any. */
|
|
106447
|
+
customer_key?: string | undefined;
|
|
106448
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
106449
|
+
device_custom_metadata?: {
|
|
106450
|
+
[x: string]: string | boolean;
|
|
106451
|
+
} | undefined;
|
|
106452
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
106453
|
+
connected_account_custom_metadata?: {
|
|
106454
|
+
[x: string]: string | boolean;
|
|
106455
|
+
} | undefined;
|
|
106456
|
+
event_type: 'lock.door_opened';
|
|
106457
|
+
} | {
|
|
106458
|
+
/** ID of the event. */
|
|
106459
|
+
event_id: string;
|
|
106460
|
+
/** ID of the workspace associated with the event. */
|
|
106461
|
+
workspace_id: string;
|
|
106462
|
+
/** Date and time at which the event was created. */
|
|
106463
|
+
created_at: string;
|
|
106464
|
+
/** Date and time at which the event occurred. */
|
|
106465
|
+
occurred_at: string;
|
|
106466
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
106467
|
+
event_description?: string | undefined;
|
|
106468
|
+
/** ID of the affected device. */
|
|
106469
|
+
device_id: string;
|
|
106470
|
+
/** ID of the connected account associated with the event. */
|
|
106471
|
+
connected_account_id: string;
|
|
106472
|
+
/** The customer key associated with the device, if any. */
|
|
106473
|
+
customer_key?: string | undefined;
|
|
106474
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
106475
|
+
device_custom_metadata?: {
|
|
106476
|
+
[x: string]: string | boolean;
|
|
106477
|
+
} | undefined;
|
|
106478
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
106479
|
+
connected_account_custom_metadata?: {
|
|
106480
|
+
[x: string]: string | boolean;
|
|
106481
|
+
} | undefined;
|
|
106482
|
+
event_type: 'lock.door_closed';
|
|
106144
106483
|
} | {
|
|
106145
106484
|
/** ID of the event. */
|
|
106146
106485
|
event_id: string;
|
|
@@ -170644,6 +170983,84 @@ export type Routes = {
|
|
|
170644
170983
|
/** Human-readable explanation of why access was denied. */
|
|
170645
170984
|
message: string;
|
|
170646
170985
|
} | undefined;
|
|
170986
|
+
} | {
|
|
170987
|
+
/** ID of the event. */
|
|
170988
|
+
event_id: string;
|
|
170989
|
+
/** ID of the workspace associated with the event. */
|
|
170990
|
+
workspace_id: string;
|
|
170991
|
+
/** Date and time at which the event was created. */
|
|
170992
|
+
created_at: string;
|
|
170993
|
+
/** Date and time at which the event occurred. */
|
|
170994
|
+
occurred_at: string;
|
|
170995
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
170996
|
+
event_description?: string | undefined;
|
|
170997
|
+
/** ID of the affected device. */
|
|
170998
|
+
device_id: string;
|
|
170999
|
+
/** ID of the connected account associated with the event. */
|
|
171000
|
+
connected_account_id: string;
|
|
171001
|
+
/** The customer key associated with the device, if any. */
|
|
171002
|
+
customer_key?: string | undefined;
|
|
171003
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
171004
|
+
device_custom_metadata?: {
|
|
171005
|
+
[x: string]: string | boolean;
|
|
171006
|
+
} | undefined;
|
|
171007
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
171008
|
+
connected_account_custom_metadata?: {
|
|
171009
|
+
[x: string]: string | boolean;
|
|
171010
|
+
} | undefined;
|
|
171011
|
+
event_type: 'lock.jammed';
|
|
171012
|
+
} | {
|
|
171013
|
+
/** ID of the event. */
|
|
171014
|
+
event_id: string;
|
|
171015
|
+
/** ID of the workspace associated with the event. */
|
|
171016
|
+
workspace_id: string;
|
|
171017
|
+
/** Date and time at which the event was created. */
|
|
171018
|
+
created_at: string;
|
|
171019
|
+
/** Date and time at which the event occurred. */
|
|
171020
|
+
occurred_at: string;
|
|
171021
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
171022
|
+
event_description?: string | undefined;
|
|
171023
|
+
/** ID of the affected device. */
|
|
171024
|
+
device_id: string;
|
|
171025
|
+
/** ID of the connected account associated with the event. */
|
|
171026
|
+
connected_account_id: string;
|
|
171027
|
+
/** The customer key associated with the device, if any. */
|
|
171028
|
+
customer_key?: string | undefined;
|
|
171029
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
171030
|
+
device_custom_metadata?: {
|
|
171031
|
+
[x: string]: string | boolean;
|
|
171032
|
+
} | undefined;
|
|
171033
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
171034
|
+
connected_account_custom_metadata?: {
|
|
171035
|
+
[x: string]: string | boolean;
|
|
171036
|
+
} | undefined;
|
|
171037
|
+
event_type: 'lock.door_opened';
|
|
171038
|
+
} | {
|
|
171039
|
+
/** ID of the event. */
|
|
171040
|
+
event_id: string;
|
|
171041
|
+
/** ID of the workspace associated with the event. */
|
|
171042
|
+
workspace_id: string;
|
|
171043
|
+
/** Date and time at which the event was created. */
|
|
171044
|
+
created_at: string;
|
|
171045
|
+
/** Date and time at which the event occurred. */
|
|
171046
|
+
occurred_at: string;
|
|
171047
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
171048
|
+
event_description?: string | undefined;
|
|
171049
|
+
/** ID of the affected device. */
|
|
171050
|
+
device_id: string;
|
|
171051
|
+
/** ID of the connected account associated with the event. */
|
|
171052
|
+
connected_account_id: string;
|
|
171053
|
+
/** The customer key associated with the device, if any. */
|
|
171054
|
+
customer_key?: string | undefined;
|
|
171055
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
171056
|
+
device_custom_metadata?: {
|
|
171057
|
+
[x: string]: string | boolean;
|
|
171058
|
+
} | undefined;
|
|
171059
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
171060
|
+
connected_account_custom_metadata?: {
|
|
171061
|
+
[x: string]: string | boolean;
|
|
171062
|
+
} | undefined;
|
|
171063
|
+
event_type: 'lock.door_closed';
|
|
170647
171064
|
} | {
|
|
170648
171065
|
/** ID of the event. */
|
|
170649
171066
|
event_id: string;
|