@seamapi/types 1.495.0 → 1.497.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.
@@ -11336,6 +11336,8 @@ export type Routes = {
11336
11336
  can_simulate_disconnection?: boolean | undefined;
11337
11337
  can_unlock_with_code?: boolean | undefined;
11338
11338
  can_run_thermostat_programs?: boolean | undefined;
11339
+ can_simulate_hub_connection?: boolean | undefined;
11340
+ can_simulate_hub_disconnection?: boolean | undefined;
11339
11341
  }[] | undefined;
11340
11342
  acs_entrances?: {
11341
11343
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -14482,6 +14484,8 @@ export type Routes = {
14482
14484
  can_simulate_disconnection?: boolean | undefined;
14483
14485
  can_unlock_with_code?: boolean | undefined;
14484
14486
  can_run_thermostat_programs?: boolean | undefined;
14487
+ can_simulate_hub_connection?: boolean | undefined;
14488
+ can_simulate_hub_disconnection?: boolean | undefined;
14485
14489
  }[] | undefined;
14486
14490
  acs_entrances?: {
14487
14491
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -17128,6 +17132,8 @@ export type Routes = {
17128
17132
  can_simulate_disconnection?: boolean | undefined;
17129
17133
  can_unlock_with_code?: boolean | undefined;
17130
17134
  can_run_thermostat_programs?: boolean | undefined;
17135
+ can_simulate_hub_connection?: boolean | undefined;
17136
+ can_simulate_hub_disconnection?: boolean | undefined;
17131
17137
  }[] | undefined;
17132
17138
  connect_webviews?: {
17133
17139
  /** ID of the Connect Webview. */
@@ -20091,6 +20097,54 @@ export type Routes = {
20091
20097
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
20092
20098
  status: 'set';
20093
20099
  }[] | undefined;
20100
+ thermostat_daily_programs?: {
20101
+ /** ID of the thermostat daily program. */
20102
+ thermostat_daily_program_id: string;
20103
+ /** ID of the thermostat device on which the thermostat daily program is configured. */
20104
+ device_id: string;
20105
+ /** User-friendly name to identify the thermostat daily program. */
20106
+ name: string | null;
20107
+ /** Array of thermostat daily program periods. */
20108
+ periods: {
20109
+ /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
20110
+ starts_at_time: string;
20111
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */
20112
+ climate_preset_key: string;
20113
+ }[];
20114
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
20115
+ workspace_id: string;
20116
+ /** Date and time at which the thermostat daily program was created. */
20117
+ created_at: string;
20118
+ }[] | undefined;
20119
+ thermostat_schedules?: {
20120
+ /** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
20121
+ thermostat_schedule_id: string;
20122
+ /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
20123
+ device_id: string;
20124
+ /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
20125
+ name: string | null;
20126
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
20127
+ climate_preset_key: string;
20128
+ /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
20129
+ max_override_period_minutes?: (number | null) | undefined;
20130
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
20131
+ starts_at: string;
20132
+ /** Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts. */
20133
+ is_override_allowed?: boolean | undefined;
20134
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
20135
+ ends_at: string;
20136
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
20137
+ workspace_id: string;
20138
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
20139
+ created_at: string;
20140
+ /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
20141
+ errors: {
20142
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20143
+ error_code: string;
20144
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20145
+ message: string;
20146
+ }[];
20147
+ }[] | undefined;
20094
20148
  };
20095
20149
  };
20096
20150
  };
@@ -32632,6 +32686,8 @@ export type Routes = {
32632
32686
  can_simulate_disconnection?: boolean | undefined;
32633
32687
  can_unlock_with_code?: boolean | undefined;
32634
32688
  can_run_thermostat_programs?: boolean | undefined;
32689
+ can_simulate_hub_connection?: boolean | undefined;
32690
+ can_simulate_hub_disconnection?: boolean | undefined;
32635
32691
  };
32636
32692
  };
32637
32693
  };
@@ -32669,9 +32725,9 @@ export type Routes = {
32669
32725
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
32670
32726
  page_cursor?: (string | undefined) | null;
32671
32727
  /** */
32672
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
32728
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
32673
32729
  /** */
32674
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
32730
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
32675
32731
  /**
32676
32732
  * @deprecated Use `space_id`.*/
32677
32733
  unstable_location_id?: (string | null) | undefined;
@@ -33886,6 +33942,8 @@ export type Routes = {
33886
33942
  can_simulate_disconnection?: boolean | undefined;
33887
33943
  can_unlock_with_code?: boolean | undefined;
33888
33944
  can_run_thermostat_programs?: boolean | undefined;
33945
+ can_simulate_hub_connection?: boolean | undefined;
33946
+ can_simulate_hub_disconnection?: boolean | undefined;
33889
33947
  }[];
33890
33948
  /** Information about the current page of results. */
33891
33949
  pagination: {
@@ -33927,6 +33985,8 @@ export type Routes = {
33927
33985
  can_simulate_disconnection?: boolean | undefined;
33928
33986
  can_unlock_with_code?: boolean | undefined;
33929
33987
  can_run_thermostat_programs?: boolean | undefined;
33988
+ can_simulate_hub_connection?: boolean | undefined;
33989
+ can_simulate_hub_disconnection?: boolean | undefined;
33930
33990
  }[];
33931
33991
  };
33932
33992
  };
