@seamapi/types 1.1210.0 → 1.1211.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 +295 -0
- package/lib/seam/connect/models/events/devices.js +64 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +145 -1
- package/lib/seam/connect/openapi.js +291 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +496 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +100 -0
- package/src/lib/seam/connect/openapi.ts +319 -0
- package/src/lib/seam/connect/route-types.ts +583 -0
|
@@ -59155,6 +59155,104 @@ export type Routes = {
|
|
|
59155
59155
|
temperature_celsius: number;
|
|
59156
59156
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
59157
59157
|
temperature_fahrenheit: number;
|
|
59158
|
+
} | {
|
|
59159
|
+
/** ID of the event. */
|
|
59160
|
+
event_id: string;
|
|
59161
|
+
/** ID of the workspace associated with the event. */
|
|
59162
|
+
workspace_id: string;
|
|
59163
|
+
/** Date and time at which the event was created. */
|
|
59164
|
+
created_at: string;
|
|
59165
|
+
/** Date and time at which the event occurred. */
|
|
59166
|
+
occurred_at: string;
|
|
59167
|
+
/** 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. */
|
|
59168
|
+
event_description?: string | undefined;
|
|
59169
|
+
/** ID of the affected device. */
|
|
59170
|
+
device_id: string;
|
|
59171
|
+
/** ID of the connected account associated with the event. */
|
|
59172
|
+
connected_account_id: string;
|
|
59173
|
+
/** The customer key associated with the device, if any. */
|
|
59174
|
+
customer_key?: string | undefined;
|
|
59175
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
59176
|
+
device_custom_metadata?: {
|
|
59177
|
+
[x: string]: string | boolean;
|
|
59178
|
+
} | undefined;
|
|
59179
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
59180
|
+
connected_account_custom_metadata?: {
|
|
59181
|
+
[x: string]: string | boolean;
|
|
59182
|
+
} | undefined;
|
|
59183
|
+
event_type: 'pool.temperature_changed';
|
|
59184
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
59185
|
+
temperature_celsius: number;
|
|
59186
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
59187
|
+
temperature_fahrenheit: number;
|
|
59188
|
+
} | {
|
|
59189
|
+
/** ID of the event. */
|
|
59190
|
+
event_id: string;
|
|
59191
|
+
/** ID of the workspace associated with the event. */
|
|
59192
|
+
workspace_id: string;
|
|
59193
|
+
/** Date and time at which the event was created. */
|
|
59194
|
+
created_at: string;
|
|
59195
|
+
/** Date and time at which the event occurred. */
|
|
59196
|
+
occurred_at: string;
|
|
59197
|
+
/** 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. */
|
|
59198
|
+
event_description?: string | undefined;
|
|
59199
|
+
/** ID of the affected device. */
|
|
59200
|
+
device_id: string;
|
|
59201
|
+
/** ID of the connected account associated with the event. */
|
|
59202
|
+
connected_account_id: string;
|
|
59203
|
+
/** The customer key associated with the device, if any. */
|
|
59204
|
+
customer_key?: string | undefined;
|
|
59205
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
59206
|
+
device_custom_metadata?: {
|
|
59207
|
+
[x: string]: string | boolean;
|
|
59208
|
+
} | undefined;
|
|
59209
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
59210
|
+
connected_account_custom_metadata?: {
|
|
59211
|
+
[x: string]: string | boolean;
|
|
59212
|
+
} | undefined;
|
|
59213
|
+
event_type: 'pool.temperature_reached_set_point';
|
|
59214
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
59215
|
+
temperature_celsius: number;
|
|
59216
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
59217
|
+
temperature_fahrenheit: number;
|
|
59218
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
59219
|
+
desired_temperature_celsius: number;
|
|
59220
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
59221
|
+
desired_temperature_fahrenheit: number;
|
|
59222
|
+
} | {
|
|
59223
|
+
/** ID of the event. */
|
|
59224
|
+
event_id: string;
|
|
59225
|
+
/** ID of the workspace associated with the event. */
|
|
59226
|
+
workspace_id: string;
|
|
59227
|
+
/** Date and time at which the event was created. */
|
|
59228
|
+
created_at: string;
|
|
59229
|
+
/** Date and time at which the event occurred. */
|
|
59230
|
+
occurred_at: string;
|
|
59231
|
+
/** 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. */
|
|
59232
|
+
event_description?: string | undefined;
|
|
59233
|
+
/** ID of the affected device. */
|
|
59234
|
+
device_id: string;
|
|
59235
|
+
/** ID of the connected account associated with the event. */
|
|
59236
|
+
connected_account_id: string;
|
|
59237
|
+
/** The customer key associated with the device, if any. */
|
|
59238
|
+
customer_key?: string | undefined;
|
|
59239
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
59240
|
+
device_custom_metadata?: {
|
|
59241
|
+
[x: string]: string | boolean;
|
|
59242
|
+
} | undefined;
|
|
59243
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
59244
|
+
connected_account_custom_metadata?: {
|
|
59245
|
+
[x: string]: string | boolean;
|
|
59246
|
+
} | undefined;
|
|
59247
|
+
event_type: 'pool.manually_adjusted';
|
|
59248
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
59249
|
+
method: 'seam' | 'external';
|
|
59250
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
59251
|
+
controller_mode?: ('heat' | 'off') | undefined;
|
|
59252
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
59253
|
+
heating_set_point_celsius?: number | undefined;
|
|
59254
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
59255
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
59158
59256
|
} | {
|
|
59159
59257
|
/** ID of the event. */
|
|
59160
59258
|
event_id: string;
|
|
@@ -59378,9 +59476,9 @@ export type Routes = {
|
|
|
59378
59476
|
/** IDs of the access codes for which you want to list events. */
|
|
59379
59477
|
access_code_ids?: string[] | undefined;
|
|
59380
59478
|
/** Type of the events that you want to list. */
|
|
59381
|
-
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;
|
|
59479
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
59382
59480
|
/** Types of the events that you want to list. */
|
|
59383
|
-
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;
|
|
59481
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
59384
59482
|
/** ID of the connected account for which you want to list events. */
|
|
59385
59483
|
connected_account_id?: string | undefined;
|
|
59386
59484
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -62868,6 +62966,104 @@ export type Routes = {
|
|
|
62868
62966
|
temperature_celsius: number;
|
|
62869
62967
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
62870
62968
|
temperature_fahrenheit: number;
|
|
62969
|
+
} | {
|
|
62970
|
+
/** ID of the event. */
|
|
62971
|
+
event_id: string;
|
|
62972
|
+
/** ID of the workspace associated with the event. */
|
|
62973
|
+
workspace_id: string;
|
|
62974
|
+
/** Date and time at which the event was created. */
|
|
62975
|
+
created_at: string;
|
|
62976
|
+
/** Date and time at which the event occurred. */
|
|
62977
|
+
occurred_at: string;
|
|
62978
|
+
/** 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. */
|
|
62979
|
+
event_description?: string | undefined;
|
|
62980
|
+
/** ID of the affected device. */
|
|
62981
|
+
device_id: string;
|
|
62982
|
+
/** ID of the connected account associated with the event. */
|
|
62983
|
+
connected_account_id: string;
|
|
62984
|
+
/** The customer key associated with the device, if any. */
|
|
62985
|
+
customer_key?: string | undefined;
|
|
62986
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
62987
|
+
device_custom_metadata?: {
|
|
62988
|
+
[x: string]: string | boolean;
|
|
62989
|
+
} | undefined;
|
|
62990
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
62991
|
+
connected_account_custom_metadata?: {
|
|
62992
|
+
[x: string]: string | boolean;
|
|
62993
|
+
} | undefined;
|
|
62994
|
+
event_type: 'pool.temperature_changed';
|
|
62995
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
62996
|
+
temperature_celsius: number;
|
|
62997
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
62998
|
+
temperature_fahrenheit: number;
|
|
62999
|
+
} | {
|
|
63000
|
+
/** ID of the event. */
|
|
63001
|
+
event_id: string;
|
|
63002
|
+
/** ID of the workspace associated with the event. */
|
|
63003
|
+
workspace_id: string;
|
|
63004
|
+
/** Date and time at which the event was created. */
|
|
63005
|
+
created_at: string;
|
|
63006
|
+
/** Date and time at which the event occurred. */
|
|
63007
|
+
occurred_at: string;
|
|
63008
|
+
/** 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. */
|
|
63009
|
+
event_description?: string | undefined;
|
|
63010
|
+
/** ID of the affected device. */
|
|
63011
|
+
device_id: string;
|
|
63012
|
+
/** ID of the connected account associated with the event. */
|
|
63013
|
+
connected_account_id: string;
|
|
63014
|
+
/** The customer key associated with the device, if any. */
|
|
63015
|
+
customer_key?: string | undefined;
|
|
63016
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
63017
|
+
device_custom_metadata?: {
|
|
63018
|
+
[x: string]: string | boolean;
|
|
63019
|
+
} | undefined;
|
|
63020
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
63021
|
+
connected_account_custom_metadata?: {
|
|
63022
|
+
[x: string]: string | boolean;
|
|
63023
|
+
} | undefined;
|
|
63024
|
+
event_type: 'pool.temperature_reached_set_point';
|
|
63025
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
63026
|
+
temperature_celsius: number;
|
|
63027
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
63028
|
+
temperature_fahrenheit: number;
|
|
63029
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
63030
|
+
desired_temperature_celsius: number;
|
|
63031
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
63032
|
+
desired_temperature_fahrenheit: number;
|
|
63033
|
+
} | {
|
|
63034
|
+
/** ID of the event. */
|
|
63035
|
+
event_id: string;
|
|
63036
|
+
/** ID of the workspace associated with the event. */
|
|
63037
|
+
workspace_id: string;
|
|
63038
|
+
/** Date and time at which the event was created. */
|
|
63039
|
+
created_at: string;
|
|
63040
|
+
/** Date and time at which the event occurred. */
|
|
63041
|
+
occurred_at: string;
|
|
63042
|
+
/** 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. */
|
|
63043
|
+
event_description?: string | undefined;
|
|
63044
|
+
/** ID of the affected device. */
|
|
63045
|
+
device_id: string;
|
|
63046
|
+
/** ID of the connected account associated with the event. */
|
|
63047
|
+
connected_account_id: string;
|
|
63048
|
+
/** The customer key associated with the device, if any. */
|
|
63049
|
+
customer_key?: string | undefined;
|
|
63050
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
63051
|
+
device_custom_metadata?: {
|
|
63052
|
+
[x: string]: string | boolean;
|
|
63053
|
+
} | undefined;
|
|
63054
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
63055
|
+
connected_account_custom_metadata?: {
|
|
63056
|
+
[x: string]: string | boolean;
|
|
63057
|
+
} | undefined;
|
|
63058
|
+
event_type: 'pool.manually_adjusted';
|
|
63059
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
63060
|
+
method: 'seam' | 'external';
|
|
63061
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
63062
|
+
controller_mode?: ('heat' | 'off') | undefined;
|
|
63063
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
63064
|
+
heating_set_point_celsius?: number | undefined;
|
|
63065
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
63066
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
62871
63067
|
} | {
|
|
62872
63068
|
/** ID of the event. */
|
|
62873
63069
|
event_id: string;
|
|
@@ -106122,9 +106318,9 @@ export type Routes = {
|
|
|
106122
106318
|
/** 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. */
|
|
106123
106319
|
between?: string[] | undefined;
|
|
106124
106320
|
/** Type of the events that you want to list. */
|
|
106125
|
-
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;
|
|
106321
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
106126
106322
|
/** Types of the events that you want to list. */
|
|
106127
|
-
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;
|
|
106323
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
106128
106324
|
/** Numerical limit on the number of events to return. */
|
|
106129
106325
|
limit?: number;
|
|
106130
106326
|
};
|
|
@@ -109582,6 +109778,104 @@ export type Routes = {
|
|
|
109582
109778
|
temperature_celsius: number;
|
|
109583
109779
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
109584
109780
|
temperature_fahrenheit: number;
|
|
109781
|
+
} | {
|
|
109782
|
+
/** ID of the event. */
|
|
109783
|
+
event_id: string;
|
|
109784
|
+
/** ID of the workspace associated with the event. */
|
|
109785
|
+
workspace_id: string;
|
|
109786
|
+
/** Date and time at which the event was created. */
|
|
109787
|
+
created_at: string;
|
|
109788
|
+
/** Date and time at which the event occurred. */
|
|
109789
|
+
occurred_at: string;
|
|
109790
|
+
/** 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. */
|
|
109791
|
+
event_description?: string | undefined;
|
|
109792
|
+
/** ID of the affected device. */
|
|
109793
|
+
device_id: string;
|
|
109794
|
+
/** ID of the connected account associated with the event. */
|
|
109795
|
+
connected_account_id: string;
|
|
109796
|
+
/** The customer key associated with the device, if any. */
|
|
109797
|
+
customer_key?: string | undefined;
|
|
109798
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
109799
|
+
device_custom_metadata?: {
|
|
109800
|
+
[x: string]: string | boolean;
|
|
109801
|
+
} | undefined;
|
|
109802
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
109803
|
+
connected_account_custom_metadata?: {
|
|
109804
|
+
[x: string]: string | boolean;
|
|
109805
|
+
} | undefined;
|
|
109806
|
+
event_type: 'pool.temperature_changed';
|
|
109807
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
109808
|
+
temperature_celsius: number;
|
|
109809
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
109810
|
+
temperature_fahrenheit: number;
|
|
109811
|
+
} | {
|
|
109812
|
+
/** ID of the event. */
|
|
109813
|
+
event_id: string;
|
|
109814
|
+
/** ID of the workspace associated with the event. */
|
|
109815
|
+
workspace_id: string;
|
|
109816
|
+
/** Date and time at which the event was created. */
|
|
109817
|
+
created_at: string;
|
|
109818
|
+
/** Date and time at which the event occurred. */
|
|
109819
|
+
occurred_at: string;
|
|
109820
|
+
/** 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. */
|
|
109821
|
+
event_description?: string | undefined;
|
|
109822
|
+
/** ID of the affected device. */
|
|
109823
|
+
device_id: string;
|
|
109824
|
+
/** ID of the connected account associated with the event. */
|
|
109825
|
+
connected_account_id: string;
|
|
109826
|
+
/** The customer key associated with the device, if any. */
|
|
109827
|
+
customer_key?: string | undefined;
|
|
109828
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
109829
|
+
device_custom_metadata?: {
|
|
109830
|
+
[x: string]: string | boolean;
|
|
109831
|
+
} | undefined;
|
|
109832
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
109833
|
+
connected_account_custom_metadata?: {
|
|
109834
|
+
[x: string]: string | boolean;
|
|
109835
|
+
} | undefined;
|
|
109836
|
+
event_type: 'pool.temperature_reached_set_point';
|
|
109837
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
109838
|
+
temperature_celsius: number;
|
|
109839
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
109840
|
+
temperature_fahrenheit: number;
|
|
109841
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
109842
|
+
desired_temperature_celsius: number;
|
|
109843
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
109844
|
+
desired_temperature_fahrenheit: number;
|
|
109845
|
+
} | {
|
|
109846
|
+
/** ID of the event. */
|
|
109847
|
+
event_id: string;
|
|
109848
|
+
/** ID of the workspace associated with the event. */
|
|
109849
|
+
workspace_id: string;
|
|
109850
|
+
/** Date and time at which the event was created. */
|
|
109851
|
+
created_at: string;
|
|
109852
|
+
/** Date and time at which the event occurred. */
|
|
109853
|
+
occurred_at: string;
|
|
109854
|
+
/** 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. */
|
|
109855
|
+
event_description?: string | undefined;
|
|
109856
|
+
/** ID of the affected device. */
|
|
109857
|
+
device_id: string;
|
|
109858
|
+
/** ID of the connected account associated with the event. */
|
|
109859
|
+
connected_account_id: string;
|
|
109860
|
+
/** The customer key associated with the device, if any. */
|
|
109861
|
+
customer_key?: string | undefined;
|
|
109862
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
109863
|
+
device_custom_metadata?: {
|
|
109864
|
+
[x: string]: string | boolean;
|
|
109865
|
+
} | undefined;
|
|
109866
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
109867
|
+
connected_account_custom_metadata?: {
|
|
109868
|
+
[x: string]: string | boolean;
|
|
109869
|
+
} | undefined;
|
|
109870
|
+
event_type: 'pool.manually_adjusted';
|
|
109871
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
109872
|
+
method: 'seam' | 'external';
|
|
109873
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
109874
|
+
controller_mode?: ('heat' | 'off') | undefined;
|
|
109875
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
109876
|
+
heating_set_point_celsius?: number | undefined;
|
|
109877
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
109878
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
109585
109879
|
} | {
|
|
109586
109880
|
/** ID of the event. */
|
|
109587
109881
|
event_id: string;
|
|
@@ -111988,7 +112282,7 @@ export type Routes = {
|
|
|
111988
112282
|
queryParams: {};
|
|
111989
112283
|
jsonBody: {
|
|
111990
112284
|
/** Type of the event that you want to preview. */
|
|
111991
|
-
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';
|
|
112285
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
111992
112286
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
111993
112287
|
payload?: {
|
|
111994
112288
|
[x: string]: unknown;
|
|
@@ -112016,7 +112310,7 @@ export type Routes = {
|
|
|
112016
112310
|
queryParams: {};
|
|
112017
112311
|
jsonBody: {
|
|
112018
112312
|
/** Type of the event that you want to send to your webhooks. */
|
|
112019
|
-
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';
|
|
112313
|
+
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' | 'pool.temperature_changed' | 'pool.temperature_reached_set_point' | 'pool.manually_adjusted' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
112020
112314
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
112021
112315
|
payload?: {
|
|
112022
112316
|
[x: string]: unknown;
|
|
@@ -115480,6 +115774,104 @@ export type Routes = {
|
|
|
115480
115774
|
temperature_celsius: number;
|
|
115481
115775
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
115482
115776
|
temperature_fahrenheit: number;
|
|
115777
|
+
} | {
|
|
115778
|
+
/** ID of the event. */
|
|
115779
|
+
event_id: string;
|
|
115780
|
+
/** ID of the workspace associated with the event. */
|
|
115781
|
+
workspace_id: string;
|
|
115782
|
+
/** Date and time at which the event was created. */
|
|
115783
|
+
created_at: string;
|
|
115784
|
+
/** Date and time at which the event occurred. */
|
|
115785
|
+
occurred_at: string;
|
|
115786
|
+
/** 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. */
|
|
115787
|
+
event_description?: string | undefined;
|
|
115788
|
+
/** ID of the affected device. */
|
|
115789
|
+
device_id: string;
|
|
115790
|
+
/** ID of the connected account associated with the event. */
|
|
115791
|
+
connected_account_id: string;
|
|
115792
|
+
/** The customer key associated with the device, if any. */
|
|
115793
|
+
customer_key?: string | undefined;
|
|
115794
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
115795
|
+
device_custom_metadata?: {
|
|
115796
|
+
[x: string]: string | boolean;
|
|
115797
|
+
} | undefined;
|
|
115798
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
115799
|
+
connected_account_custom_metadata?: {
|
|
115800
|
+
[x: string]: string | boolean;
|
|
115801
|
+
} | undefined;
|
|
115802
|
+
event_type: 'pool.temperature_changed';
|
|
115803
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
115804
|
+
temperature_celsius: number;
|
|
115805
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
115806
|
+
temperature_fahrenheit: number;
|
|
115807
|
+
} | {
|
|
115808
|
+
/** ID of the event. */
|
|
115809
|
+
event_id: string;
|
|
115810
|
+
/** ID of the workspace associated with the event. */
|
|
115811
|
+
workspace_id: string;
|
|
115812
|
+
/** Date and time at which the event was created. */
|
|
115813
|
+
created_at: string;
|
|
115814
|
+
/** Date and time at which the event occurred. */
|
|
115815
|
+
occurred_at: string;
|
|
115816
|
+
/** 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. */
|
|
115817
|
+
event_description?: string | undefined;
|
|
115818
|
+
/** ID of the affected device. */
|
|
115819
|
+
device_id: string;
|
|
115820
|
+
/** ID of the connected account associated with the event. */
|
|
115821
|
+
connected_account_id: string;
|
|
115822
|
+
/** The customer key associated with the device, if any. */
|
|
115823
|
+
customer_key?: string | undefined;
|
|
115824
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
115825
|
+
device_custom_metadata?: {
|
|
115826
|
+
[x: string]: string | boolean;
|
|
115827
|
+
} | undefined;
|
|
115828
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
115829
|
+
connected_account_custom_metadata?: {
|
|
115830
|
+
[x: string]: string | boolean;
|
|
115831
|
+
} | undefined;
|
|
115832
|
+
event_type: 'pool.temperature_reached_set_point';
|
|
115833
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
115834
|
+
temperature_celsius: number;
|
|
115835
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
115836
|
+
temperature_fahrenheit: number;
|
|
115837
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
115838
|
+
desired_temperature_celsius: number;
|
|
115839
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
115840
|
+
desired_temperature_fahrenheit: number;
|
|
115841
|
+
} | {
|
|
115842
|
+
/** ID of the event. */
|
|
115843
|
+
event_id: string;
|
|
115844
|
+
/** ID of the workspace associated with the event. */
|
|
115845
|
+
workspace_id: string;
|
|
115846
|
+
/** Date and time at which the event was created. */
|
|
115847
|
+
created_at: string;
|
|
115848
|
+
/** Date and time at which the event occurred. */
|
|
115849
|
+
occurred_at: string;
|
|
115850
|
+
/** 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. */
|
|
115851
|
+
event_description?: string | undefined;
|
|
115852
|
+
/** ID of the affected device. */
|
|
115853
|
+
device_id: string;
|
|
115854
|
+
/** ID of the connected account associated with the event. */
|
|
115855
|
+
connected_account_id: string;
|
|
115856
|
+
/** The customer key associated with the device, if any. */
|
|
115857
|
+
customer_key?: string | undefined;
|
|
115858
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
115859
|
+
device_custom_metadata?: {
|
|
115860
|
+
[x: string]: string | boolean;
|
|
115861
|
+
} | undefined;
|
|
115862
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
115863
|
+
connected_account_custom_metadata?: {
|
|
115864
|
+
[x: string]: string | boolean;
|
|
115865
|
+
} | undefined;
|
|
115866
|
+
event_type: 'pool.manually_adjusted';
|
|
115867
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
115868
|
+
method: 'seam' | 'external';
|
|
115869
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
115870
|
+
controller_mode?: ('heat' | 'off') | undefined;
|
|
115871
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
115872
|
+
heating_set_point_celsius?: number | undefined;
|
|
115873
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
115874
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
115483
115875
|
} | {
|
|
115484
115876
|
/** ID of the event. */
|
|
115485
115877
|
event_id: string;
|
|
@@ -181852,6 +182244,104 @@ export type Routes = {
|
|
|
181852
182244
|
temperature_celsius: number;
|
|
181853
182245
|
/** Temperature, in °F, reported by the affected thermostat. */
|
|
181854
182246
|
temperature_fahrenheit: number;
|
|
182247
|
+
} | {
|
|
182248
|
+
/** ID of the event. */
|
|
182249
|
+
event_id: string;
|
|
182250
|
+
/** ID of the workspace associated with the event. */
|
|
182251
|
+
workspace_id: string;
|
|
182252
|
+
/** Date and time at which the event was created. */
|
|
182253
|
+
created_at: string;
|
|
182254
|
+
/** Date and time at which the event occurred. */
|
|
182255
|
+
occurred_at: string;
|
|
182256
|
+
/** 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. */
|
|
182257
|
+
event_description?: string | undefined;
|
|
182258
|
+
/** ID of the affected device. */
|
|
182259
|
+
device_id: string;
|
|
182260
|
+
/** ID of the connected account associated with the event. */
|
|
182261
|
+
connected_account_id: string;
|
|
182262
|
+
/** The customer key associated with the device, if any. */
|
|
182263
|
+
customer_key?: string | undefined;
|
|
182264
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
182265
|
+
device_custom_metadata?: {
|
|
182266
|
+
[x: string]: string | boolean;
|
|
182267
|
+
} | undefined;
|
|
182268
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
182269
|
+
connected_account_custom_metadata?: {
|
|
182270
|
+
[x: string]: string | boolean;
|
|
182271
|
+
} | undefined;
|
|
182272
|
+
event_type: 'pool.temperature_changed';
|
|
182273
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
182274
|
+
temperature_celsius: number;
|
|
182275
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
182276
|
+
temperature_fahrenheit: number;
|
|
182277
|
+
} | {
|
|
182278
|
+
/** ID of the event. */
|
|
182279
|
+
event_id: string;
|
|
182280
|
+
/** ID of the workspace associated with the event. */
|
|
182281
|
+
workspace_id: string;
|
|
182282
|
+
/** Date and time at which the event was created. */
|
|
182283
|
+
created_at: string;
|
|
182284
|
+
/** Date and time at which the event occurred. */
|
|
182285
|
+
occurred_at: string;
|
|
182286
|
+
/** 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. */
|
|
182287
|
+
event_description?: string | undefined;
|
|
182288
|
+
/** ID of the affected device. */
|
|
182289
|
+
device_id: string;
|
|
182290
|
+
/** ID of the connected account associated with the event. */
|
|
182291
|
+
connected_account_id: string;
|
|
182292
|
+
/** The customer key associated with the device, if any. */
|
|
182293
|
+
customer_key?: string | undefined;
|
|
182294
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
182295
|
+
device_custom_metadata?: {
|
|
182296
|
+
[x: string]: string | boolean;
|
|
182297
|
+
} | undefined;
|
|
182298
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
182299
|
+
connected_account_custom_metadata?: {
|
|
182300
|
+
[x: string]: string | boolean;
|
|
182301
|
+
} | undefined;
|
|
182302
|
+
event_type: 'pool.temperature_reached_set_point';
|
|
182303
|
+
/** Water temperature, in °C, reported by the affected pool or spa. */
|
|
182304
|
+
temperature_celsius: number;
|
|
182305
|
+
/** Water temperature, in °F, reported by the affected pool or spa. */
|
|
182306
|
+
temperature_fahrenheit: number;
|
|
182307
|
+
/** Desired water temperature, in °C, defined by the heating set point of the affected pool or spa. */
|
|
182308
|
+
desired_temperature_celsius: number;
|
|
182309
|
+
/** Desired water temperature, in °F, defined by the heating set point of the affected pool or spa. */
|
|
182310
|
+
desired_temperature_fahrenheit: number;
|
|
182311
|
+
} | {
|
|
182312
|
+
/** ID of the event. */
|
|
182313
|
+
event_id: string;
|
|
182314
|
+
/** ID of the workspace associated with the event. */
|
|
182315
|
+
workspace_id: string;
|
|
182316
|
+
/** Date and time at which the event was created. */
|
|
182317
|
+
created_at: string;
|
|
182318
|
+
/** Date and time at which the event occurred. */
|
|
182319
|
+
occurred_at: string;
|
|
182320
|
+
/** 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. */
|
|
182321
|
+
event_description?: string | undefined;
|
|
182322
|
+
/** ID of the affected device. */
|
|
182323
|
+
device_id: string;
|
|
182324
|
+
/** ID of the connected account associated with the event. */
|
|
182325
|
+
connected_account_id: string;
|
|
182326
|
+
/** The customer key associated with the device, if any. */
|
|
182327
|
+
customer_key?: string | undefined;
|
|
182328
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
182329
|
+
device_custom_metadata?: {
|
|
182330
|
+
[x: string]: string | boolean;
|
|
182331
|
+
} | undefined;
|
|
182332
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
182333
|
+
connected_account_custom_metadata?: {
|
|
182334
|
+
[x: string]: string | boolean;
|
|
182335
|
+
} | undefined;
|
|
182336
|
+
event_type: 'pool.manually_adjusted';
|
|
182337
|
+
/** Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel. */
|
|
182338
|
+
method: 'seam' | 'external';
|
|
182339
|
+
/** New heating mode of the affected pool or spa. Present only if the mode changed. */
|
|
182340
|
+
controller_mode?: ('heat' | 'off') | undefined;
|
|
182341
|
+
/** New heating set point, in °C, of the affected pool or spa. Present only if the set point changed. */
|
|
182342
|
+
heating_set_point_celsius?: number | undefined;
|
|
182343
|
+
/** New heating set point, in °F, of the affected pool or spa. Present only if the set point changed. */
|
|
182344
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
181855
182345
|
} | {
|
|
181856
182346
|
/** ID of the event. */
|
|
181857
182347
|
event_id: string;
|