@seamapi/types 1.310.0 → 1.311.1
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 +37 -396
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +12 -2330
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
- package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -0
- package/lib/seam/connect/openapi.js +23 -311
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -2030
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
- package/src/lib/seam/connect/openapi.ts +28 -311
- package/src/lib/seam/connect/route-types.ts +6 -2270
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
- package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
package/dist/connect.cjs
CHANGED
|
@@ -2023,120 +2023,53 @@ var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
2023
2023
|
}).describe("Reading credential data from physical encoder succeeded."),
|
|
2024
2024
|
common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Reading credential data from physical encoder failed.")
|
|
2025
2025
|
]);
|
|
2026
|
-
var action_type6 = zod.z.literal("
|
|
2026
|
+
var action_type6 = zod.z.literal("SET_FAN_MODE");
|
|
2027
2027
|
var error7 = zod.z.object({
|
|
2028
2028
|
type: zod.z.string(),
|
|
2029
2029
|
message: zod.z.string()
|
|
2030
2030
|
});
|
|
2031
2031
|
var result7 = zod.z.object({});
|
|
2032
|
-
var
|
|
2032
|
+
var set_fan_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2033
2033
|
common_pending_action_attempt.extend({
|
|
2034
2034
|
action_type: action_type6
|
|
2035
|
-
}).describe("Setting
|
|
2035
|
+
}).describe("Setting fan mode."),
|
|
2036
2036
|
common_succeeded_action_attempt.extend({
|
|
2037
2037
|
action_type: action_type6,
|
|
2038
2038
|
result: result7
|
|
2039
|
-
}).describe("Setting
|
|
2040
|
-
common_failed_action_attempt.extend({ action_type: action_type6, error: error7 }).describe("Setting
|
|
2039
|
+
}).describe("Setting fan mode succeeded."),
|
|
2040
|
+
common_failed_action_attempt.extend({ action_type: action_type6, error: error7 }).describe("Setting fan mode failed.")
|
|
2041
2041
|
]);
|
|
2042
|
-
var action_type7 = zod.z.literal("
|
|
2042
|
+
var action_type7 = zod.z.literal("SET_HVAC_MODE");
|
|
2043
2043
|
var error8 = zod.z.object({
|
|
2044
2044
|
type: zod.z.string(),
|
|
2045
2045
|
message: zod.z.string()
|
|
2046
2046
|
});
|
|
2047
2047
|
var result8 = zod.z.object({});
|
|
2048
|
-
var
|
|
2048
|
+
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2049
2049
|
common_pending_action_attempt.extend({
|
|
2050
2050
|
action_type: action_type7
|
|
2051
|
-
}).describe("Setting
|
|
2051
|
+
}).describe("Setting HVAC mode."),
|
|
2052
2052
|
common_succeeded_action_attempt.extend({
|
|
2053
2053
|
action_type: action_type7,
|
|
2054
2054
|
result: result8
|
|
2055
|
-
}).describe("Setting
|
|
2056
|
-
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting
|
|
2055
|
+
}).describe("Setting HVAC mode succeeded."),
|
|
2056
|
+
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting HVAC mode failed.")
|
|
2057
2057
|
]);
|
|
2058
|
-
var action_type8 = zod.z.literal("
|
|
2058
|
+
var action_type8 = zod.z.literal("UNLOCK_DOOR");
|
|
2059
2059
|
var error9 = zod.z.object({
|
|
2060
2060
|
type: zod.z.string(),
|
|
2061
2061
|
message: zod.z.string()
|
|
2062
2062
|
});
|
|
2063
2063
|
var result9 = zod.z.object({});
|
|
2064
|
-
var
|
|
2064
|
+
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2065
2065
|
common_pending_action_attempt.extend({
|
|
2066
2066
|
action_type: action_type8
|
|
2067
|
-
}).describe("
|
|
2067
|
+
}).describe("Unlocking door."),
|
|
2068
2068
|
common_succeeded_action_attempt.extend({
|
|
2069
2069
|
action_type: action_type8,
|
|
2070
2070
|
result: result9
|
|
2071
|
-
}).describe("Setting HVAC to heat mode succeeded."),
|
|
2072
|
-
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting HVAC to heat mode failed.")
|
|
2073
|
-
]);
|
|
2074
|
-
var action_type9 = zod.z.literal("SET_HEAT_COOL");
|
|
2075
|
-
var error10 = zod.z.object({
|
|
2076
|
-
type: zod.z.string(),
|
|
2077
|
-
message: zod.z.string()
|
|
2078
|
-
});
|
|
2079
|
-
var result10 = zod.z.object({});
|
|
2080
|
-
var set_heat_cool_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2081
|
-
common_pending_action_attempt.extend({
|
|
2082
|
-
action_type: action_type9
|
|
2083
|
-
}).describe("Setting HVAC to heat-cool mode."),
|
|
2084
|
-
common_succeeded_action_attempt.extend({
|
|
2085
|
-
action_type: action_type9,
|
|
2086
|
-
result: result10
|
|
2087
|
-
}).describe("Setting HVAC to heat-cool mode succeeded."),
|
|
2088
|
-
common_failed_action_attempt.extend({ action_type: action_type9, error: error10 }).describe("Setting heat-cool mode failed.")
|
|
2089
|
-
]);
|
|
2090
|
-
var action_type10 = zod.z.literal("SET_HVAC_MODE");
|
|
2091
|
-
var error11 = zod.z.object({
|
|
2092
|
-
type: zod.z.string(),
|
|
2093
|
-
message: zod.z.string()
|
|
2094
|
-
});
|
|
2095
|
-
var result11 = zod.z.object({});
|
|
2096
|
-
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2097
|
-
common_pending_action_attempt.extend({
|
|
2098
|
-
action_type: action_type10
|
|
2099
|
-
}).describe("Setting HVAC mode."),
|
|
2100
|
-
common_succeeded_action_attempt.extend({
|
|
2101
|
-
action_type: action_type10,
|
|
2102
|
-
result: result11
|
|
2103
|
-
}).describe("Setting HVAC mode succeeded."),
|
|
2104
|
-
common_failed_action_attempt.extend({ action_type: action_type10, error: error11 }).describe("Setting HVAC mode failed.")
|
|
2105
|
-
]);
|
|
2106
|
-
var action_type11 = zod.z.literal("SET_THERMOSTAT_OFF");
|
|
2107
|
-
var error12 = zod.z.object({
|
|
2108
|
-
type: zod.z.string(),
|
|
2109
|
-
message: zod.z.string()
|
|
2110
|
-
});
|
|
2111
|
-
var result12 = zod.z.object({});
|
|
2112
|
-
var set_thermostat_off_action_attempt = zod.z.discriminatedUnion(
|
|
2113
|
-
"status",
|
|
2114
|
-
[
|
|
2115
|
-
common_pending_action_attempt.extend({
|
|
2116
|
-
action_type: action_type11
|
|
2117
|
-
}).describe("Turning HVAC off."),
|
|
2118
|
-
common_succeeded_action_attempt.extend({
|
|
2119
|
-
action_type: action_type11,
|
|
2120
|
-
result: result12
|
|
2121
|
-
}).describe("Turning HVAC off succeeded."),
|
|
2122
|
-
common_failed_action_attempt.extend({ action_type: action_type11, error: error12 }).describe("Turning HVAC off failed.")
|
|
2123
|
-
]
|
|
2124
|
-
);
|
|
2125
|
-
var action_type12 = zod.z.literal("UNLOCK_DOOR");
|
|
2126
|
-
var error13 = zod.z.object({
|
|
2127
|
-
type: zod.z.string(),
|
|
2128
|
-
message: zod.z.string()
|
|
2129
|
-
});
|
|
2130
|
-
var result13 = zod.z.object({});
|
|
2131
|
-
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2132
|
-
common_pending_action_attempt.extend({
|
|
2133
|
-
action_type: action_type12
|
|
2134
|
-
}).describe("Unlocking door."),
|
|
2135
|
-
common_succeeded_action_attempt.extend({
|
|
2136
|
-
action_type: action_type12,
|
|
2137
|
-
result: result13
|
|
2138
2071
|
}).describe("Unlocking door succeeded."),
|
|
2139
|
-
common_failed_action_attempt.extend({ action_type:
|
|
2072
|
+
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Unlocking door failed.")
|
|
2140
2073
|
]);
|
|
2141
2074
|
|
|
2142
2075
|
// src/lib/seam/connect/models/action-attempts/action-attempt.ts
|
|
@@ -2146,11 +2079,7 @@ var action_attempt = zod.z.union([
|
|
|
2146
2079
|
...scan_credential_action_attempt.options,
|
|
2147
2080
|
...encode_credential_action_attempt.options,
|
|
2148
2081
|
...reset_sandbox_workspace_action_attempt.options,
|
|
2149
|
-
...set_cool_action_attempt.options,
|
|
2150
|
-
...set_heat_action_attempt.options,
|
|
2151
|
-
...set_heat_cool_action_attempt.options,
|
|
2152
2082
|
...set_fan_mode_action_attempt.options,
|
|
2153
|
-
...set_thermostat_off_action_attempt.options,
|
|
2154
2083
|
...set_hvac_mode_action_attempt.options,
|
|
2155
2084
|
...activate_climate_preset_action_attempt.options,
|
|
2156
2085
|
...deprecated_action_attempts
|
|
@@ -5770,234 +5699,6 @@ var openapi_default = {
|
|
|
5770
5699
|
],
|
|
5771
5700
|
type: "object"
|
|
5772
5701
|
},
|
|
5773
|
-
{
|
|
5774
|
-
description: "Setting HVAC to cool.",
|
|
5775
|
-
properties: {
|
|
5776
|
-
action_attempt_id: {
|
|
5777
|
-
description: "The ID of the action attempt.",
|
|
5778
|
-
format: "uuid",
|
|
5779
|
-
type: "string",
|
|
5780
|
-
"x-title": "Action Attempt ID"
|
|
5781
|
-
},
|
|
5782
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5783
|
-
error: { nullable: true },
|
|
5784
|
-
result: { nullable: true },
|
|
5785
|
-
status: { enum: ["pending"], type: "string" }
|
|
5786
|
-
},
|
|
5787
|
-
required: [
|
|
5788
|
-
"action_attempt_id",
|
|
5789
|
-
"status",
|
|
5790
|
-
"result",
|
|
5791
|
-
"error",
|
|
5792
|
-
"action_type"
|
|
5793
|
-
],
|
|
5794
|
-
type: "object"
|
|
5795
|
-
},
|
|
5796
|
-
{
|
|
5797
|
-
description: "Setting HVAC to cool succeeded.",
|
|
5798
|
-
properties: {
|
|
5799
|
-
action_attempt_id: {
|
|
5800
|
-
description: "The ID of the action attempt.",
|
|
5801
|
-
format: "uuid",
|
|
5802
|
-
type: "string",
|
|
5803
|
-
"x-title": "Action Attempt ID"
|
|
5804
|
-
},
|
|
5805
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5806
|
-
error: { nullable: true },
|
|
5807
|
-
result: { properties: {}, type: "object" },
|
|
5808
|
-
status: { enum: ["success"], type: "string" }
|
|
5809
|
-
},
|
|
5810
|
-
required: [
|
|
5811
|
-
"action_attempt_id",
|
|
5812
|
-
"status",
|
|
5813
|
-
"error",
|
|
5814
|
-
"action_type",
|
|
5815
|
-
"result"
|
|
5816
|
-
],
|
|
5817
|
-
type: "object"
|
|
5818
|
-
},
|
|
5819
|
-
{
|
|
5820
|
-
description: "Setting HVAC to cool failed.",
|
|
5821
|
-
properties: {
|
|
5822
|
-
action_attempt_id: {
|
|
5823
|
-
description: "The ID of the action attempt.",
|
|
5824
|
-
format: "uuid",
|
|
5825
|
-
type: "string",
|
|
5826
|
-
"x-title": "Action Attempt ID"
|
|
5827
|
-
},
|
|
5828
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5829
|
-
error: {
|
|
5830
|
-
properties: {
|
|
5831
|
-
message: { type: "string" },
|
|
5832
|
-
type: { type: "string" }
|
|
5833
|
-
},
|
|
5834
|
-
required: ["type", "message"],
|
|
5835
|
-
type: "object"
|
|
5836
|
-
},
|
|
5837
|
-
result: { nullable: true },
|
|
5838
|
-
status: { enum: ["error"], type: "string" }
|
|
5839
|
-
},
|
|
5840
|
-
required: [
|
|
5841
|
-
"action_attempt_id",
|
|
5842
|
-
"status",
|
|
5843
|
-
"result",
|
|
5844
|
-
"action_type",
|
|
5845
|
-
"error"
|
|
5846
|
-
],
|
|
5847
|
-
type: "object"
|
|
5848
|
-
},
|
|
5849
|
-
{
|
|
5850
|
-
description: "Setting HVAC to heat mode.",
|
|
5851
|
-
properties: {
|
|
5852
|
-
action_attempt_id: {
|
|
5853
|
-
description: "The ID of the action attempt.",
|
|
5854
|
-
format: "uuid",
|
|
5855
|
-
type: "string",
|
|
5856
|
-
"x-title": "Action Attempt ID"
|
|
5857
|
-
},
|
|
5858
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5859
|
-
error: { nullable: true },
|
|
5860
|
-
result: { nullable: true },
|
|
5861
|
-
status: { enum: ["pending"], type: "string" }
|
|
5862
|
-
},
|
|
5863
|
-
required: [
|
|
5864
|
-
"action_attempt_id",
|
|
5865
|
-
"status",
|
|
5866
|
-
"result",
|
|
5867
|
-
"error",
|
|
5868
|
-
"action_type"
|
|
5869
|
-
],
|
|
5870
|
-
type: "object"
|
|
5871
|
-
},
|
|
5872
|
-
{
|
|
5873
|
-
description: "Setting HVAC to heat mode succeeded.",
|
|
5874
|
-
properties: {
|
|
5875
|
-
action_attempt_id: {
|
|
5876
|
-
description: "The ID of the action attempt.",
|
|
5877
|
-
format: "uuid",
|
|
5878
|
-
type: "string",
|
|
5879
|
-
"x-title": "Action Attempt ID"
|
|
5880
|
-
},
|
|
5881
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5882
|
-
error: { nullable: true },
|
|
5883
|
-
result: { properties: {}, type: "object" },
|
|
5884
|
-
status: { enum: ["success"], type: "string" }
|
|
5885
|
-
},
|
|
5886
|
-
required: [
|
|
5887
|
-
"action_attempt_id",
|
|
5888
|
-
"status",
|
|
5889
|
-
"error",
|
|
5890
|
-
"action_type",
|
|
5891
|
-
"result"
|
|
5892
|
-
],
|
|
5893
|
-
type: "object"
|
|
5894
|
-
},
|
|
5895
|
-
{
|
|
5896
|
-
description: "Setting HVAC to heat mode failed.",
|
|
5897
|
-
properties: {
|
|
5898
|
-
action_attempt_id: {
|
|
5899
|
-
description: "The ID of the action attempt.",
|
|
5900
|
-
format: "uuid",
|
|
5901
|
-
type: "string",
|
|
5902
|
-
"x-title": "Action Attempt ID"
|
|
5903
|
-
},
|
|
5904
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5905
|
-
error: {
|
|
5906
|
-
properties: {
|
|
5907
|
-
message: { type: "string" },
|
|
5908
|
-
type: { type: "string" }
|
|
5909
|
-
},
|
|
5910
|
-
required: ["type", "message"],
|
|
5911
|
-
type: "object"
|
|
5912
|
-
},
|
|
5913
|
-
result: { nullable: true },
|
|
5914
|
-
status: { enum: ["error"], type: "string" }
|
|
5915
|
-
},
|
|
5916
|
-
required: [
|
|
5917
|
-
"action_attempt_id",
|
|
5918
|
-
"status",
|
|
5919
|
-
"result",
|
|
5920
|
-
"action_type",
|
|
5921
|
-
"error"
|
|
5922
|
-
],
|
|
5923
|
-
type: "object"
|
|
5924
|
-
},
|
|
5925
|
-
{
|
|
5926
|
-
description: "Setting HVAC to heat-cool mode.",
|
|
5927
|
-
properties: {
|
|
5928
|
-
action_attempt_id: {
|
|
5929
|
-
description: "The ID of the action attempt.",
|
|
5930
|
-
format: "uuid",
|
|
5931
|
-
type: "string",
|
|
5932
|
-
"x-title": "Action Attempt ID"
|
|
5933
|
-
},
|
|
5934
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5935
|
-
error: { nullable: true },
|
|
5936
|
-
result: { nullable: true },
|
|
5937
|
-
status: { enum: ["pending"], type: "string" }
|
|
5938
|
-
},
|
|
5939
|
-
required: [
|
|
5940
|
-
"action_attempt_id",
|
|
5941
|
-
"status",
|
|
5942
|
-
"result",
|
|
5943
|
-
"error",
|
|
5944
|
-
"action_type"
|
|
5945
|
-
],
|
|
5946
|
-
type: "object"
|
|
5947
|
-
},
|
|
5948
|
-
{
|
|
5949
|
-
description: "Setting HVAC to heat-cool mode succeeded.",
|
|
5950
|
-
properties: {
|
|
5951
|
-
action_attempt_id: {
|
|
5952
|
-
description: "The ID of the action attempt.",
|
|
5953
|
-
format: "uuid",
|
|
5954
|
-
type: "string",
|
|
5955
|
-
"x-title": "Action Attempt ID"
|
|
5956
|
-
},
|
|
5957
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5958
|
-
error: { nullable: true },
|
|
5959
|
-
result: { properties: {}, type: "object" },
|
|
5960
|
-
status: { enum: ["success"], type: "string" }
|
|
5961
|
-
},
|
|
5962
|
-
required: [
|
|
5963
|
-
"action_attempt_id",
|
|
5964
|
-
"status",
|
|
5965
|
-
"error",
|
|
5966
|
-
"action_type",
|
|
5967
|
-
"result"
|
|
5968
|
-
],
|
|
5969
|
-
type: "object"
|
|
5970
|
-
},
|
|
5971
|
-
{
|
|
5972
|
-
description: "Setting heat-cool mode failed.",
|
|
5973
|
-
properties: {
|
|
5974
|
-
action_attempt_id: {
|
|
5975
|
-
description: "The ID of the action attempt.",
|
|
5976
|
-
format: "uuid",
|
|
5977
|
-
type: "string",
|
|
5978
|
-
"x-title": "Action Attempt ID"
|
|
5979
|
-
},
|
|
5980
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5981
|
-
error: {
|
|
5982
|
-
properties: {
|
|
5983
|
-
message: { type: "string" },
|
|
5984
|
-
type: { type: "string" }
|
|
5985
|
-
},
|
|
5986
|
-
required: ["type", "message"],
|
|
5987
|
-
type: "object"
|
|
5988
|
-
},
|
|
5989
|
-
result: { nullable: true },
|
|
5990
|
-
status: { enum: ["error"], type: "string" }
|
|
5991
|
-
},
|
|
5992
|
-
required: [
|
|
5993
|
-
"action_attempt_id",
|
|
5994
|
-
"status",
|
|
5995
|
-
"result",
|
|
5996
|
-
"action_type",
|
|
5997
|
-
"error"
|
|
5998
|
-
],
|
|
5999
|
-
type: "object"
|
|
6000
|
-
},
|
|
6001
5702
|
{
|
|
6002
5703
|
description: "Setting fan mode.",
|
|
6003
5704
|
properties: {
|
|
@@ -6074,82 +5775,6 @@ var openapi_default = {
|
|
|
6074
5775
|
],
|
|
6075
5776
|
type: "object"
|
|
6076
5777
|
},
|
|
6077
|
-
{
|
|
6078
|
-
description: "Turning HVAC off.",
|
|
6079
|
-
properties: {
|
|
6080
|
-
action_attempt_id: {
|
|
6081
|
-
description: "The ID of the action attempt.",
|
|
6082
|
-
format: "uuid",
|
|
6083
|
-
type: "string",
|
|
6084
|
-
"x-title": "Action Attempt ID"
|
|
6085
|
-
},
|
|
6086
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6087
|
-
error: { nullable: true },
|
|
6088
|
-
result: { nullable: true },
|
|
6089
|
-
status: { enum: ["pending"], type: "string" }
|
|
6090
|
-
},
|
|
6091
|
-
required: [
|
|
6092
|
-
"action_attempt_id",
|
|
6093
|
-
"status",
|
|
6094
|
-
"result",
|
|
6095
|
-
"error",
|
|
6096
|
-
"action_type"
|
|
6097
|
-
],
|
|
6098
|
-
type: "object"
|
|
6099
|
-
},
|
|
6100
|
-
{
|
|
6101
|
-
description: "Turning HVAC off succeeded.",
|
|
6102
|
-
properties: {
|
|
6103
|
-
action_attempt_id: {
|
|
6104
|
-
description: "The ID of the action attempt.",
|
|
6105
|
-
format: "uuid",
|
|
6106
|
-
type: "string",
|
|
6107
|
-
"x-title": "Action Attempt ID"
|
|
6108
|
-
},
|
|
6109
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6110
|
-
error: { nullable: true },
|
|
6111
|
-
result: { properties: {}, type: "object" },
|
|
6112
|
-
status: { enum: ["success"], type: "string" }
|
|
6113
|
-
},
|
|
6114
|
-
required: [
|
|
6115
|
-
"action_attempt_id",
|
|
6116
|
-
"status",
|
|
6117
|
-
"error",
|
|
6118
|
-
"action_type",
|
|
6119
|
-
"result"
|
|
6120
|
-
],
|
|
6121
|
-
type: "object"
|
|
6122
|
-
},
|
|
6123
|
-
{
|
|
6124
|
-
description: "Turning HVAC off failed.",
|
|
6125
|
-
properties: {
|
|
6126
|
-
action_attempt_id: {
|
|
6127
|
-
description: "The ID of the action attempt.",
|
|
6128
|
-
format: "uuid",
|
|
6129
|
-
type: "string",
|
|
6130
|
-
"x-title": "Action Attempt ID"
|
|
6131
|
-
},
|
|
6132
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6133
|
-
error: {
|
|
6134
|
-
properties: {
|
|
6135
|
-
message: { type: "string" },
|
|
6136
|
-
type: { type: "string" }
|
|
6137
|
-
},
|
|
6138
|
-
required: ["type", "message"],
|
|
6139
|
-
type: "object"
|
|
6140
|
-
},
|
|
6141
|
-
result: { nullable: true },
|
|
6142
|
-
status: { enum: ["error"], type: "string" }
|
|
6143
|
-
},
|
|
6144
|
-
required: [
|
|
6145
|
-
"action_attempt_id",
|
|
6146
|
-
"status",
|
|
6147
|
-
"result",
|
|
6148
|
-
"action_type",
|
|
6149
|
-
"error"
|
|
6150
|
-
],
|
|
6151
|
-
type: "object"
|
|
6152
|
-
},
|
|
6153
5778
|
{
|
|
6154
5779
|
description: "Setting HVAC mode.",
|
|
6155
5780
|
properties: {
|
|
@@ -19198,7 +18823,13 @@ var openapi_default = {
|
|
|
19198
18823
|
enum: ["off", "heat", "cool", "heat_cool"],
|
|
19199
18824
|
type: "string"
|
|
19200
18825
|
},
|
|
19201
|
-
manual_override_allowed: {
|
|
18826
|
+
manual_override_allowed: {
|
|
18827
|
+
default: true,
|
|
18828
|
+
deprecated: true,
|
|
18829
|
+
description: "Indicates whether a person at the thermostat or using the API can change the thermostat's settings.",
|
|
18830
|
+
type: "boolean",
|
|
18831
|
+
"x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
|
|
18832
|
+
},
|
|
19202
18833
|
name: {
|
|
19203
18834
|
default: null,
|
|
19204
18835
|
description: "User-friendly name to identify the climate preset.",
|
|
@@ -19880,10 +19511,14 @@ var openapi_default = {
|
|
|
19880
19511
|
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
19881
19512
|
type: "string"
|
|
19882
19513
|
},
|
|
19883
|
-
is_override_allowed: {
|
|
19514
|
+
is_override_allowed: {
|
|
19515
|
+
default: false,
|
|
19516
|
+
description: "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19517
|
+
type: "boolean"
|
|
19518
|
+
},
|
|
19884
19519
|
max_override_period_minutes: {
|
|
19885
19520
|
default: 0,
|
|
19886
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19521
|
+
description: "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19887
19522
|
minimum: 0,
|
|
19888
19523
|
type: "integer"
|
|
19889
19524
|
},
|
|
@@ -20132,9 +19767,12 @@ var openapi_default = {
|
|
|
20132
19767
|
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
20133
19768
|
type: "string"
|
|
20134
19769
|
},
|
|
20135
|
-
is_override_allowed: {
|
|
19770
|
+
is_override_allowed: {
|
|
19771
|
+
description: "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19772
|
+
type: "boolean"
|
|
19773
|
+
},
|
|
20136
19774
|
max_override_period_minutes: {
|
|
20137
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19775
|
+
description: "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
20138
19776
|
minimum: 0,
|
|
20139
19777
|
type: "integer"
|
|
20140
19778
|
},
|
|
@@ -20202,9 +19840,12 @@ var openapi_default = {
|
|
|
20202
19840
|
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
20203
19841
|
type: "string"
|
|
20204
19842
|
},
|
|
20205
|
-
is_override_allowed: {
|
|
19843
|
+
is_override_allowed: {
|
|
19844
|
+
description: "Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19845
|
+
type: "boolean"
|
|
19846
|
+
},
|
|
20206
19847
|
max_override_period_minutes: {
|
|
20207
|
-
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
19848
|
+
description: "Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
20208
19849
|
minimum: 0,
|
|
20209
19850
|
type: "integer"
|
|
20210
19851
|
},
|