@seamapi/types 1.152.0 → 1.153.1

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.
@@ -2055,9 +2055,19 @@ export interface Routes {
2055
2055
  url: string
2056
2056
  device_selection_mode: 'none' | 'single' | 'multiple'
2057
2057
  accepted_providers: string[]
2058
+ /**
2059
+ ---
2060
+ deprecated: Unused. Will be removed.
2061
+ ---
2062
+ */
2058
2063
  accepted_devices: string[]
2059
- any_provider_allowed: boolean
2064
+ /**
2065
+ ---
2066
+ deprecated: Unused. Will be removed.
2067
+ ---
2068
+ */
2060
2069
  any_device_allowed: boolean
2070
+ any_provider_allowed: boolean
2061
2071
  login_successful: boolean
2062
2072
  status: 'pending' | 'failed' | 'authorized'
2063
2073
  custom_redirect_url: string | null
@@ -2099,9 +2109,19 @@ export interface Routes {
2099
2109
  url: string
2100
2110
  device_selection_mode: 'none' | 'single' | 'multiple'
2101
2111
  accepted_providers: string[]
2112
+ /**
2113
+ ---
2114
+ deprecated: Unused. Will be removed.
2115
+ ---
2116
+ */
2102
2117
  accepted_devices: string[]
2103
- any_provider_allowed: boolean
2118
+ /**
2119
+ ---
2120
+ deprecated: Unused. Will be removed.
2121
+ ---
2122
+ */
2104
2123
  any_device_allowed: boolean
2124
+ any_provider_allowed: boolean
2105
2125
  login_successful: boolean
2106
2126
  status: 'pending' | 'failed' | 'authorized'
2107
2127
  custom_redirect_url: string | null
@@ -2134,9 +2154,19 @@ export interface Routes {
2134
2154
  url: string
2135
2155
  device_selection_mode: 'none' | 'single' | 'multiple'
2136
2156
  accepted_providers: string[]
2157
+ /**
2158
+ ---
2159
+ deprecated: Unused. Will be removed.
2160
+ ---
2161
+ */
2137
2162
  accepted_devices: string[]
2138
- any_provider_allowed: boolean
2163
+ /**
2164
+ ---
2165
+ deprecated: Unused. Will be removed.
2166
+ ---
2167
+ */
2139
2168
  any_device_allowed: boolean
2169
+ any_provider_allowed: boolean
2140
2170
  login_successful: boolean
2141
2171
  status: 'pending' | 'failed' | 'authorized'
2142
2172
  custom_redirect_url: string | null
@@ -10411,6 +10441,728 @@ export interface Routes {
10411
10441
  }
10412
10442
  formData: {}
10413
10443
  jsonResponse: {
10444
+ devices: Array<{
10445
+ /** Unique identifier for the device. */
10446
+ device_id: string
10447
+ /** Type of the device. */
10448
+ device_type:
10449
+ | (
10450
+ | 'akuvox_lock'
10451
+ | 'august_lock'
10452
+ | 'brivo_access_point'
10453
+ | 'butterflymx_panel'
10454
+ | 'avigilon_alta_entry'
10455
+ | 'doorking_lock'
10456
+ | 'genie_door'
10457
+ | 'igloo_lock'
10458
+ | 'linear_lock'
10459
+ | 'lockly_lock'
10460
+ | 'kwikset_lock'
10461
+ | 'nuki_lock'
10462
+ | 'salto_lock'
10463
+ | 'schlage_lock'
10464
+ | 'seam_relay'
10465
+ | 'smartthings_lock'
10466
+ | 'wyze_lock'
10467
+ | 'yale_lock'
10468
+ | 'two_n_intercom'
10469
+ | 'controlbyweb_device'
10470
+ | 'ttlock_lock'
10471
+ | 'igloohome_lock'
10472
+ | 'hubitat_lock'
10473
+ | 'four_suites_door'
10474
+ | 'dormakaba_oracode_door'
10475
+ | 'tedee_lock'
10476
+ )
10477
+ | ('noiseaware_activity_zone' | 'minut_sensor')
10478
+ | (
10479
+ | 'ecobee_thermostat'
10480
+ | 'nest_thermostat'
10481
+ | 'honeywell_resideo_thermostat'
10482
+ )
10483
+ | ('ios_phone' | 'android_phone')
10484
+ /** Optional nickname to describe the device, settable through Seam */
10485
+ nickname?: string | undefined
10486
+ /** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
10487
+ display_name: string
10488
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
10489
+ capabilities_supported: Array<
10490
+ | 'access_code'
10491
+ | 'lock'
10492
+ | 'noise_detection'
10493
+ | 'thermostat'
10494
+ | 'battery'
10495
+ | 'phone'
10496
+ >
10497
+ /** Properties of the device. */
10498
+ properties: (({
10499
+ /** Indicates whether the device is online. */
10500
+ online: boolean
10501
+ /**
10502
+ ---
10503
+ deprecated: use device.display_name instead
10504
+ ---
10505
+ Name of the device.
10506
+ */
10507
+ name: string
10508
+ /** Represents the accessory keypad state. */
10509
+ accessory_keypad?:
10510
+ | {
10511
+ /** Indicates if the accessory_keypad is connected to the device. */
10512
+ is_connected: boolean
10513
+ }
10514
+ | undefined
10515
+ appearance: {
10516
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
10517
+ name: string
10518
+ }
10519
+ model: {
10520
+ /** Indicates whether the device can connect a accessory keypad. */
10521
+ can_connect_accessory_keypad?: boolean | undefined
10522
+ /** Display name of the device model. */
10523
+ display_name: string
10524
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
10525
+ manufacturer_display_name: string
10526
+ /** Indicates whether the device has a built in accessory keypad. */
10527
+ has_built_in_keypad?: boolean | undefined
10528
+ /** Indicates whether the device supports offline access codes. */
10529
+ offline_access_codes_supported?: boolean | undefined
10530
+ /** Indicates whether the device supports online access codes. */
10531
+ online_access_codes_supported?: boolean | undefined
10532
+ /** Indicates whether the device supports an accessory keypad. */
10533
+ accessory_keypad_supported?: boolean | undefined
10534
+ }
10535
+ /** Indicates whether the device has direct power. */
10536
+ has_direct_power?: boolean | undefined
10537
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
10538
+ battery_level?: number | undefined
10539
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
10540
+ battery?:
10541
+ | {
10542
+ level: number
10543
+ status: 'critical' | 'low' | 'good' | 'full'
10544
+ }
10545
+ | undefined
10546
+ /** Manufacturer of the device. */
10547
+ manufacturer?: string | undefined
10548
+ /** Image URL for the device. */
10549
+ image_url?: string | undefined
10550
+ /** Alt text for the device image. */
10551
+ image_alt_text?: string | undefined
10552
+ /** Serial number of the device. */
10553
+ serial_number?: string | undefined
10554
+ /** Indicates whether it is currently possible to use online access codes for the device. */
10555
+ online_access_codes_enabled?: boolean | undefined
10556
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
10557
+ offline_access_codes_enabled?: boolean | undefined
10558
+ /**
10559
+ ---
10560
+ deprecated: use model.accessory_keypad_supported
10561
+ ---
10562
+ */
10563
+ supports_accessory_keypad?: boolean | undefined
10564
+ /**
10565
+ ---
10566
+ deprecated: use offline_access_codes_enabled
10567
+ ---
10568
+ */
10569
+ supports_offline_access_codes?: boolean | undefined
10570
+ } & {
10571
+ assa_abloy_credential_service_metadata?:
10572
+ | (
10573
+ | {
10574
+ has_active_endpoint: boolean
10575
+ endpoints: Array<{
10576
+ endpoint_id: string
10577
+ is_active: boolean
10578
+ }>
10579
+ }
10580
+ | undefined
10581
+ )
10582
+ | undefined
10583
+ }) & {
10584
+ august_metadata?:
10585
+ | {
10586
+ lock_id: string
10587
+ lock_name: string
10588
+ house_name: string
10589
+ has_keypad: boolean
10590
+ keypad_battery_level?: string | undefined
10591
+ model?: string | undefined
10592
+ house_id?: string | undefined
10593
+ }
10594
+ | undefined
10595
+ avigilon_alta_metadata?:
10596
+ | {
10597
+ entry_name: string
10598
+ org_name: string
10599
+ zone_id: number
10600
+ zone_name: string
10601
+ site_id: number
10602
+ site_name: string
10603
+ }
10604
+ | undefined
10605
+ schlage_metadata?:
10606
+ | {
10607
+ device_id: string
10608
+ device_name: string
10609
+ access_code_length: number | null
10610
+ model?: string | undefined
10611
+ }
10612
+ | undefined
10613
+ smartthings_metadata?:
10614
+ | {
10615
+ device_id: string
10616
+ device_name: string
10617
+ model?: string | undefined
10618
+ location_id?: string | undefined
10619
+ }
10620
+ | undefined
10621
+ lockly_metadata?:
10622
+ | {
10623
+ device_id: string
10624
+ device_name: string
10625
+ model?: string | undefined
10626
+ }
10627
+ | undefined
10628
+ nuki_metadata?:
10629
+ | {
10630
+ device_id: string
10631
+ device_name: string
10632
+ keypad_battery_critical?: boolean | undefined
10633
+ }
10634
+ | undefined
10635
+ kwikset_metadata?:
10636
+ | {
10637
+ device_id: string
10638
+ device_name: string
10639
+ model_number: string
10640
+ }
10641
+ | undefined
10642
+ salto_metadata?:
10643
+ | {
10644
+ lock_id: string
10645
+ customer_reference: string
10646
+ lock_type: string
10647
+ battery_level: string
10648
+ locked_state: string
10649
+ model?: string | undefined
10650
+ }
10651
+ | undefined
10652
+ genie_metadata?:
10653
+ | {
10654
+ device_name: string
10655
+ door_name: string
10656
+ }
10657
+ | undefined
10658
+ brivo_metadata?:
10659
+ | {
10660
+ device_name: string
10661
+ }
10662
+ | undefined
10663
+ igloo_metadata?:
10664
+ | {
10665
+ device_id: string
10666
+ bridge_id: string
10667
+ model?: string | undefined
10668
+ }
10669
+ | undefined
10670
+ noiseaware_metadata?:
10671
+ | {
10672
+ device_model: 'indoor' | 'outdoor'
10673
+ noise_level_nrs: number
10674
+ noise_level_decibel: number
10675
+ device_name: string
10676
+ device_id: string
10677
+ }
10678
+ | undefined
10679
+ minut_metadata?:
10680
+ | {
10681
+ device_id: string
10682
+ device_name: string
10683
+ latest_sensor_values: {
10684
+ temperature: {
10685
+ time: string
10686
+ value: number
10687
+ }
10688
+ sound: {
10689
+ time: string
10690
+ value: number
10691
+ }
10692
+ humidity: {
10693
+ time: string
10694
+ value: number
10695
+ }
10696
+ pressure: {
10697
+ time: string
10698
+ value: number
10699
+ }
10700
+ accelerometer_z: {
10701
+ time: string
10702
+ value: number
10703
+ }
10704
+ }
10705
+ }
10706
+ | undefined
10707
+ four_suites_metadata?:
10708
+ | {
10709
+ device_id: number
10710
+ device_name: string
10711
+ reclose_delay_in_seconds: number
10712
+ }
10713
+ | undefined
10714
+ two_n_metadata?:
10715
+ | {
10716
+ device_id: number
10717
+ device_name: string
10718
+ }
10719
+ | undefined
10720
+ controlbyweb_metadata?:
10721
+ | {
10722
+ device_id: string
10723
+ device_name: string
10724
+ relay_name: string | null
10725
+ }
10726
+ | undefined
10727
+ ttlock_metadata?:
10728
+ | {
10729
+ lock_id: number
10730
+ lock_alias: string
10731
+ }
10732
+ | undefined
10733
+ seam_bridge_metadata?:
10734
+ | {
10735
+ unlock_method?: ('bridge' | 'doorking') | undefined
10736
+ device_num: number
10737
+ name: string
10738
+ }
10739
+ | undefined
10740
+ igloohome_metadata?:
10741
+ | {
10742
+ device_id: string
10743
+ device_name: string
10744
+ bridge_id?: string | undefined
10745
+ bridge_name?: string | undefined
10746
+ }
10747
+ | undefined
10748
+ nest_metadata?:
10749
+ | {
10750
+ nest_device_id: string
10751
+ device_name: string
10752
+ custom_name: string
10753
+ }
10754
+ | undefined
10755
+ ecobee_metadata?:
10756
+ | {
10757
+ ecobee_device_id: string
10758
+ device_name: string
10759
+ }
10760
+ | undefined
10761
+ honeywell_resideo_metadata?:
10762
+ | {
10763
+ honeywell_resideo_device_id: string
10764
+ device_name: string
10765
+ }
10766
+ | undefined
10767
+ hubitat_metadata?:
10768
+ | {
10769
+ device_id: string
10770
+ device_name: string
10771
+ device_label: string
10772
+ }
10773
+ | undefined
10774
+ dormakaba_oracode_metadata?:
10775
+ | {
10776
+ door_id: number
10777
+ door_name: string
10778
+ device_id?: number | undefined
10779
+ site_id: number
10780
+ site_name: string
10781
+ iana_timezone?: string | undefined
10782
+ predefined_time_slots?:
10783
+ | Array<{
10784
+ name: string
10785
+ prefix: number
10786
+ check_in_time: string
10787
+ check_out_time: string
10788
+ is_24_hour: boolean
10789
+ is_biweekly_mode: boolean
10790
+ is_one_shot: boolean
10791
+ is_master: boolean
10792
+ ext_dormakaba_oracode_user_level_prefix: number
10793
+ dormakaba_oracode_user_level_id: string
10794
+ }>
10795
+ | undefined
10796
+ }
10797
+ | undefined
10798
+ wyze_metadata?:
10799
+ | {
10800
+ device_id: string
10801
+ device_name: string
10802
+ product_name: string
10803
+ product_type: string
10804
+ product_model: string
10805
+ device_info_model: string
10806
+ }
10807
+ | undefined
10808
+ tedee_metadata?:
10809
+ | {
10810
+ device_id: number
10811
+ serial_number: string
10812
+ device_name: string
10813
+ device_model: string
10814
+ bridge_id: number
10815
+ bridge_name: string
10816
+ keypad_id?: number | undefined
10817
+ }
10818
+ | undefined
10819
+ }) &
10820
+ ({
10821
+ _experimental_supported_code_from_access_codes_lengths?:
10822
+ | (number[] | undefined)
10823
+ | undefined
10824
+ code_constraints?:
10825
+ | (
10826
+ | Array<
10827
+ | {
10828
+ constraint_type:
10829
+ | 'no_zeros'
10830
+ | 'cannot_start_with_12'
10831
+ | 'no_triple_consecutive_ints'
10832
+ | 'cannot_specify_pin_code'
10833
+ | 'pin_code_matches_existing_set'
10834
+ | 'start_date_in_future'
10835
+ | 'no_ascending_or_descending_sequence'
10836
+ | 'at_least_three_unique_digits'
10837
+ }
10838
+ | {
10839
+ constraint_type: 'name_length'
10840
+ min_length?: number | undefined
10841
+ max_length?: number | undefined
10842
+ }
10843
+ >
10844
+ | undefined
10845
+ )
10846
+ | undefined
10847
+ supported_code_lengths?: (number[] | undefined) | undefined
10848
+ max_active_codes_supported?: (number | undefined) | undefined
10849
+ supports_backup_access_code_pool?: (boolean | undefined) | undefined
10850
+ has_native_entry_events?: (boolean | undefined) | undefined
10851
+ locked?: (boolean | undefined) | undefined
10852
+ keypad_battery?:
10853
+ | (
10854
+ | {
10855
+ level: number
10856
+ }
10857
+ | undefined
10858
+ )
10859
+ | undefined
10860
+ door_open?: (boolean | undefined) | undefined
10861
+ } & (
10862
+ | {
10863
+ temperature_fahrenheit?: number | undefined
10864
+ temperature_celsius?: number | undefined
10865
+ relative_humidity?: number | undefined
10866
+ can_enable_automatic_heating?: boolean | undefined
10867
+ can_enable_automatic_cooling?: boolean | undefined
10868
+ available_hvac_mode_settings?:
10869
+ | Array<'off' | 'heat' | 'cool' | 'heat_cool'>
10870
+ | undefined
10871
+ is_heating_available?: true | undefined
10872
+ is_cooling_available?: true | undefined
10873
+ is_heating?: boolean | undefined
10874
+ is_cooling?: boolean | undefined
10875
+ is_fan_running?: boolean | undefined
10876
+ fan_mode_setting?: ('auto' | 'on') | undefined
10877
+ is_temporary_manual_override_active?: boolean | undefined
10878
+ current_climate_setting?:
10879
+ | {
10880
+ automatic_heating_enabled: boolean
10881
+ automatic_cooling_enabled: boolean
10882
+ hvac_mode_setting: 'off' | 'heat' | 'cool' | 'heat_cool'
10883
+ cooling_set_point_celsius?: number | undefined
10884
+ heating_set_point_celsius?: number | undefined
10885
+ cooling_set_point_fahrenheit?: number | undefined
10886
+ heating_set_point_fahrenheit?: number | undefined
10887
+ manual_override_allowed: boolean
10888
+ }
10889
+ | undefined
10890
+ default_climate_setting?:
10891
+ | (
10892
+ | {
10893
+ automatic_heating_enabled: boolean
10894
+ automatic_cooling_enabled: boolean
10895
+ hvac_mode_setting:
10896
+ | 'off'
10897
+ | 'heat'
10898
+ | 'cool'
10899
+ | 'heat_cool'
10900
+ cooling_set_point_celsius?: number | undefined
10901
+ heating_set_point_celsius?: number | undefined
10902
+ cooling_set_point_fahrenheit?: number | undefined
10903
+ heating_set_point_fahrenheit?: number | undefined
10904
+ manual_override_allowed: boolean
10905
+ }
10906
+ | undefined
10907
+ )
10908
+ | undefined
10909
+ is_climate_setting_schedule_active?: boolean | undefined
10910
+ active_climate_setting_schedule?:
10911
+ | (
10912
+ | {
10913
+ climate_setting_schedule_id: string
10914
+ schedule_type: 'time_bound'
10915
+ device_id: string
10916
+ name?: string | undefined
10917
+ schedule_starts_at: string
10918
+ schedule_ends_at: string
10919
+ created_at: string
10920
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
10921
+ errors?: any
10922
+ automatic_heating_enabled?: boolean | undefined
10923
+ automatic_cooling_enabled?: boolean | undefined
10924
+ hvac_mode_setting?:
10925
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
10926
+ | undefined
10927
+ cooling_set_point_celsius?:
10928
+ | (number | undefined)
10929
+ | undefined
10930
+ heating_set_point_celsius?:
10931
+ | (number | undefined)
10932
+ | undefined
10933
+ cooling_set_point_fahrenheit?:
10934
+ | (number | undefined)
10935
+ | undefined
10936
+ heating_set_point_fahrenheit?:
10937
+ | (number | undefined)
10938
+ | undefined
10939
+ manual_override_allowed?: boolean | undefined
10940
+ }
10941
+ | undefined
10942
+ )
10943
+ | undefined
10944
+ min_cooling_set_point_celsius?: number | undefined
10945
+ min_cooling_set_point_fahrenheit?: number | undefined
10946
+ max_cooling_set_point_celsius?: number | undefined
10947
+ max_cooling_set_point_fahrenheit?: number | undefined
10948
+ min_heating_set_point_celsius?: number | undefined
10949
+ min_heating_set_point_fahrenheit?: number | undefined
10950
+ max_heating_set_point_celsius?: number | undefined
10951
+ max_heating_set_point_fahrenheit?: number | undefined
10952
+ min_heating_cooling_delta_celsius?: number | undefined
10953
+ min_heating_cooling_delta_fahrenheit?: number | undefined
10954
+ }
10955
+ | {
10956
+ temperature_fahrenheit?: number | undefined
10957
+ temperature_celsius?: number | undefined
10958
+ relative_humidity?: number | undefined
10959
+ can_enable_automatic_heating?: boolean | undefined
10960
+ can_enable_automatic_cooling?: boolean | undefined
10961
+ available_hvac_mode_settings?:
10962
+ | Array<'off' | 'heat' | 'cool' | 'heat_cool'>
10963
+ | undefined
10964
+ is_heating_available?: true | undefined
10965
+ is_cooling_available?: false | undefined
10966
+ is_heating?: boolean | undefined
10967
+ is_cooling?: boolean | undefined
10968
+ is_fan_running?: boolean | undefined
10969
+ fan_mode_setting?: ('auto' | 'on') | undefined
10970
+ is_temporary_manual_override_active?: boolean | undefined
10971
+ current_climate_setting?:
10972
+ | {
10973
+ automatic_heating_enabled: boolean
10974
+ automatic_cooling_enabled: boolean
10975
+ hvac_mode_setting: 'off' | 'heat' | 'cool' | 'heat_cool'
10976
+ cooling_set_point_celsius?: number | undefined
10977
+ heating_set_point_celsius?: number | undefined
10978
+ cooling_set_point_fahrenheit?: number | undefined
10979
+ heating_set_point_fahrenheit?: number | undefined
10980
+ manual_override_allowed: boolean
10981
+ }
10982
+ | undefined
10983
+ default_climate_setting?:
10984
+ | (
10985
+ | {
10986
+ automatic_heating_enabled: boolean
10987
+ automatic_cooling_enabled: boolean
10988
+ hvac_mode_setting:
10989
+ | 'off'
10990
+ | 'heat'
10991
+ | 'cool'
10992
+ | 'heat_cool'
10993
+ cooling_set_point_celsius?: number | undefined
10994
+ heating_set_point_celsius?: number | undefined
10995
+ cooling_set_point_fahrenheit?: number | undefined
10996
+ heating_set_point_fahrenheit?: number | undefined
10997
+ manual_override_allowed: boolean
10998
+ }
10999
+ | undefined
11000
+ )
11001
+ | undefined
11002
+ is_climate_setting_schedule_active?: boolean | undefined
11003
+ active_climate_setting_schedule?:
11004
+ | (
11005
+ | {
11006
+ climate_setting_schedule_id: string
11007
+ schedule_type: 'time_bound'
11008
+ device_id: string
11009
+ name?: string | undefined
11010
+ schedule_starts_at: string
11011
+ schedule_ends_at: string
11012
+ created_at: string
11013
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
11014
+ errors?: any
11015
+ automatic_heating_enabled?: boolean | undefined
11016
+ automatic_cooling_enabled?: boolean | undefined
11017
+ hvac_mode_setting?:
11018
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
11019
+ | undefined
11020
+ cooling_set_point_celsius?:
11021
+ | (number | undefined)
11022
+ | undefined
11023
+ heating_set_point_celsius?:
11024
+ | (number | undefined)
11025
+ | undefined
11026
+ cooling_set_point_fahrenheit?:
11027
+ | (number | undefined)
11028
+ | undefined
11029
+ heating_set_point_fahrenheit?:
11030
+ | (number | undefined)
11031
+ | undefined
11032
+ manual_override_allowed?: boolean | undefined
11033
+ }
11034
+ | undefined
11035
+ )
11036
+ | undefined
11037
+ min_heating_set_point_celsius?: number | undefined
11038
+ min_heating_set_point_fahrenheit?: number | undefined
11039
+ max_heating_set_point_celsius?: number | undefined
11040
+ max_heating_set_point_fahrenheit?: number | undefined
11041
+ }
11042
+ | {
11043
+ temperature_fahrenheit?: number | undefined
11044
+ temperature_celsius?: number | undefined
11045
+ relative_humidity?: number | undefined
11046
+ can_enable_automatic_heating?: boolean | undefined
11047
+ can_enable_automatic_cooling?: boolean | undefined
11048
+ available_hvac_mode_settings?:
11049
+ | Array<'off' | 'heat' | 'cool' | 'heat_cool'>
11050
+ | undefined
11051
+ is_heating_available?: false | undefined
11052
+ is_cooling_available?: true | undefined
11053
+ is_heating?: boolean | undefined
11054
+ is_cooling?: boolean | undefined
11055
+ is_fan_running?: boolean | undefined
11056
+ fan_mode_setting?: ('auto' | 'on') | undefined
11057
+ is_temporary_manual_override_active?: boolean | undefined
11058
+ current_climate_setting?:
11059
+ | {
11060
+ automatic_heating_enabled: boolean
11061
+ automatic_cooling_enabled: boolean
11062
+ hvac_mode_setting: 'off' | 'heat' | 'cool' | 'heat_cool'
11063
+ cooling_set_point_celsius?: number | undefined
11064
+ heating_set_point_celsius?: number | undefined
11065
+ cooling_set_point_fahrenheit?: number | undefined
11066
+ heating_set_point_fahrenheit?: number | undefined
11067
+ manual_override_allowed: boolean
11068
+ }
11069
+ | undefined
11070
+ default_climate_setting?:
11071
+ | (
11072
+ | {
11073
+ automatic_heating_enabled: boolean
11074
+ automatic_cooling_enabled: boolean
11075
+ hvac_mode_setting:
11076
+ | 'off'
11077
+ | 'heat'
11078
+ | 'cool'
11079
+ | 'heat_cool'
11080
+ cooling_set_point_celsius?: number | undefined
11081
+ heating_set_point_celsius?: number | undefined
11082
+ cooling_set_point_fahrenheit?: number | undefined
11083
+ heating_set_point_fahrenheit?: number | undefined
11084
+ manual_override_allowed: boolean
11085
+ }
11086
+ | undefined
11087
+ )
11088
+ | undefined
11089
+ is_climate_setting_schedule_active?: boolean | undefined
11090
+ active_climate_setting_schedule?:
11091
+ | (
11092
+ | {
11093
+ climate_setting_schedule_id: string
11094
+ schedule_type: 'time_bound'
11095
+ device_id: string
11096
+ name?: string | undefined
11097
+ schedule_starts_at: string
11098
+ schedule_ends_at: string
11099
+ created_at: string
11100
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
11101
+ errors?: any
11102
+ automatic_heating_enabled?: boolean | undefined
11103
+ automatic_cooling_enabled?: boolean | undefined
11104
+ hvac_mode_setting?:
11105
+ | ('off' | 'heat' | 'cool' | 'heat_cool')
11106
+ | undefined
11107
+ cooling_set_point_celsius?:
11108
+ | (number | undefined)
11109
+ | undefined
11110
+ heating_set_point_celsius?:
11111
+ | (number | undefined)
11112
+ | undefined
11113
+ cooling_set_point_fahrenheit?:
11114
+ | (number | undefined)
11115
+ | undefined
11116
+ heating_set_point_fahrenheit?:
11117
+ | (number | undefined)
11118
+ | undefined
11119
+ manual_override_allowed?: boolean | undefined
11120
+ }
11121
+ | undefined
11122
+ )
11123
+ | undefined
11124
+ min_cooling_set_point_celsius?: number | undefined
11125
+ min_cooling_set_point_fahrenheit?: number | undefined
11126
+ max_cooling_set_point_celsius?: number | undefined
11127
+ max_cooling_set_point_fahrenheit?: number | undefined
11128
+ }
11129
+ ))
11130
+ /** Location information for the device. */
11131
+ location: {
11132
+ /** Name of the device location. */
11133
+ location_name?: string | undefined
11134
+ /** Time zone of the device location. */
11135
+ timezone?: string | undefined
11136
+ } | null
11137
+ /** Unique identifier for the account associated with the device. */
11138
+ connected_account_id: string
11139
+ /** Unique identifier for the Seam workspace associated with the device. */
11140
+ workspace_id: string
11141
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
11142
+ errors: Array<{
11143
+ error_code: string
11144
+ message: string
11145
+ }>
11146
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
11147
+ warnings: Array<{
11148
+ warning_code: string
11149
+ message: string
11150
+ }>
11151
+ /** Date and time at which the device object was created. */
11152
+ created_at: string
11153
+ /** Indicates whether Seam manages the device. */
11154
+ is_managed: true
11155
+ custom_metadata?: Record<string, string | boolean | null> | undefined
11156
+ can_remotely_unlock?: boolean | undefined
11157
+ can_remotely_lock?: boolean | undefined
11158
+ can_program_online_access_codes?: boolean | undefined
11159
+ can_simulate_removal?: boolean | undefined
11160
+ }>
11161
+ /**
11162
+ ---
11163
+ deprecated: use devices.
11164
+ ---
11165
+ */
10414
11166
  accessible_devices: Array<{
10415
11167
  /** Unique identifier for the device. */
10416
11168
  device_id: string