@@ -34385,6 +34445,8 @@ export type Routes = {
34385
34445
  can_simulate_disconnection?: boolean | undefined;
34386
34446
  can_unlock_with_code?: boolean | undefined;
34387
34447
  can_run_thermostat_programs?: boolean | undefined;
34448
+ can_simulate_hub_connection?: boolean | undefined;
34449
+ can_simulate_hub_disconnection?: boolean | undefined;
34388
34450
  };
34389
34451
  };
34390
34452
  };
@@ -34422,9 +34484,9 @@ export type Routes = {
34422
34484
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
34423
34485
  page_cursor?: (string | undefined) | null;
34424
34486
  /** */
34425
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
34487
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
34426
34488
  /** */
34427
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
34489
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
34428
34490
  /**
34429
34491
  * @deprecated Use `space_id`.*/
34430
34492
  unstable_location_id?: (string | null) | undefined;
@@ -34818,6 +34880,8 @@ export type Routes = {
34818
34880
  can_simulate_disconnection?: boolean | undefined;
34819
34881
  can_unlock_with_code?: boolean | undefined;
34820
34882
  can_run_thermostat_programs?: boolean | undefined;
34883
+ can_simulate_hub_connection?: boolean | undefined;
34884
+ can_simulate_hub_disconnection?: boolean | undefined;
34821
34885
  }[];
34822
34886
  };
34823
34887
  };
@@ -39894,6 +39958,8 @@ export type Routes = {
39894
39958
  can_simulate_disconnection?: boolean | undefined;
39895
39959
  can_unlock_with_code?: boolean | undefined;
39896
39960
  can_run_thermostat_programs?: boolean | undefined;
39961
+ can_simulate_hub_connection?: boolean | undefined;
39962
+ can_simulate_hub_disconnection?: boolean | undefined;
39897
39963
  };
39898
39964
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
39899
39965
  device: {
@@ -41098,6 +41164,8 @@ export type Routes = {
41098
41164
  can_simulate_disconnection?: boolean | undefined;
41099
41165
  can_unlock_with_code?: boolean | undefined;
41100
41166
  can_run_thermostat_programs?: boolean | undefined;
41167
+ can_simulate_hub_connection?: boolean | undefined;
41168
+ can_simulate_hub_disconnection?: boolean | undefined;
41101
41169
  };
41102
41170
  };
41103
41171
  };
@@ -41135,9 +41203,9 @@ export type Routes = {
41135
41203
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
41136
41204
  page_cursor?: (string | undefined) | null;
41137
41205
  /** */
41138
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
41206
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
41139
41207
  /** */
41140
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
41208
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
41141
41209
  /**
41142
41210
  * @deprecated Use `space_id`.*/
41143
41211
  unstable_location_id?: (string | null) | undefined;
@@ -42352,6 +42420,8 @@ export type Routes = {
42352
42420
  can_simulate_disconnection?: boolean | undefined;
42353
42421
  can_unlock_with_code?: boolean | undefined;
42354
42422
  can_run_thermostat_programs?: boolean | undefined;
42423
+ can_simulate_hub_connection?: boolean | undefined;
42424
+ can_simulate_hub_disconnection?: boolean | undefined;
42355
42425
  }[];
42356
42426
  devices: {
42357
42427
  /** ID of the device. */
@@ -43555,6 +43625,8 @@ export type Routes = {
43555
43625
  can_simulate_disconnection?: boolean | undefined;
43556
43626
  can_unlock_with_code?: boolean | undefined;
43557
43627
  can_run_thermostat_programs?: boolean | undefined;
43628
+ can_simulate_hub_connection?: boolean | undefined;
43629
+ can_simulate_hub_disconnection?: boolean | undefined;
43558
43630
  }[];
43559
43631
  };
43560
43632
  };
