@seamapi/types 1.445.1 → 1.447.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/connect.cjs +100 -49
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +277 -182
  4. package/dist/devicedb.d.cts +24 -24
  5. package/dist/index.cjs +100 -49
  6. package/dist/index.cjs.map +1 -1
  7. package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
  8. package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
  9. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  10. package/lib/seam/connect/models/batches/batch.d.ts +39 -34
  11. package/lib/seam/connect/models/batches/spaces.d.ts +39 -34
  12. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  13. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  14. package/lib/seam/connect/models/devices/device.d.ts +26 -26
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -18
  16. package/lib/seam/connect/models/events/devices.d.ts +6 -6
  17. package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
  18. package/lib/seam/connect/models/spaces/space.d.ts +3 -0
  19. package/lib/seam/connect/models/spaces/space.js +4 -0
  20. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
  22. package/lib/seam/connect/models/thermostats/modes.d.ts +1 -1
  23. package/lib/seam/connect/models/thermostats/modes.js +7 -1
  24. package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
  25. package/lib/seam/connect/openapi.d.ts +86 -38
  26. package/lib/seam/connect/openapi.js +92 -48
  27. package/lib/seam/connect/openapi.js.map +1 -1
  28. package/lib/seam/connect/route-types.d.ts +96 -60
  29. package/lib/seam/devicedb/models/device-model.d.ts +12 -12
  30. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  31. package/package.json +1 -1
  32. package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
  33. package/src/lib/seam/connect/models/spaces/space.ts +4 -0
  34. package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
  35. package/src/lib/seam/connect/openapi.ts +96 -48
  36. package/src/lib/seam/connect/route-types.ts +193 -68
