@seamapi/types 1.395.1 → 1.395.2

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.
Files changed (66) hide show
  1. package/dist/connect.cjs +57 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +578 -502
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  5. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  8. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  10. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  13. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  14. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  17. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  18. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  19. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  20. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  24. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  25. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  26. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  28. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  29. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  30. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  31. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  32. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  33. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  34. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  35. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  36. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  37. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  38. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  39. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  40. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  41. package/lib/seam/connect/models/events/common.d.ts +2 -2
  42. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  43. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  44. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  45. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  46. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  47. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  48. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  49. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  50. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  51. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  52. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  53. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  54. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  55. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  56. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  57. package/lib/seam/connect/openapi.d.ts +35 -8
  58. package/lib/seam/connect/openapi.js +43 -9
  59. package/lib/seam/connect/openapi.js.map +1 -1
  60. package/lib/seam/connect/route-types.d.ts +136 -102
  61. package/package.json +2 -2
  62. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  63. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  64. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  65. package/src/lib/seam/connect/openapi.ts +47 -10
  66. package/src/lib/seam/connect/route-types.ts +617 -505
@@ -22762,7 +22762,7 @@ export interface Routes {
22762
22762
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
22763
22763
  device_id: string
22764
22764
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
22765
- name?: string | undefined
22765
+ name: string | null
22766
22766
  /** 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). */
22767
22767
  climate_preset_key: string
22768
22768
  /** 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). */
@@ -22773,6 +22773,8 @@ export interface Routes {
22773
22773
  is_override_allowed?: boolean | undefined
22774
22774
  /** 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. */
22775
22775
  ends_at: string
22776
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
22777
+ workspace_id: string
22776
22778
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
22777
22779
  created_at: string
22778
22780
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -22785,45 +22787,51 @@ export interface Routes {
22785
22787
  } | null)
22786
22788
  | undefined
22787
22789
  thermostat_daily_programs?:
22788
- | (Array<{
22789
- /** ID of the thermostat daily program. */
22790
- thermostat_daily_program_id: string
22791
- /** ID of the desired thermostat device. */
22792
- device_id: string
22793
- /** User-friendly name to identify the thermostat daily program. */
22794
- name?: string | undefined
22795
- /** Array of thermostat daily program periods. */
22796
- periods: Array<{
22797
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
22798
- starts_at_time: string
22799
- /** 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. */
22800
- climate_preset_key: string
22801
- }>
22802
- /** Date and time at which the thermostat daily program was created. */
22803
- created_at: string
22804
- }> | null)
22790
+ | (
22791
+ | Array<{
22792
+ /** ID of the thermostat daily program. */
22793
+ thermostat_daily_program_id: string
22794
+ /** ID of the desired thermostat device. */
22795
+ device_id: string
22796
+ /** User-friendly name to identify the thermostat daily program. */
22797
+ name: string | null
22798
+ /** Array of thermostat daily program periods. */
22799
+ periods: Array<{
22800
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
22801
+ starts_at_time: string
22802
+ /** 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. */
22803
+ climate_preset_key: string
22804
+ }>
22805
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
22806
+ workspace_id: string
22807
+ /** Date and time at which the thermostat daily program was created. */
22808
+ created_at: string
22809
+ }>
22810
+ | undefined
22811
+ )
22805
22812
  | undefined
22806
22813
  thermostat_weekly_program?:
22807
- | ({
22808
- /** ID of the thermostat device the weekly program is for. */
22809
- device_id: string
22810
- /** ID of the thermostat daily program to run on Mondays. */
22811
- monday_program_id: string | null
22812
- /** ID of the thermostat daily program to run on Tuesdays. */
22813
- tuesday_program_id: string | null
22814
- /** ID of the thermostat daily program to run on Wednesdays. */
22815
- wednesday_program_id: string | null
22816
- /** ID of the thermostat daily program to run on Thursdays. */
22817
- thursday_program_id: string | null
22818
- /** ID of the thermostat daily program to run on Fridays. */
22819
- friday_program_id: string | null
22820
- /** ID of the thermostat daily program to run on Saturdays. */
22821
- saturday_program_id: string | null
22822
- /** ID of the thermostat daily program to run on Sundays. */
22823
- sunday_program_id: string | null
22824
- /** Date and time at which the thermostat weekly program was created. */
22825
- created_at: string
22826
- } | null)
22814
+ | (
22815
+ | ({
22816
+ /** ID of the thermostat daily program to run on Mondays. */
22817
+ monday_program_id: string | null
22818
+ /** ID of the thermostat daily program to run on Tuesdays. */
22819
+ tuesday_program_id: string | null
22820
+ /** ID of the thermostat daily program to run on Wednesdays. */
22821
+ wednesday_program_id: string | null
22822
+ /** ID of the thermostat daily program to run on Thursdays. */
22823
+ thursday_program_id: string | null
22824
+ /** ID of the thermostat daily program to run on Fridays. */
22825
+ friday_program_id: string | null
22826
+ /** ID of the thermostat daily program to run on Saturdays. */
22827
+ saturday_program_id: string | null
22828
+ /** ID of the thermostat daily program to run on Sundays. */
22829
+ sunday_program_id: string | null
22830
+ /** Date and time at which the thermostat weekly program was created. */
22831
+ created_at: string
22832
+ } | null)
22833
+ | undefined
22834
+ )
22827
22835
  | undefined
22828
22836
  min_cooling_set_point_celsius?: number | undefined
22829
22837
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -23931,7 +23939,7 @@ export interface Routes {
23931
23939
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
23932
23940
  device_id: string
23933
23941
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
23934
- name?: string | undefined
23942
+ name: string | null
23935
23943
  /** 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). */
23936
23944
  climate_preset_key: string
23937
23945
  /** 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). */
@@ -23942,6 +23950,8 @@ export interface Routes {
23942
23950
  is_override_allowed?: boolean | undefined
23943
23951
  /** 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. */
23944
23952
  ends_at: string
23953
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
23954
+ workspace_id: string
23945
23955
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
23946
23956
  created_at: string
23947
23957
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -23954,45 +23964,51 @@ export interface Routes {
23954
23964
  } | null)
23955
23965
  | undefined
23956
23966
  thermostat_daily_programs?:
23957
- | (Array<{
23958
- /** ID of the thermostat daily program. */
23959
- thermostat_daily_program_id: string
23960
- /** ID of the desired thermostat device. */
23961
- device_id: string
23962
- /** User-friendly name to identify the thermostat daily program. */
23963
- name?: string | undefined
23964
- /** Array of thermostat daily program periods. */
23965
- periods: Array<{
23966
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
23967
- starts_at_time: string
23968
- /** 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. */
23969
- climate_preset_key: string
23970
- }>
23971
- /** Date and time at which the thermostat daily program was created. */
23972
- created_at: string
23973
- }> | null)
23967
+ | (
23968
+ | Array<{
23969
+ /** ID of the thermostat daily program. */
23970
+ thermostat_daily_program_id: string
23971
+ /** ID of the desired thermostat device. */
23972
+ device_id: string
23973
+ /** User-friendly name to identify the thermostat daily program. */
23974
+ name: string | null
23975
+ /** Array of thermostat daily program periods. */
23976
+ periods: Array<{
23977
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
23978
+ starts_at_time: string
23979
+ /** 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. */
23980
+ climate_preset_key: string
23981
+ }>
23982
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
23983
+ workspace_id: string
23984
+ /** Date and time at which the thermostat daily program was created. */
23985
+ created_at: string
23986
+ }>
23987
+ | undefined
23988
+ )
23974
23989
  | undefined
23975
23990
  thermostat_weekly_program?:
23976
- | ({
23977
- /** ID of the thermostat device the weekly program is for. */
23978
- device_id: string
23979
- /** ID of the thermostat daily program to run on Mondays. */
23980
- monday_program_id: string | null
23981
- /** ID of the thermostat daily program to run on Tuesdays. */
23982
- tuesday_program_id: string | null
23983
- /** ID of the thermostat daily program to run on Wednesdays. */
23984
- wednesday_program_id: string | null
23985
- /** ID of the thermostat daily program to run on Thursdays. */
23986
- thursday_program_id: string | null
23987
- /** ID of the thermostat daily program to run on Fridays. */
23988
- friday_program_id: string | null
23989
- /** ID of the thermostat daily program to run on Saturdays. */
23990
- saturday_program_id: string | null
23991
- /** ID of the thermostat daily program to run on Sundays. */
23992
- sunday_program_id: string | null
23993
- /** Date and time at which the thermostat weekly program was created. */
23994
- created_at: string
23995
- } | null)
23991
+ | (
23992
+ | ({
23993
+ /** ID of the thermostat daily program to run on Mondays. */
23994
+ monday_program_id: string | null
23995
+ /** ID of the thermostat daily program to run on Tuesdays. */
23996
+ tuesday_program_id: string | null
23997
+ /** ID of the thermostat daily program to run on Wednesdays. */
23998
+ wednesday_program_id: string | null
23999
+ /** ID of the thermostat daily program to run on Thursdays. */
24000
+ thursday_program_id: string | null
24001
+ /** ID of the thermostat daily program to run on Fridays. */
24002
+ friday_program_id: string | null
24003
+ /** ID of the thermostat daily program to run on Saturdays. */
24004
+ saturday_program_id: string | null
24005
+ /** ID of the thermostat daily program to run on Sundays. */
24006
+ sunday_program_id: string | null
24007
+ /** Date and time at which the thermostat weekly program was created. */
24008
+ created_at: string
24009
+ } | null)
24010
+ | undefined
24011
+ )
23996
24012
  | undefined
23997
24013
  min_cooling_set_point_celsius?: number | undefined
23998
24014
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -29152,7 +29168,7 @@ export interface Routes {
29152
29168
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
29153
29169
  device_id: string
29154
29170
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
29155
- name?: string | undefined
29171
+ name: string | null
29156
29172
  /** 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). */
29157
29173
  climate_preset_key: string
29158
29174
  /** 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). */
@@ -29163,6 +29179,8 @@ export interface Routes {
29163
29179
  is_override_allowed?: boolean | undefined
29164
29180
  /** 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. */
29165
29181
  ends_at: string
29182
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
29183
+ workspace_id: string
29166
29184
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
29167
29185
  created_at: string
29168
29186
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -29175,45 +29193,51 @@ export interface Routes {
29175
29193
  } | null)
29176
29194
  | undefined
29177
29195
  thermostat_daily_programs?:
29178
- | (Array<{
29179
- /** ID of the thermostat daily program. */
29180
- thermostat_daily_program_id: string
29181
- /** ID of the desired thermostat device. */
29182
- device_id: string
29183
- /** User-friendly name to identify the thermostat daily program. */
29184
- name?: string | undefined
29185
- /** Array of thermostat daily program periods. */
29186
- periods: Array<{
29187
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
29188
- starts_at_time: string
29189
- /** 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. */
29190
- climate_preset_key: string
29191
- }>
29192
- /** Date and time at which the thermostat daily program was created. */
29193
- created_at: string
29194
- }> | null)
29196
+ | (
29197
+ | Array<{
29198
+ /** ID of the thermostat daily program. */
29199
+ thermostat_daily_program_id: string
29200
+ /** ID of the desired thermostat device. */
29201
+ device_id: string
29202
+ /** User-friendly name to identify the thermostat daily program. */
29203
+ name: string | null
29204
+ /** Array of thermostat daily program periods. */
29205
+ periods: Array<{
29206
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
29207
+ starts_at_time: string
29208
+ /** 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. */
29209
+ climate_preset_key: string
29210
+ }>
29211
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
29212
+ workspace_id: string
29213
+ /** Date and time at which the thermostat daily program was created. */
29214
+ created_at: string
29215
+ }>
29216
+ | undefined
29217
+ )
29195
29218
  | undefined
29196
29219
  thermostat_weekly_program?:
29197
- | ({
29198
- /** ID of the thermostat device the weekly program is for. */
29199
- device_id: string
29200
- /** ID of the thermostat daily program to run on Mondays. */
29201
- monday_program_id: string | null
29202
- /** ID of the thermostat daily program to run on Tuesdays. */
29203
- tuesday_program_id: string | null
29204
- /** ID of the thermostat daily program to run on Wednesdays. */
29205
- wednesday_program_id: string | null
29206
- /** ID of the thermostat daily program to run on Thursdays. */
29207
- thursday_program_id: string | null
29208
- /** ID of the thermostat daily program to run on Fridays. */
29209
- friday_program_id: string | null
29210
- /** ID of the thermostat daily program to run on Saturdays. */
29211
- saturday_program_id: string | null
29212
- /** ID of the thermostat daily program to run on Sundays. */
29213
- sunday_program_id: string | null
29214
- /** Date and time at which the thermostat weekly program was created. */
29215
- created_at: string
29216
- } | null)
29220
+ | (
29221
+ | ({
29222
+ /** ID of the thermostat daily program to run on Mondays. */
29223
+ monday_program_id: string | null
29224
+ /** ID of the thermostat daily program to run on Tuesdays. */
29225
+ tuesday_program_id: string | null
29226
+ /** ID of the thermostat daily program to run on Wednesdays. */
29227
+ wednesday_program_id: string | null
29228
+ /** ID of the thermostat daily program to run on Thursdays. */
29229
+ thursday_program_id: string | null
29230
+ /** ID of the thermostat daily program to run on Fridays. */
29231
+ friday_program_id: string | null
29232
+ /** ID of the thermostat daily program to run on Saturdays. */
29233
+ saturday_program_id: string | null
29234
+ /** ID of the thermostat daily program to run on Sundays. */
29235
+ sunday_program_id: string | null
29236
+ /** Date and time at which the thermostat weekly program was created. */
29237
+ created_at: string
29238
+ } | null)
29239
+ | undefined
29240
+ )
29217
29241
  | undefined
29218
29242
  min_cooling_set_point_celsius?: number | undefined
29219
29243
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -30131,7 +30155,7 @@ export interface Routes {
30131
30155
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
30132
30156
  device_id: string
30133
30157
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
30134
- name?: string | undefined
30158
+ name: string | null
30135
30159
  /** 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). */
30136
30160
  climate_preset_key: string
30137
30161
  /** 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). */
@@ -30142,6 +30166,8 @@ export interface Routes {
30142
30166
  is_override_allowed?: boolean | undefined
30143
30167
  /** 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. */
30144
30168
  ends_at: string
30169
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
30170
+ workspace_id: string
30145
30171
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
30146
30172
  created_at: string
30147
30173
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -30154,45 +30180,51 @@ export interface Routes {
30154
30180
  } | null)
30155
30181
  | undefined
30156
30182
  thermostat_daily_programs?:
30157
- | (Array<{
30158
- /** ID of the thermostat daily program. */
30159
- thermostat_daily_program_id: string
30160
- /** ID of the desired thermostat device. */
30161
- device_id: string
30162
- /** User-friendly name to identify the thermostat daily program. */
30163
- name?: string | undefined
30164
- /** Array of thermostat daily program periods. */
30165
- periods: Array<{
30166
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
30167
- starts_at_time: string
30168
- /** 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. */
30169
- climate_preset_key: string
30170
- }>
30171
- /** Date and time at which the thermostat daily program was created. */
30172
- created_at: string
30173
- }> | null)
30183
+ | (
30184
+ | Array<{
30185
+ /** ID of the thermostat daily program. */
30186
+ thermostat_daily_program_id: string
30187
+ /** ID of the desired thermostat device. */
30188
+ device_id: string
30189
+ /** User-friendly name to identify the thermostat daily program. */
30190
+ name: string | null
30191
+ /** Array of thermostat daily program periods. */
30192
+ periods: Array<{
30193
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
30194
+ starts_at_time: string
30195
+ /** 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. */
30196
+ climate_preset_key: string
30197
+ }>
30198
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
30199
+ workspace_id: string
30200
+ /** Date and time at which the thermostat daily program was created. */
30201
+ created_at: string
30202
+ }>
30203
+ | undefined
30204
+ )
30174
30205
  | undefined
30175
30206
  thermostat_weekly_program?:
30176
- | ({
30177
- /** ID of the thermostat device the weekly program is for. */
30178
- device_id: string
30179
- /** ID of the thermostat daily program to run on Mondays. */
30180
- monday_program_id: string | null
30181
- /** ID of the thermostat daily program to run on Tuesdays. */
30182
- tuesday_program_id: string | null
30183
- /** ID of the thermostat daily program to run on Wednesdays. */
30184
- wednesday_program_id: string | null
30185
- /** ID of the thermostat daily program to run on Thursdays. */
30186
- thursday_program_id: string | null
30187
- /** ID of the thermostat daily program to run on Fridays. */
30188
- friday_program_id: string | null
30189
- /** ID of the thermostat daily program to run on Saturdays. */
30190
- saturday_program_id: string | null
30191
- /** ID of the thermostat daily program to run on Sundays. */
30192
- sunday_program_id: string | null
30193
- /** Date and time at which the thermostat weekly program was created. */
30194
- created_at: string
30195
- } | null)
30207
+ | (
30208
+ | ({
30209
+ /** ID of the thermostat daily program to run on Mondays. */
30210
+ monday_program_id: string | null
30211
+ /** ID of the thermostat daily program to run on Tuesdays. */
30212
+ tuesday_program_id: string | null
30213
+ /** ID of the thermostat daily program to run on Wednesdays. */
30214
+ wednesday_program_id: string | null
30215
+ /** ID of the thermostat daily program to run on Thursdays. */
30216
+ thursday_program_id: string | null
30217
+ /** ID of the thermostat daily program to run on Fridays. */
30218
+ friday_program_id: string | null
30219
+ /** ID of the thermostat daily program to run on Saturdays. */
30220
+ saturday_program_id: string | null
30221
+ /** ID of the thermostat daily program to run on Sundays. */
30222
+ sunday_program_id: string | null
30223
+ /** Date and time at which the thermostat weekly program was created. */
30224
+ created_at: string
30225
+ } | null)
30226
+ | undefined
30227
+ )
30196
30228
  | undefined
30197
30229
  min_cooling_set_point_celsius?: number | undefined
30198
30230
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -31268,7 +31300,7 @@ export interface Routes {
31268
31300
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
31269
31301
  device_id: string
31270
31302
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
31271
- name?: string | undefined
31303
+ name: string | null
31272
31304
  /** 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). */
31273
31305
  climate_preset_key: string
31274
31306
  /** 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). */
@@ -31279,6 +31311,8 @@ export interface Routes {
31279
31311
  is_override_allowed?: boolean | undefined
31280
31312
  /** 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. */
31281
31313
  ends_at: string
31314
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
31315
+ workspace_id: string
31282
31316
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
31283
31317
  created_at: string
31284
31318
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -31291,45 +31325,51 @@ export interface Routes {
31291
31325
  } | null)
31292
31326
  | undefined
31293
31327
  thermostat_daily_programs?:
31294
- | (Array<{
31295
- /** ID of the thermostat daily program. */
31296
- thermostat_daily_program_id: string
31297
- /** ID of the desired thermostat device. */
31298
- device_id: string
31299
- /** User-friendly name to identify the thermostat daily program. */
31300
- name?: string | undefined
31301
- /** Array of thermostat daily program periods. */
31302
- periods: Array<{
31303
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
31304
- starts_at_time: string
31305
- /** 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. */
31306
- climate_preset_key: string
31307
- }>
31308
- /** Date and time at which the thermostat daily program was created. */
31309
- created_at: string
31310
- }> | null)
31328
+ | (
31329
+ | Array<{
31330
+ /** ID of the thermostat daily program. */
31331
+ thermostat_daily_program_id: string
31332
+ /** ID of the desired thermostat device. */
31333
+ device_id: string
31334
+ /** User-friendly name to identify the thermostat daily program. */
31335
+ name: string | null
31336
+ /** Array of thermostat daily program periods. */
31337
+ periods: Array<{
31338
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
31339
+ starts_at_time: string
31340
+ /** 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. */
31341
+ climate_preset_key: string
31342
+ }>
31343
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
31344
+ workspace_id: string
31345
+ /** Date and time at which the thermostat daily program was created. */
31346
+ created_at: string
31347
+ }>
31348
+ | undefined
31349
+ )
31311
31350
  | undefined
31312
31351
  thermostat_weekly_program?:
31313
- | ({
31314
- /** ID of the thermostat device the weekly program is for. */
31315
- device_id: string
31316
- /** ID of the thermostat daily program to run on Mondays. */
31317
- monday_program_id: string | null
31318
- /** ID of the thermostat daily program to run on Tuesdays. */
31319
- tuesday_program_id: string | null
31320
- /** ID of the thermostat daily program to run on Wednesdays. */
31321
- wednesday_program_id: string | null
31322
- /** ID of the thermostat daily program to run on Thursdays. */
31323
- thursday_program_id: string | null
31324
- /** ID of the thermostat daily program to run on Fridays. */
31325
- friday_program_id: string | null
31326
- /** ID of the thermostat daily program to run on Saturdays. */
31327
- saturday_program_id: string | null
31328
- /** ID of the thermostat daily program to run on Sundays. */
31329
- sunday_program_id: string | null
31330
- /** Date and time at which the thermostat weekly program was created. */
31331
- created_at: string
31332
- } | null)
31352
+ | (
31353
+ | ({
31354
+ /** ID of the thermostat daily program to run on Mondays. */
31355
+ monday_program_id: string | null
31356
+ /** ID of the thermostat daily program to run on Tuesdays. */
31357
+ tuesday_program_id: string | null
31358
+ /** ID of the thermostat daily program to run on Wednesdays. */
31359
+ wednesday_program_id: string | null
31360
+ /** ID of the thermostat daily program to run on Thursdays. */
31361
+ thursday_program_id: string | null
31362
+ /** ID of the thermostat daily program to run on Fridays. */
31363
+ friday_program_id: string | null
31364
+ /** ID of the thermostat daily program to run on Saturdays. */
31365
+ saturday_program_id: string | null
31366
+ /** ID of the thermostat daily program to run on Sundays. */
31367
+ sunday_program_id: string | null
31368
+ /** Date and time at which the thermostat weekly program was created. */
31369
+ created_at: string
31370
+ } | null)
31371
+ | undefined
31372
+ )
31333
31373
  | undefined
31334
31374
  min_cooling_set_point_celsius?: number | undefined
31335
31375
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -32246,7 +32286,7 @@ export interface Routes {
32246
32286
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
32247
32287
  device_id: string
32248
32288
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
32249
- name?: string | undefined
32289
+ name: string | null
32250
32290
  /** 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). */
32251
32291
  climate_preset_key: string
32252
32292
  /** 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). */
@@ -32257,6 +32297,8 @@ export interface Routes {
32257
32297
  is_override_allowed?: boolean | undefined
32258
32298
  /** 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. */
32259
32299
  ends_at: string
32300
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
32301
+ workspace_id: string
32260
32302
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
32261
32303
  created_at: string
32262
32304
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -32269,45 +32311,51 @@ export interface Routes {
32269
32311
  } | null)
32270
32312
  | undefined
32271
32313
  thermostat_daily_programs?:
32272
- | (Array<{
32273
- /** ID of the thermostat daily program. */
32274
- thermostat_daily_program_id: string
32275
- /** ID of the desired thermostat device. */
32276
- device_id: string
32277
- /** User-friendly name to identify the thermostat daily program. */
32278
- name?: string | undefined
32279
- /** Array of thermostat daily program periods. */
32280
- periods: Array<{
32281
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
32282
- starts_at_time: string
32283
- /** 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. */
32284
- climate_preset_key: string
32285
- }>
32286
- /** Date and time at which the thermostat daily program was created. */
32287
- created_at: string
32288
- }> | null)
32314
+ | (
32315
+ | Array<{
32316
+ /** ID of the thermostat daily program. */
32317
+ thermostat_daily_program_id: string
32318
+ /** ID of the desired thermostat device. */
32319
+ device_id: string
32320
+ /** User-friendly name to identify the thermostat daily program. */
32321
+ name: string | null
32322
+ /** Array of thermostat daily program periods. */
32323
+ periods: Array<{
32324
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
32325
+ starts_at_time: string
32326
+ /** 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. */
32327
+ climate_preset_key: string
32328
+ }>
32329
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
32330
+ workspace_id: string
32331
+ /** Date and time at which the thermostat daily program was created. */
32332
+ created_at: string
32333
+ }>
32334
+ | undefined
32335
+ )
32289
32336
  | undefined
32290
32337
  thermostat_weekly_program?:
32291
- | ({
32292
- /** ID of the thermostat device the weekly program is for. */
32293
- device_id: string
32294
- /** ID of the thermostat daily program to run on Mondays. */
32295
- monday_program_id: string | null
32296
- /** ID of the thermostat daily program to run on Tuesdays. */
32297
- tuesday_program_id: string | null
32298
- /** ID of the thermostat daily program to run on Wednesdays. */
32299
- wednesday_program_id: string | null
32300
- /** ID of the thermostat daily program to run on Thursdays. */
32301
- thursday_program_id: string | null
32302
- /** ID of the thermostat daily program to run on Fridays. */
32303
- friday_program_id: string | null
32304
- /** ID of the thermostat daily program to run on Saturdays. */
32305
- saturday_program_id: string | null
32306
- /** ID of the thermostat daily program to run on Sundays. */
32307
- sunday_program_id: string | null
32308
- /** Date and time at which the thermostat weekly program was created. */
32309
- created_at: string
32310
- } | null)
32338
+ | (
32339
+ | ({
32340
+ /** ID of the thermostat daily program to run on Mondays. */
32341
+ monday_program_id: string | null
32342
+ /** ID of the thermostat daily program to run on Tuesdays. */
32343
+ tuesday_program_id: string | null
32344
+ /** ID of the thermostat daily program to run on Wednesdays. */
32345
+ wednesday_program_id: string | null
32346
+ /** ID of the thermostat daily program to run on Thursdays. */
32347
+ thursday_program_id: string | null
32348
+ /** ID of the thermostat daily program to run on Fridays. */
32349
+ friday_program_id: string | null
32350
+ /** ID of the thermostat daily program to run on Saturdays. */
32351
+ saturday_program_id: string | null
32352
+ /** ID of the thermostat daily program to run on Sundays. */
32353
+ sunday_program_id: string | null
32354
+ /** Date and time at which the thermostat weekly program was created. */
32355
+ created_at: string
32356
+ } | null)
32357
+ | undefined
32358
+ )
32311
32359
  | undefined
32312
32360
  min_cooling_set_point_celsius?: number | undefined
32313
32361
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -38549,7 +38597,7 @@ export interface Routes {
38549
38597
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
38550
38598
  device_id: string
38551
38599
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
38552
- name?: string | undefined
38600
+ name: string | null
38553
38601
  /** 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). */
38554
38602
  climate_preset_key: string
38555
38603
  /** 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). */
@@ -38560,6 +38608,8 @@ export interface Routes {
38560
38608
  is_override_allowed?: boolean | undefined
38561
38609
  /** 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. */
38562
38610
  ends_at: string
38611
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
38612
+ workspace_id: string
38563
38613
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
38564
38614
  created_at: string
38565
38615
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -38572,45 +38622,51 @@ export interface Routes {
38572
38622
  } | null)
38573
38623
  | undefined
38574
38624
  thermostat_daily_programs?:
38575
- | (Array<{
38576
- /** ID of the thermostat daily program. */
38577
- thermostat_daily_program_id: string
38578
- /** ID of the desired thermostat device. */
38579
- device_id: string
38580
- /** User-friendly name to identify the thermostat daily program. */
38581
- name?: string | undefined
38582
- /** Array of thermostat daily program periods. */
38583
- periods: Array<{
38584
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
38585
- starts_at_time: string
38586
- /** 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. */
38587
- climate_preset_key: string
38588
- }>
38589
- /** Date and time at which the thermostat daily program was created. */
38590
- created_at: string
38591
- }> | null)
38625
+ | (
38626
+ | Array<{
38627
+ /** ID of the thermostat daily program. */
38628
+ thermostat_daily_program_id: string
38629
+ /** ID of the desired thermostat device. */
38630
+ device_id: string
38631
+ /** User-friendly name to identify the thermostat daily program. */
38632
+ name: string | null
38633
+ /** Array of thermostat daily program periods. */
38634
+ periods: Array<{
38635
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
38636
+ starts_at_time: string
38637
+ /** 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. */
38638
+ climate_preset_key: string
38639
+ }>
38640
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
38641
+ workspace_id: string
38642
+ /** Date and time at which the thermostat daily program was created. */
38643
+ created_at: string
38644
+ }>
38645
+ | undefined
38646
+ )
38592
38647
  | undefined
38593
38648
  thermostat_weekly_program?:
38594
- | ({
38595
- /** ID of the thermostat device the weekly program is for. */
38596
- device_id: string
38597
- /** ID of the thermostat daily program to run on Mondays. */
38598
- monday_program_id: string | null
38599
- /** ID of the thermostat daily program to run on Tuesdays. */
38600
- tuesday_program_id: string | null
38601
- /** ID of the thermostat daily program to run on Wednesdays. */
38602
- wednesday_program_id: string | null
38603
- /** ID of the thermostat daily program to run on Thursdays. */
38604
- thursday_program_id: string | null
38605
- /** ID of the thermostat daily program to run on Fridays. */
38606
- friday_program_id: string | null
38607
- /** ID of the thermostat daily program to run on Saturdays. */
38608
- saturday_program_id: string | null
38609
- /** ID of the thermostat daily program to run on Sundays. */
38610
- sunday_program_id: string | null
38611
- /** Date and time at which the thermostat weekly program was created. */
38612
- created_at: string
38613
- } | null)
38649
+ | (
38650
+ | ({
38651
+ /** ID of the thermostat daily program to run on Mondays. */
38652
+ monday_program_id: string | null
38653
+ /** ID of the thermostat daily program to run on Tuesdays. */
38654
+ tuesday_program_id: string | null
38655
+ /** ID of the thermostat daily program to run on Wednesdays. */
38656
+ wednesday_program_id: string | null
38657
+ /** ID of the thermostat daily program to run on Thursdays. */
38658
+ thursday_program_id: string | null
38659
+ /** ID of the thermostat daily program to run on Fridays. */
38660
+ friday_program_id: string | null
38661
+ /** ID of the thermostat daily program to run on Saturdays. */
38662
+ saturday_program_id: string | null
38663
+ /** ID of the thermostat daily program to run on Sundays. */
38664
+ sunday_program_id: string | null
38665
+ /** Date and time at which the thermostat weekly program was created. */
38666
+ created_at: string
38667
+ } | null)
38668
+ | undefined
38669
+ )
38614
38670
  | undefined
38615
38671
  min_cooling_set_point_celsius?: number | undefined
38616
38672
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -39527,7 +39583,7 @@ export interface Routes {
39527
39583
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
39528
39584
  device_id: string
39529
39585
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
39530
- name?: string | undefined
39586
+ name: string | null
39531
39587
  /** 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). */
39532
39588
  climate_preset_key: string
39533
39589
  /** 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). */
@@ -39538,6 +39594,8 @@ export interface Routes {
39538
39594
  is_override_allowed?: boolean | undefined
39539
39595
  /** 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. */
39540
39596
  ends_at: string
39597
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
39598
+ workspace_id: string
39541
39599
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
39542
39600
  created_at: string
39543
39601
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -39550,45 +39608,51 @@ export interface Routes {
39550
39608
  } | null)
39551
39609
  | undefined
39552
39610
  thermostat_daily_programs?:
39553
- | (Array<{
39554
- /** ID of the thermostat daily program. */
39555
- thermostat_daily_program_id: string
39556
- /** ID of the desired thermostat device. */
39557
- device_id: string
39558
- /** User-friendly name to identify the thermostat daily program. */
39559
- name?: string | undefined
39560
- /** Array of thermostat daily program periods. */
39561
- periods: Array<{
39562
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
39563
- starts_at_time: string
39564
- /** 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. */
39565
- climate_preset_key: string
39566
- }>
39567
- /** Date and time at which the thermostat daily program was created. */
39568
- created_at: string
39569
- }> | null)
39611
+ | (
39612
+ | Array<{
39613
+ /** ID of the thermostat daily program. */
39614
+ thermostat_daily_program_id: string
39615
+ /** ID of the desired thermostat device. */
39616
+ device_id: string
39617
+ /** User-friendly name to identify the thermostat daily program. */
39618
+ name: string | null
39619
+ /** Array of thermostat daily program periods. */
39620
+ periods: Array<{
39621
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
39622
+ starts_at_time: string
39623
+ /** 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. */
39624
+ climate_preset_key: string
39625
+ }>
39626
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
39627
+ workspace_id: string
39628
+ /** Date and time at which the thermostat daily program was created. */
39629
+ created_at: string
39630
+ }>
39631
+ | undefined
39632
+ )
39570
39633
  | undefined
39571
39634
  thermostat_weekly_program?:
39572
- | ({
39573
- /** ID of the thermostat device the weekly program is for. */
39574
- device_id: string
39575
- /** ID of the thermostat daily program to run on Mondays. */
39576
- monday_program_id: string | null
39577
- /** ID of the thermostat daily program to run on Tuesdays. */
39578
- tuesday_program_id: string | null
39579
- /** ID of the thermostat daily program to run on Wednesdays. */
39580
- wednesday_program_id: string | null
39581
- /** ID of the thermostat daily program to run on Thursdays. */
39582
- thursday_program_id: string | null
39583
- /** ID of the thermostat daily program to run on Fridays. */
39584
- friday_program_id: string | null
39585
- /** ID of the thermostat daily program to run on Saturdays. */
39586
- saturday_program_id: string | null
39587
- /** ID of the thermostat daily program to run on Sundays. */
39588
- sunday_program_id: string | null
39589
- /** Date and time at which the thermostat weekly program was created. */
39590
- created_at: string
39591
- } | null)
39635
+ | (
39636
+ | ({
39637
+ /** ID of the thermostat daily program to run on Mondays. */
39638
+ monday_program_id: string | null
39639
+ /** ID of the thermostat daily program to run on Tuesdays. */
39640
+ tuesday_program_id: string | null
39641
+ /** ID of the thermostat daily program to run on Wednesdays. */
39642
+ wednesday_program_id: string | null
39643
+ /** ID of the thermostat daily program to run on Thursdays. */
39644
+ thursday_program_id: string | null
39645
+ /** ID of the thermostat daily program to run on Fridays. */
39646
+ friday_program_id: string | null
39647
+ /** ID of the thermostat daily program to run on Saturdays. */
39648
+ saturday_program_id: string | null
39649
+ /** ID of the thermostat daily program to run on Sundays. */
39650
+ sunday_program_id: string | null
39651
+ /** Date and time at which the thermostat weekly program was created. */
39652
+ created_at: string
39653
+ } | null)
39654
+ | undefined
39655
+ )
39592
39656
  | undefined
39593
39657
  min_cooling_set_point_celsius?: number | undefined
39594
39658
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -45812,19 +45876,19 @@ export interface Routes {
45812
45876
  /** ID of the thermostat device that the weekly program is for. */
45813
45877
  device_id: string
45814
45878
  /** ID of the thermostat daily program to run on Mondays. */
45815
- monday_program_id?: string | undefined
45879
+ monday_program_id?: (string | undefined) | null
45816
45880
  /** ID of the thermostat daily program to run on Tuesdays. */
45817
- tuesday_program_id?: string | undefined
45881
+ tuesday_program_id?: (string | undefined) | null
45818
45882
  /** ID of the thermostat daily program to run on Wednesdays. */
45819
- wednesday_program_id?: string | undefined
45883
+ wednesday_program_id?: (string | undefined) | null
45820
45884
  /** ID of the thermostat daily program to run on Thursdays. */
45821
- thursday_program_id?: string | undefined
45885
+ thursday_program_id?: (string | undefined) | null
45822
45886
  /** ID of the thermostat daily program to run on Fridays. */
45823
- friday_program_id?: string | undefined
45887
+ friday_program_id?: (string | undefined) | null
45824
45888
  /** ID of the thermostat daily program to run on Saturdays. */
45825
- saturday_program_id?: string | undefined
45889
+ saturday_program_id?: (string | undefined) | null
45826
45890
  /** ID of the thermostat daily program to run on Sundays. */
45827
- sunday_program_id?: string | undefined
45891
+ sunday_program_id?: (string | undefined) | null
45828
45892
  }
45829
45893
  commonParams: {}
45830
45894
  formData: {}
@@ -49796,7 +49860,7 @@ export interface Routes {
49796
49860
  /** ID of the desired thermostat device. */
49797
49861
  device_id: string
49798
49862
  /** User-friendly name to identify the thermostat daily program. */
49799
- name?: string | undefined
49863
+ name: string | null
49800
49864
  /** Array of thermostat daily program periods. */
49801
49865
  periods: Array<{
49802
49866
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -49804,6 +49868,8 @@ export interface Routes {
49804
49868
  /** 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. */
49805
49869
  climate_preset_key: string
49806
49870
  }>
49871
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
49872
+ workspace_id: string
49807
49873
  /** Date and time at which the thermostat daily program was created. */
49808
49874
  created_at: string
49809
49875
  }
@@ -51809,7 +51875,7 @@ export interface Routes {
51809
51875
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
51810
51876
  device_id: string
51811
51877
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
51812
- name?: string | undefined
51878
+ name: string | null
51813
51879
  /** 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). */
51814
51880
  climate_preset_key: string
51815
51881
  /** 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). */
@@ -51820,6 +51886,8 @@ export interface Routes {
51820
51886
  is_override_allowed?: boolean | undefined
51821
51887
  /** 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. */
51822
51888
  ends_at: string
51889
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
51890
+ workspace_id: string
51823
51891
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
51824
51892
  created_at: string
51825
51893
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -51832,45 +51900,51 @@ export interface Routes {
51832
51900
  } | null)
51833
51901
  | undefined
51834
51902
  thermostat_daily_programs?:
51835
- | (Array<{
51836
- /** ID of the thermostat daily program. */
51837
- thermostat_daily_program_id: string
51838
- /** ID of the desired thermostat device. */
51839
- device_id: string
51840
- /** User-friendly name to identify the thermostat daily program. */
51841
- name?: string | undefined
51842
- /** Array of thermostat daily program periods. */
51843
- periods: Array<{
51844
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
51845
- starts_at_time: string
51846
- /** 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. */
51847
- climate_preset_key: string
51848
- }>
51849
- /** Date and time at which the thermostat daily program was created. */
51850
- created_at: string
51851
- }> | null)
51903
+ | (
51904
+ | Array<{
51905
+ /** ID of the thermostat daily program. */
51906
+ thermostat_daily_program_id: string
51907
+ /** ID of the desired thermostat device. */
51908
+ device_id: string
51909
+ /** User-friendly name to identify the thermostat daily program. */
51910
+ name: string | null
51911
+ /** Array of thermostat daily program periods. */
51912
+ periods: Array<{
51913
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
51914
+ starts_at_time: string
51915
+ /** 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. */
51916
+ climate_preset_key: string
51917
+ }>
51918
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
51919
+ workspace_id: string
51920
+ /** Date and time at which the thermostat daily program was created. */
51921
+ created_at: string
51922
+ }>
51923
+ | undefined
51924
+ )
51852
51925
  | undefined
51853
51926
  thermostat_weekly_program?:
51854
- | ({
51855
- /** ID of the thermostat device the weekly program is for. */
51856
- device_id: string
51857
- /** ID of the thermostat daily program to run on Mondays. */
51858
- monday_program_id: string | null
51859
- /** ID of the thermostat daily program to run on Tuesdays. */
51860
- tuesday_program_id: string | null
51861
- /** ID of the thermostat daily program to run on Wednesdays. */
51862
- wednesday_program_id: string | null
51863
- /** ID of the thermostat daily program to run on Thursdays. */
51864
- thursday_program_id: string | null
51865
- /** ID of the thermostat daily program to run on Fridays. */
51866
- friday_program_id: string | null
51867
- /** ID of the thermostat daily program to run on Saturdays. */
51868
- saturday_program_id: string | null
51869
- /** ID of the thermostat daily program to run on Sundays. */
51870
- sunday_program_id: string | null
51871
- /** Date and time at which the thermostat weekly program was created. */
51872
- created_at: string
51873
- } | null)
51927
+ | (
51928
+ | ({
51929
+ /** ID of the thermostat daily program to run on Mondays. */
51930
+ monday_program_id: string | null
51931
+ /** ID of the thermostat daily program to run on Tuesdays. */
51932
+ tuesday_program_id: string | null
51933
+ /** ID of the thermostat daily program to run on Wednesdays. */
51934
+ wednesday_program_id: string | null
51935
+ /** ID of the thermostat daily program to run on Thursdays. */
51936
+ thursday_program_id: string | null
51937
+ /** ID of the thermostat daily program to run on Fridays. */
51938
+ friday_program_id: string | null
51939
+ /** ID of the thermostat daily program to run on Saturdays. */
51940
+ saturday_program_id: string | null
51941
+ /** ID of the thermostat daily program to run on Sundays. */
51942
+ sunday_program_id: string | null
51943
+ /** Date and time at which the thermostat weekly program was created. */
51944
+ created_at: string
51945
+ } | null)
51946
+ | undefined
51947
+ )
51874
51948
  | undefined
51875
51949
  min_cooling_set_point_celsius?: number | undefined
51876
51950
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -55500,7 +55574,7 @@ export interface Routes {
55500
55574
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
55501
55575
  device_id: string
55502
55576
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
55503
- name?: string | undefined
55577
+ name: string | null
55504
55578
  /** 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). */
55505
55579
  climate_preset_key: string
55506
55580
  /** 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). */
@@ -55511,6 +55585,8 @@ export interface Routes {
55511
55585
  is_override_allowed?: boolean | undefined
55512
55586
  /** 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. */
55513
55587
  ends_at: string
55588
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
55589
+ workspace_id: string
55514
55590
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
55515
55591
  created_at: string
55516
55592
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -55523,45 +55599,51 @@ export interface Routes {
55523
55599
  } | null)
55524
55600
  | undefined
55525
55601
  thermostat_daily_programs?:
55526
- | (Array<{
55527
- /** ID of the thermostat daily program. */
55528
- thermostat_daily_program_id: string
55529
- /** ID of the desired thermostat device. */
55530
- device_id: string
55531
- /** User-friendly name to identify the thermostat daily program. */
55532
- name?: string | undefined
55533
- /** Array of thermostat daily program periods. */
55534
- periods: Array<{
55535
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
55536
- starts_at_time: string
55537
- /** 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. */
55538
- climate_preset_key: string
55539
- }>
55540
- /** Date and time at which the thermostat daily program was created. */
55541
- created_at: string
55542
- }> | null)
55602
+ | (
55603
+ | Array<{
55604
+ /** ID of the thermostat daily program. */
55605
+ thermostat_daily_program_id: string
55606
+ /** ID of the desired thermostat device. */
55607
+ device_id: string
55608
+ /** User-friendly name to identify the thermostat daily program. */
55609
+ name: string | null
55610
+ /** Array of thermostat daily program periods. */
55611
+ periods: Array<{
55612
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
55613
+ starts_at_time: string
55614
+ /** 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. */
55615
+ climate_preset_key: string
55616
+ }>
55617
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
55618
+ workspace_id: string
55619
+ /** Date and time at which the thermostat daily program was created. */
55620
+ created_at: string
55621
+ }>
55622
+ | undefined
55623
+ )
55543
55624
  | undefined
55544
55625
  thermostat_weekly_program?:
55545
- | ({
55546
- /** ID of the thermostat device the weekly program is for. */
55547
- device_id: string
55548
- /** ID of the thermostat daily program to run on Mondays. */
55549
- monday_program_id: string | null
55550
- /** ID of the thermostat daily program to run on Tuesdays. */
55551
- tuesday_program_id: string | null
55552
- /** ID of the thermostat daily program to run on Wednesdays. */
55553
- wednesday_program_id: string | null
55554
- /** ID of the thermostat daily program to run on Thursdays. */
55555
- thursday_program_id: string | null
55556
- /** ID of the thermostat daily program to run on Fridays. */
55557
- friday_program_id: string | null
55558
- /** ID of the thermostat daily program to run on Saturdays. */
55559
- saturday_program_id: string | null
55560
- /** ID of the thermostat daily program to run on Sundays. */
55561
- sunday_program_id: string | null
55562
- /** Date and time at which the thermostat weekly program was created. */
55563
- created_at: string
55564
- } | null)
55626
+ | (
55627
+ | ({
55628
+ /** ID of the thermostat daily program to run on Mondays. */
55629
+ monday_program_id: string | null
55630
+ /** ID of the thermostat daily program to run on Tuesdays. */
55631
+ tuesday_program_id: string | null
55632
+ /** ID of the thermostat daily program to run on Wednesdays. */
55633
+ wednesday_program_id: string | null
55634
+ /** ID of the thermostat daily program to run on Thursdays. */
55635
+ thursday_program_id: string | null
55636
+ /** ID of the thermostat daily program to run on Fridays. */
55637
+ friday_program_id: string | null
55638
+ /** ID of the thermostat daily program to run on Saturdays. */
55639
+ saturday_program_id: string | null
55640
+ /** ID of the thermostat daily program to run on Sundays. */
55641
+ sunday_program_id: string | null
55642
+ /** Date and time at which the thermostat weekly program was created. */
55643
+ created_at: string
55644
+ } | null)
55645
+ | undefined
55646
+ )
55565
55647
  | undefined
55566
55648
  min_cooling_set_point_celsius?: number | undefined
55567
55649
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -56478,7 +56560,7 @@ export interface Routes {
56478
56560
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
56479
56561
  device_id: string
56480
56562
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
56481
- name?: string | undefined
56563
+ name: string | null
56482
56564
  /** 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). */
56483
56565
  climate_preset_key: string
56484
56566
  /** 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). */
@@ -56489,6 +56571,8 @@ export interface Routes {
56489
56571
  is_override_allowed?: boolean | undefined
56490
56572
  /** 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. */
56491
56573
  ends_at: string
56574
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
56575
+ workspace_id: string
56492
56576
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
56493
56577
  created_at: string
56494
56578
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -56501,45 +56585,51 @@ export interface Routes {
56501
56585
  } | null)
56502
56586
  | undefined
56503
56587
  thermostat_daily_programs?:
56504
- | (Array<{
56505
- /** ID of the thermostat daily program. */
56506
- thermostat_daily_program_id: string
56507
- /** ID of the desired thermostat device. */
56508
- device_id: string
56509
- /** User-friendly name to identify the thermostat daily program. */
56510
- name?: string | undefined
56511
- /** Array of thermostat daily program periods. */
56512
- periods: Array<{
56513
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56514
- starts_at_time: string
56515
- /** 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. */
56516
- climate_preset_key: string
56517
- }>
56518
- /** Date and time at which the thermostat daily program was created. */
56519
- created_at: string
56520
- }> | null)
56588
+ | (
56589
+ | Array<{
56590
+ /** ID of the thermostat daily program. */
56591
+ thermostat_daily_program_id: string
56592
+ /** ID of the desired thermostat device. */
56593
+ device_id: string
56594
+ /** User-friendly name to identify the thermostat daily program. */
56595
+ name: string | null
56596
+ /** Array of thermostat daily program periods. */
56597
+ periods: Array<{
56598
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56599
+ starts_at_time: string
56600
+ /** 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. */
56601
+ climate_preset_key: string
56602
+ }>
56603
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
56604
+ workspace_id: string
56605
+ /** Date and time at which the thermostat daily program was created. */
56606
+ created_at: string
56607
+ }>
56608
+ | undefined
56609
+ )
56521
56610
  | undefined
56522
56611
  thermostat_weekly_program?:
56523
- | ({
56524
- /** ID of the thermostat device the weekly program is for. */
56525
- device_id: string
56526
- /** ID of the thermostat daily program to run on Mondays. */
56527
- monday_program_id: string | null
56528
- /** ID of the thermostat daily program to run on Tuesdays. */
56529
- tuesday_program_id: string | null
56530
- /** ID of the thermostat daily program to run on Wednesdays. */
56531
- wednesday_program_id: string | null
56532
- /** ID of the thermostat daily program to run on Thursdays. */
56533
- thursday_program_id: string | null
56534
- /** ID of the thermostat daily program to run on Fridays. */
56535
- friday_program_id: string | null
56536
- /** ID of the thermostat daily program to run on Saturdays. */
56537
- saturday_program_id: string | null
56538
- /** ID of the thermostat daily program to run on Sundays. */
56539
- sunday_program_id: string | null
56540
- /** Date and time at which the thermostat weekly program was created. */
56541
- created_at: string
56542
- } | null)
56612
+ | (
56613
+ | ({
56614
+ /** ID of the thermostat daily program to run on Mondays. */
56615
+ monday_program_id: string | null
56616
+ /** ID of the thermostat daily program to run on Tuesdays. */
56617
+ tuesday_program_id: string | null
56618
+ /** ID of the thermostat daily program to run on Wednesdays. */
56619
+ wednesday_program_id: string | null
56620
+ /** ID of the thermostat daily program to run on Thursdays. */
56621
+ thursday_program_id: string | null
56622
+ /** ID of the thermostat daily program to run on Fridays. */
56623
+ friday_program_id: string | null
56624
+ /** ID of the thermostat daily program to run on Saturdays. */
56625
+ saturday_program_id: string | null
56626
+ /** ID of the thermostat daily program to run on Sundays. */
56627
+ sunday_program_id: string | null
56628
+ /** Date and time at which the thermostat weekly program was created. */
56629
+ created_at: string
56630
+ } | null)
56631
+ | undefined
56632
+ )
56543
56633
  | undefined
56544
56634
  min_cooling_set_point_celsius?: number | undefined
56545
56635
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -58149,7 +58239,7 @@ export interface Routes {
58149
58239
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
58150
58240
  device_id: string
58151
58241
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
58152
- name?: string | undefined
58242
+ name: string | null
58153
58243
  /** 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). */
58154
58244
  climate_preset_key: string
58155
58245
  /** 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). */
@@ -58160,6 +58250,8 @@ export interface Routes {
58160
58250
  is_override_allowed?: boolean | undefined
58161
58251
  /** 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. */
58162
58252
  ends_at: string
58253
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
58254
+ workspace_id: string
58163
58255
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
58164
58256
  created_at: string
58165
58257
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -58202,7 +58294,7 @@ export interface Routes {
58202
58294
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
58203
58295
  device_id: string
58204
58296
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
58205
- name?: string | undefined
58297
+ name: string | null
58206
58298
  /** 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). */
58207
58299
  climate_preset_key: string
58208
58300
  /** 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). */
@@ -58213,6 +58305,8 @@ export interface Routes {
58213
58305
  is_override_allowed?: boolean | undefined
58214
58306
  /** 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. */
58215
58307
  ends_at: string
58308
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
58309
+ workspace_id: string
58216
58310
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
58217
58311
  created_at: string
58218
58312
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -58244,7 +58338,7 @@ export interface Routes {
58244
58338
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
58245
58339
  device_id: string
58246
58340
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
58247
- name?: string | undefined
58341
+ name: string | null
58248
58342
  /** 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). */
58249
58343
  climate_preset_key: string
58250
58344
  /** 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). */
@@ -58255,6 +58349,8 @@ export interface Routes {
58255
58349
  is_override_allowed?: boolean | undefined
58256
58350
  /** 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. */
58257
58351
  ends_at: string
58352
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
58353
+ workspace_id: string
58258
58354
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
58259
58355
  created_at: string
58260
58356
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -62413,7 +62509,7 @@ export interface Routes {
62413
62509
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
62414
62510
  device_id: string
62415
62511
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
62416
- name?: string | undefined
62512
+ name: string | null
62417
62513
  /** 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). */
62418
62514
  climate_preset_key: string
62419
62515
  /** 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). */
@@ -62424,6 +62520,8 @@ export interface Routes {
62424
62520
  is_override_allowed?: boolean | undefined
62425
62521
  /** 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. */
62426
62522
  ends_at: string
62523
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
62524
+ workspace_id: string
62427
62525
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
62428
62526
  created_at: string
62429
62527
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -62436,45 +62534,51 @@ export interface Routes {
62436
62534
  } | null)
62437
62535
  | undefined
62438
62536
  thermostat_daily_programs?:
62439
- | (Array<{
62440
- /** ID of the thermostat daily program. */
62441
- thermostat_daily_program_id: string
62442
- /** ID of the desired thermostat device. */
62443
- device_id: string
62444
- /** User-friendly name to identify the thermostat daily program. */
62445
- name?: string | undefined
62446
- /** Array of thermostat daily program periods. */
62447
- periods: Array<{
62448
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
62449
- starts_at_time: string
62450
- /** 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. */
62451
- climate_preset_key: string
62452
- }>
62453
- /** Date and time at which the thermostat daily program was created. */
62454
- created_at: string
62455
- }> | null)
62537
+ | (
62538
+ | Array<{
62539
+ /** ID of the thermostat daily program. */
62540
+ thermostat_daily_program_id: string
62541
+ /** ID of the desired thermostat device. */
62542
+ device_id: string
62543
+ /** User-friendly name to identify the thermostat daily program. */
62544
+ name: string | null
62545
+ /** Array of thermostat daily program periods. */
62546
+ periods: Array<{
62547
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
62548
+ starts_at_time: string
62549
+ /** 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. */
62550
+ climate_preset_key: string
62551
+ }>
62552
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
62553
+ workspace_id: string
62554
+ /** Date and time at which the thermostat daily program was created. */
62555
+ created_at: string
62556
+ }>
62557
+ | undefined
62558
+ )
62456
62559
  | undefined
62457
62560
  thermostat_weekly_program?:
62458
- | ({
62459
- /** ID of the thermostat device the weekly program is for. */
62460
- device_id: string
62461
- /** ID of the thermostat daily program to run on Mondays. */
62462
- monday_program_id: string | null
62463
- /** ID of the thermostat daily program to run on Tuesdays. */
62464
- tuesday_program_id: string | null
62465
- /** ID of the thermostat daily program to run on Wednesdays. */
62466
- wednesday_program_id: string | null
62467
- /** ID of the thermostat daily program to run on Thursdays. */
62468
- thursday_program_id: string | null
62469
- /** ID of the thermostat daily program to run on Fridays. */
62470
- friday_program_id: string | null
62471
- /** ID of the thermostat daily program to run on Saturdays. */
62472
- saturday_program_id: string | null
62473
- /** ID of the thermostat daily program to run on Sundays. */
62474
- sunday_program_id: string | null
62475
- /** Date and time at which the thermostat weekly program was created. */
62476
- created_at: string
62477
- } | null)
62561
+ | (
62562
+ | ({
62563
+ /** ID of the thermostat daily program to run on Mondays. */
62564
+ monday_program_id: string | null
62565
+ /** ID of the thermostat daily program to run on Tuesdays. */
62566
+ tuesday_program_id: string | null
62567
+ /** ID of the thermostat daily program to run on Wednesdays. */
62568
+ wednesday_program_id: string | null
62569
+ /** ID of the thermostat daily program to run on Thursdays. */
62570
+ thursday_program_id: string | null
62571
+ /** ID of the thermostat daily program to run on Fridays. */
62572
+ friday_program_id: string | null
62573
+ /** ID of the thermostat daily program to run on Saturdays. */
62574
+ saturday_program_id: string | null
62575
+ /** ID of the thermostat daily program to run on Sundays. */
62576
+ sunday_program_id: string | null
62577
+ /** Date and time at which the thermostat weekly program was created. */
62578
+ created_at: string
62579
+ } | null)
62580
+ | undefined
62581
+ )
62478
62582
  | undefined
62479
62583
  min_cooling_set_point_celsius?: number | undefined
62480
62584
  min_cooling_set_point_fahrenheit?: number | undefined
@@ -63393,7 +63497,7 @@ export interface Routes {
63393
63497
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
63394
63498
  device_id: string
63395
63499
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
63396
- name?: string | undefined
63500
+ name: string | null
63397
63501
  /** 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). */
63398
63502
  climate_preset_key: string
63399
63503
  /** 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). */
@@ -63404,6 +63508,8 @@ export interface Routes {
63404
63508
  is_override_allowed?: boolean | undefined
63405
63509
  /** 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. */
63406
63510
  ends_at: string
63511
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
63512
+ workspace_id: string
63407
63513
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
63408
63514
  created_at: string
63409
63515
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -63416,45 +63522,51 @@ export interface Routes {
63416
63522
  } | null)
63417
63523
  | undefined
63418
63524
  thermostat_daily_programs?:
63419
- | (Array<{
63420
- /** ID of the thermostat daily program. */
63421
- thermostat_daily_program_id: string
63422
- /** ID of the desired thermostat device. */
63423
- device_id: string
63424
- /** User-friendly name to identify the thermostat daily program. */
63425
- name?: string | undefined
63426
- /** Array of thermostat daily program periods. */
63427
- periods: Array<{
63428
- /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
63429
- starts_at_time: string
63430
- /** 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. */
63431
- climate_preset_key: string
63432
- }>
63433
- /** Date and time at which the thermostat daily program was created. */
63434
- created_at: string
63435
- }> | null)
63525
+ | (
63526
+ | Array<{
63527
+ /** ID of the thermostat daily program. */
63528
+ thermostat_daily_program_id: string
63529
+ /** ID of the desired thermostat device. */
63530
+ device_id: string
63531
+ /** User-friendly name to identify the thermostat daily program. */
63532
+ name: string | null
63533
+ /** Array of thermostat daily program periods. */
63534
+ periods: Array<{
63535
+ /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
63536
+ starts_at_time: string
63537
+ /** 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. */
63538
+ climate_preset_key: string
63539
+ }>
63540
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
63541
+ workspace_id: string
63542
+ /** Date and time at which the thermostat daily program was created. */
63543
+ created_at: string
63544
+ }>
63545
+ | undefined
63546
+ )
63436
63547
  | undefined
63437
63548
  thermostat_weekly_program?:
63438
- | ({
63439
- /** ID of the thermostat device the weekly program is for. */
63440
- device_id: string
63441
- /** ID of the thermostat daily program to run on Mondays. */
63442
- monday_program_id: string | null
63443
- /** ID of the thermostat daily program to run on Tuesdays. */
63444
- tuesday_program_id: string | null
63445
- /** ID of the thermostat daily program to run on Wednesdays. */
63446
- wednesday_program_id: string | null
63447
- /** ID of the thermostat daily program to run on Thursdays. */
63448
- thursday_program_id: string | null
63449
- /** ID of the thermostat daily program to run on Fridays. */
63450
- friday_program_id: string | null
63451
- /** ID of the thermostat daily program to run on Saturdays. */
63452
- saturday_program_id: string | null
63453
- /** ID of the thermostat daily program to run on Sundays. */
63454
- sunday_program_id: string | null
63455
- /** Date and time at which the thermostat weekly program was created. */
63456
- created_at: string
63457
- } | null)
63549
+ | (
63550
+ | ({
63551
+ /** ID of the thermostat daily program to run on Mondays. */
63552
+ monday_program_id: string | null
63553
+ /** ID of the thermostat daily program to run on Tuesdays. */
63554
+ tuesday_program_id: string | null
63555
+ /** ID of the thermostat daily program to run on Wednesdays. */
63556
+ wednesday_program_id: string | null
63557
+ /** ID of the thermostat daily program to run on Thursdays. */
63558
+ thursday_program_id: string | null
63559
+ /** ID of the thermostat daily program to run on Fridays. */
63560
+ friday_program_id: string | null
63561
+ /** ID of the thermostat daily program to run on Saturdays. */
63562
+ saturday_program_id: string | null
63563
+ /** ID of the thermostat daily program to run on Sundays. */
63564
+ sunday_program_id: string | null
63565
+ /** Date and time at which the thermostat weekly program was created. */
63566
+ created_at: string
63567
+ } | null)
63568
+ | undefined
63569
+ )
63458
63570
  | undefined
63459
63571
  min_cooling_set_point_celsius?: number | undefined
63460
63572
  min_cooling_set_point_fahrenheit?: number | undefined