@@ -48630,9 +48702,9 @@ export type Routes = {
48630
48702
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
48631
48703
  page_cursor?: (string | undefined) | null;
48632
48704
  /** */
48633
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
48705
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
48634
48706
  /** */
48635
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
48707
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
48636
48708
  /**
48637
48709
  * @deprecated Use `space_id`.*/
48638
48710
  unstable_location_id?: (string | null) | undefined;
@@ -49847,6 +49919,8 @@ export type Routes = {
49847
49919
  can_simulate_disconnection?: boolean | undefined;
49848
49920
  can_unlock_with_code?: boolean | undefined;
49849
49921
  can_run_thermostat_programs?: boolean | undefined;
49922
+ can_simulate_hub_connection?: boolean | undefined;
49923
+ can_simulate_hub_disconnection?: boolean | undefined;
49850
49924
  }[];
49851
49925
  devices: {
49852
49926
  /** ID of the device. */
@@ -51050,6 +51124,8 @@ export type Routes = {
51050
51124
  can_simulate_disconnection?: boolean | undefined;
51051
51125
  can_unlock_with_code?: boolean | undefined;
51052
51126
  can_run_thermostat_programs?: boolean | undefined;
51127
+ can_simulate_hub_connection?: boolean | undefined;
51128
+ can_simulate_hub_disconnection?: boolean | undefined;
51053
51129
  }[];
51054
51130
  };
51055
51131
  };
@@ -59447,6 +59523,8 @@ export type Routes = {
59447
59523
  can_simulate_disconnection?: boolean | undefined;
59448
59524
  can_unlock_with_code?: boolean | undefined;
59449
59525
  can_run_thermostat_programs?: boolean | undefined;
59526
+ can_simulate_hub_connection?: boolean | undefined;
59527
+ can_simulate_hub_disconnection?: boolean | undefined;
59450
59528
  }[] | undefined;
59451
59529
  acs_entrances?: {
59452
59530
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -65031,6 +65109,8 @@ export type Routes = {
65031
65109
  can_simulate_disconnection?: boolean | undefined;
65032
65110
  can_unlock_with_code?: boolean | undefined;
65033
65111
  can_run_thermostat_programs?: boolean | undefined;
65112
+ can_simulate_hub_connection?: boolean | undefined;
65113
+ can_simulate_hub_disconnection?: boolean | undefined;
65034
65114
  };
65035
65115
  };
65036
65116
  };
@@ -67600,9 +67680,9 @@ export type Routes = {
67600
67680
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
67601
67681
  page_cursor?: (string | undefined) | null;
67602
67682
  /** */
67603
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
67683
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
67604
67684
  /** */
67605
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs')[] | undefined;
67685
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
67606
67686
  /**
67607
67687
  * @deprecated Use `space_id`.*/
67608
67688
  unstable_location_id?: (string | null) | undefined;
@@ -68817,6 +68897,8 @@ export type Routes = {
68817
68897
  can_simulate_disconnection?: boolean | undefined;
68818
68898
  can_unlock_with_code?: boolean | undefined;
68819
68899
  can_run_thermostat_programs?: boolean | undefined;
68900
+ can_simulate_hub_connection?: boolean | undefined;
68901
+ can_simulate_hub_disconnection?: boolean | undefined;
68820
68902
  }[];
68821
68903
  devices: {
68822
68904
  /** ID of the device. */
@@ -70020,6 +70102,8 @@ export type Routes = {
70020
70102
  can_simulate_disconnection?: boolean | undefined;
70021
70103
  can_unlock_with_code?: boolean | undefined;
70022
70104
  can_run_thermostat_programs?: boolean | undefined;
70105
+ can_simulate_hub_connection?: boolean | undefined;
70106
+ can_simulate_hub_disconnection?: boolean | undefined;
70023
70107
  }[];
70024
70108
  };
70025
70109
  };
@@ -77164,6 +77248,8 @@ export type Routes = {
77164
77248
  can_simulate_disconnection?: boolean | undefined;
77165
77249
  can_unlock_with_code?: boolean | undefined;
77166
77250
  can_run_thermostat_programs?: boolean | undefined;
77251
+ can_simulate_hub_connection?: boolean | undefined;
77252
+ can_simulate_hub_disconnection?: boolean | undefined;
77167
77253
  }[];
77168
77254
  /**
77169
77255
  * @deprecated Use devices.*/
@@ -78369,6 +78455,8 @@ export type Routes = {
78369
78455
  can_simulate_disconnection?: boolean | undefined;
78370
78456
  can_unlock_with_code?: boolean | undefined;
78371
78457
  can_run_thermostat_programs?: boolean | undefined;
78458
+ can_simulate_hub_connection?: boolean | undefined;
78459
+ can_simulate_hub_disconnection?: boolean | undefined;
78372
78460
  }[];
78373
78461
  };
78374
78462
  };