@@ -17,7 +17,7 @@ export declare const thermostat: z.ZodObject<{
17
17
  has_humidity_sensor: boolean;
18
18
  has_temperature_sensor: boolean;
19
19
  has_occupancy_detection: boolean;
20
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
20
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
21
21
  is_heat_pump_compatible: boolean;
22
22
  supports_demand_response: boolean;
23
23
  supports_emergency_heating_mode: boolean;
@@ -25,7 +25,7 @@ export declare const thermostat: z.ZodObject<{
25
25
  has_humidity_sensor: boolean;
26
26
  has_temperature_sensor: boolean;
27
27
  has_occupancy_detection: boolean;
28
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
28
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
29
29
  is_heat_pump_compatible: boolean;
30
30
  supports_demand_response: boolean;
31
31
  supports_emergency_heating_mode: boolean;
@@ -52,7 +52,7 @@ export declare const thermostat: z.ZodObject<{
52
52
  has_humidity_sensor: boolean;
53
53
  has_temperature_sensor: boolean;
54
54
  has_occupancy_detection: boolean;
55
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
55
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
56
56
  is_heat_pump_compatible: boolean;
57
57
  supports_demand_response: boolean;
58
58
  supports_emergency_heating_mode: boolean;
@@ -70,7 +70,7 @@ export declare const thermostat: z.ZodObject<{
70
70
  has_humidity_sensor: boolean;
71
71
  has_temperature_sensor: boolean;
72
72
  has_occupancy_detection: boolean;
73
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
73
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
74
74
  is_heat_pump_compatible: boolean;
75
75
  supports_demand_response: boolean;
76
76
  supports_emergency_heating_mode: boolean;
@@ -206,7 +206,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
206
206
  has_humidity_sensor: boolean;
207
207
  has_temperature_sensor: boolean;
208
208
  has_occupancy_detection: boolean;
209
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
209
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
210
210
  is_heat_pump_compatible: boolean;
211
211
  supports_demand_response: boolean;
212
212
  supports_emergency_heating_mode: boolean;
@@ -214,7 +214,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
214
214
  has_humidity_sensor: boolean;
215
215
  has_temperature_sensor: boolean;
216
216
  has_occupancy_detection: boolean;
217
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
217
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
218
218
  is_heat_pump_compatible: boolean;
219
219
  supports_demand_response: boolean;
220
220
  supports_emergency_heating_mode: boolean;
@@ -241,7 +241,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
241
241
  has_humidity_sensor: boolean;
242
242
  has_temperature_sensor: boolean;
243
243
  has_occupancy_detection: boolean;
244
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
244
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
245
245
  is_heat_pump_compatible: boolean;
246
246
  supports_demand_response: boolean;
247
247
  supports_emergency_heating_mode: boolean;
@@ -259,7 +259,7 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
259
259
  has_humidity_sensor: boolean;
260
260
  has_temperature_sensor: boolean;
261
261
  has_occupancy_detection: boolean;
262
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
262
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
263
263
  is_heat_pump_compatible: boolean;
264
264
  supports_demand_response: boolean;
265
265
  supports_emergency_heating_mode: boolean;
@@ -1104,7 +1104,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1104
1104
  has_humidity_sensor: boolean;
1105
1105
  has_temperature_sensor: boolean;
1106
1106
  has_occupancy_detection: boolean;
1107
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1107
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1108
1108
  is_heat_pump_compatible: boolean;
1109
1109
  supports_demand_response: boolean;
1110
1110
  supports_emergency_heating_mode: boolean;
@@ -1112,7 +1112,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1112
1112
  has_humidity_sensor: boolean;
1113
1113
  has_temperature_sensor: boolean;
1114
1114
  has_occupancy_detection: boolean;
1115
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1115
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1116
1116
  is_heat_pump_compatible: boolean;
1117
1117
  supports_demand_response: boolean;
1118
1118
  supports_emergency_heating_mode: boolean;
@@ -1139,7 +1139,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1139
1139
  has_humidity_sensor: boolean;
1140
1140
  has_temperature_sensor: boolean;
1141
1141
  has_occupancy_detection: boolean;
1142
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1142
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1143
1143
  is_heat_pump_compatible: boolean;
1144
1144
  supports_demand_response: boolean;
1145
1145
  supports_emergency_heating_mode: boolean;
@@ -1157,7 +1157,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1157
1157
  has_humidity_sensor: boolean;
1158
1158
  has_temperature_sensor: boolean;
1159
1159
  has_occupancy_detection: boolean;
1160
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1160
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1161
1161
  is_heat_pump_compatible: boolean;
1162
1162
  supports_demand_response: boolean;
1163
1163
  supports_emergency_heating_mode: boolean;
@@ -451,7 +451,7 @@ export declare const routes: {
451
451
  has_humidity_sensor: boolean;
452
452
  has_temperature_sensor: boolean;
453
453
  has_occupancy_detection: boolean;
454
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
454
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
455
455
  is_heat_pump_compatible: boolean;
456
456
  supports_demand_response: boolean;
457
457
  supports_emergency_heating_mode: boolean;
@@ -459,7 +459,7 @@ export declare const routes: {
459
459
  has_humidity_sensor: boolean;
460
460
  has_temperature_sensor: boolean;
461
461
  has_occupancy_detection: boolean;
462
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
462
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
463
463
  is_heat_pump_compatible: boolean;
464
464
  supports_demand_response: boolean;
465
465
  supports_emergency_heating_mode: boolean;
@@ -486,7 +486,7 @@ export declare const routes: {
486
486
  has_humidity_sensor: boolean;
487
487
  has_temperature_sensor: boolean;
488
488
  has_occupancy_detection: boolean;
489
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
489
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
490
490
  is_heat_pump_compatible: boolean;
491
491
  supports_demand_response: boolean;
492
492
  supports_emergency_heating_mode: boolean;
@@ -504,7 +504,7 @@ export declare const routes: {
504
504
  has_humidity_sensor: boolean;
505
505
  has_temperature_sensor: boolean;
506
506
  has_occupancy_detection: boolean;
507
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
507
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
508
508
  is_heat_pump_compatible: boolean;
509
509
  supports_demand_response: boolean;
510
510
  supports_emergency_heating_mode: boolean;
@@ -683,7 +683,7 @@ export declare const routes: {
683
683
  has_humidity_sensor: boolean;
684
684
  has_temperature_sensor: boolean;
685
685
  has_occupancy_detection: boolean;
686
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
686
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
687
687
  is_heat_pump_compatible: boolean;
688
688
  supports_demand_response: boolean;
689
689
  supports_emergency_heating_mode: boolean;
@@ -806,7 +806,7 @@ export declare const routes: {
806
806
  has_humidity_sensor: boolean;
807
807
  has_temperature_sensor: boolean;
808
808
  has_occupancy_detection: boolean;
809
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
809
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
810
810
  is_heat_pump_compatible: boolean;
811
811
  supports_demand_response: boolean;
812
812
  supports_emergency_heating_mode: boolean;
@@ -1312,7 +1312,7 @@ export declare const routes: {
1312
1312
  has_humidity_sensor: boolean;
1313
1313
  has_temperature_sensor: boolean;
1314
1314
  has_occupancy_detection: boolean;
1315
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1315
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1316
1316
  is_heat_pump_compatible: boolean;
1317
1317
  supports_demand_response: boolean;
1318
1318
  supports_emergency_heating_mode: boolean;
@@ -1320,7 +1320,7 @@ export declare const routes: {
1320
1320
  has_humidity_sensor: boolean;
1321
1321
  has_temperature_sensor: boolean;
1322
1322
  has_occupancy_detection: boolean;
1323
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1323
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1324
1324
  is_heat_pump_compatible: boolean;
1325
1325
  supports_demand_response: boolean;
1326
1326
  supports_emergency_heating_mode: boolean;
@@ -1347,7 +1347,7 @@ export declare const routes: {
1347
1347
  has_humidity_sensor: boolean;
1348
1348
  has_temperature_sensor: boolean;
1349
1349
  has_occupancy_detection: boolean;
1350
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1350
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1351
1351
  is_heat_pump_compatible: boolean;
1352
1352
  supports_demand_response: boolean;
1353
1353
  supports_emergency_heating_mode: boolean;
@@ -1365,7 +1365,7 @@ export declare const routes: {
1365
1365
  has_humidity_sensor: boolean;
1366
1366
  has_temperature_sensor: boolean;
1367
1367
  has_occupancy_detection: boolean;
1368
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1368
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1369
1369
  is_heat_pump_compatible: boolean;
1370
1370
  supports_demand_response: boolean;
1371
1371
  supports_emergency_heating_mode: boolean;
@@ -1544,7 +1544,7 @@ export declare const routes: {
1544
1544
  has_humidity_sensor: boolean;
1545
1545
  has_temperature_sensor: boolean;
1546
1546
  has_occupancy_detection: boolean;
1547
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1547
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1548
1548
  is_heat_pump_compatible: boolean;
1549
1549
  supports_demand_response: boolean;
1550
1550
  supports_emergency_heating_mode: boolean;
@@ -1667,7 +1667,7 @@ export declare const routes: {
1667
1667
  has_humidity_sensor: boolean;
1668
1668
  has_temperature_sensor: boolean;
1669
1669
  has_occupancy_detection: boolean;
1670
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1670
+ available_modes: ("heat" | "cool" | "eco" | "fan")[];
1671
1671
  is_heat_pump_compatible: boolean;
1672
1672
  supports_demand_response: boolean;
1673
1673
  supports_emergency_heating_mode: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.445.1",
3
+ "version": "1.447.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,6 +8,10 @@ export const access_grant = z.object({
8
8
  .uuid()
9
9
  .describe('ID of the Seam workspace associated with the Access Grant.'),
10
10
  access_grant_id: z.string().uuid().describe('ID of the Access Grant.'),
11
+ access_grant_key: z
12
+ .string()
13
+ .optional()
14
+ .describe('Unique key for the access grant within the workspace.'),
11
15
  user_identity_id: z
12
16
  .string()
13
17
  .uuid()
@@ -8,6 +8,10 @@ export const space = z.object({
8
8
  .describe(
9
9
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.',
10
10
  ),
11
+ space_key: z
12
+ .string()
13
+ .optional()
14
+ .describe('Unique key for the space within the workspace.'),
11
15
  name: z.string().describe('Name of the space.'),
12
16
  display_name: z.string().describe('Display name for the space.'),
13
17
  created_at: z
@@ -1,6 +1,12 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const hvac_mode_setting = z.enum(['off', 'heat', 'cool', 'heat_cool'])
3
+ export const hvac_mode_setting = z.enum([
4
+ 'off',
5
+ 'heat',
6
+ 'cool',
7
+ 'heat_cool',
8
+ 'eco',
9
+ ])
4
10
 
5
11
  export type HvacModeSetting = z.infer<typeof hvac_mode_setting>
6
12
 
@@ -1822,6 +1822,11 @@ export default {
1822
1822
  format: 'uuid',
1823
1823
  type: 'string',
1824
1824
  },
1825
+ access_grant_key: {
1826
+ description:
1827
+ 'Unique key for the access grant within the workspace.',
1828
+ type: 'string',
1829
+ },
1825
1830
  access_method_ids: {
1826
1831
  description:
1827
1832
  'IDs of the access methods created for the Access Grant.',
@@ -11632,7 +11637,7 @@ export default {
11632
11637
  hvac_mode_setting: {
11633
11638
  description:
11634
11639
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
11635
- enum: ['off', 'heat', 'cool', 'heat_cool'],
11640
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
11636
11641
  type: 'string',
11637
11642
  },
11638
11643
  manual_override_allowed: {
@@ -11678,7 +11683,7 @@ export default {
11678
11683
  description:
11679
11684
  'HVAC mode settings that the thermostat supports.',
11680
11685
  items: {
11681
- enum: ['off', 'heat', 'cool', 'heat_cool'],
11686
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
11682
11687
  type: 'string',
11683
11688
  },
11684
11689
  type: 'array',
@@ -11782,7 +11787,7 @@ export default {
11782
11787
  hvac_mode_setting: {
11783
11788
  description:
11784
11789
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
11785
- enum: ['off', 'heat', 'cool', 'heat_cool'],
11790
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
11786
11791
  type: 'string',
11787
11792
  },
11788
11793
  manual_override_allowed: {
@@ -11902,7 +11907,7 @@ export default {
11902
11907
  hvac_mode_setting: {
11903
11908
  description:
11904
11909
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
11905
- enum: ['off', 'heat', 'cool', 'heat_cool'],
11910
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
11906
11911
  type: 'string',
11907
11912
  },
11908
11913
  manual_override_allowed: {
@@ -18229,7 +18234,7 @@ export default {
18229
18234
  hvac_mode_setting: {
18230
18235
  description:
18231
18236
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
18232
- enum: ['off', 'heat', 'cool', 'heat_cool'],
18237
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
18233
18238
  type: 'string',
18234
18239
  },
18235
18240
  method: {
@@ -20059,6 +20064,10 @@ export default {
20059
20064
  format: 'uuid',
20060
20065
  type: 'string',
20061
20066
  },
20067
+ space_key: {
20068
+ description: 'Unique key for the space within the workspace.',
20069
+ type: 'string',
20070
+ },
20062
20071
  workspace_id: {
20063
20072
  description:
20064
20073
  'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.',
@@ -27559,6 +27568,11 @@ export default {
27559
27568
  },
27560
27569
  {
27561
27570
  properties: {
27571
+ access_grant_key: {
27572
+ description:
27573
+ 'Unique key for the access grant within the workspace.',
27574
+ type: 'string',
27575
+ },
27562
27576
  acs_entrance_ids: {
27563
27577
  default: [],
27564
27578
  description:
@@ -27782,18 +27796,6 @@ export default {
27782
27796
  get: {
27783
27797
  description: 'Get an Access Grant.',
27784
27798
  operationId: 'accessGrantsGetGet',
27785
- parameters: [
27786
- {
27787
- in: 'query',
27788
- name: 'access_grant_id',
27789
- required: true,
27790
- schema: {
27791
- description: 'ID of Access Grant to get.',
27792
- format: 'uuid',
27793
- type: 'string',
27794
- },
27795
- },
27796
- ],
27797
27799
  responses: {
27798
27800
  200: {
27799
27801
  content: {
@@ -27835,15 +27837,29 @@ export default {
27835
27837
  content: {
27836
27838
  'application/json': {
27837
27839
  schema: {
27838
- properties: {
27839
- access_grant_id: {
27840
- description: 'ID of Access Grant to get.',
27841
- format: 'uuid',
27842
- type: 'string',
27840
+ oneOf: [
27841
+ {
27842
+ properties: {
27843
+ access_grant_id: {
27844
+ description: 'ID of Access Grant to get.',
27845
+ format: 'uuid',
27846
+ type: 'string',
27847
+ },
27848
+ },
27849
+ required: ['access_grant_id'],
27850
+ type: 'object',
27843
27851
  },
27844
- },
27845
- required: ['access_grant_id'],
27846
- type: 'object',
27852
+ {
27853
+ properties: {
27854
+ access_grant_key: {
27855
+ description: 'Unique key of Access Grant to get.',
27856
+ type: 'string',
27857
+ },
27858
+ },
27859
+ required: ['access_grant_key'],
27860
+ type: 'object',
27861
+ },
27862
+ ],
27847
27863
  },
27848
27864
  },
27849
27865
  },
@@ -27938,6 +27954,14 @@ export default {
27938
27954
  type: 'string',
27939
27955
  },
27940
27956
  },
27957
+ {
27958
+ in: 'query',
27959
+ name: 'access_grant_key',
27960
+ schema: {
27961
+ description: 'Filter Access Grants by access_grant_key.',
27962
+ type: 'string',
27963
+ },
27964
+ },
27941
27965
  ],
27942
27966
  responses: {
27943
27967
  200: {
@@ -27984,6 +28008,10 @@ export default {
27984
28008
  'application/json': {
27985
28009
  schema: {
27986
28010
  properties: {
28011
+ access_grant_key: {
28012
+ description: 'Filter Access Grants by access_grant_key.',
28013
+ type: 'string',
28014
+ },
27987
28015
  acs_entrance_id: {
27988
28016
  description:
27989
28017
  'ID of the entrance by which you want to filter the list of Access Grants.',
@@ -47025,6 +47053,11 @@ export default {
47025
47053
  description: 'Name of the space that you want to create.',
47026
47054
  type: 'string',
47027
47055
  },
47056
+ space_key: {
47057
+ description:
47058
+ 'Unique key for the space within the workspace.',
47059
+ type: 'string',
47060
+ },
47028
47061
  },
47029
47062
  required: ['name'],
47030
47063
  type: 'object',
@@ -47170,18 +47203,6 @@ export default {
47170
47203
  get: {
47171
47204
  description: 'Gets a space.',
47172
47205
  operationId: 'spacesGetGet',
47173
- parameters: [
47174
- {
47175
- in: 'query',
47176
- name: 'space_id',
47177
- required: true,
47178
- schema: {
47179
- description: 'ID of the space that you want to get.',
47180
- format: 'uuid',
47181
- type: 'string',
47182
- },
47183
- },
47184
- ],
47185
47206
  responses: {
47186
47207
  200: {
47187
47208
  content: {
@@ -47222,15 +47243,30 @@ export default {
47222
47243
  content: {
47223
47244
  'application/json': {
47224
47245
  schema: {
47225
- properties: {
47226
- space_id: {
47227
- description: 'ID of the space that you want to get.',
47228
- format: 'uuid',
47229
- type: 'string',
47246
+ oneOf: [
47247
+ {
47248
+ properties: {
47249
+ space_id: {
47250
+ description: 'ID of the space that you want to get.',
47251
+ format: 'uuid',
47252
+ type: 'string',
47253
+ },
47254
+ },
47255
+ required: ['space_id'],
47256
+ type: 'object',
47230
47257
  },
47231
- },
47232
- required: ['space_id'],
47233
- type: 'object',
47258
+ {
47259
+ properties: {
47260
+ space_key: {
47261
+ description:
47262
+ 'Unique key of the space that you want to get.',
47263
+ type: 'string',
47264
+ },
47265
+ },
47266
+ required: ['space_key'],
47267
+ type: 'object',
47268
+ },
47269
+ ],
47234
47270
  },
47235
47271
  },
47236
47272
  },
@@ -47469,6 +47505,14 @@ export default {
47469
47505
  type: 'string',
47470
47506
  },
47471
47507
  },
47508
+ {
47509
+ in: 'query',
47510
+ name: 'space_key',
47511
+ schema: {
47512
+ description: 'Filter spaces by space_key.',
47513
+ type: 'string',
47514
+ },
47515
+ },
47472
47516
  ],
47473
47517
  responses: {
47474
47518
  200: {
@@ -47520,6 +47564,10 @@ export default {
47520
47564
  minLength: 1,
47521
47565
  type: 'string',
47522
47566
  },
47567
+ space_key: {
47568
+ description: 'Filter spaces by space_key.',
47569
+ type: 'string',
47570
+ },
47523
47571
  },
47524
47572
  type: 'object',
47525
47573
  },
@@ -48135,7 +48183,7 @@ export default {
48135
48183
  hvac_mode_setting: {
48136
48184
  description:
48137
48185
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
48138
- enum: ['off', 'heat', 'cool', 'heat_cool'],
48186
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
48139
48187
  type: 'string',
48140
48188
  },
48141
48189
  manual_override_allowed: {
@@ -50913,7 +50961,7 @@ export default {
50913
50961
  hvac_mode_setting: {
50914
50962
  description:
50915
50963
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
50916
- enum: ['off', 'heat', 'cool', 'heat_cool'],
50964
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
50917
50965
  type: 'string',
50918
50966
  },
50919
50967
  manual_override_allowed: {
@@ -51057,7 +51105,7 @@ export default {
51057
51105
  hvac_mode_setting: {
51058
51106
  description:
51059
51107
  'Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.',
51060
- enum: ['off', 'heat', 'cool', 'heat_cool'],
51108
+ enum: ['off', 'heat', 'cool', 'heat_cool', 'eco'],
51061
51109
  type: 'string',
51062
51110
  },
51063
51111
  manual_override_allowed: {