@seamapi/types 1.253.0 → 1.254.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.
@@ -6300,7 +6300,7 @@ export interface Routes {
6300
6300
  climate_preset_key?: string | undefined;
6301
6301
  can_edit?: boolean | undefined;
6302
6302
  can_delete?: boolean | undefined;
6303
- name?: (string | null) | undefined;
6303
+ name?: ((string | null) | undefined) | undefined;
6304
6304
  display_name?: string | undefined;
6305
6305
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
6306
6306
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -6316,7 +6316,7 @@ export interface Routes {
6316
6316
  climate_preset_key?: string | undefined;
6317
6317
  can_edit?: boolean | undefined;
6318
6318
  can_delete?: boolean | undefined;
6319
- name?: (string | null) | undefined;
6319
+ name?: ((string | null) | undefined) | undefined;
6320
6320
  display_name?: string | undefined;
6321
6321
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
6322
6322
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -6330,7 +6330,7 @@ export interface Routes {
6330
6330
  climate_preset_key: string;
6331
6331
  can_edit: boolean;
6332
6332
  can_delete: boolean;
6333
- name?: string | null;
6333
+ name?: (string | null) | undefined;
6334
6334
  display_name: string;
6335
6335
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
6336
6336
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -6760,7 +6760,7 @@ export interface Routes {
6760
6760
  climate_preset_key?: string | undefined;
6761
6761
  can_edit?: boolean | undefined;
6762
6762
  can_delete?: boolean | undefined;
6763
- name?: (string | null) | undefined;
6763
+ name?: ((string | null) | undefined) | undefined;
6764
6764
  display_name?: string | undefined;
6765
6765
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
6766
6766
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -6776,7 +6776,7 @@ export interface Routes {
6776
6776
  climate_preset_key?: string | undefined;
6777
6777
  can_edit?: boolean | undefined;
6778
6778
  can_delete?: boolean | undefined;
6779
- name?: (string | null) | undefined;
6779
+ name?: ((string | null) | undefined) | undefined;
6780
6780
  display_name?: string | undefined;
6781
6781
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
6782
6782
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -6790,7 +6790,7 @@ export interface Routes {
6790
6790
  climate_preset_key: string;
6791
6791
  can_edit: boolean;
6792
6792
  can_delete: boolean;
6793
- name?: string | null;
6793
+ name?: (string | null) | undefined;
6794
6794
  display_name: string;
6795
6795
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
6796
6796
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -7220,6 +7220,15 @@ export interface Routes {
7220
7220
  created_at: string;
7221
7221
  occurred_at: string;
7222
7222
  event_description: string;
7223
+ thermostat_schedule_id?: string | undefined;
7224
+ is_fallback_climate_preset?: boolean | undefined;
7225
+ climate_preset_key?: string | undefined;
7226
+ hvac_mode_setting?: string | undefined;
7227
+ fan_mode_setting?: string | undefined;
7228
+ cooling_set_point_celsius?: number | undefined;
7229
+ heating_set_point_celsius?: number | undefined;
7230
+ cooling_set_point_fahrenheit?: number | undefined;
7231
+ heating_set_point_fahrenheit?: number | undefined;
7223
7232
  } | undefined;
7224
7233
  message?: string | undefined;
7225
7234
  };
@@ -7236,8 +7245,8 @@ export interface Routes {
7236
7245
  device_ids?: string[] | undefined;
7237
7246
  access_code_id?: string | undefined;
7238
7247
  access_code_ids?: string[] | undefined;
7239
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
7240
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
7248
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
7249
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
7241
7250
  connected_account_id?: string | undefined;
7242
7251
  connect_webview_id?: string | undefined;
7243
7252
  limit?: number;
@@ -7258,6 +7267,15 @@ export interface Routes {
7258
7267
  created_at: string;
7259
7268
  occurred_at: string;
7260
7269
  event_description: string;
7270
+ thermostat_schedule_id?: string | undefined;
7271
+ is_fallback_climate_preset?: boolean | undefined;
7272
+ climate_preset_key?: string | undefined;
7273
+ hvac_mode_setting?: string | undefined;
7274
+ fan_mode_setting?: string | undefined;
7275
+ cooling_set_point_celsius?: number | undefined;
7276
+ heating_set_point_celsius?: number | undefined;
7277
+ cooling_set_point_fahrenheit?: number | undefined;
7278
+ heating_set_point_fahrenheit?: number | undefined;
7261
7279
  }>;
7262
7280
  };
7263
7281
  };
@@ -7600,7 +7618,7 @@ export interface Routes {
7600
7618
  climate_preset_key?: string | undefined;
7601
7619
  can_edit?: boolean | undefined;
7602
7620
  can_delete?: boolean | undefined;
7603
- name?: (string | null) | undefined;
7621
+ name?: ((string | null) | undefined) | undefined;
7604
7622
  display_name?: string | undefined;
7605
7623
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
7606
7624
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -7616,7 +7634,7 @@ export interface Routes {
7616
7634
  climate_preset_key?: string | undefined;
7617
7635
  can_edit?: boolean | undefined;
7618
7636
  can_delete?: boolean | undefined;
7619
- name?: (string | null) | undefined;
7637
+ name?: ((string | null) | undefined) | undefined;
7620
7638
  display_name?: string | undefined;
7621
7639
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
7622
7640
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -7630,7 +7648,7 @@ export interface Routes {
7630
7648
  climate_preset_key: string;
7631
7649
  can_edit: boolean;
7632
7650
  can_delete: boolean;
7633
- name?: string | null;
7651
+ name?: (string | null) | undefined;
7634
7652
  display_name: string;
7635
7653
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
7636
7654
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -8035,7 +8053,7 @@ export interface Routes {
8035
8053
  climate_preset_key?: string | undefined;
8036
8054
  can_edit?: boolean | undefined;
8037
8055
  can_delete?: boolean | undefined;
8038
- name?: (string | null) | undefined;
8056
+ name?: ((string | null) | undefined) | undefined;
8039
8057
  display_name?: string | undefined;
8040
8058
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8041
8059
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8051,7 +8069,7 @@ export interface Routes {
8051
8069
  climate_preset_key?: string | undefined;
8052
8070
  can_edit?: boolean | undefined;
8053
8071
  can_delete?: boolean | undefined;
8054
- name?: (string | null) | undefined;
8072
+ name?: ((string | null) | undefined) | undefined;
8055
8073
  display_name?: string | undefined;
8056
8074
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8057
8075
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8065,7 +8083,7 @@ export interface Routes {
8065
8083
  climate_preset_key: string;
8066
8084
  can_edit: boolean;
8067
8085
  can_delete: boolean;
8068
- name?: string | null;
8086
+ name?: (string | null) | undefined;
8069
8087
  display_name: string;
8070
8088
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
8071
8089
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -8495,7 +8513,7 @@ export interface Routes {
8495
8513
  climate_preset_key?: string | undefined;
8496
8514
  can_edit?: boolean | undefined;
8497
8515
  can_delete?: boolean | undefined;
8498
- name?: (string | null) | undefined;
8516
+ name?: ((string | null) | undefined) | undefined;
8499
8517
  display_name?: string | undefined;
8500
8518
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8501
8519
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8511,7 +8529,7 @@ export interface Routes {
8511
8529
  climate_preset_key?: string | undefined;
8512
8530
  can_edit?: boolean | undefined;
8513
8531
  can_delete?: boolean | undefined;
8514
- name?: (string | null) | undefined;
8532
+ name?: ((string | null) | undefined) | undefined;
8515
8533
  display_name?: string | undefined;
8516
8534
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8517
8535
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8525,7 +8543,7 @@ export interface Routes {
8525
8543
  climate_preset_key: string;
8526
8544
  can_edit: boolean;
8527
8545
  can_delete: boolean;
8528
- name?: string | null;
8546
+ name?: (string | null) | undefined;
8529
8547
  display_name: string;
8530
8548
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
8531
8549
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -8930,7 +8948,7 @@ export interface Routes {
8930
8948
  climate_preset_key?: string | undefined;
8931
8949
  can_edit?: boolean | undefined;
8932
8950
  can_delete?: boolean | undefined;
8933
- name?: (string | null) | undefined;
8951
+ name?: ((string | null) | undefined) | undefined;
8934
8952
  display_name?: string | undefined;
8935
8953
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8936
8954
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8946,7 +8964,7 @@ export interface Routes {
8946
8964
  climate_preset_key?: string | undefined;
8947
8965
  can_edit?: boolean | undefined;
8948
8966
  can_delete?: boolean | undefined;
8949
- name?: (string | null) | undefined;
8967
+ name?: ((string | null) | undefined) | undefined;
8950
8968
  display_name?: string | undefined;
8951
8969
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
8952
8970
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -8960,7 +8978,7 @@ export interface Routes {
8960
8978
  climate_preset_key: string;
8961
8979
  can_edit: boolean;
8962
8980
  can_delete: boolean;
8963
- name?: string | null;
8981
+ name?: (string | null) | undefined;
8964
8982
  display_name: string;
8965
8983
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
8966
8984
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -10278,7 +10296,7 @@ export interface Routes {
10278
10296
  climate_preset_key?: string | undefined;
10279
10297
  can_edit?: boolean | undefined;
10280
10298
  can_delete?: boolean | undefined;
10281
- name?: (string | null) | undefined;
10299
+ name?: ((string | null) | undefined) | undefined;
10282
10300
  display_name?: string | undefined;
10283
10301
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
10284
10302
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -10294,7 +10312,7 @@ export interface Routes {
10294
10312
  climate_preset_key?: string | undefined;
10295
10313
  can_edit?: boolean | undefined;
10296
10314
  can_delete?: boolean | undefined;
10297
- name?: (string | null) | undefined;
10315
+ name?: ((string | null) | undefined) | undefined;
10298
10316
  display_name?: string | undefined;
10299
10317
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
10300
10318
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -10308,7 +10326,7 @@ export interface Routes {
10308
10326
  climate_preset_key: string;
10309
10327
  can_edit: boolean;
10310
10328
  can_delete: boolean;
10311
- name?: string | null;
10329
+ name?: (string | null) | undefined;
10312
10330
  display_name: string;
10313
10331
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
10314
10332
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -10713,7 +10731,7 @@ export interface Routes {
10713
10731
  climate_preset_key?: string | undefined;
10714
10732
  can_edit?: boolean | undefined;
10715
10733
  can_delete?: boolean | undefined;
10716
- name?: (string | null) | undefined;
10734
+ name?: ((string | null) | undefined) | undefined;
10717
10735
  display_name?: string | undefined;
10718
10736
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
10719
10737
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -10729,7 +10747,7 @@ export interface Routes {
10729
10747
  climate_preset_key?: string | undefined;
10730
10748
  can_edit?: boolean | undefined;
10731
10749
  can_delete?: boolean | undefined;
10732
- name?: (string | null) | undefined;
10750
+ name?: ((string | null) | undefined) | undefined;
10733
10751
  display_name?: string | undefined;
10734
10752
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
10735
10753
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -10743,7 +10761,7 @@ export interface Routes {
10743
10761
  climate_preset_key: string;
10744
10762
  can_edit: boolean;
10745
10763
  can_delete: boolean;
10746
- name?: string | null;
10764
+ name?: (string | null) | undefined;
10747
10765
  display_name: string;
10748
10766
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
10749
10767
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -13212,7 +13230,7 @@ export interface Routes {
13212
13230
  jsonBody: {
13213
13231
  device_id: string;
13214
13232
  climate_preset_key: string;
13215
- name?: string | null;
13233
+ name?: (string | null) | undefined;
13216
13234
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
13217
13235
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
13218
13236
  cooling_set_point_celsius?: number | undefined;
@@ -13228,7 +13246,7 @@ export interface Routes {
13228
13246
  climate_preset_key: string;
13229
13247
  can_edit: boolean;
13230
13248
  can_delete: boolean;
13231
- name?: string | null;
13249
+ name?: (string | null) | undefined;
13232
13250
  display_name: string;
13233
13251
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
13234
13252
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -13591,7 +13609,7 @@ export interface Routes {
13591
13609
  climate_preset_key?: string | undefined;
13592
13610
  can_edit?: boolean | undefined;
13593
13611
  can_delete?: boolean | undefined;
13594
- name?: (string | null) | undefined;
13612
+ name?: ((string | null) | undefined) | undefined;
13595
13613
  display_name?: string | undefined;
13596
13614
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
13597
13615
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -13607,7 +13625,7 @@ export interface Routes {
13607
13625
  climate_preset_key?: string | undefined;
13608
13626
  can_edit?: boolean | undefined;
13609
13627
  can_delete?: boolean | undefined;
13610
- name?: (string | null) | undefined;
13628
+ name?: ((string | null) | undefined) | undefined;
13611
13629
  display_name?: string | undefined;
13612
13630
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
13613
13631
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -13621,7 +13639,7 @@ export interface Routes {
13621
13639
  climate_preset_key: string;
13622
13640
  can_edit: boolean;
13623
13641
  can_delete: boolean;
13624
- name?: string | null;
13642
+ name?: (string | null) | undefined;
13625
13643
  display_name: string;
13626
13644
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
13627
13645
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -14911,7 +14929,7 @@ export interface Routes {
14911
14929
  climate_preset_key?: string | undefined;
14912
14930
  can_edit?: boolean | undefined;
14913
14931
  can_delete?: boolean | undefined;
14914
- name?: (string | null) | undefined;
14932
+ name?: ((string | null) | undefined) | undefined;
14915
14933
  display_name?: string | undefined;
14916
14934
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
14917
14935
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -14927,7 +14945,7 @@ export interface Routes {
14927
14945
  climate_preset_key?: string | undefined;
14928
14946
  can_edit?: boolean | undefined;
14929
14947
  can_delete?: boolean | undefined;
14930
- name?: (string | null) | undefined;
14948
+ name?: ((string | null) | undefined) | undefined;
14931
14949
  display_name?: string | undefined;
14932
14950
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
14933
14951
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -14941,7 +14959,7 @@ export interface Routes {
14941
14959
  climate_preset_key: string;
14942
14960
  can_edit: boolean;
14943
14961
  can_delete: boolean;
14944
- name?: string | null;
14962
+ name?: (string | null) | undefined;
14945
14963
  display_name: string;
14946
14964
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
14947
14965
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -16002,7 +16020,7 @@ export interface Routes {
16002
16020
  jsonBody: {
16003
16021
  device_id: string;
16004
16022
  climate_preset_key: string;
16005
- name?: string | null;
16023
+ name?: (string | null) | undefined;
16006
16024
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
16007
16025
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
16008
16026
  cooling_set_point_celsius?: number | undefined;
@@ -16532,7 +16550,7 @@ export interface Routes {
16532
16550
  climate_preset_key?: string | undefined;
16533
16551
  can_edit?: boolean | undefined;
16534
16552
  can_delete?: boolean | undefined;
16535
- name?: (string | null) | undefined;
16553
+ name?: ((string | null) | undefined) | undefined;
16536
16554
  display_name?: string | undefined;
16537
16555
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16538
16556
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -16548,7 +16566,7 @@ export interface Routes {
16548
16566
  climate_preset_key?: string | undefined;
16549
16567
  can_edit?: boolean | undefined;
16550
16568
  can_delete?: boolean | undefined;
16551
- name?: (string | null) | undefined;
16569
+ name?: ((string | null) | undefined) | undefined;
16552
16570
  display_name?: string | undefined;
16553
16571
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16554
16572
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -16562,7 +16580,7 @@ export interface Routes {
16562
16580
  climate_preset_key: string;
16563
16581
  can_edit: boolean;
16564
16582
  can_delete: boolean;
16565
- name?: string | null;
16583
+ name?: (string | null) | undefined;
16566
16584
  display_name: string;
16567
16585
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
16568
16586
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -16969,7 +16987,7 @@ export interface Routes {
16969
16987
  climate_preset_key?: string | undefined;
16970
16988
  can_edit?: boolean | undefined;
16971
16989
  can_delete?: boolean | undefined;
16972
- name?: (string | null) | undefined;
16990
+ name?: ((string | null) | undefined) | undefined;
16973
16991
  display_name?: string | undefined;
16974
16992
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16975
16993
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -16985,7 +17003,7 @@ export interface Routes {
16985
17003
  climate_preset_key?: string | undefined;
16986
17004
  can_edit?: boolean | undefined;
16987
17005
  can_delete?: boolean | undefined;
16988
- name?: (string | null) | undefined;
17006
+ name?: ((string | null) | undefined) | undefined;
16989
17007
  display_name?: string | undefined;
16990
17008
  fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16991
17009
  hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
@@ -16999,7 +17017,7 @@ export interface Routes {
16999
17017
  climate_preset_key: string;
17000
17018
  can_edit: boolean;
17001
17019
  can_delete: boolean;
17002
- name?: string | null;
17020
+ name?: (string | null) | undefined;
17003
17021
  display_name: string;
17004
17022
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
17005
17023
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.253.0",
3
+ "version": "1.254.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -356,6 +356,9 @@ export type ThermostatClimatePresetActivatedEvent = z.infer<
356
356
  >
357
357
 
358
358
  export const thermostat_manually_adjusted_event = device_event
359
+ .extend({
360
+ event_type: z.literal('thermostat.manually_adjusted'),
361
+ })
359
362
  .merge(
360
363
  climate_setting.pick({
361
364
  fan_mode_setting: true,
@@ -398,6 +401,6 @@ export const device_events = [
398
401
  lock_locked_event,
399
402
  lock_unlocked_event,
400
403
  lock_access_denied_event,
401
- // thermostat_climate_preset_activated_event,
402
- // thermostat_manually_adjusted_event,
404
+ thermostat_climate_preset_activated_event,
405
+ thermostat_manually_adjusted_event,
403
406
  ] as const
@@ -6,7 +6,7 @@ export const climate_preset = z.object({
6
6
  climate_preset_key: z.string(),
7
7
  can_edit: z.boolean(),
8
8
  can_delete: z.boolean(),
9
- name: z.string().nullable().default(null),
9
+ name: z.string().nullable().default(null).optional(),
10
10
  display_name: z.string(),
11
11
  fan_mode_setting: fan_mode_setting.optional(),
12
12
  hvac_mode_setting: hvac_mode_setting.optional(),
@@ -22,3 +22,14 @@ export type ClimatePreset = z.infer<typeof climate_preset>
22
22
  export const climate_setting = climate_preset.partial()
23
23
 
24
24
  export type ClimateSetting = z.infer<typeof climate_setting>
25
+
26
+ export const climate_setting_manual = climate_setting.pick({
27
+ fan_mode_setting: true,
28
+ hvac_mode_setting: true,
29
+ cooling_set_point_celsius: true,
30
+ heating_set_point_celsius: true,
31
+ cooling_set_point_fahrenheit: true,
32
+ heating_set_point_fahrenheit: true,
33
+ })
34
+
35
+ export type ClimateSettingManual = z.infer<typeof climate_setting_manual>
@@ -3824,13 +3824,22 @@ export default {
3824
3824
  acs_user_id: { format: 'uuid', type: 'string' },
3825
3825
  action_attempt_id: { format: 'uuid', type: 'string' },
3826
3826
  client_session_id: { format: 'uuid', type: 'string' },
3827
+ climate_preset_key: { type: 'string' },
3828
+ cooling_set_point_celsius: { format: 'float', type: 'number' },
3829
+ cooling_set_point_fahrenheit: { format: 'float', type: 'number' },
3827
3830
  created_at: { format: 'date-time', type: 'string' },
3828
3831
  device_id: { format: 'uuid', type: 'string' },
3829
3832
  enrollment_automation_id: { format: 'uuid', type: 'string' },
3830
3833
  event_description: { type: 'string' },
3831
3834
  event_id: { format: 'uuid', type: 'string' },
3832
3835
  event_type: { type: 'string' },
3836
+ fan_mode_setting: { type: 'string' },
3837
+ heating_set_point_celsius: { format: 'float', type: 'number' },
3838
+ heating_set_point_fahrenheit: { format: 'float', type: 'number' },
3839
+ hvac_mode_setting: { type: 'string' },
3840
+ is_fallback_climate_preset: { type: 'boolean' },
3833
3841
  occurred_at: { format: 'date-time', type: 'string' },
3842
+ thermostat_schedule_id: { format: 'uuid', type: 'string' },
3834
3843
  workspace_id: { format: 'uuid', type: 'string' },
3835
3844
  },
3836
3845
  required: [
@@ -11667,6 +11676,8 @@ export default {
11667
11676
  'action_attempt.lock_door.failed',
11668
11677
  'action_attempt.unlock_door.succeeded',
11669
11678
  'action_attempt.unlock_door.failed',
11679
+ 'thermostat.climate_preset_activated',
11680
+ 'thermostat.manually_adjusted',
11670
11681
  ],
11671
11682
  type: 'string',
11672
11683
  },
@@ -11735,6 +11746,8 @@ export default {
11735
11746
  'action_attempt.lock_door.failed',
11736
11747
  'action_attempt.unlock_door.succeeded',
11737
11748
  'action_attempt.unlock_door.failed',
11749
+ 'thermostat.climate_preset_activated',
11750
+ 'thermostat.manually_adjusted',
11738
11751
  ],
11739
11752
  type: 'string',
11740
11753
  },