@@ -80333,6 +80421,8 @@ export type Routes = {
80333
80421
  can_simulate_disconnection?: boolean | undefined;
80334
80422
  can_unlock_with_code?: boolean | undefined;
80335
80423
  can_run_thermostat_programs?: boolean | undefined;
80424
+ can_simulate_hub_connection?: boolean | undefined;
80425
+ can_simulate_hub_disconnection?: boolean | undefined;
80336
80426
  }[] | undefined;
80337
80427
  acs_entrances?: {
80338
80428
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -82979,6 +83069,8 @@ export type Routes = {
82979
83069
  can_simulate_disconnection?: boolean | undefined;
82980
83070
  can_unlock_with_code?: boolean | undefined;
82981
83071
  can_run_thermostat_programs?: boolean | undefined;
83072
+ can_simulate_hub_connection?: boolean | undefined;
83073
+ can_simulate_hub_disconnection?: boolean | undefined;
82982
83074
  }[] | undefined;
82983
83075
  connect_webviews?: {
82984
83076
  /** ID of the Connect Webview. */
@@ -85942,6 +86034,54 @@ export type Routes = {
85942
86034
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
85943
86035
  status: 'set';
85944
86036
  }[] | undefined;
86037
+ thermostat_daily_programs?: {
86038
+ /** ID of the thermostat daily program. */
86039
+ thermostat_daily_program_id: string;
86040
+ /** ID of the thermostat device on which the thermostat daily program is configured. */
86041
+ device_id: string;
86042
+ /** User-friendly name to identify the thermostat daily program. */
86043
+ name: string | null;
86044
+ /** Array of thermostat daily program periods. */
86045
+ periods: {
86046
+ /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
86047
+ starts_at_time: string;
86048
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`. */
86049
+ climate_preset_key: string;
86050
+ }[];
86051
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
86052
+ workspace_id: string;
86053
+ /** Date and time at which the thermostat daily program was created. */
86054
+ created_at: string;
86055
+ }[] | undefined;
86056
+ thermostat_schedules?: {
86057
+ /** ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
86058
+ thermostat_schedule_id: string;
86059
+ /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
86060
+ device_id: string;
86061
+ /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
86062
+ name: string | null;
86063
+ /** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
86064
+ climate_preset_key: string;
86065
+ /** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
86066
+ max_override_period_minutes?: (number | null) | undefined;
86067
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
86068
+ starts_at: string;
86069
+ /** Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts. */
86070
+ is_override_allowed?: boolean | undefined;
86071
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
86072
+ ends_at: string;
86073
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
86074
+ workspace_id: string;
86075
+ /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
86076
+ created_at: string;
86077
+ /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
86078
+ errors: {
86079
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86080
+ error_code: string;
86081
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86082
+ message: string;
86083
+ }[];
86084
+ }[] | undefined;
85945
86085
  };
85946
86086
  };
85947
86087
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.495.0",
3
+ "version": "1.497.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,6 +23,10 @@ import { unmanaged_device } from './devices/unmanaged-device.js'
23
23
  import { seam_event } from './events/seam-event.js'
24
24
  import { instant_key } from './instant-keys/instant-key.js'
25
25
  import { space } from './spaces/index.js'
26
+ import {
27
+ thermostat_daily_program,
28
+ thermostat_schedule,
29
+ } from './thermostats/index.js'
26
30
  import { user_identity } from './user-identities/index.js'
27
31
  import { workspace } from './workspaces/index.js'
28
32
 
@@ -82,6 +86,8 @@ export const workspaces_batch = z
82
86
  instant_keys: instant_key.array().optional(),
83
87
  access_codes: access_code.array().optional(),
84
88
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
89
+ thermostat_daily_programs: thermostat_daily_program.array().optional(),
90
+ thermostat_schedules: thermostat_schedule.array().optional(),
85
91
  })
86
92
  .describe('A batch of workspace resources.')
87
93
 
@@ -116,6 +122,8 @@ export const batch = z
116
122
  instant_keys: instant_key.array().optional(),
117
123
  access_codes: access_code.array().optional(),
118
124
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
125
+ thermostat_daily_programs: thermostat_daily_program.array().optional(),
126
+ thermostat_schedules: thermostat_schedule.array().optional(),
119
127
  })
120
128
  .describe('A batch of workspace resources.')
121
129
 
@@ -23,6 +23,8 @@ export const device_capability_flags = z
23
23
  can_simulate_disconnection: z.boolean(),
24
24
  can_unlock_with_code: z.boolean(),
25
25
  can_run_thermostat_programs: z.boolean(),
26
+ can_simulate_hub_connection: z.boolean(),
27
+ can_simulate_hub_disconnection: z.boolean(),
26
28
  })
27
29
  .partial()
28
30