@seamapi/types 1.395.1 → 1.395.3

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 (71) hide show
  1. package/dist/connect.cjs +57 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +694 -403
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  6. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  7. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  8. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  9. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  15. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  18. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  19. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  20. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  21. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  22. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +102 -12
  23. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  24. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  25. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  27. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  28. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  29. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  30. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  31. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  32. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  33. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  34. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  35. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  36. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  37. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  38. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  39. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  40. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  41. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  42. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  43. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  44. package/lib/seam/connect/models/events/common.d.ts +2 -2
  45. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  46. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  47. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  48. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  49. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  50. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  51. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  52. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  53. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  54. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  55. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  56. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  57. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  58. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  59. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  60. package/lib/seam/connect/openapi.d.ts +35 -8
  61. package/lib/seam/connect/openapi.js +43 -9
  62. package/lib/seam/connect/openapi.js.map +1 -1
  63. package/lib/seam/connect/route-types.d.ts +136 -102
  64. package/package.json +2 -2
  65. package/src/lib/seam/connect/model-types.ts +2 -0
  66. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -0
  67. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  68. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  69. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  70. package/src/lib/seam/connect/openapi.ts +47 -10
  71. package/src/lib/seam/connect/route-types.ts +617 -505
@@ -19504,7 +19504,7 @@ export interface Routes {
19504
19504
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
19505
19505
  device_id: string;
19506
19506
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
19507
- name?: string | undefined;
19507
+ name: string | null;
19508
19508
  /** 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). */
19509
19509
  climate_preset_key: string;
19510
19510
  /** 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). */
@@ -19515,6 +19515,8 @@ export interface Routes {
19515
19515
  is_override_allowed?: boolean | undefined;
19516
19516
  /** 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. */
19517
19517
  ends_at: string;
19518
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
19519
+ workspace_id: string;
19518
19520
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
19519
19521
  created_at: string;
19520
19522
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -19531,7 +19533,7 @@ export interface Routes {
19531
19533
  /** ID of the desired thermostat device. */
19532
19534
  device_id: string;
19533
19535
  /** User-friendly name to identify the thermostat daily program. */
19534
- name?: string | undefined;
19536
+ name: string | null;
19535
19537
  /** Array of thermostat daily program periods. */
19536
19538
  periods: Array<{
19537
19539
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -19539,12 +19541,12 @@ export interface Routes {
19539
19541
  /** 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. */
19540
19542
  climate_preset_key: string;
19541
19543
  }>;
19544
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
19545
+ workspace_id: string;
19542
19546
  /** Date and time at which the thermostat daily program was created. */
19543
19547
  created_at: string;
19544
- }> | null) | undefined;
19545
- thermostat_weekly_program?: ({
19546
- /** ID of the thermostat device the weekly program is for. */
19547
- device_id: string;
19548
+ }> | undefined) | undefined;
19549
+ thermostat_weekly_program?: (({
19548
19550
  /** ID of the thermostat daily program to run on Mondays. */
19549
19551
  monday_program_id: string | null;
19550
19552
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -19561,7 +19563,7 @@ export interface Routes {
19561
19563
  sunday_program_id: string | null;
19562
19564
  /** Date and time at which the thermostat weekly program was created. */
19563
19565
  created_at: string;
19564
- } | null) | undefined;
19566
+ } | null) | undefined) | undefined;
19565
19567
  min_cooling_set_point_celsius?: number | undefined;
19566
19568
  min_cooling_set_point_fahrenheit?: number | undefined;
19567
19569
  max_cooling_set_point_celsius?: number | undefined;
@@ -20295,7 +20297,7 @@ export interface Routes {
20295
20297
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
20296
20298
  device_id: string;
20297
20299
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
20298
- name?: string | undefined;
20300
+ name: string | null;
20299
20301
  /** 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). */
20300
20302
  climate_preset_key: string;
20301
20303
  /** 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). */
@@ -20306,6 +20308,8 @@ export interface Routes {
20306
20308
  is_override_allowed?: boolean | undefined;
20307
20309
  /** 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. */
20308
20310
  ends_at: string;
20311
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
20312
+ workspace_id: string;
20309
20313
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
20310
20314
  created_at: string;
20311
20315
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -20322,7 +20326,7 @@ export interface Routes {
20322
20326
  /** ID of the desired thermostat device. */
20323
20327
  device_id: string;
20324
20328
  /** User-friendly name to identify the thermostat daily program. */
20325
- name?: string | undefined;
20329
+ name: string | null;
20326
20330
  /** Array of thermostat daily program periods. */
20327
20331
  periods: Array<{
20328
20332
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -20330,12 +20334,12 @@ export interface Routes {
20330
20334
  /** 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. */
20331
20335
  climate_preset_key: string;
20332
20336
  }>;
20337
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
20338
+ workspace_id: string;
20333
20339
  /** Date and time at which the thermostat daily program was created. */
20334
20340
  created_at: string;
20335
- }> | null) | undefined;
20336
- thermostat_weekly_program?: ({
20337
- /** ID of the thermostat device the weekly program is for. */
20338
- device_id: string;
20341
+ }> | undefined) | undefined;
20342
+ thermostat_weekly_program?: (({
20339
20343
  /** ID of the thermostat daily program to run on Mondays. */
20340
20344
  monday_program_id: string | null;
20341
20345
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -20352,7 +20356,7 @@ export interface Routes {
20352
20356
  sunday_program_id: string | null;
20353
20357
  /** Date and time at which the thermostat weekly program was created. */
20354
20358
  created_at: string;
20355
- } | null) | undefined;
20359
+ } | null) | undefined) | undefined;
20356
20360
  min_cooling_set_point_celsius?: number | undefined;
20357
20361
  min_cooling_set_point_fahrenheit?: number | undefined;
20358
20362
  max_cooling_set_point_celsius?: number | undefined;
@@ -24514,7 +24518,7 @@ export interface Routes {
24514
24518
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
24515
24519
  device_id: string;
24516
24520
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
24517
- name?: string | undefined;
24521
+ name: string | null;
24518
24522
  /** 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). */
24519
24523
  climate_preset_key: string;
24520
24524
  /** 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). */
@@ -24525,6 +24529,8 @@ export interface Routes {
24525
24529
  is_override_allowed?: boolean | undefined;
24526
24530
  /** 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. */
24527
24531
  ends_at: string;
24532
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
24533
+ workspace_id: string;
24528
24534
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
24529
24535
  created_at: string;
24530
24536
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -24541,7 +24547,7 @@ export interface Routes {
24541
24547
  /** ID of the desired thermostat device. */
24542
24548
  device_id: string;
24543
24549
  /** User-friendly name to identify the thermostat daily program. */
24544
- name?: string | undefined;
24550
+ name: string | null;
24545
24551
  /** Array of thermostat daily program periods. */
24546
24552
  periods: Array<{
24547
24553
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -24549,12 +24555,12 @@ export interface Routes {
24549
24555
  /** 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. */
24550
24556
  climate_preset_key: string;
24551
24557
  }>;
24558
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
24559
+ workspace_id: string;
24552
24560
  /** Date and time at which the thermostat daily program was created. */
24553
24561
  created_at: string;
24554
- }> | null) | undefined;
24555
- thermostat_weekly_program?: ({
24556
- /** ID of the thermostat device the weekly program is for. */
24557
- device_id: string;
24562
+ }> | undefined) | undefined;
24563
+ thermostat_weekly_program?: (({
24558
24564
  /** ID of the thermostat daily program to run on Mondays. */
24559
24565
  monday_program_id: string | null;
24560
24566
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -24571,7 +24577,7 @@ export interface Routes {
24571
24577
  sunday_program_id: string | null;
24572
24578
  /** Date and time at which the thermostat weekly program was created. */
24573
24579
  created_at: string;
24574
- } | null) | undefined;
24580
+ } | null) | undefined) | undefined;
24575
24581
  min_cooling_set_point_celsius?: number | undefined;
24576
24582
  min_cooling_set_point_fahrenheit?: number | undefined;
24577
24583
  max_cooling_set_point_celsius?: number | undefined;
@@ -25265,7 +25271,7 @@ export interface Routes {
25265
25271
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
25266
25272
  device_id: string;
25267
25273
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
25268
- name?: string | undefined;
25274
+ name: string | null;
25269
25275
  /** 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). */
25270
25276
  climate_preset_key: string;
25271
25277
  /** 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). */
@@ -25276,6 +25282,8 @@ export interface Routes {
25276
25282
  is_override_allowed?: boolean | undefined;
25277
25283
  /** 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. */
25278
25284
  ends_at: string;
25285
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
25286
+ workspace_id: string;
25279
25287
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
25280
25288
  created_at: string;
25281
25289
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -25292,7 +25300,7 @@ export interface Routes {
25292
25300
  /** ID of the desired thermostat device. */
25293
25301
  device_id: string;
25294
25302
  /** User-friendly name to identify the thermostat daily program. */
25295
- name?: string | undefined;
25303
+ name: string | null;
25296
25304
  /** Array of thermostat daily program periods. */
25297
25305
  periods: Array<{
25298
25306
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -25300,12 +25308,12 @@ export interface Routes {
25300
25308
  /** 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. */
25301
25309
  climate_preset_key: string;
25302
25310
  }>;
25311
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
25312
+ workspace_id: string;
25303
25313
  /** Date and time at which the thermostat daily program was created. */
25304
25314
  created_at: string;
25305
- }> | null) | undefined;
25306
- thermostat_weekly_program?: ({
25307
- /** ID of the thermostat device the weekly program is for. */
25308
- device_id: string;
25315
+ }> | undefined) | undefined;
25316
+ thermostat_weekly_program?: (({
25309
25317
  /** ID of the thermostat daily program to run on Mondays. */
25310
25318
  monday_program_id: string | null;
25311
25319
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -25322,7 +25330,7 @@ export interface Routes {
25322
25330
  sunday_program_id: string | null;
25323
25331
  /** Date and time at which the thermostat weekly program was created. */
25324
25332
  created_at: string;
25325
- } | null) | undefined;
25333
+ } | null) | undefined) | undefined;
25326
25334
  min_cooling_set_point_celsius?: number | undefined;
25327
25335
  min_cooling_set_point_fahrenheit?: number | undefined;
25328
25336
  max_cooling_set_point_celsius?: number | undefined;
@@ -26056,7 +26064,7 @@ export interface Routes {
26056
26064
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
26057
26065
  device_id: string;
26058
26066
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
26059
- name?: string | undefined;
26067
+ name: string | null;
26060
26068
  /** 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). */
26061
26069
  climate_preset_key: string;
26062
26070
  /** 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). */
@@ -26067,6 +26075,8 @@ export interface Routes {
26067
26075
  is_override_allowed?: boolean | undefined;
26068
26076
  /** 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. */
26069
26077
  ends_at: string;
26078
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
26079
+ workspace_id: string;
26070
26080
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
26071
26081
  created_at: string;
26072
26082
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -26083,7 +26093,7 @@ export interface Routes {
26083
26093
  /** ID of the desired thermostat device. */
26084
26094
  device_id: string;
26085
26095
  /** User-friendly name to identify the thermostat daily program. */
26086
- name?: string | undefined;
26096
+ name: string | null;
26087
26097
  /** Array of thermostat daily program periods. */
26088
26098
  periods: Array<{
26089
26099
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -26091,12 +26101,12 @@ export interface Routes {
26091
26101
  /** 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. */
26092
26102
  climate_preset_key: string;
26093
26103
  }>;
26104
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
26105
+ workspace_id: string;
26094
26106
  /** Date and time at which the thermostat daily program was created. */
26095
26107
  created_at: string;
26096
- }> | null) | undefined;
26097
- thermostat_weekly_program?: ({
26098
- /** ID of the thermostat device the weekly program is for. */
26099
- device_id: string;
26108
+ }> | undefined) | undefined;
26109
+ thermostat_weekly_program?: (({
26100
26110
  /** ID of the thermostat daily program to run on Mondays. */
26101
26111
  monday_program_id: string | null;
26102
26112
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -26113,7 +26123,7 @@ export interface Routes {
26113
26123
  sunday_program_id: string | null;
26114
26124
  /** Date and time at which the thermostat weekly program was created. */
26115
26125
  created_at: string;
26116
- } | null) | undefined;
26126
+ } | null) | undefined) | undefined;
26117
26127
  min_cooling_set_point_celsius?: number | undefined;
26118
26128
  min_cooling_set_point_fahrenheit?: number | undefined;
26119
26129
  max_cooling_set_point_celsius?: number | undefined;
@@ -26806,7 +26816,7 @@ export interface Routes {
26806
26816
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
26807
26817
  device_id: string;
26808
26818
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
26809
- name?: string | undefined;
26819
+ name: string | null;
26810
26820
  /** 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). */
26811
26821
  climate_preset_key: string;
26812
26822
  /** 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). */
@@ -26817,6 +26827,8 @@ export interface Routes {
26817
26827
  is_override_allowed?: boolean | undefined;
26818
26828
  /** 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. */
26819
26829
  ends_at: string;
26830
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
26831
+ workspace_id: string;
26820
26832
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
26821
26833
  created_at: string;
26822
26834
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -26833,7 +26845,7 @@ export interface Routes {
26833
26845
  /** ID of the desired thermostat device. */
26834
26846
  device_id: string;
26835
26847
  /** User-friendly name to identify the thermostat daily program. */
26836
- name?: string | undefined;
26848
+ name: string | null;
26837
26849
  /** Array of thermostat daily program periods. */
26838
26850
  periods: Array<{
26839
26851
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -26841,12 +26853,12 @@ export interface Routes {
26841
26853
  /** 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. */
26842
26854
  climate_preset_key: string;
26843
26855
  }>;
26856
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
26857
+ workspace_id: string;
26844
26858
  /** Date and time at which the thermostat daily program was created. */
26845
26859
  created_at: string;
26846
- }> | null) | undefined;
26847
- thermostat_weekly_program?: ({
26848
- /** ID of the thermostat device the weekly program is for. */
26849
- device_id: string;
26860
+ }> | undefined) | undefined;
26861
+ thermostat_weekly_program?: (({
26850
26862
  /** ID of the thermostat daily program to run on Mondays. */
26851
26863
  monday_program_id: string | null;
26852
26864
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -26863,7 +26875,7 @@ export interface Routes {
26863
26875
  sunday_program_id: string | null;
26864
26876
  /** Date and time at which the thermostat weekly program was created. */
26865
26877
  created_at: string;
26866
- } | null) | undefined;
26878
+ } | null) | undefined) | undefined;
26867
26879
  min_cooling_set_point_celsius?: number | undefined;
26868
26880
  min_cooling_set_point_fahrenheit?: number | undefined;
26869
26881
  max_cooling_set_point_celsius?: number | undefined;
@@ -32095,7 +32107,7 @@ export interface Routes {
32095
32107
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
32096
32108
  device_id: string;
32097
32109
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
32098
- name?: string | undefined;
32110
+ name: string | null;
32099
32111
  /** 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). */
32100
32112
  climate_preset_key: string;
32101
32113
  /** 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). */
@@ -32106,6 +32118,8 @@ export interface Routes {
32106
32118
  is_override_allowed?: boolean | undefined;
32107
32119
  /** 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. */
32108
32120
  ends_at: string;
32121
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
32122
+ workspace_id: string;
32109
32123
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
32110
32124
  created_at: string;
32111
32125
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -32122,7 +32136,7 @@ export interface Routes {
32122
32136
  /** ID of the desired thermostat device. */
32123
32137
  device_id: string;
32124
32138
  /** User-friendly name to identify the thermostat daily program. */
32125
- name?: string | undefined;
32139
+ name: string | null;
32126
32140
  /** Array of thermostat daily program periods. */
32127
32141
  periods: Array<{
32128
32142
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -32130,12 +32144,12 @@ export interface Routes {
32130
32144
  /** 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. */
32131
32145
  climate_preset_key: string;
32132
32146
  }>;
32147
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
32148
+ workspace_id: string;
32133
32149
  /** Date and time at which the thermostat daily program was created. */
32134
32150
  created_at: string;
32135
- }> | null) | undefined;
32136
- thermostat_weekly_program?: ({
32137
- /** ID of the thermostat device the weekly program is for. */
32138
- device_id: string;
32151
+ }> | undefined) | undefined;
32152
+ thermostat_weekly_program?: (({
32139
32153
  /** ID of the thermostat daily program to run on Mondays. */
32140
32154
  monday_program_id: string | null;
32141
32155
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -32152,7 +32166,7 @@ export interface Routes {
32152
32166
  sunday_program_id: string | null;
32153
32167
  /** Date and time at which the thermostat weekly program was created. */
32154
32168
  created_at: string;
32155
- } | null) | undefined;
32169
+ } | null) | undefined) | undefined;
32156
32170
  min_cooling_set_point_celsius?: number | undefined;
32157
32171
  min_cooling_set_point_fahrenheit?: number | undefined;
32158
32172
  max_cooling_set_point_celsius?: number | undefined;
@@ -32845,7 +32859,7 @@ export interface Routes {
32845
32859
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
32846
32860
  device_id: string;
32847
32861
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
32848
- name?: string | undefined;
32862
+ name: string | null;
32849
32863
  /** 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). */
32850
32864
  climate_preset_key: string;
32851
32865
  /** 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). */
@@ -32856,6 +32870,8 @@ export interface Routes {
32856
32870
  is_override_allowed?: boolean | undefined;
32857
32871
  /** 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. */
32858
32872
  ends_at: string;
32873
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
32874
+ workspace_id: string;
32859
32875
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
32860
32876
  created_at: string;
32861
32877
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -32872,7 +32888,7 @@ export interface Routes {
32872
32888
  /** ID of the desired thermostat device. */
32873
32889
  device_id: string;
32874
32890
  /** User-friendly name to identify the thermostat daily program. */
32875
- name?: string | undefined;
32891
+ name: string | null;
32876
32892
  /** Array of thermostat daily program periods. */
32877
32893
  periods: Array<{
32878
32894
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -32880,12 +32896,12 @@ export interface Routes {
32880
32896
  /** 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. */
32881
32897
  climate_preset_key: string;
32882
32898
  }>;
32899
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
32900
+ workspace_id: string;
32883
32901
  /** Date and time at which the thermostat daily program was created. */
32884
32902
  created_at: string;
32885
- }> | null) | undefined;
32886
- thermostat_weekly_program?: ({
32887
- /** ID of the thermostat device the weekly program is for. */
32888
- device_id: string;
32903
+ }> | undefined) | undefined;
32904
+ thermostat_weekly_program?: (({
32889
32905
  /** ID of the thermostat daily program to run on Mondays. */
32890
32906
  monday_program_id: string | null;
32891
32907
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -32902,7 +32918,7 @@ export interface Routes {
32902
32918
  sunday_program_id: string | null;
32903
32919
  /** Date and time at which the thermostat weekly program was created. */
32904
32920
  created_at: string;
32905
- } | null) | undefined;
32921
+ } | null) | undefined) | undefined;
32906
32922
  min_cooling_set_point_celsius?: number | undefined;
32907
32923
  min_cooling_set_point_fahrenheit?: number | undefined;
32908
32924
  max_cooling_set_point_celsius?: number | undefined;
@@ -38280,19 +38296,19 @@ export interface Routes {
38280
38296
  /** ID of the thermostat device that the weekly program is for. */
38281
38297
  device_id: string;
38282
38298
  /** ID of the thermostat daily program to run on Mondays. */
38283
- monday_program_id?: string | undefined;
38299
+ monday_program_id?: (string | undefined) | null;
38284
38300
  /** ID of the thermostat daily program to run on Tuesdays. */
38285
- tuesday_program_id?: string | undefined;
38301
+ tuesday_program_id?: (string | undefined) | null;
38286
38302
  /** ID of the thermostat daily program to run on Wednesdays. */
38287
- wednesday_program_id?: string | undefined;
38303
+ wednesday_program_id?: (string | undefined) | null;
38288
38304
  /** ID of the thermostat daily program to run on Thursdays. */
38289
- thursday_program_id?: string | undefined;
38305
+ thursday_program_id?: (string | undefined) | null;
38290
38306
  /** ID of the thermostat daily program to run on Fridays. */
38291
- friday_program_id?: string | undefined;
38307
+ friday_program_id?: (string | undefined) | null;
38292
38308
  /** ID of the thermostat daily program to run on Saturdays. */
38293
- saturday_program_id?: string | undefined;
38309
+ saturday_program_id?: (string | undefined) | null;
38294
38310
  /** ID of the thermostat daily program to run on Sundays. */
38295
- sunday_program_id?: string | undefined;
38311
+ sunday_program_id?: (string | undefined) | null;
38296
38312
  };
38297
38313
  commonParams: {};
38298
38314
  formData: {};
@@ -41697,7 +41713,7 @@ export interface Routes {
41697
41713
  /** ID of the desired thermostat device. */
41698
41714
  device_id: string;
41699
41715
  /** User-friendly name to identify the thermostat daily program. */
41700
- name?: string | undefined;
41716
+ name: string | null;
41701
41717
  /** Array of thermostat daily program periods. */
41702
41718
  periods: Array<{
41703
41719
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -41705,6 +41721,8 @@ export interface Routes {
41705
41721
  /** 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. */
41706
41722
  climate_preset_key: string;
41707
41723
  }>;
41724
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
41725
+ workspace_id: string;
41708
41726
  /** Date and time at which the thermostat daily program was created. */
41709
41727
  created_at: string;
41710
41728
  };
@@ -43337,7 +43355,7 @@ export interface Routes {
43337
43355
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
43338
43356
  device_id: string;
43339
43357
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
43340
- name?: string | undefined;
43358
+ name: string | null;
43341
43359
  /** 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). */
43342
43360
  climate_preset_key: string;
43343
43361
  /** 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). */
@@ -43348,6 +43366,8 @@ export interface Routes {
43348
43366
  is_override_allowed?: boolean | undefined;
43349
43367
  /** 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. */
43350
43368
  ends_at: string;
43369
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
43370
+ workspace_id: string;
43351
43371
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
43352
43372
  created_at: string;
43353
43373
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -43364,7 +43384,7 @@ export interface Routes {
43364
43384
  /** ID of the desired thermostat device. */
43365
43385
  device_id: string;
43366
43386
  /** User-friendly name to identify the thermostat daily program. */
43367
- name?: string | undefined;
43387
+ name: string | null;
43368
43388
  /** Array of thermostat daily program periods. */
43369
43389
  periods: Array<{
43370
43390
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -43372,12 +43392,12 @@ export interface Routes {
43372
43392
  /** 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. */
43373
43393
  climate_preset_key: string;
43374
43394
  }>;
43395
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
43396
+ workspace_id: string;
43375
43397
  /** Date and time at which the thermostat daily program was created. */
43376
43398
  created_at: string;
43377
- }> | null) | undefined;
43378
- thermostat_weekly_program?: ({
43379
- /** ID of the thermostat device the weekly program is for. */
43380
- device_id: string;
43399
+ }> | undefined) | undefined;
43400
+ thermostat_weekly_program?: (({
43381
43401
  /** ID of the thermostat daily program to run on Mondays. */
43382
43402
  monday_program_id: string | null;
43383
43403
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -43394,7 +43414,7 @@ export interface Routes {
43394
43414
  sunday_program_id: string | null;
43395
43415
  /** Date and time at which the thermostat weekly program was created. */
43396
43416
  created_at: string;
43397
- } | null) | undefined;
43417
+ } | null) | undefined) | undefined;
43398
43418
  min_cooling_set_point_celsius?: number | undefined;
43399
43419
  min_cooling_set_point_fahrenheit?: number | undefined;
43400
43420
  max_cooling_set_point_celsius?: number | undefined;
@@ -46376,7 +46396,7 @@ export interface Routes {
46376
46396
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
46377
46397
  device_id: string;
46378
46398
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
46379
- name?: string | undefined;
46399
+ name: string | null;
46380
46400
  /** 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). */
46381
46401
  climate_preset_key: string;
46382
46402
  /** 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). */
@@ -46387,6 +46407,8 @@ export interface Routes {
46387
46407
  is_override_allowed?: boolean | undefined;
46388
46408
  /** 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. */
46389
46409
  ends_at: string;
46410
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
46411
+ workspace_id: string;
46390
46412
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
46391
46413
  created_at: string;
46392
46414
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -46403,7 +46425,7 @@ export interface Routes {
46403
46425
  /** ID of the desired thermostat device. */
46404
46426
  device_id: string;
46405
46427
  /** User-friendly name to identify the thermostat daily program. */
46406
- name?: string | undefined;
46428
+ name: string | null;
46407
46429
  /** Array of thermostat daily program periods. */
46408
46430
  periods: Array<{
46409
46431
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -46411,12 +46433,12 @@ export interface Routes {
46411
46433
  /** 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. */
46412
46434
  climate_preset_key: string;
46413
46435
  }>;
46436
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
46437
+ workspace_id: string;
46414
46438
  /** Date and time at which the thermostat daily program was created. */
46415
46439
  created_at: string;
46416
- }> | null) | undefined;
46417
- thermostat_weekly_program?: ({
46418
- /** ID of the thermostat device the weekly program is for. */
46419
- device_id: string;
46440
+ }> | undefined) | undefined;
46441
+ thermostat_weekly_program?: (({
46420
46442
  /** ID of the thermostat daily program to run on Mondays. */
46421
46443
  monday_program_id: string | null;
46422
46444
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -46433,7 +46455,7 @@ export interface Routes {
46433
46455
  sunday_program_id: string | null;
46434
46456
  /** Date and time at which the thermostat weekly program was created. */
46435
46457
  created_at: string;
46436
- } | null) | undefined;
46458
+ } | null) | undefined) | undefined;
46437
46459
  min_cooling_set_point_celsius?: number | undefined;
46438
46460
  min_cooling_set_point_fahrenheit?: number | undefined;
46439
46461
  max_cooling_set_point_celsius?: number | undefined;
@@ -47126,7 +47148,7 @@ export interface Routes {
47126
47148
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
47127
47149
  device_id: string;
47128
47150
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
47129
- name?: string | undefined;
47151
+ name: string | null;
47130
47152
  /** 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). */
47131
47153
  climate_preset_key: string;
47132
47154
  /** 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). */
@@ -47137,6 +47159,8 @@ export interface Routes {
47137
47159
  is_override_allowed?: boolean | undefined;
47138
47160
  /** 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. */
47139
47161
  ends_at: string;
47162
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
47163
+ workspace_id: string;
47140
47164
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
47141
47165
  created_at: string;
47142
47166
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -47153,7 +47177,7 @@ export interface Routes {
47153
47177
  /** ID of the desired thermostat device. */
47154
47178
  device_id: string;
47155
47179
  /** User-friendly name to identify the thermostat daily program. */
47156
- name?: string | undefined;
47180
+ name: string | null;
47157
47181
  /** Array of thermostat daily program periods. */
47158
47182
  periods: Array<{
47159
47183
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -47161,12 +47185,12 @@ export interface Routes {
47161
47185
  /** 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. */
47162
47186
  climate_preset_key: string;
47163
47187
  }>;
47188
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
47189
+ workspace_id: string;
47164
47190
  /** Date and time at which the thermostat daily program was created. */
47165
47191
  created_at: string;
47166
- }> | null) | undefined;
47167
- thermostat_weekly_program?: ({
47168
- /** ID of the thermostat device the weekly program is for. */
47169
- device_id: string;
47192
+ }> | undefined) | undefined;
47193
+ thermostat_weekly_program?: (({
47170
47194
  /** ID of the thermostat daily program to run on Mondays. */
47171
47195
  monday_program_id: string | null;
47172
47196
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -47183,7 +47207,7 @@ export interface Routes {
47183
47207
  sunday_program_id: string | null;
47184
47208
  /** Date and time at which the thermostat weekly program was created. */
47185
47209
  created_at: string;
47186
- } | null) | undefined;
47210
+ } | null) | undefined) | undefined;
47187
47211
  min_cooling_set_point_celsius?: number | undefined;
47188
47212
  min_cooling_set_point_fahrenheit?: number | undefined;
47189
47213
  max_cooling_set_point_celsius?: number | undefined;
@@ -48564,7 +48588,7 @@ export interface Routes {
48564
48588
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
48565
48589
  device_id: string;
48566
48590
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
48567
- name?: string | undefined;
48591
+ name: string | null;
48568
48592
  /** 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). */
48569
48593
  climate_preset_key: string;
48570
48594
  /** 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). */
@@ -48575,6 +48599,8 @@ export interface Routes {
48575
48599
  is_override_allowed?: boolean | undefined;
48576
48600
  /** 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. */
48577
48601
  ends_at: string;
48602
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
48603
+ workspace_id: string;
48578
48604
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
48579
48605
  created_at: string;
48580
48606
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -48617,7 +48643,7 @@ export interface Routes {
48617
48643
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
48618
48644
  device_id: string;
48619
48645
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
48620
- name?: string | undefined;
48646
+ name: string | null;
48621
48647
  /** 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). */
48622
48648
  climate_preset_key: string;
48623
48649
  /** 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). */
@@ -48628,6 +48654,8 @@ export interface Routes {
48628
48654
  is_override_allowed?: boolean | undefined;
48629
48655
  /** 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. */
48630
48656
  ends_at: string;
48657
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
48658
+ workspace_id: string;
48631
48659
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
48632
48660
  created_at: string;
48633
48661
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -48659,7 +48687,7 @@ export interface Routes {
48659
48687
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
48660
48688
  device_id: string;
48661
48689
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
48662
- name?: string | undefined;
48690
+ name: string | null;
48663
48691
  /** 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). */
48664
48692
  climate_preset_key: string;
48665
48693
  /** 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). */
@@ -48670,6 +48698,8 @@ export interface Routes {
48670
48698
  is_override_allowed?: boolean | undefined;
48671
48699
  /** 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. */
48672
48700
  ends_at: string;
48701
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
48702
+ workspace_id: string;
48673
48703
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
48674
48704
  created_at: string;
48675
48705
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -52239,7 +52269,7 @@ export interface Routes {
52239
52269
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
52240
52270
  device_id: string;
52241
52271
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
52242
- name?: string | undefined;
52272
+ name: string | null;
52243
52273
  /** 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). */
52244
52274
  climate_preset_key: string;
52245
52275
  /** 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). */
@@ -52250,6 +52280,8 @@ export interface Routes {
52250
52280
  is_override_allowed?: boolean | undefined;
52251
52281
  /** 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. */
52252
52282
  ends_at: string;
52283
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
52284
+ workspace_id: string;
52253
52285
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
52254
52286
  created_at: string;
52255
52287
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -52266,7 +52298,7 @@ export interface Routes {
52266
52298
  /** ID of the desired thermostat device. */
52267
52299
  device_id: string;
52268
52300
  /** User-friendly name to identify the thermostat daily program. */
52269
- name?: string | undefined;
52301
+ name: string | null;
52270
52302
  /** Array of thermostat daily program periods. */
52271
52303
  periods: Array<{
52272
52304
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -52274,12 +52306,12 @@ export interface Routes {
52274
52306
  /** 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. */
52275
52307
  climate_preset_key: string;
52276
52308
  }>;
52309
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
52310
+ workspace_id: string;
52277
52311
  /** Date and time at which the thermostat daily program was created. */
52278
52312
  created_at: string;
52279
- }> | null) | undefined;
52280
- thermostat_weekly_program?: ({
52281
- /** ID of the thermostat device the weekly program is for. */
52282
- device_id: string;
52313
+ }> | undefined) | undefined;
52314
+ thermostat_weekly_program?: (({
52283
52315
  /** ID of the thermostat daily program to run on Mondays. */
52284
52316
  monday_program_id: string | null;
52285
52317
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -52296,7 +52328,7 @@ export interface Routes {
52296
52328
  sunday_program_id: string | null;
52297
52329
  /** Date and time at which the thermostat weekly program was created. */
52298
52330
  created_at: string;
52299
- } | null) | undefined;
52331
+ } | null) | undefined) | undefined;
52300
52332
  min_cooling_set_point_celsius?: number | undefined;
52301
52333
  min_cooling_set_point_fahrenheit?: number | undefined;
52302
52334
  max_cooling_set_point_celsius?: number | undefined;
@@ -52991,7 +53023,7 @@ export interface Routes {
52991
53023
  /** ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device. */
52992
53024
  device_id: string;
52993
53025
  /** User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
52994
- name?: string | undefined;
53026
+ name: string | null;
52995
53027
  /** 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). */
52996
53028
  climate_preset_key: string;
52997
53029
  /** 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). */
@@ -53002,6 +53034,8 @@ export interface Routes {
53002
53034
  is_override_allowed?: boolean | undefined;
53003
53035
  /** 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. */
53004
53036
  ends_at: string;
53037
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule. */
53038
+ workspace_id: string;
53005
53039
  /** Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created. */
53006
53040
  created_at: string;
53007
53041
  /** Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules). */
@@ -53018,7 +53052,7 @@ export interface Routes {
53018
53052
  /** ID of the desired thermostat device. */
53019
53053
  device_id: string;
53020
53054
  /** User-friendly name to identify the thermostat daily program. */
53021
- name?: string | undefined;
53055
+ name: string | null;
53022
53056
  /** Array of thermostat daily program periods. */
53023
53057
  periods: Array<{
53024
53058
  /** Time at which the thermostat daily program entry starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -53026,12 +53060,12 @@ export interface Routes {
53026
53060
  /** 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. */
53027
53061
  climate_preset_key: string;
53028
53062
  }>;
53063
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program. */
53064
+ workspace_id: string;
53029
53065
  /** Date and time at which the thermostat daily program was created. */
53030
53066
  created_at: string;
53031
- }> | null) | undefined;
53032
- thermostat_weekly_program?: ({
53033
- /** ID of the thermostat device the weekly program is for. */
53034
- device_id: string;
53067
+ }> | undefined) | undefined;
53068
+ thermostat_weekly_program?: (({
53035
53069
  /** ID of the thermostat daily program to run on Mondays. */
53036
53070
  monday_program_id: string | null;
53037
53071
  /** ID of the thermostat daily program to run on Tuesdays. */
@@ -53048,7 +53082,7 @@ export interface Routes {
53048
53082
  sunday_program_id: string | null;
53049
53083
  /** Date and time at which the thermostat weekly program was created. */
53050
53084
  created_at: string;
53051
- } | null) | undefined;
53085
+ } | null) | undefined) | undefined;
53052
53086
  min_cooling_set_point_celsius?: number | undefined;
53053
53087
  min_cooling_set_point_fahrenheit?: number | undefined;
53054
53088
  max_cooling_set_point_celsius?: number | undefined;