@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.
- package/dist/connect.cjs +100 -49
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +277 -182
- package/dist/devicedb.d.cts +24 -24
- package/dist/index.cjs +100 -49
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batches/batch.d.ts +39 -34
- package/lib/seam/connect/models/batches/spaces.d.ts +39 -34
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
- package/lib/seam/connect/models/devices/device.d.ts +26 -26
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -18
- package/lib/seam/connect/models/events/devices.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/models/spaces/space.d.ts +3 -0
- package/lib/seam/connect/models/spaces/space.js +4 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/modes.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/modes.js +7 -1
- package/lib/seam/connect/models/thermostats/modes.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +86 -38
- package/lib/seam/connect/openapi.js +92 -48
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +96 -60
- package/lib/seam/devicedb/models/device-model.d.ts +12 -12
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -0
- package/src/lib/seam/connect/models/spaces/space.ts +4 -0
- package/src/lib/seam/connect/models/thermostats/modes.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +96 -48
- package/src/lib/seam/connect/route-types.ts +193 -68
package/dist/devicedb.d.cts
CHANGED
|
@@ -47,7 +47,7 @@ declare const thermostat: z.ZodObject<{
|
|
|
47
47
|
has_humidity_sensor: boolean;
|
|
48
48
|
has_temperature_sensor: boolean;
|
|
49
49
|
has_occupancy_detection: boolean;
|
|
50
|
-
available_modes: ("heat" | "cool" | "
|
|
50
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
51
51
|
is_heat_pump_compatible: boolean;
|
|
52
52
|
supports_demand_response: boolean;
|
|
53
53
|
supports_emergency_heating_mode: boolean;
|
|
@@ -55,7 +55,7 @@ declare const thermostat: z.ZodObject<{
|
|
|
55
55
|
has_humidity_sensor: boolean;
|
|
56
56
|
has_temperature_sensor: boolean;
|
|
57
57
|
has_occupancy_detection: boolean;
|
|
58
|
-
available_modes: ("heat" | "cool" | "
|
|
58
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
59
59
|
is_heat_pump_compatible: boolean;
|
|
60
60
|
supports_demand_response: boolean;
|
|
61
61
|
supports_emergency_heating_mode: boolean;
|
|
@@ -82,7 +82,7 @@ declare const thermostat: z.ZodObject<{
|
|
|
82
82
|
has_humidity_sensor: boolean;
|
|
83
83
|
has_temperature_sensor: boolean;
|
|
84
84
|
has_occupancy_detection: boolean;
|
|
85
|
-
available_modes: ("heat" | "cool" | "
|
|
85
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
86
86
|
is_heat_pump_compatible: boolean;
|
|
87
87
|
supports_demand_response: boolean;
|
|
88
88
|
supports_emergency_heating_mode: boolean;
|
|
@@ -100,7 +100,7 @@ declare const thermostat: z.ZodObject<{
|
|
|
100
100
|
has_humidity_sensor: boolean;
|
|
101
101
|
has_temperature_sensor: boolean;
|
|
102
102
|
has_occupancy_detection: boolean;
|
|
103
|
-
available_modes: ("heat" | "cool" | "
|
|
103
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
104
104
|
is_heat_pump_compatible: boolean;
|
|
105
105
|
supports_demand_response: boolean;
|
|
106
106
|
supports_emergency_heating_mode: boolean;
|
|
@@ -236,7 +236,7 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
|
|
|
236
236
|
has_humidity_sensor: boolean;
|
|
237
237
|
has_temperature_sensor: boolean;
|
|
238
238
|
has_occupancy_detection: boolean;
|
|
239
|
-
available_modes: ("heat" | "cool" | "
|
|
239
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
240
240
|
is_heat_pump_compatible: boolean;
|
|
241
241
|
supports_demand_response: boolean;
|
|
242
242
|
supports_emergency_heating_mode: boolean;
|
|
@@ -244,7 +244,7 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
|
|
|
244
244
|
has_humidity_sensor: boolean;
|
|
245
245
|
has_temperature_sensor: boolean;
|
|
246
246
|
has_occupancy_detection: boolean;
|
|
247
|
-
available_modes: ("heat" | "cool" | "
|
|
247
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
248
248
|
is_heat_pump_compatible: boolean;
|
|
249
249
|
supports_demand_response: boolean;
|
|
250
250
|
supports_emergency_heating_mode: boolean;
|
|
@@ -271,7 +271,7 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
|
|
|
271
271
|
has_humidity_sensor: boolean;
|
|
272
272
|
has_temperature_sensor: boolean;
|
|
273
273
|
has_occupancy_detection: boolean;
|
|
274
|
-
available_modes: ("heat" | "cool" | "
|
|
274
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
275
275
|
is_heat_pump_compatible: boolean;
|
|
276
276
|
supports_demand_response: boolean;
|
|
277
277
|
supports_emergency_heating_mode: boolean;
|
|
@@ -289,7 +289,7 @@ declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion
|
|
|
289
289
|
has_humidity_sensor: boolean;
|
|
290
290
|
has_temperature_sensor: boolean;
|
|
291
291
|
has_occupancy_detection: boolean;
|
|
292
|
-
available_modes: ("heat" | "cool" | "
|
|
292
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
293
293
|
is_heat_pump_compatible: boolean;
|
|
294
294
|
supports_demand_response: boolean;
|
|
295
295
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1134,7 +1134,7 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
1134
1134
|
has_humidity_sensor: boolean;
|
|
1135
1135
|
has_temperature_sensor: boolean;
|
|
1136
1136
|
has_occupancy_detection: boolean;
|
|
1137
|
-
available_modes: ("heat" | "cool" | "
|
|
1137
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1138
1138
|
is_heat_pump_compatible: boolean;
|
|
1139
1139
|
supports_demand_response: boolean;
|
|
1140
1140
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1142,7 +1142,7 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
1142
1142
|
has_humidity_sensor: boolean;
|
|
1143
1143
|
has_temperature_sensor: boolean;
|
|
1144
1144
|
has_occupancy_detection: boolean;
|
|
1145
|
-
available_modes: ("heat" | "cool" | "
|
|
1145
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1146
1146
|
is_heat_pump_compatible: boolean;
|
|
1147
1147
|
supports_demand_response: boolean;
|
|
1148
1148
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1169,7 +1169,7 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
1169
1169
|
has_humidity_sensor: boolean;
|
|
1170
1170
|
has_temperature_sensor: boolean;
|
|
1171
1171
|
has_occupancy_detection: boolean;
|
|
1172
|
-
available_modes: ("heat" | "cool" | "
|
|
1172
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1173
1173
|
is_heat_pump_compatible: boolean;
|
|
1174
1174
|
supports_demand_response: boolean;
|
|
1175
1175
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1187,7 +1187,7 @@ declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
1187
1187
|
has_humidity_sensor: boolean;
|
|
1188
1188
|
has_temperature_sensor: boolean;
|
|
1189
1189
|
has_occupancy_detection: boolean;
|
|
1190
|
-
available_modes: ("heat" | "cool" | "
|
|
1190
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1191
1191
|
is_heat_pump_compatible: boolean;
|
|
1192
1192
|
supports_demand_response: boolean;
|
|
1193
1193
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1886,7 +1886,7 @@ declare const routes: {
|
|
|
1886
1886
|
has_humidity_sensor: boolean;
|
|
1887
1887
|
has_temperature_sensor: boolean;
|
|
1888
1888
|
has_occupancy_detection: boolean;
|
|
1889
|
-
available_modes: ("heat" | "cool" | "
|
|
1889
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1890
1890
|
is_heat_pump_compatible: boolean;
|
|
1891
1891
|
supports_demand_response: boolean;
|
|
1892
1892
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1894,7 +1894,7 @@ declare const routes: {
|
|
|
1894
1894
|
has_humidity_sensor: boolean;
|
|
1895
1895
|
has_temperature_sensor: boolean;
|
|
1896
1896
|
has_occupancy_detection: boolean;
|
|
1897
|
-
available_modes: ("heat" | "cool" | "
|
|
1897
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1898
1898
|
is_heat_pump_compatible: boolean;
|
|
1899
1899
|
supports_demand_response: boolean;
|
|
1900
1900
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1921,7 +1921,7 @@ declare const routes: {
|
|
|
1921
1921
|
has_humidity_sensor: boolean;
|
|
1922
1922
|
has_temperature_sensor: boolean;
|
|
1923
1923
|
has_occupancy_detection: boolean;
|
|
1924
|
-
available_modes: ("heat" | "cool" | "
|
|
1924
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1925
1925
|
is_heat_pump_compatible: boolean;
|
|
1926
1926
|
supports_demand_response: boolean;
|
|
1927
1927
|
supports_emergency_heating_mode: boolean;
|
|
@@ -1939,7 +1939,7 @@ declare const routes: {
|
|
|
1939
1939
|
has_humidity_sensor: boolean;
|
|
1940
1940
|
has_temperature_sensor: boolean;
|
|
1941
1941
|
has_occupancy_detection: boolean;
|
|
1942
|
-
available_modes: ("heat" | "cool" | "
|
|
1942
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
1943
1943
|
is_heat_pump_compatible: boolean;
|
|
1944
1944
|
supports_demand_response: boolean;
|
|
1945
1945
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2118,7 +2118,7 @@ declare const routes: {
|
|
|
2118
2118
|
has_humidity_sensor: boolean;
|
|
2119
2119
|
has_temperature_sensor: boolean;
|
|
2120
2120
|
has_occupancy_detection: boolean;
|
|
2121
|
-
available_modes: ("heat" | "cool" | "
|
|
2121
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2122
2122
|
is_heat_pump_compatible: boolean;
|
|
2123
2123
|
supports_demand_response: boolean;
|
|
2124
2124
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2241,7 +2241,7 @@ declare const routes: {
|
|
|
2241
2241
|
has_humidity_sensor: boolean;
|
|
2242
2242
|
has_temperature_sensor: boolean;
|
|
2243
2243
|
has_occupancy_detection: boolean;
|
|
2244
|
-
available_modes: ("heat" | "cool" | "
|
|
2244
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2245
2245
|
is_heat_pump_compatible: boolean;
|
|
2246
2246
|
supports_demand_response: boolean;
|
|
2247
2247
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2747,7 +2747,7 @@ declare const routes: {
|
|
|
2747
2747
|
has_humidity_sensor: boolean;
|
|
2748
2748
|
has_temperature_sensor: boolean;
|
|
2749
2749
|
has_occupancy_detection: boolean;
|
|
2750
|
-
available_modes: ("heat" | "cool" | "
|
|
2750
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2751
2751
|
is_heat_pump_compatible: boolean;
|
|
2752
2752
|
supports_demand_response: boolean;
|
|
2753
2753
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2755,7 +2755,7 @@ declare const routes: {
|
|
|
2755
2755
|
has_humidity_sensor: boolean;
|
|
2756
2756
|
has_temperature_sensor: boolean;
|
|
2757
2757
|
has_occupancy_detection: boolean;
|
|
2758
|
-
available_modes: ("heat" | "cool" | "
|
|
2758
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2759
2759
|
is_heat_pump_compatible: boolean;
|
|
2760
2760
|
supports_demand_response: boolean;
|
|
2761
2761
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2782,7 +2782,7 @@ declare const routes: {
|
|
|
2782
2782
|
has_humidity_sensor: boolean;
|
|
2783
2783
|
has_temperature_sensor: boolean;
|
|
2784
2784
|
has_occupancy_detection: boolean;
|
|
2785
|
-
available_modes: ("heat" | "cool" | "
|
|
2785
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2786
2786
|
is_heat_pump_compatible: boolean;
|
|
2787
2787
|
supports_demand_response: boolean;
|
|
2788
2788
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2800,7 +2800,7 @@ declare const routes: {
|
|
|
2800
2800
|
has_humidity_sensor: boolean;
|
|
2801
2801
|
has_temperature_sensor: boolean;
|
|
2802
2802
|
has_occupancy_detection: boolean;
|
|
2803
|
-
available_modes: ("heat" | "cool" | "
|
|
2803
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2804
2804
|
is_heat_pump_compatible: boolean;
|
|
2805
2805
|
supports_demand_response: boolean;
|
|
2806
2806
|
supports_emergency_heating_mode: boolean;
|
|
@@ -2979,7 +2979,7 @@ declare const routes: {
|
|
|
2979
2979
|
has_humidity_sensor: boolean;
|
|
2980
2980
|
has_temperature_sensor: boolean;
|
|
2981
2981
|
has_occupancy_detection: boolean;
|
|
2982
|
-
available_modes: ("heat" | "cool" | "
|
|
2982
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
2983
2983
|
is_heat_pump_compatible: boolean;
|
|
2984
2984
|
supports_demand_response: boolean;
|
|
2985
2985
|
supports_emergency_heating_mode: boolean;
|
|
@@ -3102,7 +3102,7 @@ declare const routes: {
|
|
|
3102
3102
|
has_humidity_sensor: boolean;
|
|
3103
3103
|
has_temperature_sensor: boolean;
|
|
3104
3104
|
has_occupancy_detection: boolean;
|
|
3105
|
-
available_modes: ("heat" | "cool" | "
|
|
3105
|
+
available_modes: ("heat" | "cool" | "eco" | "fan")[];
|
|
3106
3106
|
is_heat_pump_compatible: boolean;
|
|
3107
3107
|
supports_demand_response: boolean;
|
|
3108
3108
|
supports_emergency_heating_mode: boolean;
|
package/dist/index.cjs
CHANGED
|
@@ -146,7 +146,13 @@ var lock_capability_properties = zod.z.object({
|
|
|
146
146
|
Indicates whether the door is open.
|
|
147
147
|
`)
|
|
148
148
|
});
|
|
149
|
-
var hvac_mode_setting = zod.z.enum([
|
|
149
|
+
var hvac_mode_setting = zod.z.enum([
|
|
150
|
+
"off",
|
|
151
|
+
"heat",
|
|
152
|
+
"cool",
|
|
153
|
+
"heat_cool",
|
|
154
|
+
"eco"
|
|
155
|
+
]);
|
|
150
156
|
var fan_mode_setting = zod.z.enum(["auto", "on", "circulate"]);
|
|
151
157
|
zod.z.array(fan_mode_setting);
|
|
152
158
|
var climate_preset_mode = zod.z.enum([
|
|
@@ -3966,6 +3972,7 @@ var space = zod.z.object({
|
|
|
3966
3972
|
workspace_id: zod.z.string().uuid().describe(
|
|
3967
3973
|
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space."
|
|
3968
3974
|
),
|
|
3975
|
+
space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
|
|
3969
3976
|
name: zod.z.string().describe("Name of the space."),
|
|
3970
3977
|
display_name: zod.z.string().describe("Display name for the space."),
|
|
3971
3978
|
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
@@ -7101,6 +7108,10 @@ var openapi_default = {
|
|
|
7101
7108
|
format: "uuid",
|
|
7102
7109
|
type: "string"
|
|
7103
7110
|
},
|
|
7111
|
+
access_grant_key: {
|
|
7112
|
+
description: "Unique key for the access grant within the workspace.",
|
|
7113
|
+
type: "string"
|
|
7114
|
+
},
|
|
7104
7115
|
access_method_ids: {
|
|
7105
7116
|
description: "IDs of the access methods created for the Access Grant.",
|
|
7106
7117
|
items: { format: "uuid", type: "string" },
|
|
@@ -15848,7 +15859,7 @@ var openapi_default = {
|
|
|
15848
15859
|
},
|
|
15849
15860
|
hvac_mode_setting: {
|
|
15850
15861
|
description: "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`.",
|
|
15851
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
15862
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
15852
15863
|
type: "string"
|
|
15853
15864
|
},
|
|
15854
15865
|
manual_override_allowed: {
|
|
@@ -15889,7 +15900,7 @@ var openapi_default = {
|
|
|
15889
15900
|
available_hvac_mode_settings: {
|
|
15890
15901
|
description: "HVAC mode settings that the thermostat supports.",
|
|
15891
15902
|
items: {
|
|
15892
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
15903
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
15893
15904
|
type: "string"
|
|
15894
15905
|
},
|
|
15895
15906
|
type: "array",
|
|
@@ -15977,7 +15988,7 @@ var openapi_default = {
|
|
|
15977
15988
|
},
|
|
15978
15989
|
hvac_mode_setting: {
|
|
15979
15990
|
description: "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`.",
|
|
15980
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
15991
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
15981
15992
|
type: "string"
|
|
15982
15993
|
},
|
|
15983
15994
|
manual_override_allowed: {
|
|
@@ -16078,7 +16089,7 @@ var openapi_default = {
|
|
|
16078
16089
|
},
|
|
16079
16090
|
hvac_mode_setting: {
|
|
16080
16091
|
description: "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`.",
|
|
16081
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
16092
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
16082
16093
|
type: "string"
|
|
16083
16094
|
},
|
|
16084
16095
|
manual_override_allowed: {
|
|
@@ -21922,7 +21933,7 @@ var openapi_default = {
|
|
|
21922
21933
|
},
|
|
21923
21934
|
hvac_mode_setting: {
|
|
21924
21935
|
description: "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`.",
|
|
21925
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
21936
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
21926
21937
|
type: "string"
|
|
21927
21938
|
},
|
|
21928
21939
|
method: {
|
|
@@ -23567,6 +23578,10 @@ var openapi_default = {
|
|
|
23567
23578
|
format: "uuid",
|
|
23568
23579
|
type: "string"
|
|
23569
23580
|
},
|
|
23581
|
+
space_key: {
|
|
23582
|
+
description: "Unique key for the space within the workspace.",
|
|
23583
|
+
type: "string"
|
|
23584
|
+
},
|
|
23570
23585
|
workspace_id: {
|
|
23571
23586
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the space.",
|
|
23572
23587
|
format: "uuid",
|
|
@@ -30271,6 +30286,10 @@ var openapi_default = {
|
|
|
30271
30286
|
},
|
|
30272
30287
|
{
|
|
30273
30288
|
properties: {
|
|
30289
|
+
access_grant_key: {
|
|
30290
|
+
description: "Unique key for the access grant within the workspace.",
|
|
30291
|
+
type: "string"
|
|
30292
|
+
},
|
|
30274
30293
|
acs_entrance_ids: {
|
|
30275
30294
|
default: [],
|
|
30276
30295
|
description: "Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted.",
|
|
@@ -30485,18 +30504,6 @@ var openapi_default = {
|
|
|
30485
30504
|
get: {
|
|
30486
30505
|
description: "Get an Access Grant.",
|
|
30487
30506
|
operationId: "accessGrantsGetGet",
|
|
30488
|
-
parameters: [
|
|
30489
|
-
{
|
|
30490
|
-
in: "query",
|
|
30491
|
-
name: "access_grant_id",
|
|
30492
|
-
required: true,
|
|
30493
|
-
schema: {
|
|
30494
|
-
description: "ID of Access Grant to get.",
|
|
30495
|
-
format: "uuid",
|
|
30496
|
-
type: "string"
|
|
30497
|
-
}
|
|
30498
|
-
}
|
|
30499
|
-
],
|
|
30500
30507
|
responses: {
|
|
30501
30508
|
200: {
|
|
30502
30509
|
content: {
|
|
@@ -30538,15 +30545,29 @@ var openapi_default = {
|
|
|
30538
30545
|
content: {
|
|
30539
30546
|
"application/json": {
|
|
30540
30547
|
schema: {
|
|
30541
|
-
|
|
30542
|
-
|
|
30543
|
-
|
|
30544
|
-
|
|
30545
|
-
|
|
30548
|
+
oneOf: [
|
|
30549
|
+
{
|
|
30550
|
+
properties: {
|
|
30551
|
+
access_grant_id: {
|
|
30552
|
+
description: "ID of Access Grant to get.",
|
|
30553
|
+
format: "uuid",
|
|
30554
|
+
type: "string"
|
|
30555
|
+
}
|
|
30556
|
+
},
|
|
30557
|
+
required: ["access_grant_id"],
|
|
30558
|
+
type: "object"
|
|
30559
|
+
},
|
|
30560
|
+
{
|
|
30561
|
+
properties: {
|
|
30562
|
+
access_grant_key: {
|
|
30563
|
+
description: "Unique key of Access Grant to get.",
|
|
30564
|
+
type: "string"
|
|
30565
|
+
}
|
|
30566
|
+
},
|
|
30567
|
+
required: ["access_grant_key"],
|
|
30568
|
+
type: "object"
|
|
30546
30569
|
}
|
|
30547
|
-
|
|
30548
|
-
required: ["access_grant_id"],
|
|
30549
|
-
type: "object"
|
|
30570
|
+
]
|
|
30550
30571
|
}
|
|
30551
30572
|
}
|
|
30552
30573
|
}
|
|
@@ -30636,6 +30657,14 @@ var openapi_default = {
|
|
|
30636
30657
|
format: "uuid",
|
|
30637
30658
|
type: "string"
|
|
30638
30659
|
}
|
|
30660
|
+
},
|
|
30661
|
+
{
|
|
30662
|
+
in: "query",
|
|
30663
|
+
name: "access_grant_key",
|
|
30664
|
+
schema: {
|
|
30665
|
+
description: "Filter Access Grants by access_grant_key.",
|
|
30666
|
+
type: "string"
|
|
30667
|
+
}
|
|
30639
30668
|
}
|
|
30640
30669
|
],
|
|
30641
30670
|
responses: {
|
|
@@ -30683,6 +30712,10 @@ var openapi_default = {
|
|
|
30683
30712
|
"application/json": {
|
|
30684
30713
|
schema: {
|
|
30685
30714
|
properties: {
|
|
30715
|
+
access_grant_key: {
|
|
30716
|
+
description: "Filter Access Grants by access_grant_key.",
|
|
30717
|
+
type: "string"
|
|
30718
|
+
},
|
|
30686
30719
|
acs_entrance_id: {
|
|
30687
30720
|
description: "ID of the entrance by which you want to filter the list of Access Grants.",
|
|
30688
30721
|
format: "uuid",
|
|
@@ -48722,6 +48755,10 @@ var openapi_default = {
|
|
|
48722
48755
|
name: {
|
|
48723
48756
|
description: "Name of the space that you want to create.",
|
|
48724
48757
|
type: "string"
|
|
48758
|
+
},
|
|
48759
|
+
space_key: {
|
|
48760
|
+
description: "Unique key for the space within the workspace.",
|
|
48761
|
+
type: "string"
|
|
48725
48762
|
}
|
|
48726
48763
|
},
|
|
48727
48764
|
required: ["name"],
|
|
@@ -48868,18 +48905,6 @@ var openapi_default = {
|
|
|
48868
48905
|
get: {
|
|
48869
48906
|
description: "Gets a space.",
|
|
48870
48907
|
operationId: "spacesGetGet",
|
|
48871
|
-
parameters: [
|
|
48872
|
-
{
|
|
48873
|
-
in: "query",
|
|
48874
|
-
name: "space_id",
|
|
48875
|
-
required: true,
|
|
48876
|
-
schema: {
|
|
48877
|
-
description: "ID of the space that you want to get.",
|
|
48878
|
-
format: "uuid",
|
|
48879
|
-
type: "string"
|
|
48880
|
-
}
|
|
48881
|
-
}
|
|
48882
|
-
],
|
|
48883
48908
|
responses: {
|
|
48884
48909
|
200: {
|
|
48885
48910
|
content: {
|
|
@@ -48920,15 +48945,29 @@ var openapi_default = {
|
|
|
48920
48945
|
content: {
|
|
48921
48946
|
"application/json": {
|
|
48922
48947
|
schema: {
|
|
48923
|
-
|
|
48924
|
-
|
|
48925
|
-
|
|
48926
|
-
|
|
48927
|
-
|
|
48948
|
+
oneOf: [
|
|
48949
|
+
{
|
|
48950
|
+
properties: {
|
|
48951
|
+
space_id: {
|
|
48952
|
+
description: "ID of the space that you want to get.",
|
|
48953
|
+
format: "uuid",
|
|
48954
|
+
type: "string"
|
|
48955
|
+
}
|
|
48956
|
+
},
|
|
48957
|
+
required: ["space_id"],
|
|
48958
|
+
type: "object"
|
|
48959
|
+
},
|
|
48960
|
+
{
|
|
48961
|
+
properties: {
|
|
48962
|
+
space_key: {
|
|
48963
|
+
description: "Unique key of the space that you want to get.",
|
|
48964
|
+
type: "string"
|
|
48965
|
+
}
|
|
48966
|
+
},
|
|
48967
|
+
required: ["space_key"],
|
|
48968
|
+
type: "object"
|
|
48928
48969
|
}
|
|
48929
|
-
|
|
48930
|
-
required: ["space_id"],
|
|
48931
|
-
type: "object"
|
|
48970
|
+
]
|
|
48932
48971
|
}
|
|
48933
48972
|
}
|
|
48934
48973
|
}
|
|
@@ -49163,6 +49202,14 @@ var openapi_default = {
|
|
|
49163
49202
|
minLength: 1,
|
|
49164
49203
|
type: "string"
|
|
49165
49204
|
}
|
|
49205
|
+
},
|
|
49206
|
+
{
|
|
49207
|
+
in: "query",
|
|
49208
|
+
name: "space_key",
|
|
49209
|
+
schema: {
|
|
49210
|
+
description: "Filter spaces by space_key.",
|
|
49211
|
+
type: "string"
|
|
49212
|
+
}
|
|
49166
49213
|
}
|
|
49167
49214
|
],
|
|
49168
49215
|
responses: {
|
|
@@ -49213,6 +49260,10 @@ var openapi_default = {
|
|
|
49213
49260
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
49214
49261
|
minLength: 1,
|
|
49215
49262
|
type: "string"
|
|
49263
|
+
},
|
|
49264
|
+
space_key: {
|
|
49265
|
+
description: "Filter spaces by space_key.",
|
|
49266
|
+
type: "string"
|
|
49216
49267
|
}
|
|
49217
49268
|
},
|
|
49218
49269
|
type: "object"
|
|
@@ -49798,7 +49849,7 @@ var openapi_default = {
|
|
|
49798
49849
|
},
|
|
49799
49850
|
hvac_mode_setting: {
|
|
49800
49851
|
description: "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`.",
|
|
49801
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
49852
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
49802
49853
|
type: "string"
|
|
49803
49854
|
},
|
|
49804
49855
|
manual_override_allowed: {
|
|
@@ -52400,7 +52451,7 @@ var openapi_default = {
|
|
|
52400
52451
|
},
|
|
52401
52452
|
hvac_mode_setting: {
|
|
52402
52453
|
description: "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`.",
|
|
52403
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
52454
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
52404
52455
|
type: "string"
|
|
52405
52456
|
},
|
|
52406
52457
|
manual_override_allowed: {
|
|
@@ -52527,7 +52578,7 @@ var openapi_default = {
|
|
|
52527
52578
|
},
|
|
52528
52579
|
hvac_mode_setting: {
|
|
52529
52580
|
description: "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`.",
|
|
52530
|
-
enum: ["off", "heat", "cool", "heat_cool"],
|
|
52581
|
+
enum: ["off", "heat", "cool", "heat_cool", "eco"],
|
|
52531
52582
|
type: "string"
|
|
52532
52583
|
},
|
|
52533
52584
|
manual_override_allowed: {
|